-
Notifications
You must be signed in to change notification settings - Fork 414
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
feat(pkg): Remove opam-repository-url
option
#9373
feat(pkg): Remove opam-repository-url
option
#9373
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.
LGTM. I think you can remove the opam repository path option as well.
I tried but that will currently leave us without a way to specify directories as opam-repos, as the |
I was under the impression that it was already allowed with |
0c28f48
to
cb76424
Compare
Ah, I forgot that that actually works. I've updated the PR, but kept the two commits separate, since the latter is a change that affects a lot of tests. |
cb76424
to
7ba9d7d
Compare
Ok, also removed the |
In #9343 I am removing all the --context arguments and replacing them with positional lock directories. Maybe we should hold off on the opam-repository-path changes until thats done, since it will simplify the current workspace wrangling. |
I'll leave it to Marek to decide, but I would suggest not to delay merging this PR for other work. There's some work I'd like to do that is waiting for this PR to be merged first. |
Since the repositories are specified in the workspace file where more information like URL, branch or tag can be stored this makes for a better set-up. Signed-off-by: Marek Kubica <[email protected]>
7ba9d7d
to
52a49e8
Compare
Signed-off-by: Marek Kubica <[email protected]>
52a49e8
to
2c638d0
Compare
I've merged this because at the end of the day, someone will have to rebase (and I know it sucks, I just did and more tests broke). Like Rudi I also have some work that is blocked on this, so if merging this unblocks both of us that's some compromise. Changing the CLI is always painful because it touches a lot of tests. Though I assume this will get better once we have a post-1.0 CLI interface. |
@Leonidas-from-XIV FTR I wasn't complaining about rebasing, but rather suggesting that it would have been easier for you. Everything in #9343 is already rebased. |
Since the repositories are specified in the workspace file where more information like URL, branch or tag can be stored this makes for a better set-up.