Thread (9 messages) flat view 9 messages, 5 authors, 2016-06-15
  • (off-list ancestor, not in this archive)
  • Tags · Eric W. Biederman <hidden> · 2016-06-15
  • Re: Tags · "H. Peter Anvin" <hpa@zytor.com> · 2016-06-15
  • Re: Tags · Petr Baudis <hidden> · 2016-06-15
  • Re: Tags · "H. Peter Anvin" <hpa@zytor.com> · 2016-06-15
  • Re: Tags · Matthias Urlichs <hidden> · 2016-06-15
  • Re: Tags · Petr Baudis <hidden> · 2016-06-15
  • Re: Tags · "H. Peter Anvin" <hpa@zytor.com> · 2016-06-15
  • Re: Tags · Daniel Barkalow <hidden> · 2016-06-15
  • Re: Tags · Petr Baudis <hidden> · 2016-06-15

Re: Tags

From: Petr Baudis <hidden>
Date: 2016-06-15 22:42:01

Dear diary, on Fri, Jul 01, 2005 at 08:37:55PM CEST, I got a letter
where "H. Peter Anvin" [off-list ref] told me that...
Petr Baudis wrote:
quoted
Dear diary, on Fri, Jul 01, 2005 at 03:56:06PM CEST, I got a letter
where "Eric W. Biederman" [off-list ref] told me that...
quoted
"H. Peter Anvin" [off-list ref] writes:

quoted
In the end, it might be that the right thing to do for git on kernel.org 
is to
have a single, unified object store which isn't accessible by anything 
other
than git-specific protocols.  There would have to be some way of dealing 
with,
for example, conflicting tags that apply to different repositories, 
though.
As far as I can tell public distributed tags are not that hard and if
you are going to be synching them it is probably worth working on.

The basic idea is that instead of having one global tag of
'linux-2.6.13-rc1' you have a global tag of
'torvalds@osdl.org/linux-2.6.13-rc1'.

The important part is that the tag namespace is made hierarchical
with at least 2 levels.  Where the top level is a globally
unique tag owner id and the bottom level is the actual tag.  This
prevents collisions when merging trees because two peoples
tags are never in the same namespace, as least when
people are not actively hostile :)

I don't know, I don't consider this very appealing myself. I'd rather
prefer the private tags to be per-repository rather than per-user, since
those ugly "merged-here", "broken" etc. tags aren't very useful on
larger scope than of a repository. OTOH, what tags would be per-user,
not per-repository and not global?
He's talking about global tags, just using a "globally unique" 
namespace.  Which of course only works right if only genuinely can't 
create tags outside your assigned namespace.
I doubt that's really useful either. Rather artificial mechanisms for
protection of the namespace would have to be deployed, and again, what
would it be good for anyway? If you are tagging linux-2.m.n, you are
probably whoever you should be - David, Alan, Marcelo, Linus, or whoever
else, while if you are tagging linux-2.m.n-cki, you are likely Con
Kolivas. I don't believe there is any (or much) potential for "natural"
conflicts and if you are malicious, you will just fake the namespace;
but frequently what's interesting about the tags is not the author at
all - I would consider it confusing to have to suddenly dive to another
namespace when Linus hands maintenance of linux-2.m to someone else.

The only significant value I can therefore see in the namespaces is
prevention of user mistakes, but I think the successful strategy here
would be just "upstream will notice", and make sure the upstream will be
noticed properly (perhaps even interactively) about any new tags it
gets.

Ok, I admit that it boils down to me being lazy and that "it'd be more
typing!"... ;-)

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
<Espy> be careful, some twit might quote you out of context..
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help