* [ANNOUNCE] GIT preformatted documentation available.
@ 2005-12-27 8:49 Junio C Hamano
2005-12-28 16:51 ` Adrien Beau
0 siblings, 1 reply; 2+ messages in thread
From: Junio C Hamano @ 2005-12-27 8:49 UTC (permalink / raw)
To: git, linux-kernel; +Cc: Willy Tarreau
I was asked to provide pre-formatted man pages (and perhaps html
pages), since the time of kernel developers are better spent on
what they do best, rather than preparing the xmlto toolchain.
I was planning to do a tarball every time I do a "release", but
that would mean it is no better than the current way --- you
could extract manpages out of rpm anyway.
So instead, I'll do independent branches "html" and "man" in
git.git repository to keep the preformatted documentation.
$ mkdir git.man ; cd git.man
$ git init-db
$ ID=$(git fetch-pack -k git://git.kernel.org/pub/scm/git/git man)
$ expr "$ID" : '\(.*\) .*' >.git/refs/heads/master
$ cat .git/refs/heads/master >.git/refs/heads/origin
$ git checkout; /bin/ls -aF
./ ../ .git/ man1/ man7/
$ echo >.git/remotes/origin <<\EOF
URL: git://git.kernel.org/pub/scm/git/git
Pull: man:origin
EOF
Would set you up, and you can
to keep them up-to-date, and install them like so:
$ cd git.man
$ git pull
$ cp -a man1 man7 /usr/local/man/
The "html" branch is similar; it is a copy of what is shown at
http://www.kernel.org/pub/software/scm/git/docs/.
This means if you clone from git.git repository, you would end
up with something like this in .git/remotes/origin file:
URL: git://git.kernel.org/pub/scm/git/git.git
Pull: master:origin
Pull: todo:todo
Pull: html:html
Pull: man:man
Pull: pu:pu
Pull: maint:maint
Typically, for the repository to track GIT itself, you would
want to trim them like this:
URL: git://git.kernel.org/pub/scm/git/git.git
Pull: master:origin
Pull: maint:maint
Pull: +pu:pu
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ANNOUNCE] GIT preformatted documentation available.
2005-12-27 8:49 [ANNOUNCE] GIT preformatted documentation available Junio C Hamano
@ 2005-12-28 16:51 ` Adrien Beau
0 siblings, 0 replies; 2+ messages in thread
From: Adrien Beau @ 2005-12-28 16:51 UTC (permalink / raw)
To: Junio C Hamano; +Cc: git
On 12/27/05, Junio C Hamano <junkio@cox.net> wrote:
>
> I was asked to provide pre-formatted man pages (and perhaps html
> pages), since the time of kernel developers are better spent on
> what they do best, rather than preparing the xmlto toolchain.
>
> I was planning to do a tarball every time I do a "release", but
> that would mean it is no better than the current way --- you
> could extract manpages out of rpm anyway.
>
> So instead, I'll do independent branches "html" and "man" in
> git.git repository to keep the preformatted documentation.
Having preformatted documentation is a great step forward, but it
would be even better if we could have it without installing some weird
RPM tool or a local copy of the Git repository -- not all my machines
have that.
Besides, it's not very beginner- or newcomer-friendly. Grab the
source; discover you need a complex toolchain to have manpages; maybe
learn sometime later that "all you had to do" was get an RPM and
explode some parts of it -- nah, it just doesn't feel right.
You're already generating five RPMs and two tarballs everytime you
release a version, would it be much more taxing to generate a third
tarball?
That said, those two new branches are neat. Thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-12-28 16:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-27 8:49 [ANNOUNCE] GIT preformatted documentation available Junio C Hamano
2005-12-28 16:51 ` Adrien Beau
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).