2007-11-27 06:34:17 +01:00
|
|
|
# NAME
|
|
|
|
|
|
|
|
ikiwiki-makerepo - check an ikiwiki srcdir into revision control
|
|
|
|
|
|
|
|
# SYNOPSIS
|
|
|
|
|
2012-02-07 07:11:17 +01:00
|
|
|
ikiwiki-makerepo git|svn|monotone|darcs|cvs srcdir repo
|
2007-11-27 07:51:26 +01:00
|
|
|
|
2009-04-04 23:53:29 +02:00
|
|
|
ikiwiki-makerepo bzr|mercurial srcdir
|
2007-11-27 06:34:17 +01:00
|
|
|
|
|
|
|
# DESCRIPTION
|
|
|
|
|
2012-02-07 07:11:17 +01:00
|
|
|
`ikiwiki-makerepo` injects an existing `srcdir` directory, containing
|
|
|
|
sources for an ikiwiki wiki, into revision control. It is rarely
|
2012-02-16 17:24:10 +01:00
|
|
|
run directly; consider using `ikiwiki --setup /etc/ikiwiki/wiki.setup` instead
|
2012-02-07 07:11:17 +01:00
|
|
|
to set up a wiki.
|
2007-11-27 06:34:17 +01:00
|
|
|
|
2012-02-07 07:11:17 +01:00
|
|
|
For git, the `repo` is created as a bare git repository, and the srcdir is
|
|
|
|
made into a clone of it. (monotone and darcs are similar.)
|
|
|
|
|
|
|
|
For svn and cvs, the `repo` is the centralized repository, and the `srcdir`
|
|
|
|
is a checkout of it.
|
|
|
|
|
2012-02-07 07:17:56 +01:00
|
|
|
For mercurial and bzr, the srcdir is the only repository set up.
|
2007-11-27 06:34:17 +01:00
|
|
|
|
2009-04-04 23:53:29 +02:00
|
|
|
For darcs, the master repo's apply hook will be preconfigured to call a
|
|
|
|
ikiwiki wrapper.
|
2008-10-16 01:38:21 +02:00
|
|
|
|
2009-01-02 20:11:41 +01:00
|
|
|
Note that for monotone, you are assumed to already have run "mtn genkey"
|
2009-04-04 23:54:32 +02:00
|
|
|
to generate a key.
|
2008-08-22 06:22:02 +02:00
|
|
|
|
2010-05-26 17:24:08 +02:00
|
|
|
# EXAMPLE
|
|
|
|
|
2012-02-07 07:11:17 +01:00
|
|
|
`ikiwiki-makerepo git /srv/web/wiki /srv/git/wiki.git/`
|
2010-05-26 17:24:08 +02:00
|
|
|
|
2012-02-07 07:11:17 +01:00
|
|
|
This creates a bare repository `/srv/git/wiki.git/`,
|
|
|
|
and sets up `/srv/web/wiki` to be a clone of it, committing
|
|
|
|
any files that already exist in that directory.
|
2010-05-26 17:24:08 +02:00
|
|
|
|
2007-11-27 06:34:17 +01:00
|
|
|
# AUTHOR
|
|
|
|
|
|
|
|
Joey Hess <joey@ikiwiki.info>
|
|
|
|
|
|
|
|
Warning: this page is automatically made into ikiwiki-makerepo's man page, edit with care
|