Path: csiph.com!aioe.org!bofh.it!news.nic.it!robomod From: Sandro Tosi Newsgroups: linux.debian.maint.python Subject: Re: python-django-js-asset_1.2.2-3_source.changes REJECTED Date: Tue, 21 Sep 2021 03:20:01 +0200 Message-ID: References: X-Original-To: debian-python X-Mailbox-Line: From debian-python-request@lists.debian.org Tue Sep 21 01:16:02 2021 Old-Return-Path: X-Amavis-Spam-Status: No, score=-6.501 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001] autolearn=ham autolearn_force=no X-Policyd-Weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .gmail. - helo: .mail-qk1-f179.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5 X-Gm-Message-State: AOAM5318ObuN5Qh/CRMvZ8F4WqHfACBPsHeE/YcQNwQHCs3tErtkOJHi t+wtCWTCsvKLpXbKvZV1XandEu+J+hxNekn7ZwOjeweB6a4= X-Google-SMTP-Source: ABdhPJxZ1w4cPyOFc7HOW1VR3ORY8dc81LIzeNM+s4Zz7J6kxaMaP7Mcsien8k23HVz1rd7X6NLMxgNcHtsEPLuRCtw= X-Received: by 2002:a25:d2c8:: with SMTP id j191mr26327568ybg.429.1632186944465; Mon, 20 Sep 2021 18:15:44 -0700 (PDT) MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Mailing-List: archive/latest/19358 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/CAB4XWXwmg9rpre9R8dY5UmtVfAz68jWo6Dsg+rys4YC+__iZ5g@mail.gmail.com Approved: robomod@news.nic.it Lines: 65 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Mon, 20 Sep 2021 21:15:18 -0400 X-Original-Message-ID: X-Original-References: <1f944d96-c152-3a50-a20f-f0c5137493ce@t-online.de> <256be314-dabd-a2cc-1c9e-a2bfaad030a5@t-online.de> Xref: csiph.com linux.debian.maint.python:13562 On Mon, Sep 20, 2021 at 11:21 AM Andrey Rahmatullin wrote: > On Mon, Sep 20, 2021 at 11:14:44AM -0400, Sandro Tosi wrote: > > > That's because gbp does not use pristine-tar by default, and > > > debian/gbp.conf was missing `pristine-tar=True`. Just pushed a commit to > > > fix that. > > I dont think this is the right approach: the default options to work > > on DPT packages should be in gbp default config file (or in another, > > global, config file), and not live in each and every package > > debian/gbp.conf file; > What's the mechanism to put these options there for everyone who works on > a DPT package? that's a great question! i dont think a technical solution currently exists. > Or do you mean just working with whatever is shipped with > gbp? that wont work, but there could be a solution if we request a new feature in gbp. According to man 5 gbp.conf, there is either a global configuration file, a per user file or a per repo/branch. In order to support different workflows (for different teams, f.e.), this is not sufficient. But it could work if gbp.conf supported something similar to gitconfig includeIf: in my ~/.gitconfig i have ``` [includeIf "gitdir:~/deb/"] path = ~/.gitconfig-deb ``` (~/deb is where i keep all my Debian work), and that means that if the CWD is part of the ~/deb/ tree, git will also include ~/.gitconfig-deb which contains Debian-specific configs, like the @d.o mail address. Now, we'd also need a single location to store the team-specific gbp.conf, and we already have a repo thta would fit: https://salsa.debian.org/python-team/tools/packages , which currently contains files useful to work on the entire team packages. This is useful in my specific workflow, which is suspect is rather unusual, but here how it goes: * i checked https://salsa.debian.org/python-team/tools/packages in ~/deb/python (this could be anywhere) * run ./checkout -a to checkout all team packages (or ./checkout ... for only a subset) * use `mr` (via .mcrconfig) to work on _m_ultiple _r_epositories (mr) this repo could also contain a team-specific gbp.conf file we could use. Admittedly, we probably only need a handful of options, pristine-tar = True is only one that comes to mind (be aware this file will need to be compatible with *all* repos currently in the team, so setting the debian branch etc, wont work, until all repos are uniform). I'm going to file a feature request for the includeIf-like feature for gbp Regards, -- Sandro "morph" Tosi My website: http://sandrotosi.me/ Me at Debian: http://wiki.debian.org/SandroTosi Twitter: https://twitter.com/sandrotosi