From: "William L. Thomson Jr." <wlt-ml@o-sinc.com>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Package file name requirement for binary ebuilds
Date: Mon, 17 Oct 2016 09:39:25 -0400 [thread overview]
Message-ID: <assp.0098c74d15.3632989.OdpSyRsPM0@wlt> (raw)
In-Reply-To: <20161017214612.4584c0b3@katipo2.lan>
[-- Attachment #1: Type: text/plain, Size: 2924 bytes --]
On Monday, October 17, 2016 9:46:12 PM EDT Kent Fredric wrote:
> On Mon, 17 Oct 2016 03:41:13 -0400
>
> "William L. Thomson Jr." <wlt-ml@o-sinc.com> wrote:
> > To be clear I would suggest at MOST 3, -bin, -ebin, and -sbin. NO more.
>
> It would be far better to simply have a PROPERTIES field in ebuilds or
> somesuch:
A -bin package is coming in as a dependency. How you do you know where it came
from?
> PROPERTIES="binary:upstream"
>
> or
>
> PROPERTIES="binary:gentoo"
>
> Assuming the right tooling, this allows a way to "canonically" define
> what the type of binary is, and allow people to make whatever choices,
> including automated rules.
That is one way to go, but one would have to spend time to find out the source.
> After you do that, you can deem a *convention* of adding -bin suffixes,
> but instead of making it a "rule", make it simply a pattern that people
> can follow if their package indicates they need suffixing.
Patterns rather than rules/policies lead to inconsistent practice which is the
case now.
> This means:
>
> 1. "bin" packages don't need "-bin" suffixes, because metadata will convey
> it 2. ... however, you can still use a "-bin" suffix and its encouraged.
That doesn't really make sense with 1, saying you do not need -bin suffix but
then it is encouraged?
> 3.
> packages that end with '-bin' suffixes, but *arent* binaries can be clearly
> identified as such via metdata. ( Imagine something like
> dev-util/recycle-bin )
The main issue I see with metadata is time. If your updating a system or
several, a new -bin shows up potentially. You will have to spend time to
determine the type of bin.
It also does not provide any "notification" to others that hey, this can be
packaged from source.
> 4. any additional finessing of names to indicate what is going on can
> be decided by the maintainers in question, on a "as necessary basis"
Which leads to more inconsistency in tree. The idea is to have it consistent
per policy and not leaving naming up to a maintainer.
> This means instead of "require this pattern" which will eventually
> result in useless chaos as packages rename all over the place, it will
> also avoid "require this pattern" where its not needed. ( neither
> www-client/opera, www-client/opera-developer, or www-client/opera-beta
> are source based, they're all binaries, unpacked from .deb's for crying
> out loud )
Then they should all have the -bin suffix. Already showing deviation from that
while other packages have it. Exactly the inconsistency a policy would
address.
> And we don't want to embrace visibly the idea that "free for all
> binaries!!!!" by having too many -bin packages in tree.
Part of the idea is to prevent the growing -bins in tree....
Do you have any ideas how to reduce that and get others to help package things
that other stick in tree as binary rather than from source?
--
William L. Thomson Jr.
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 163 bytes --]
next prev parent reply other threads:[~2016-10-17 13:39 UTC|newest]
Thread overview: 68+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-14 17:05 [gentoo-dev] Package file name requirement for binary ebuilds William L. Thomson Jr.
2016-10-14 17:09 ` Ian Stakenvicius
2016-10-14 17:17 ` William L. Thomson Jr.
2016-10-14 17:29 ` Ian Stakenvicius
2016-10-15 10:32 ` Kristian Fiskerstrand
2016-10-15 22:00 ` Austin English
2016-10-16 22:20 ` William L. Thomson Jr.
2016-10-17 8:21 ` Kent Fredric
2016-10-23 8:46 ` Daniel Campbell
2016-10-14 17:36 ` Mike Gilbert
2016-10-14 18:05 ` William L. Thomson Jr.
2016-10-14 18:15 ` Ulrich Mueller
2016-10-14 20:48 ` William L. Thomson Jr.
2016-10-17 17:41 ` Brian Evans
2016-10-14 21:00 ` William Hubbs
2016-10-14 21:10 ` William L. Thomson Jr.
2016-10-14 21:14 ` William L. Thomson Jr.
2016-10-15 3:10 ` Kent Fredric
2016-10-16 22:30 ` William L. Thomson Jr.
2016-10-17 1:19 ` Ian Stakenvicius
2016-10-17 2:43 ` William L. Thomson Jr.
2016-10-17 5:43 ` Ian Stakenvicius
2016-10-17 16:10 ` Michael Orlitzky
2016-10-17 4:37 ` [gentoo-dev] " Duncan
2016-10-17 5:36 ` William L. Thomson Jr.
2016-10-18 5:36 ` Duncan
2016-10-17 6:57 ` [gentoo-dev] " Michał Górny
2016-10-17 7:17 ` Ulrich Mueller
2016-10-17 7:30 ` M. J. Everitt
2016-10-17 7:41 ` William L. Thomson Jr.
2016-10-17 7:49 ` M. J. Everitt
2016-10-17 12:20 ` Ulrich Mueller
2016-10-17 13:44 ` William L. Thomson Jr.
2016-10-17 13:47 ` M. J. Everitt
2016-10-17 13:52 ` William L. Thomson Jr.
2016-10-17 13:56 ` William L. Thomson Jr.
2016-10-17 14:11 ` M. J. Everitt
2016-10-17 13:52 ` Kristian Fiskerstrand
2016-10-17 14:04 ` William L. Thomson Jr.
2016-10-17 14:09 ` Kristian Fiskerstrand
2016-10-17 14:13 ` M. J. Everitt
2016-10-17 14:34 ` William L. Thomson Jr.
2016-10-17 14:54 ` Michael Mol
2016-10-17 15:01 ` Ian Stakenvicius
2016-10-17 15:10 ` William L. Thomson Jr.
2016-10-17 15:00 ` Mike Gilbert
2016-10-17 15:09 ` Michał Górny
2016-10-17 16:08 ` Ulrich Mueller
2016-10-17 16:51 ` NP-Hardass
2016-10-17 8:46 ` Kent Fredric
2016-10-17 13:39 ` William L. Thomson Jr. [this message]
2016-10-17 15:02 ` Kent Fredric
2016-10-17 7:37 ` William L. Thomson Jr.
2016-10-17 7:40 ` Michał Górny
2016-10-17 13:40 ` William L. Thomson Jr.
2016-10-17 17:09 ` Michael Mol
2016-10-17 17:25 ` Kent Fredric
2016-10-17 8:29 ` Kent Fredric
2016-10-17 13:32 ` William L. Thomson Jr.
2016-10-17 15:18 ` Kent Fredric
2016-10-17 15:48 ` William L. Thomson Jr.
2016-10-17 16:08 ` Michał Górny
2016-10-17 16:18 ` William L. Thomson Jr.
2016-10-17 17:34 ` Michał Górny
2016-10-17 20:03 ` William L. Thomson Jr.
2016-10-17 20:34 ` Michał Górny
2016-10-17 20:43 ` William L. Thomson Jr.
2016-10-18 15:15 ` Ciaran McCreesh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=assp.0098c74d15.3632989.OdpSyRsPM0@wlt \
--to=wlt-ml@o-sinc.com \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox