8000 fix(coq): fix coqtop args being passed incorrectly by Alizter · Pull Request #6369 · ocaml/dune · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix(coq): fix coqtop args being passed incorrectly #6369

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

Alizter
Copy link
Collaborator
@Alizter Alizter commented Nov 1, 2022

fixes #6366

More refactoring of coqtop will have to come at a later date, this at least makes the flags match up correctly.

@Alizter Alizter force-pushed the ps/rr/fix_coq___fix_coqtop_args_being_passed_incorrectly branch from 8e982e6 to cc977e7 Compare November 1, 2022 02:01
@Alizter Alizter added the coq label Nov 1, 2022
@ejgallego ejgallego self-assigned this Nov 2, 2022
@ejgallego
Copy link
Collaborator

I've undone a previous refactoring PR splitting the functions up since it was basically completely pointless.

Please do that in a separate PR or commit as it makes reviewing the code changes very hard.

@Alizter Alizter force-pushed the ps/rr/fix_coq___fix_coqtop_args_being_passed_incorrectly branch from cc977e7 to baa7b24 Compare November 4, 2022 19:31
@Alizter
Copy link
Collaborator Author
Alizter commented Nov 4, 2022

@ejgallego The diff should be cleaner now.

@Alizter Alizter force-pushed the ps/rr/fix_coq___fix_coqtop_args_being_passed_incorrectly branch from baa7b24 to 8c05b50 Compare November 6, 2022 09:08
@Alizter Alizter requested a review from ejgallego November 6, 2022 14:07
@Alizter
Copy link
Collaborator Author
Alizter commented Nov 8, 2022

@ejgallego ping

@Alizter Alizter added this to the 3.6.0 milestone Nov 8, 2022
Copy link
Collaborator
@ejgallego ejgallego left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks for this fix; but we need to refactor the way flags are setup, now that we have multiple users, the current API it is indeed pretty error prone.

@ejgallego
Copy link
Collaborator

This deserves an entry in CHANGES.md tho.

@Alizter Alizter force-pushed the ps/rr/fix_coq___fix_coqtop_args_being_passed_incorrectly branch from db4316a to b2b78c7 Compare November 10, 2022 23:03
Signed-off-by: Ali Caglayan <alizter@gmail.com>

ps-id: 81125bb0-a001-4b22-9484-a6ee1cc37b58
Signed-off-by: Ali Caglayan <alizter@gmail.com>
@Alizter Alizter force-pushed the ps/rr/fix_coq___fix_coqtop_args_being_passed_incorrectly branch from b2b78c7 to a0ab39a Compare November 10, 2022 23:06
@Alizter Alizter enabled auto-merge (rebase) November 10, 2022 23:17
@Alizter Alizter disabled auto-merge November 10, 2022 23:17
@Alizter Alizter merged commit b346824 into ocaml:main Nov 10, 2022
@Alizter Alizter deleted the ps/rr/fix_coq___fix_coqtop_args_being_passed_incorrectly branch November 10, 2022 23:17
8000
@@ -52,6 +52,8 @@ Unreleased
- Allow `:standard` in the `(modules)` field of the `coq.pp` stanza (#6229,
fixes #2414, @Alizter)

- Fix passing of native flags to dune coq top (#6369, fixes #6366, @Alizter)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not only native, but user flags too (that was actually the bug IIRC)

emillon added a commit to emillon/opam-repository that referenced this pull request Nov 14, 2022
…ne-site, dune-rpc, dune-rpc-lwt, dune-private-libs, dune-glob, dune-configurator, dune-build-info, dune-action-plugin and chrome-trace (3.6.0)

CHANGES:

- Forbid multiple instances of dune running concurrently in the same workspace.
  (ocaml/dune#6360, fixes ocaml/dune#236, @rgrinberg)

- Allow promoting into source directories specified by `subdir` (ocaml/dune#6404, fixes
  ocaml/dune#3502, @rgrinberg)

- Make dune describe workspace return the correct root path
  (ocaml/dune#6380, fixes ocaml/dune#6379, @esope)

- Introduce a `$ dune ocaml top-module` subcommand to load modules directly
  without sealing them behind the signature. (ocaml/dune#5940, @rgrinberg)

- [ctypes] do not mangle user written names in the ctypes stanza (ocaml/dune#6374, fixes
  ocaml/dune#5561, @rgrinberg)

- Support `CLICOLOR` and `CLICOLOR_FORCE` to enable/disable/force ANSI
  colors. (ocaml/dune#6340, fixes ocaml/dune#6323, @MisterDA).

- Forbid private libraries with `(package ..)` set from depending on private
  libraries that don't belong to a package (ocaml/dune#6385, fixes ocaml/dune#6153, @rgrinberg)

- Allow `Byte_complete` binaries to be installable (ocaml/dune#4873, @AltGr, @rgrinberg)

- Revive `$ dune external-lib-deps` under `$ dune describe external-lib-deps`.
  (ocaml/dune#6045, @moyodiallo)

- Fix running inline tests in bytecode mode (ocaml/dune#5622, fixes ocaml/dune#5515, @dariusf)

- [ctypes] always re-run `pkg-config` because we aren't tracking its external
  dependencies (ocaml/dune#6052, @rgrinberg)

- [ctypes] remove dependency on configurator in the generated rules (ocaml/dune#6052,
  @rgrinberg)

- Build progress status now shows number of failed jobs (ocaml/dune#6242, @Alizter)

- Allow absolute build directories to find public executables. For example,
  those specified with `(deps %{bin:...})` (ocaml/dune#6326, @anmonteiro)

- Create a fake socket file `_build/.rpc/dune` on windows to allow rpc clients
  to connect using the build directory. (ocaml/dune#6329, @rgrinberg)

- Prevent crash if absolute paths are used in the install stanza and in
  recursive globs. These cases now result in a user error. (ocaml/dune#6331, @gridbugs)

- Add `(glob_files <glob>)` and `(glob_files_rec <glob>)` terms to the `files`
  field of the `install` stanza (ocaml/dune#6250, closes ocaml/dune#6018, @gridbugs)

- Allow `:standard` in the `(modules)` field of the `coq.pp` stanza (ocaml/dune#6229,
  fixes ocaml/dune#2414, @Alizter)

- Fix passing of flags to dune coq top (ocaml/dune#6369, fixes ocaml/dune#6366, @Alizter)

- Extend the promotion CLI to a `dune promotion` group: `dune promote` is moved
  to `dune promotion apply` (the former still works) and the new `dune promotion
  diff` command can be used to just display the promotion without applying it.
  (ocaml/dune#6160, fixes ocaml/dune#5368, @emillon)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

dune coq top ignores flags specified in coq.theory
2 participants
0