Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #9041
| Path | csiph.com!news.mixmin.net!aioe.org!gothmog.csi.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Piotr Ożarowski <piotr@debian.org> |
| Newsgroups | linux.debian.maint.python |
| Subject | Re: Binary naming for Django Related Packages |
| Date | Mon, 28 Nov 2016 18:00:02 +0100 |
| Message-ID | <sIxrA-4y6-27@gated-at.bofh.it> (permalink) |
| References | <sIwOR-4kz-5@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Mon Nov 28 16:50:43 2016 |
| Old-Return-Path | <piotr@ozarowski.pl> |
| X-Amavis-Spam-Status | No, score=-6.899 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FOURLA=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, LDO_WHITELIST=-5] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -6.1 |
| Mail-Followup-To | debian-python@lists.debian.org |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Disposition | inline |
| Content-Transfer-Encoding | 8bit |
| X-Operating-System | Debian GNU/Linux (4.7.0-0.bpo.1-amd64) |
| User-Agent | NeoMutt/20161104 (1.7.1) |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/14386 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/20161128165024.gn4s7tudeiqtoaow@sar0.p1otr.com |
| Approved | robomod@news.nic.it |
| Lines | 44 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Mon, 28 Nov 2016 17:50:24 +0100 |
| X-Original-Message-ID | <20161128165024.gn4s7tudeiqtoaow@sar0.p1otr.com> |
| X-Original-References | <26917154.d0blnEnNDW@kitterma-e6430> |
| Xref | csiph.com linux.debian.maint.python:9041 |
Show key headers only | View raw
[Scott Kitterman, 2016-11-28]
> I've recently done some Django related packaging for the first time and
> noticed that we have organically (as far as I can tell) grown a slightly
> different naming convention for such packages. Instead of python*-foo, we use
> python*-django-foo.
>
> I think this is a reasonable approach and followed it in the new packages I've
> recently done.
>
> I decided to check and see how common the approach is. Here's what I found in
> Sid:
>
> Start with django: 7
> Start w/django, not transitional: 2
> Start with django3: 0
>
> Start with python-django (excluding -doc): 136
> Start with python3-django: 84
>
> I think it would make sense to add this to the Python policy so how we're
> doing it is documented. I am attaching a proposed diff. I made it a should
> because there are two non-DPMT packages that don't follow this rule and I
> think it's late in the cycle to be adding to must policy requirements.
>
> Please let me know what you think. I'm open to suggestions on wording. I'd
> like to get this done in the next week and do a python-defaults upload with
> this and a few minor (non-policy) changes that are pending.
-1 from me
If Django packages have no use outside Django¹, they should be moved out²
of public dist-packages IMO. If they are useful, "-django" part is misleading.
[¹] dash suggest they're not in django namespace, otherwise binary
package name would be python3-django.foo
(or python3-django.ext.foo, like in flask?)
[²] sys.path.append('/usr/lib/python3/django-packages/') in
django/__init__.py if django import always prepends other imports
(python3-django- namespace would be tolerable then, I guess)
--
Piotr Ożarowski Debian GNU/Linux Developer
www.ozarowski.pl www.griffith.cc www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Binary naming for Django Related Packages Scott Kitterman <debian@kitterman.com> - 2016-11-28 17:20 +0100
Re: Binary naming for Django Related Packages Barry Warsaw <barry@debian.org> - 2016-11-28 17:40 +0100
Re: Binary naming for Django Related Packages Piotr Ożarowski <piotr@debian.org> - 2016-11-28 18:00 +0100
Re: Binary naming for Django Related Packages Raphael Hertzog <hertzog@debian.org> - 2016-11-29 13:50 +0100
Re: Binary naming for Django Related Packages Thomas Goirand <zigo@debian.org> - 2016-12-03 17:10 +0100
Re: Binary naming for Django Related Packages Jeremy Stanley <fungi@yuggoth.org> - 2016-12-03 17:50 +0100
Re: Binary naming for Django Related Packages Julien Puydt <julien.puydt@laposte.net> - 2016-11-28 17:50 +0100
Re: Binary naming for Django Related Packages Piotr Ożarowski <piotr@debian.org> - 2016-11-28 18:00 +0100
Re: Binary naming for Django Related Packages Scott Kitterman <debian@kitterman.com> - 2016-11-28 18:10 +0100
Re: Binary naming for Django Related Packages Raphael Hertzog <hertzog@debian.org> - 2016-11-29 14:00 +0100
Re: Binary naming for Django Related Packages Scott Kitterman <debian@kitterman.com> - 2016-11-29 14:20 +0100
Re: Binary naming for Django Related Packages Piotr Ożarowski <piotr@debian.org> - 2016-11-29 14:50 +0100
Re: Binary naming for Django Related Packages Scott Kitterman <debian@kitterman.com> - 2016-11-30 06:20 +0100
Re: Binary naming for Django Related Packages Raphael Hertzog <hertzog@debian.org> - 2016-12-07 11:50 +0100
Re: Binary naming for Django Related Packages Scott Kitterman <debian@kitterman.com> - 2017-01-18 07:50 +0100
Re: Binary naming for Django Related Packages IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org> - 2017-01-18 10:50 +0100
Re: Binary naming for Django Related Packages Thomas Goirand <zigo@debian.org> - 2016-12-03 17:10 +0100
csiph-web