aboutsummaryrefslogtreecommitdiff
path: root/doc/setup/discussion.mdwn
blob: 16e88601e02fcfc09d0287c583c65c9dd8fec8b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
It isn't intended that .ikiwiki be versioned, is it? Do you have a svn:ignore set? 
Is there some magic way you can make the svn commands (and presumably commands for 
the other VCSs here) ignore the .ikiwiki directory during step 8, when they import it?
If not, maybe a note should be made that the user should delete this file before 
they import. --Ethan

> No, .ikiwiki should not be versioned, and a svn:ignore of it is reasonable,
> although probably too much noise for the setup instructions.
> I've switched to a different method that preserves .ikiwiki, w/o checking
> it in. --[[Joey]]

----

These instructions should probably show how to use a bare Git repository
(`GIT_DIR=somewhere.git git-init-db`) rather than a repository with a full
working copy. You can always clone the repository if you want your own local
working copy. Furthermore, this allows you to make multiple commits to your
working copy before pushing them to the repository and causing the wiki to
update. --[[JoshTriplett]]

> I'm currently testing and running such a setup. --[[tschwinge]]

Furthermore the git instructions should be changed to move the *.ikiwiki*
directory back into the wiki's working copy directory, isn't it? --[[tschwinge]]

> Yes, I think so.  I will clean these instructions up unless somebody tells me we're missing something fundamental. --[[BartMassey]]

>> Either you do it or I'll do it somewhen soon.  --[[tschwinge]]

----

Curious as to why support for CVS is not built in. --[[Luther]]

> See [[todo/CVS_backend|todo/CVS_backend]], but you might consider switching to a better version control system. --[[JoshTriplett]]

----

On the git setup instuctions, I wonder if this wouldn't work as well and be
simpler? --[[Joey]]

	REPOSITORY=~/wiki.git
	mkdir $REPOSITORY
	cd $REPOSITORY
	git --bare init --shared
	mv $SRCDIR $SRCDIR.old
	git clone $REPOSITORY $SRCDIR
	cd $SRCDIR
	echo /.ikiwiki > .gitignore
	mv $SRCDIR.old/* $SRCDIR.old/.* .
	rmdir $SRDDIR.old
	git add .
	git commit -m "initial commit"
	git push