change mirror archive url?

133 views
Skip to first unread message

Serge van Ginderachter

unread,
Jan 19, 2015, 6:40:21 AM1/19/15
to aptly-...@googlegroups.com
i suspect this is not possible, but to be sure:

Would it be possible to edit the archive url of a mirror?


Serge

Andrey Smirnov

unread,
Jan 19, 2015, 6:58:00 AM1/19/15
to Serge van Ginderachter, aptly-...@googlegroups.com
Hi Serge!

It should be fairly easy to add to `aptly mirror edit`. In practice, aptly stores downloaded package files in the pool by their MD5 hash and filename. So if you just create new mirror with new URL and update it, aptly wouldn't download packages once more, it would use already downloaded package files. 

So editing URL is not possible for the mirror, but creating mirror with new URL would give almost the same effect.

--
You received this message because you are subscribed to the Google Groups "aptly-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aptly-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages