-
Notifications
You must be signed in to change notification settings - Fork 365
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
Add CLI option to specify additional packages for internal Cygwin. #5930
Add CLI option to specify additional packages for internal Cygwin. #5930
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like this approach, once the code is fixed and works it should be good to go for me at least
f21d65a
to
3fe62ad
Compare
3fe62ad
to
633715d
Compare
I'm not sure what I'm missing, but why do we need a new constructor instead of just adding the list to |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure that the code grouping with vflag
is a compelling reason to guide the CLI, but it occurred to me on the ride in this morning that my suggestion is not good for a different reason: if --cygwin-internal-install
takes an optional argument then opam init --cygwin-internal-install git+https://github.com/ocaml/opam-repository.git
changes meaning, and that's bad.
My original issue, as ever, has a bad name suggestion... --cygwin-packages
implies we are suggesting the full list of packages, where we are in reality specifying additional packages. Perhaps --cygwin-extra-packages
is a better name?
While it's a bit longer to write, i think i agree with that. |
Yep, It brings more context. |
c6bb149
to
1522e27
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
ef34f7a
to
60328a2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few typos, but otherwise looks good to me, thanks
4b715ec
to
bb54890
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I'm posted few comments, most of them are implemented in separate commits to squash once validated. Remain the behaviour change question.
86ec788
to
d775c21
Compare
d775c21
to
c9379e0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Except the proposal, LGTM! Thanks!
c9379e0
to
8bc1214
Compare
I haven't seen no mention about testing it. Did someone test it ? |
I forgot to note but I've tested it when I reviewed installing packages (non installed, already installed, unknown) and some argument incompatibility. |
Fixes #5834.
Instead of reusing
--cygwin-internal-install
, it is more suitable to have new option (--cygwin-packages=CYGWIN_PACKAGES
), to avoid ending up checking the exclusion between--cygwin-internal-install
and--cygwin-local-install
.