-
-
Notifications
You must be signed in to change notification settings - Fork 230
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 ability to specify the url path to code in dependencies #104
Comments
See also #50 I'm still not sure if this really is a good idea in general, although it is easy to implement. The approach I'm using for this is to check out all my non-public packages to a specific workspace folder and then do "dub add-path path/to/workspace" ("dub add-local ..." for each individual package as mentioned in the other ticket will work as well). It will then automatically find all packages there and no URLs or paths have to be hard-coded (which can be sub-optimal since for example URLs may vary depending on authentication requirements). |
I don't talk about private repository, but this addition also can be useful. |
OK, convinced. In that situation it does indeed provide some solid benefits. My doubts mostly come from providing too many possibilities to achieve similar things, possibly resulting in the wrong tool being used for a specific task and generally increasing the system's complexity. But it seems to be useful enough for such public forks to justify that. |
Please, add more documentation and examples. Current http://code.dlang.org/package-format page only lists available options, and it's difficult to understand what exactly I need to use I my situation. Examples should help to decide what should I do. |
It's better to add
In future we can easy add "svn" or "hg" identifiers for Subversion or Mercurial. |
👍 |
Is there any status on this? |
@s-ludwig I would really like to have this feature; any help would be greatly appreciated; eg, where would code need to be changed for this? |
Off the top of my head:
There are probably a few places where currently the |
is anyone planning to work on this? |
I made a slightly different proposal at #1840 . I've been using The proposition is however more tied to |
Done, we can now use |
Please, add ability to specify the url path to code in dependencies.
Today we can specify the local path:
Please add url support, for example like this:
or this:
It can help if I fork project but don't add it to the dub database.
The text was updated successfully, but these errors were encountered: