Bug#1014573: sbuild-debian-developer-setup: Add option to use a specific mirror instead of apt-cacher-ng

2022-09-15 Thread Johannes Schauer Marin Rodrigues
Control: tag -1 + help moreinfo

Hi Ben,

Quoting Michael Stapelberg (2022-09-15 08:57:47)
> On Wed, 14 Sept 2022 at 08:10, Johannes Schauer Marin Rodrigues 
>  wrote:
> > On Fri, 08 Jul 2022 02:35:50 -0400 Ben Westover 
> > wrote:
> > > wrote: I was trying to create an Ubuntu schroot for sbuild using the
> > > command sbuild-debian-developer-setup --distribution=ubuntu --suite=jammy
> > > and debootstrap failed because it tried to use apt-cacher-ng, which
> > > doesn't work for Ubuntu if you're on Debian, and vice versa. This would
> > > be solved with an option that can specify the mirror to use in place of
> > > apt-cacher-ng.  Alternatively, sbuild-debian-developer-setup could do a
> > > sanity check on apt-cacher-ng, and if it fails, switch to
> > > http://deb.debian.org/debian or http://archive.ubuntu.com/ubuntu.
> >
> > I'm going to take care of the other sbuild-debian-developer-setup related
> > bugs in the bts (#1014574 and #1006135 -- I am going to comply with both
> > requests unless you have any objections). In turn, could you take care
> > about this bug?
> Unfortunately I don’t have time to do any development on
> sbuild-debian-developer-setup, so I can’t help with this bug.
> 
> Maybe Ben can try and send a patch?

the package has "debian" in its name so I think it's fair to assume that a
setup for ubuntu is not in its default scope.

But maybe you can prepare a sensible patch and either send it to this bug or as
a merge request on https://salsa.debian.org/debian/sbuild as suggested by
Michael?

Thanks!

cheers, josch

signature.asc
Description: signature


Bug#1014573: sbuild-debian-developer-setup: Add option to use a specific mirror instead of apt-cacher-ng

2022-09-15 Thread Michael Stapelberg
Thanks for taking care of the other bugs!

Unfortunately I don’t have time to do any development on
sbuild-debian-developer-setup, so I can’t help with this bug.

Maybe Ben can try and send a patch?

On Wed, 14 Sept 2022 at 08:10, Johannes Schauer Marin Rodrigues <
jo...@debian.org> wrote:

> Hi Michael,
>
> On Fri, 08 Jul 2022 02:35:50 -0400 Ben Westover 
> wrote:
> > I was trying to create an Ubuntu schroot for sbuild using the command
> > sbuild-debian-developer-setup --distribution=ubuntu --suite=jammy and
> > debootstrap failed because it tried to use apt-cacher-ng, which doesn't
> work
> > for Ubuntu if you're on Debian, and vice versa. This would be solved
> with an
> > option that can specify the mirror to use in place of apt-cacher-ng.
> > Alternatively, sbuild-debian-developer-setup could do a sanity check on
> > apt-cacher-ng, and if it fails, switch to http://deb.debian.org/debian
> or
> > http://archive.ubuntu.com/ubuntu.
>
> I'm going to take care of the other sbuild-debian-developer-setup related
> bugs
> in the bts (#1014574 and #1006135 -- I am going to comply with both
> requests
> unless you have any objections). In turn, could you take care about this
> bug?
>
> Thanks!
>
> cheers, josch



-- 
Best regards,
Michael


Bug#1014573: sbuild-debian-developer-setup: Add option to use a specific mirror instead of apt-cacher-ng

2022-09-14 Thread Johannes Schauer Marin Rodrigues
Hi Michael,

On Fri, 08 Jul 2022 02:35:50 -0400 Ben Westover  wrote:
> I was trying to create an Ubuntu schroot for sbuild using the command
> sbuild-debian-developer-setup --distribution=ubuntu --suite=jammy and
> debootstrap failed because it tried to use apt-cacher-ng, which doesn't work
> for Ubuntu if you're on Debian, and vice versa. This would be solved with an
> option that can specify the mirror to use in place of apt-cacher-ng.
> Alternatively, sbuild-debian-developer-setup could do a sanity check on
> apt-cacher-ng, and if it fails, switch to http://deb.debian.org/debian or
> http://archive.ubuntu.com/ubuntu.

I'm going to take care of the other sbuild-debian-developer-setup related bugs
in the bts (#1014574 and #1006135 -- I am going to comply with both requests
unless you have any objections). In turn, could you take care about this bug?

Thanks!

cheers, josch

signature.asc
Description: signature


Bug#1014573: sbuild-debian-developer-setup: Add option to use a specific mirror instead of apt-cacher-ng

2022-07-08 Thread Ben Westover
Package: sbuild-debian-developer-setup
Version: 0.83.1
Severity: normal
Tags: upstream

Dear Maintainer,

I was trying to create an Ubuntu schroot for sbuild using the command
sbuild-debian-developer-setup --distribution=ubuntu --suite=jammy
and debootstrap failed because it tried to use apt-cacher-ng, which
doesn't work for Ubuntu if you're on Debian, and vice versa. This would
be solved with an option that can specify the mirror to use in place of
apt-cacher-ng. Alternatively, sbuild-debian-developer-setup could do a
sanity check on apt-cacher-ng, and if it fails, switch to
http://deb.debian.org/debian or http://archive.ubuntu.com/ubuntu.

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.18.0-2-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages sbuild-debian-developer-setup depends on:
ii  apt-cacher-ng   3.7.4-1+b1
ii  cron [cron-daemon]  3.0pl1-145
ii  perl5.34.0-5
ii  sbuild  0.83.1
ii  schroot 1.6.10-16

sbuild-debian-developer-setup recommends no packages.

sbuild-debian-developer-setup suggests no packages.

-- no debconf information