All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jakub Narebski <jnareb@gmail.com>
To: git@vger.kernel.org
Subject: Using sha1 of commit for id of gitweb Atom feed entry
Date: Mon, 4 Dec 2006 00:48:39 +0100	[thread overview]
Message-ID: <200612040048.39768.jnareb@gmail.com> (raw)

To all using Atom version of gitweb feeds: perhaps instead of using
appropriate "commit" view gitweb URL as if of gitweb Atom feed entry,
use sha1 of commit? We could create a new (unofficial for now) scheme:

  git:<sha1 of a commit>

or we can try to use tag URI scheme
 * "How to make a good ID in Atom"
   http://diveintomark.org/archives/2004/05/28/howto-atom-id
 * "Tag URI"
   http://www.taguri.org/
 * RFC 4151 - The 'tag' URI Scheme

With tag URI we need:
 1.) Identity by domain name or email address. We can use 
     (can we, Pasky?) use git.or.cz domain, or git@vger.kernel.org
     email address
 2.) Pick a date. We can use here epoch start date of 1970,
     date of 1.0 git release of 2005-12-21, or date of creating git
     mailing list of 2005, 2005-04 or 2005-04-10.

So for example the id for an entry which currently has id of
  http://repo.or.cz/w/git.git?a=commit;h=278fcd7debf19c1efee18b32f8867becb18d1a22
would have either
  git:278fcd7debf19c1efee18b32f8867becb18d1a22
or (one of the choices)
  tag:git@vger.kernel.org,2005:278fcd7debf19c1efee18b32f8867becb18d1a22

What do you think about it?

P.S. Or we could register URN... ;-)
-- 
Jakub Narebski

                 reply	other threads:[~2006-12-03 23:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=200612040048.39768.jnareb@gmail.com \
    --to=jnareb@gmail.com \
    --cc=git@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.