public inbox for overseers@sourceware.org
 help / color / mirror / Atom feed
* lvm2/dm website refresh notes
@ 2016-04-15 23:43 Alasdair G Kergon
  0 siblings, 0 replies; only message in thread
From: Alasdair G Kergon @ 2016-04-15 23:43 UTC (permalink / raw)
  To: overseers

We're refreshing the LVM2/dm websites.

The first step tonight with fche's assistance was to convert from cvs to git:

mkdir htdocs.git; cd htdocs.git; git init --bare

Create description and copy config file from cygwin-htdocs.git and tweak.

Copy post-update hook and edit:

    umask 002
    git --work-tree=/sourceware/www/sourceware/htdocs/lvm2 \
        --git-dir=/sourceware1/projects/lvm2-home/htdocs.git \
        checkout -f lvm2
    git --work-tree=/sourceware/www/sourceware/htdocs/dm \
        --git-dir=/sourceware1/projects/lvm2-home/htdocs.git \
        checkout -f dm

Create symlink from /sourceware/git.
Fix perms on whole repo.

Check it out locally, create a branch for each website, and push.

Unlock CVSROOT loginfo, disable website auto_checkout hook, relock.

Remove the old CVS/ dir from the website dirs.

Alasdair

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-04-15 23:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-15 23:43 lvm2/dm website refresh notes Alasdair G Kergon

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 read-only IMAP folder(s) and NNTP newsgroup(s).