* shorter git URLs
@ 2008-07-28 12:38 Rolf Leggewie
0 siblings, 0 replies; only message in thread
From: Rolf Leggewie @ 2008-07-28 12:38 UTC (permalink / raw)
To: openembedded-devel
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-07-28 12:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-28 12:38 shorter git URLs Rolf Leggewie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox