public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Ciaran McCreesh <ciaran.mccreesh@blueyonder.co.uk>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] [GLEP] scm package version suffix
Date: Mon, 10 Dec 2007 08:24:27 +0000	[thread overview]
Message-ID: <20071210082427.503cf5a1@blueyonder.co.uk> (raw)
In-Reply-To: <8b4c83ad0712092344k713552fdqb59472abaf52dbd8@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2113 bytes --]

On Mon, 10 Dec 2007 13:14:56 +0530
"Nirbheek Chauhan" <nirbheek.chauhan@gmail.com> wrote:
> On Dec 10, 2007 12:48 PM, Ciaran McCreesh
> <ciaran.mccreesh@blueyonder.co.uk> wrote:
> > Feature as opposed to release branches would still have to be
> > separate packages, especially if you need to depend upon a
> > particular feature.
> 
> I don't understand how having to depend on a particular feature causes
> one to need a separate package.

Because depending on a particular feature is a whole different kettle
of fish to having a sane alternative to -9999 or -cvs packages. 

> Why not just have something like
> sys-devel/gcc-4.2.3_p20071127-scm_b${BRANCHNAME}-r1 ?

Because it breaks deps. Simplest example: if I
block !=sys-devel/gcc-4.2.3* because of a bug (and gcc isn't an ideal
example here), I'm also blocking branches that don't have said bug.
When this is extended with long-lasting feature branches the situation
gets very very messy.

> Also, releases are often tagged rather than being branched out, which
> would have to be kept in mind as well.

No, for releases you follow the normal version mechanism.

Incidentally, I suspect the gcc example with _p is confusing people. The
normal use for an -scm suffix will be as follows:

    mypkg-1.2.3
    mypkg-1.2.4
    mypkg-scm

Where -scm is a live ebuild that's been package.masked. However, some
packages have several active branches, so you'd get:

    mypkg-1.2.3
    mypkg-1.2.4
    mypkg-1-scm
    mypkg-2.0.1
    mypkg-scm

Where -1-scm is a live ebuild for branches/1/ and -scm is a live ebuild
for trunk/. In particular, observe how 1-scm is < 2.0.1.

The whole _p thing only comes up for those very rare (or possibly
non-existent) projects that have patchset branches that are themselves
live. I highly doubt that many people will make use of anything other
than -scm or -number(.number)-scm. There's no reason to shove an -scm
suffix onto a package made from a static tarball, and the -scm suffix
does not replace existing mechanisms for indicating snapshots.

-- 
Ciaran McCreesh

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2007-12-10  8:28 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-09 16:01 [gentoo-dev] [GLEP] scm package version suffix Piotr Jaroszyński
2007-12-09 16:18 ` Josh Sled
2007-12-09 17:22   ` Piotr Jaroszyński
2007-12-09 17:52 ` Petteri Räty
2007-12-09 18:00   ` Piotr Jaroszyński
2007-12-09 18:45 ` Jan Kundrát
2007-12-09 18:57   ` Ciaran McCreesh
2007-12-10  4:31     ` Donnie Berkholz
2007-12-10  7:18       ` Ciaran McCreesh
2007-12-10  7:44         ` Nirbheek Chauhan
2007-12-10  8:24           ` Ciaran McCreesh [this message]
2007-12-10  8:36             ` Robin H. Johnson
2007-12-10  8:44               ` Ciaran McCreesh
2007-12-11  1:12             ` [gentoo-dev] " Ryan Hill
2007-12-10 12:59           ` [gentoo-dev] " Robert Buchholz
2007-12-10 14:24             ` Nirbheek Chauhan
2007-12-10 15:14               ` Robert Buchholz
2007-12-10 19:44                 ` Nirbheek Chauhan
2007-12-10 19:49                   ` Nirbheek Chauhan
2007-12-11  0:27                   ` [gentoo-dev] " Steve Long
2007-12-11 10:59                     ` Nirbheek Chauhan
2007-12-11 11:03                     ` Nirbheek Chauhan
2007-12-11  8:21                   ` Duncan
2007-12-11 11:06                     ` Nirbheek Chauhan
2007-12-11 11:17                       ` Ciaran McCreesh
2007-12-11 12:10                         ` Nirbheek Chauhan
2007-12-10  8:26         ` [gentoo-dev] " Robin H. Johnson
2007-12-10  8:34           ` Ciaran McCreesh
2007-12-10  9:21           ` [gentoo-dev] Handling branch strings Donnie Berkholz
2007-12-10  9:34             ` Santiago M. Mola
2007-12-10 19:42               ` Donnie Berkholz
2007-12-11  1:35                 ` [gentoo-dev] " Ryan Hill
2007-12-11  8:11                 ` [gentoo-dev] " Ciaran McCreesh
2007-12-11 11:46                   ` Santiago M. Mola
2007-12-11 17:56             ` [gentoo-dev] " Christian Faulhammer
2007-12-09 19:38   ` [gentoo-dev] Re: [GLEP] scm package version suffix Ryan Hill

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=20071210082427.503cf5a1@blueyonder.co.uk \
    --to=ciaran.mccreesh@blueyonder.co.uk \
    --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