Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #14480
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Antoine Beaupré <anarcat@debian.org> |
| Newsgroups | linux.debian.bugs.dist, linux.debian.maint.python |
| Subject | Bug#1007025: git-multimail 1.6.0 package review |
| Date | Tue, 20 Sep 2022 17:10:01 +0200 |
| Message-ID | <F7MT7-8RWZ-1@gated-at.bofh.it> (permalink) |
| References | <E2gt3-2wIp-3@gated-at.bofh.it> <E2kZH-2zsD-13@gated-at.bofh.it> <E2lM6-2zYj-3@gated-at.bofh.it> <E2ogV-2BxD-3@gated-at.bofh.it> <E2ogV-2BxD-3@gated-at.bofh.it> <DZxJL-SUI-5@gated-at.bofh.it> <EJWgV-bNDG-5@gated-at.bofh.it> <DZxJL-SUI-5@gated-at.bofh.it> <EKexb-bZ4j-1@gated-at.bofh.it> <F6049-7JM1-3@gated-at.bofh.it> <F6T0B-8jE7-1@gated-at.bofh.it> <DZxJL-SUI-5@gated-at.bofh.it> <F6T0B-8jE7-1@gated-at.bofh.it> |
| X-Original-To | Bo YU <tsu.yubo@gmail.com> |
| X-Mailbox-Line | From debian-bugs-dist-request@lists.debian.org Tue Sep 20 15:00:11 2022 |
| Old-Return-Path | <debbugs@buxtehude.debian.org> |
| X-Spam-Flag | NO |
| X-Spam-Score | -3.999 |
| Reply-To | Antoine Beaupré <anarcat@debian.org>, 1007025@bugs.debian.org |
| Resent-To | debian-bugs-dist@lists.debian.org |
| Resent-Cc | wnpp@debian.org, vimer <tsu.yubo@gmail.com> |
| X-Debian-Pr-Message | followup 1007025 |
| X-Debian-Pr-Package | wnpp |
| Organization | Debian |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | quoted-printable |
| X-Debian-User | anarcat |
| X-Debian-Message | from BTS |
| X-Mailing-List | <debian-bugs-dist@lists.debian.org> archive/latest/1735259 |
| List-ID | <debian-bugs-dist.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-bugs-dist/> |
| Approved | robomod@news.nic.it |
| Lines | 107 |
| Sender | robomod@news.nic.it |
| X-Original-Cc | 1007025@bugs.debian.org, Bastian Germann <bage@debian.org>, debian-python@lists.debian.org |
| X-Original-Date | Tue, 20 Sep 2022 10:56:05 -0400 |
| X-Original-Message-ID | <87mtau5c3e.fsf@curie.anarc.at> |
| X-Original-References | <CAKq8=3+dbmRePbCHC7=ArYqrE8RSCLM01OKJhP1Q4QX3dcmJzA@mail.gmail.com> <878rt78k24.fsf@angela.anarc.at> <CAKq8=3Kvepxv76BjmTAyJiQWbYJve7y6z6VN9rVUyC9Yn9wGuA@mail.gmail.com> <8735jf8a0w.fsf@angela.anarc.at> <8735jf8a0w.fsf@angela.anarc.at> <164694434412.23888.15342309351823597252.reportbug@angela.anarc.at> <5062951b-5c19-60a6-daa9-8acde45eaef6@debian.org> <164694434412.23888.15342309351823597252.reportbug@angela.anarc.at> <20220717152756.lyoqizifnfhykqrg@debian> <87illowqce.fsf@emma.anarc.at> <20220918031024.rehgofq4bc4k5hw4@debian> <164694434412.23888.15342309351823597252.reportbug@angela.anarc.at> <20220918031024.rehgofq4bc4k5hw4@debian> |
| Xref | csiph.com linux.debian.bugs.dist:1117989 linux.debian.maint.python:14480 |
Cross-posted to 2 groups.
Show key headers only | View raw
On 2022-09-18 11:10:24, Bo YU wrote:
> Hi,
> On Thu, Sep 15, 2022 at 05:32:33PM +0100, Antoine Beaupré wrote:
>>Hi!
>>
>>I've done a quick review of the 1.6.0 package on salsa as of commit
>>d5bd184a1cf73b752f80dea46d8080493a5e663b.
[...]
>>Also, I didn't quite follow the work on the test cases, but why did you
>>replace pep8 by pycodestyle in the patch in debian/patches? The patch
>>itself doesn't actually explain the *why* (it explains the "what" but we
>>typically want more than this...)
>
> This time i add dep3 header for the patch. It should be noted that
> despite this patch, it is still not helpful for upstream test cases.
> I have forwarded this for upstream:
> https://github.com/git-multimail/git-multimail/issues/221#issuecomment-1245009306
> (To avoid bring noisy for upstream, i just recorded it in a issue)
I don't think pull requests are noisy... you should probably just submit
this as a PR upstream.
[...]
>>I'm also surprised we need that launcher at all. Normally, the
>>`setup.py` wrapper has a scripts= stanza which should install the
>>upstream one, why do we do it differently?
>
> yeah. The reason why I use launcher here is bacause that @jcfp helped
> me to review it in the previous time:
>
> ```
> the (large) git_multimail.py file is installed twice, both as a
> public module under /usr/lib/python3 and as a script in /usr/bin;
> the latter could be replaced by a tiny launcher (take a look at the
> nfoview package if you need inspiration; your launcher would be even
> shorter because it doesn't need the sys.path manipulation)
> ```
> I am not sure if I understand jcfp's meaning correctly and I refer to
> nfoview:
> https://salsa.debian.org/python-team/packages/nfoview/-/blob/debian/master/debian/launcher/nfoview
>
> The issue is that I installed git_multimail.py twice in fact it should
> be under /usr/lib/python3 only as jcfp said. So i remove it in /usr/bin
> by hand.
>
> Now I have removed the launcher for git-multimail and it should work:)
Hm. This is weird. Why would you *not* want git-multimail under
/usr/bin? I understand the that git_multimail.py *module* should be in
/usr/lib/, but you should *also* have a launcher in /usr/bin/
I think, therefore, this is incorrect:
+override_dh_python3:
+ dh_python3
+ rm -f debian/git-multimail/usr/bin/git_multimail.py
+
First off, don't use `-f` there: we *do* want to fail if the file
doesn't exist, so that we can remove the override.
Second, this looks wrong: `git-multimail` (the launcher) should be the
thing that's installed under /usr/bin, not `git_multimail.py` (the
module). If the module ends up in /usr/bin, then it's probably a bug
upstream that should be filed.
Could you clarify what happens with the package right now?
[...]
>>Finally, one fundamental issue with this package is that, as you
>>correctly identified, it's unmaintained upstream. If we do ship it in
>>Debian, maybe we'd want to keep it out of stable until that is settled?
>
> Ok. I think so also. Fortunately, maintainer of upstream has a little
> response, but that's all.
Okay, so the right way to do this is to file a release-critical bug
against the package once it enters Debian.
>>I think that's what I have for now. I haven't double-checked the
>>upstream branch to see if it matches the upstream repo I have here, but
>>that would be my next step before uploading... just a formality to make
>>sure everything matches up.
>>
>>Thanks for working on this package!
>
> Thanks. This is the first package made by me with you all help.
>
> The new version for git-multimail is here:
> https://mentors.debian.net/package/git-multimail/
>
> Thanks again for your encouragement.:)
I hope that helps! :)
a.
--
Omnis enim ex infirmitate feritas est.
All cruelty springs from weakness.
- Lucius Annaeus Seneca (58 AD)
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
I want to join the DPT vimer <tsu.yubo@gmail.com> - 2022-03-17 09:50 +0100
Re: I want to join the DPT Sandro Tosi <morph@debian.org> - 2022-03-17 14:20 +0100
Re: I want to join the DPT vimer <tsu.yubo@gmail.com> - 2022-03-17 15:10 +0100
Re: I want to join the DPT Sandro Tosi <morph@debian.org> - 2022-03-17 15:30 +0100
Re: I want to join the DPT Sandro Tosi <morph@debian.org> - 2022-03-17 15:50 +0100
Re: I want to join the DPT Bo YU <tsu.yubo@gmail.com> - 2022-03-18 10:10 +0100
Bug#1007025: I want to join the DPT Antoine Beaupré <anarcat@debian.org> - 2022-03-18 14:40 +0100
Bug#1007025: I want to join the DPT Bo YU <tsu.yubo@gmail.com> - 2022-03-18 15:30 +0100
Bug#1007025: I want to join the DPT Antoine Beaupré <anarcat@debian.org> - 2022-03-18 18:10 +0100
Bug#1007025: git-multimail 1.6.0 package review Antoine Beaupré <anarcat@debian.org> - 2022-09-15 18:40 +0200
Bug#1007025: git-multimail 1.6.0 package review Antoine Beaupré <anarcat@debian.org> - 2022-09-15 18:50 +0200
Bug#1007025: git-multimail 1.6.0 package review Bo YU <tsu.yubo@gmail.com> - 2022-09-18 05:20 +0200
Bug#1007025: git-multimail 1.6.0 package review Antoine Beaupré <anarcat@debian.org> - 2022-09-20 17:10 +0200
Bug#1007025: git-multimail 1.6.0 package review Bo YU <tsu.yubo@gmail.com> - 2022-09-22 11:10 +0200
Bug#1007025: git-multimail 1.6.0 package review Antoine Beaupré <anarcat@debian.org> - 2022-09-22 18:40 +0200
Re: Bug#1007025: git-multimail 1.6.0 package review Jeroen Ploemen <jcfp@debian.org> - 2022-09-22 19:50 +0200
Re: Bug#1007025: git-multimail 1.6.0 package review Antoine Beaupré <anarcat@debian.org> - 2022-09-22 20:20 +0200
Re: Bug#1007025: git-multimail 1.6.0 package review Bo YU <tsu.yubo@gmail.com> - 2022-09-24 09:40 +0200
Re: Bug#1007025: git-multimail 1.6.0 package review Bo YU <tsu.yubo@gmail.com> - 2022-09-26 15:10 +0200
Re: I want to join the DPT vimer <tsu.yubo@gmail.com> - 2022-03-17 16:00 +0100
Re: I want to join the DPT Stefano Rivera <stefanor@debian.org> - 2022-03-27 00:20 +0100
Re: I want to join the DPT Bo YU <tsu.yubo@gmail.com> - 2022-03-31 05:30 +0200
csiph-web