Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1224518

Bug#1090358: sbuild: please pre-set config variables with their defaults

From Chris Hofstaedtler <zeha@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1090358: sbuild: please pre-set config variables with their defaults
Date 2024-12-17 22:20 +0100
Message-ID <JUN90-iMd-9@gated-at.bofh.it> (permalink)
References <JUFO9-e8g-3@gated-at.bofh.it> <JUGKe-eHG-9@gated-at.bofh.it> <JUFO9-e8g-3@gated-at.bofh.it> <JUGKe-eHG-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

* Johannes Schauer Marin Rodrigues <josch@debian.org> [241217 15:18]:
> Quoting Chris Hofstaedtler (2024-12-17 14:20:16)
> > > I would bet a lot on this breaking something. The problem are
> > > settings which have a GET function which is allowed to perform
> > > some magic. The GET function is called if the value behind a
> > > setting is requested but the user has set it to undef in their
> > > ~/.sbuildrc. If all values that have defaults are now set, then
> > > the GET function is not called anymore which I guess can have
> > > undesired consequences in some cases? Can you try this patch and
> > > see what happens?
> 
> The question is how to proceed. I fear that things will break. But I tested
> this and nothing broke.

Please test this scenario, and see if that works for you / what
happens:

cd /var/tmp
apt source hello
cd hello-2.10
sbuild --chroot-mode=unshare --no-run-lintian
test -e hello_*changes && echo "whoops, wrote to wrong dir"

Chris

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1090358: sbuild: please pre-set config variables with their defaults Chris Hofstaedtler <zeha@debian.org> - 2024-12-17 14:30 +0100
  Bug#1090358: sbuild: please pre-set config variables with their defaults Chris Hofstaedtler <zeha@debian.org> - 2024-12-17 15:10 +0100
    Bug#1090358: sbuild: please pre-set config variables with their defaults Chris Hofstaedtler <zeha@debian.org> - 2024-12-17 15:30 +0100
  Bug#1090358: sbuild: please pre-set config variables with their defaults Johannes Schauer Marin Rodrigues <josch@debian.org> - 2024-12-17 15:30 +0100
    Bug#1090358: sbuild: please pre-set config variables with their defaults Chris Hofstaedtler <zeha@debian.org> - 2024-12-17 16:00 +0100
    Bug#1090358: sbuild: please pre-set config variables with their defaults Chris Hofstaedtler <zeha@debian.org> - 2024-12-17 22:20 +0100
      Bug#1090358: sbuild: please pre-set config variables with their defaults Johannes Schauer Marin Rodrigues <josch@debian.org> - 2024-12-18 00:10 +0100
        Bug#1090358: sbuild: please pre-set config variables with their defaults Chris Hofstaedtler <zeha@debian.org> - 2024-12-18 09:00 +0100
          Bug#1090358: sbuild: please pre-set config variables with their defaults Chris Hofstaedtler <zeha@debian.org> - 2024-12-18 09:20 +0100
            Bug#1090358: sbuild: please pre-set config variables with their defaults Johannes Schauer Marin Rodrigues <josch@debian.org> - 2024-12-18 17:10 +0100

csiph-web