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


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

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

From Johannes Schauer Marin Rodrigues <josch@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1090358: sbuild: please pre-set config variables with their defaults
Date 2024-12-17 15:30 +0100
Message-ID <JUGKe-eHG-9@gated-at.bofh.it> (permalink)
References <JUFO9-e8g-3@gated-at.bofh.it> <JUFO9-e8g-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi,

Quoting Chris Hofstaedtler (2024-12-17 14:20:16)
> I wish sbuild would allow me to extend its config settings in
> .sbuildrc or .config/sbuild/config.pl, without having to re-state
> the previous defaults.

me too.

> This bug report is mostly here to escape the salsa comment mess;

Thank you! I also prefer the BTS for this. :)

> > 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. But I know that people are *very* creative when it
comes to their ~/.sbuildrc... I fear that the only way to find out what breaks
is to upload and break things... :/

Thanks!

cheers, josch

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