Re: Bug#893397: adapt the cron scripts to use http:// instead of ftp://

2018-03-25 Thread Osamu Aoki
Hi, On Thu, Mar 22, 2018 at 10:08:58PM +0800, Paul Wise wrote: > On Wed, Mar 21, 2018 at 11:50 PM, Osamu Aoki wrote: > > > One negative point of above approach is that it always downloads doc deb > > packages even if there are no changes. > > This will prevent downloading the same package twice:

Re: Bug#893397: adapt the cron scripts to use http:// instead of ftp://

2018-03-22 Thread Paul Wise
On Wed, Mar 21, 2018 at 11:50 PM, Osamu Aoki wrote: > One negative point of above approach is that it always downloads doc deb > packages even if there are no changes. This will prevent downloading the same package twice: chdist apt old install --download-only emacsen-common > Also unpacking

Re: Bug#893397: adapt the cron scripts to use http:// instead of ftp://

2018-03-21 Thread Osamu Aoki
Hi, On Wed, Mar 21, 2018 at 11:26:23AM +0800, Paul Wise wrote: > On Tue, Mar 20, 2018 at 10:55 PM, Osamu Aoki wrote: > > > apt-get has -C option to use non-standard /etc/apt/sources.list > > listing unstable distribution: > > This is the wrong way to completely override the system apt >

Re: Bug#893397: adapt the cron scripts to use http:// instead of ftp://

2018-03-20 Thread Paul Wise
On Tue, Mar 20, 2018 at 10:55 PM, Osamu Aoki wrote: > apt-get has -C option to use non-standard /etc/apt/sources.list > listing unstable distribution: This is the wrong way to completely override the system apt configuration. The right way is to set the APT_CONFIG environment variable. See the

Re: Bug#893397: adapt the cron scripts to use http:// instead of ftp://

2018-03-20 Thread Osamu Aoki
Hi, On Tue, Mar 20, 2018 at 11:55:01PM +0900, Osamu Aoki wrote: > What you did is one way ;-) > > On Mon, Mar 19, 2018 at 03:27:25PM +0100, Laura Arjona Reina wrote: ... > > pattern specified with -A. Maybe there is a more efficient way to do this? > > Most wgetfiles are downloading the latest

Re: Bug#893397: adapt the cron scripts to use http:// instead of ftp://

2018-03-20 Thread Osamu Aoki
What you did is one way ;-) On Mon, Mar 19, 2018 at 03:27:25PM +0100, Laura Arjona Reina wrote: > Hello > I've been doing some tests and this is what I have, for now: > > * the current script is in: > https://anonscm.debian.org/cgit/debwww/cron.git/tree/parts/1ftpfiles > (and it works, not sure

Re: Bug#893397: adapt the cron scripts to use http:// instead of ftp://

2018-03-19 Thread Laura Arjona Reina
Hello I've been doing some tests and this is what I have, for now: * the current script is in: https://anonscm.debian.org/cgit/debwww/cron.git/tree/parts/1ftpfiles (and it works, not sure when/if it will stop working...). * There, changing ftp:// for http:// is not enough, because we were