[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Standardizing the layout of git packaging repositories



On Fri, 15 Aug 2014, Christian Kastner wrote:
> On 2014-08-15 16:16, Raphael Hertzog wrote:
> >   - pkg/<version>
> >   (note: git-buildpackage uses debian/<version> but I find this confusing
> >   as we then also have the "debian/" prefix for ubuntu or kali uploads, we
> >   don't need the vendor prefix as the usual versioning rules embed the
> >   downstream distribution name (e.g. 1.0-0ubuntu1) and thus there can't be
> >   any conflict on the namespace, keeping a prefix is important to easily
> >   differentiate tags created by upstream developers from tags created
> >   by packagers)
> 
> On the contrary, I believe the argument can be made that mixing tags
> from different distributions under one prefix -- as you propose -- would
> be much more confusing.
> 
> Ideally speaking, debian/<version> currently tells me that every tag in
> there corresponds to a Debian upload, and vice versa. Consequently, I
> don't want to see a tag in there from downstream distros, as that
> relationship would no longer hold.

FWIW, I agree with you.  I'd also prefer to keep downstream release tags in
the <vendor>/<mangled_version> namespace.  Using <vendor>/<mangled_version>
for the downstream release tags is not that likely to clash with upstream,
as that's already somewhat common practice.

And IME it is no trouble to have <vendor>/* branches and <vendor>/* tags,
they rarely clash and they *are* on separate namespaces (if you specify the
full ref/ path, anyway).

> That argument also holds from a downstream distro's POV.
> ubuntu/1.0-0ubuntu1 might look redundant, but I find the upload<->tag
> relationship much more important that having slightly prettier tag names.

Indeed.

And there is nothing confusing about ubuntu/master and debian/master
cross-merging, or merging from a common feature/development branch.  It
works well.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh


Reply to: