Skip to content
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

dub run replacement for ~branch #2680

Open
ntrel opened this issue Aug 4, 2023 · 1 comment
Open

dub run replacement for ~branch #2680

ntrel opened this issue Aug 4, 2023 · 1 comment
Labels
enhancement good first issue Good for newcomers to fix in a PR

Comments

@ntrel
Copy link

ntrel commented Aug 4, 2023

If using a git repository URL is going to fully replace ~branch, we would also need a way to specify a git branch for dub run. E.g. currently this works (though master is only fetched the first time - #131):

dub run dlang-tour@~master -- --lang-dir .
@WebFreak001 WebFreak001 added enhancement good first issue Good for newcomers to fix in a PR labels Aug 4, 2023
@Geod24
Copy link
Member

Geod24 commented Dec 28, 2023

This version of dub run hits the registry. I would imagine dub run git+https://github.com/dlang/dlang-tour@~master would be the "proper" replacement although I'm not sure we want to support this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement good first issue Good for newcomers to fix in a PR
Projects
None yet
Development

No branches or pull requests

3 participants