RejectedSoftware Forums

Sign up

Day-long delay for `dub fetch`?

Hi, I've noticed that even after a new version of a package is picked up by code.dlang.org, it usually takes a day or two before dub fetch --version works with it. This also affects any packages that list the new version of the dependency. Is there any way to get around this? Thanks,

Atila

Re: Day-long delay for `dub fetch`?

Am 26.02.2016 um 10:04 schrieb Atila Neves:

Hi, I've noticed that even after a new version of a package is picked up by code.dlang.org, it usually takes a day or two before dub fetch --version works with it. This also affects any packages that list the new version of the dependency. Is there any way to get around this? Thanks,

Atila

You can run "dub clean-caches" to let it get fresh information at the
next run. The meta data cache has actually been removed on GIT master
recently, because it isn't necessary anymore, so the next version won't
have this issue.

Re: Day-long delay for `dub fetch`?

On Sat, 27 Feb 2016 20:59:06 +0100, Sönke Ludwig wrote:

Am 26.02.2016 um 10:04 schrieb Atila Neves:

Hi, I've noticed that even after a new version of a package is picked up by code.dlang.org, it usually takes a day or two before dub fetch --version works with it. This also affects any packages that list the new version of the dependency. Is there any way to get around this? Thanks,

Atila

You can run "dub clean-caches" to let it get fresh information at the
next run. The meta data cache has actually been removed on GIT master
recently, because it isn't necessary anymore, so the next version won't
have this issue.

Ah, ok. Thanks!

Atila