Re: Is it possbile to specify a remote git repo as dub dependency?

2016-12-20 Thread evilrat via Digitalmars-d-learn
On Tuesday, 20 December 2016 at 11:04:30 UTC, biocyberman wrote: On Monday, 19 December 2016 at 16:23:45 UTC, Guillaume Piolat wrote: What you can do for private package as of today is: - use path-based dependencies and put your packages in the same repo - use git submodules and

Re: Is it possbile to specify a remote git repo as dub dependency?

2016-12-20 Thread biocyberman via Digitalmars-d-learn
On Monday, 19 December 2016 at 16:23:45 UTC, Guillaume Piolat wrote: What you can do for private package as of today is: - use path-based dependencies and put your packages in the same repo - use git submodules and path-based dub dependencies together If it's a public package, you can

Re: Is it possbile to specify a remote git repo as dub dependency?

2016-12-19 Thread Eugene Wissner via Digitalmars-d-learn
On Monday, 19 December 2016 at 14:45:07 UTC, biocyberman wrote: On Monday, 19 December 2016 at 14:18:17 UTC, Jacob Carlborg wrote: On 2016-12-19 13:11, biocyberman wrote: I can write a short script to clone the remote git repo and use it as a submodule. But if it is possible to do with dub, it

Re: Is it possbile to specify a remote git repo as dub dependency?

2016-12-19 Thread Guillaume Piolat via Digitalmars-d-learn
On Monday, 19 December 2016 at 14:45:07 UTC, biocyberman wrote: I see, it is both a good thing and a bad thing. Good thing is to encourage developers to submit packages to central dub registry. Bad thing is, when that does not happen soon enough, other developers who use the package will

Re: Is it possbile to specify a remote git repo as dub dependency?

2016-12-19 Thread biocyberman via Digitalmars-d-learn
On Monday, 19 December 2016 at 14:18:17 UTC, Jacob Carlborg wrote: On 2016-12-19 13:11, biocyberman wrote: I can write a short script to clone the remote git repo and use it as a submodule. But if it is possible to do with dub, it will be more convenient. It's not currently possible. I

Re: Is it possbile to specify a remote git repo as dub dependency?

2016-12-19 Thread Jacob Carlborg via Digitalmars-d-learn
On 2016-12-19 13:11, biocyberman wrote: I can write a short script to clone the remote git repo and use it as a submodule. But if it is possible to do with dub, it will be more convenient. It's not currently possible. -- /Jacob Carlborg