Re: Dub fetch

2019-05-12 Thread Marco de Wild via Digitalmars-d-learn

On Saturday, 11 May 2019 at 14:27:50 UTC, Russel Winder wrote:

Hi,

Is there a way of asking which version of package XXX  "dub 
fetch XXX"
will actually fetch. I would like to avoid checking the 
contents of

~/.dub/packages before and after.


Use the `--annotate` option:

$ dub fetch dlangide --annotate
Fetching dlangide 0.8.17...
Please note that you need to use `dub run ` or add it to 
dependencies of your package to actually use/run it. dub does not 
do actual installation of packages outside of its own ecosystem.


Dub fetch

2019-05-11 Thread Russel Winder via Digitalmars-d-learn
Hi,

Is there a way of asking which version of package XXX  "dub fetch XXX"
will actually fetch. I would like to avoid checking the contents of
~/.dub/packages before and after.
  
-- 
Russel.
===
Dr Russel Winder  t: +44 20 7585 2200
41 Buckmaster Roadm: +44 7770 465 077
London SW11 1EN, UK   w: www.russel.org.uk



signature.asc
Description: This is a digitally signed message part


Re: dub fetch target redirection...

2014-10-29 Thread Mike Parker via Digitalmars-d-learn

On 10/29/2014 1:48 PM, WhatMeWorry wrote:

It looks like dub fetch... is putting all packages at %appdata% path on
my windows machine. Is there a way to redirect packages to a user
specified path?


You're not really supposed to worry about that. It's how dub manages the 
packages internally. Why do you want to change it?


Re: dub fetch target redirection...

2014-10-29 Thread Kagamin via Digitalmars-d-learn

https://github.com/D-Programming-Language/dub/issues/229


Re: dub fetch target redirection...

2014-10-29 Thread WhatMeWorry via Digitalmars-d-learn

On Wednesday, 29 October 2014 at 12:47:48 UTC, Kagamin wrote:

https://github.com/D-Programming-Language/dub/issues/229


Thanks. This s-ludwig guy is great.


Re: dub fetch target redirection...

2014-10-29 Thread WhatMeWorry via Digitalmars-d-learn

On Wednesday, 29 October 2014 at 11:35:17 UTC, Mike Parker wrote:

On 10/29/2014 1:48 PM, WhatMeWorry wrote:
It looks like dub fetch... is putting all packages at 
%appdata% path on
my windows machine. Is there a way to redirect packages to a 
user

specified path?


You're not really supposed to worry about that. It's how dub 
manages the packages internally. Why do you want to change it?


I'm trying to put everything D related on a flash drive. So I can 
get my D fix wherever I go.




dub fetch target redirection...

2014-10-28 Thread WhatMeWorry via Digitalmars-d-learn
It looks like dub fetch... is putting all packages at %appdata% 
path on my windows machine. Is there a way to redirect packages 
to a user specified path?