[llvm-dev] New LLVM git repository conversion prototype

James Y Knight via llvm-dev llvm-dev at lists.llvm.org
Thu Dec 13 06:30:28 PST 2018

On Thu, Dec 13, 2018 at 2:06 AM Justin Bogner <mail at justinbogner.com> wrote:

> James Y Knight <jyknight at google.com> writes:
> > On Fri, Nov 16, 2018 at 7:40 PM Jeremy Lakeman <Jeremy.Lakeman at gmail.com
> >
> > wrote:
> >
> >> Semantic versioning would recommend "v8.0.0-dev", "v8.0.0-rc1" etc. The
> >> hyphen indicating that this is a pre-release version coming before
> "v8.0.0"
> >
> >
> > Here's my proposal:
> > - Release branches will be named: release/3.5.x (for old version
> numbering
> > scheme), release/7.x (for new).
> > - The tags for release branches will be named v8.0.0 (for final), and
> > v8.0.0-rc1 for release candidates.
> > - Tags on the master branch (which will be created at commits modifying
> the
> > version file after branch creation, ala r338537) will be named
> v8.0.0-dev.
> >
> > On Fri, Nov 16, 2018 at 10:10 PM Justin Bogner <mail at justinbogner.com>
> > wrote:
> >
> >> As a bit of a side note, v8.0.0 is probably too brief - I expect v*
> >> could easily match some arbitrary tag that starts with the letter v too
> >> easily. I don't have strong opinions about the particular name, but
> >> something like llvm-8.0.0 or llvm.org-v8.0.0 would be better.
> >>
> >
> > I don't feel terribly strongly about whether to use "llvm-8.0.0" or
> > "v8.0.0".
> >
> > The "v8.0.0" style seems to be very widely used, so that'd still be my
> > inclination, barring a good reason why we shouldn't. The other scheme
> I've
> > seen commonly is actually just the raw version, e.g. "8.0.0" without any
> > prefix at all.

2. There are *a lot* of downstream projects based on llvm, and they're
>    all likely to adopt the monorepo and add their own stuff to it.
>    Namespacing the official tags gives them an obvious model for how to
>    do their own tags and makes it easy to tell what a tag means at a
>    glance

Hm, that's a very good point. My preference would be "llvm-8.0.0" now.

Branches are namespaced to their origin repository by default, so renaming
some in a downstream fork is no issue.

But tags are, by default, global. So if you did rename tags in a fork, and
someone pulled from both repositories, they get the union of all the tags
without being able to tell the source, or potentially even conflicts
between them. Giving the official release tags a name prefix seems better.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20181213/c5534de4/attachment.html>

More information about the llvm-dev mailing list