ikiwiki-makerepo(1)
π ikiwiki-makerepo β the group-chat version π
okay bestie so you've got a wiki srcdir just... sitting there, un-versioned, living its raw uncommitted life? not on my watch. this is ikiwiki-makerepo(1), from the General Commands Manual, and it's about to give your directory main character energy in revision control. π
β¨ NAME β¨
ikiwiki-makerepo β check an ikiwiki srcdir into revision control
πΈ SYNOPSIS πΈ
ikiwiki-makerepo git|svn|monotone|darcs|cvs srcdir repo
ikiwiki-makerepo bzr|mercurial srcdir
look at that second form. just two args. bzr and mercurial said "we don't need a repo argument, we contain multitudes" and honestly? iconic. π
π¦ DESCRIPTION π¦
ikiwiki-makerepo takes an existing srcdir directory β the one holding the sources for an ikiwiki wiki β and injects it into revision control. like, straight in. no cap. π«Ά
not me reminding you: this is rarely run directly. the chill move is using ikiwiki --setup /etc/ikiwiki/wiki.setup to set up a wiki instead. iykyk.
now the tea per version-control system, because they do NOT all behave the same and the way that they differ is so important:
- 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.
- for mercurial and bzr, the srcdir is the only repository set up. that's it. that's the whole thing.
- for darcs, the master repo's apply hook will be preconfigured to call a ikiwiki wrapper. fancy. β
π heads up bestie: for monotone, you are assumed to already have run mtn genkey to generate a key. do that first or you're gonna have a bad time. π
π EXAMPLE π
ikiwiki-makerepo git /srv/web/wiki /srv/git/wiki.git/
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. β¨ ate and left no crumbs β¨
π AUTHOR π
Joey Hess <joey@ikiwiki.info> β the blueprint, the blueprint, fr fr. π
and that's the whole page, bestie π this was ikiwiki-makerepo(1) out of the General Commands Manual β go forth, commit your srcdir, and slay. π¦π
π¦ where this page comes from
- alpine 3.24: ikiwiki-doc 3.20260201-r0 Β· GPL-2.0-or-later
- debian bookworm: ikiwiki 3.20200202.3-1 Β· GPL-2.0-or-later
- debian trixie: ikiwiki 3.20250501-1 Β· GPL-2.0-or-later
- fedora 43: ikiwiki 3.20250501-2.fc43 Β· GPL-2.0-or-later AND BSD-2-Clause
- fedora 44: ikiwiki 3.20250501-3.fc44 Β· GPL-2.0-or-later AND BSD-2-Clause
- nixos 26.05: ikiwiki 3.20200202.3
- nixpkgs unstable: ikiwiki 3.20200202.3
- ubuntu jammy: ikiwiki 3.20200202.3-1 Β· GPL-2.0-or-later
- ubuntu noble: ikiwiki 3.20200202.3-1 Β· GPL-2.0-or-later
- ubuntu questing: ikiwiki 3.20250501-1
- ubuntu resolute: ikiwiki 3.20260201-3 Β· GPL-2.0-or-later
- ubuntu stonking: ikiwiki 3.20260201-3 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms