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

Osamu Aoki <[email protected]>
Newsgroups gmane.linux.debian.devel.www
Message-ID <20180325154051.GA3761__15734.0201120407$1521992598$gmane$org@goofy.tc4.so-net.ne.jp>
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:
> 
> chdist apt old install --download-only emacsen-common

Oh, that's it.  I should have known ... this is simple enough.
(I always had real chroot systems .... so never used it)

> > Also unpacking code is still complicated to make it future proof.
> 
> Hmm, do you have any more details? Is dpkg -x not enough?

Probably enough.

> > Then I thought it may be good idea to create very small Debian unstable
> > chroot.  Then install pertinent doc packages.  For old deb from
> > snapshot, we can wget and dpkg -i.  Then this chroot can be updated and
> > dist-upgraded.  This causes to download all base package updates but
> > skips repeated download of doc packages.  Hmmm... which is worse?
> 
> A chroot needs root so probably isn't going to work here.

That's fair.

So now agree.  Thanks for the idea.

Osamu
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.