Path: csiph.com!1.us.feeder.erje.net!3.us.feeder.erje.net!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!usenet.goja.nl.eu.org!aioe.org!bofh.it!news.nic.it!robomod From: Bo YU Newsgroups: linux.debian.maint.python Subject: Re: Bug#1007025: git-multimail 1.6.0 package review Date: Mon, 26 Sep 2022 15:10:02 +0200 Message-ID: References: X-Original-To: =?UTF-8?Q?Antoine_Beaupr=C3=A9?= X-Mailbox-Line: From debian-python-request@lists.debian.org Mon Sep 26 13:07:42 2022 Old-Return-Path: X-Amavis-Spam-Status: No, score=-6.099 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FOURLA=0.1, FREEMAIL_FROM=0.001, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001, SHIP_ID_INT=1] 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-wr1-x42a.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5 X-Gm-Message-State: ACrzQf0eF72AddoGBJCRsSNSX0EY0nMIVk5fvJY29EHNztoE48xB0vJ9 E1YnVCALCYAN4M1M65MiBQBLXqYCLsGa6tYbjh8bXwq8B5M= X-Google-SMTP-Source: AMsMyM5umAgD+Qm7YaPILpXKpsgK81bHmc3fxRZEw/WcNF/ApJO2APbtl+mdDx0B2ahbQugSAfQI2l1Suydrr7NoSyo= X-Received: by 2002:a05:6512:b9d:b0:49b:9ad9:17c2 with SMTP id b29-20020a0565120b9d00b0049b9ad917c2mr8419808lfv.16.1664197267240; Mon, 26 Sep 2022 06:01:07 -0700 (PDT) MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailing-List: archive/latest/20345 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/CAKq8=3L8PBGFQj-78kE8-Vj6Ao8=YrMsTacgF6hDGyGK-ERj8w@mail.gmail.com Approved: robomod@news.nic.it Lines: 43 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: Jeroen Ploemen , debian-python@lists.debian.org X-Original-Date: Mon, 26 Sep 2022 21:00:54 +0800 X-Original-Message-ID: X-Original-References: <20220717152756.lyoqizifnfhykqrg@debian> <87illowqce.fsf@emma.anarc.at> <20220918031024.rehgofq4bc4k5hw4@debian> <164694434412.23888.15342309351823597252.reportbug@angela.anarc.at> <87mtau5c3e.fsf@curie.anarc.at> <20220922090324.ot6shgjve5p47gk2@debian> <87zger4bb3.fsf@curie.anarc.at> <20220922194324.5e5ed9d9@debian.org> <87wn9v46tk.fsf@curie.anarc.at> <20220924073417.nfltltgrokonpj6m@debian> Xref: csiph.com linux.debian.maint.python:14500 Hi On Sat, Sep 24, 2022 at 3:34 PM Bo YU wrote: > > Hi, > On Thu, Sep 22, 2022 at 02:12:07PM -0400, Antoine Beaupr=C3=A9 wrote: > >On 2022-09-22 19:43:24, Jeroen Ploemen wrote: > >> On Thu, 22 Sep 2022 12:35:12 -0400 > >> Antoine Beaupr=C3=A9 wrote: > >> > >>> I think the simplest solution is not to rewrite the launcher, but to > >>> rename it. So in debian/rules, you would simply do: > >>> > >>> override_dh_auto_install: > >>> dh_auto_install > >>> mv debian/git-multimail/usr/bin/git_multimail.py > >>> debian/git-multimail/usr/bin/git-multimail > >> > >> Antoine, IIRC the git_multimail.py file upstream installs into > >> /usr/bin is not a launcher but a full copy of the module as installed > >> into /usr/lib/python3. The code in that file auto-detects whether > >> it's run as a program. > > > >Oh. I misunderstood that, sorry. > [...] > > Thanks all and please let me know if any issues. I have sent the PR and whcih was merged: https://github.com/git-multimail/git-multimail/pull/224 The latest version git-multimail debian package is here: https://mentors.debian.net/package/git-multimail/ Thanks again.:) > > -- > Regards, > -- > Bo YU >