From: Rolf Leggewie <no2spam@nospam.arcornews.de>
To: openembedded-devel@openembedded.org
Subject: shorter git URLs
Date: Mon, 28 Jul 2008 14:38:52 +0200 [thread overview]
Message-ID: <g6kekk$rc8$1@ger.gmane.org> (raw)
Hi,
it looks like the switch to git is coming nearer. gitweb is nice and
fast. But it produces rather long URLs. I assume we'll want to point
to recipes and stuff often and gitweb is a convenient way to do that
publicly. I suggest we implement a couple of apache rewrite rules.
a) file access against .dev
http://gitweb.openembedded.net/file/dev/$1
http://gitweb.openembedded.net/?p=org.openembedded.dev.git;a=blob_plain;f=$1;hb=HEAD
b) file access against .stable
http://gitweb.openembedded.net/file/stable/$1
http://gitweb.openembedded.net/?p=org.openembedded.stable.git;a=blob_plain;f=$1;hb=HEAD
c) directory access against .dev
http://gitweb.openembedded.net/dir/dev/$1
http://gitweb.openembedded.net/?p=org.openembedded.dev.git;a=tree;f=$1;hb=HEAD
d) directory access against .stable
http://gitweb.openembedded.net/dir/stable/$1
http://gitweb.openembedded.net/?p=org.openembedded.stable.git;a=tree;f=$1;hb=HEAD
I have not tested this out and I am not sure if this will be error-free.
What I am sure about is that this would be a nice thing to have.
Regards
Rolf
reply other threads:[~2008-07-28 12:40 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='g6kekk$rc8$1@ger.gmane.org' \
--to=no2spam@nospam.arcornews.de \
--cc=openembedded-devel@lists.openembedded.org \
--cc=openembedded-devel@openembedded.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.