]> sipb.mit.edu Git - ikiwiki.git/blob - doc/bugs/installing_from_svn_copies_.svn_directories.mdwn
analysis
[ikiwiki.git] / doc / bugs / installing_from_svn_copies_.svn_directories.mdwn
1 If you do an svn co, and then install from the generated WC, the makefile 
2 copies .svn directories to various locations:
3
4 $ find ~/ikidev-install/share/ikiwiki/ -name ".svn"
5 /home/glasserc/ikidev-install/share/ikiwiki/basewiki/smileys/.svn
6 /home/glasserc/ikidev-install/share/ikiwiki/basewiki/subpage/.svn
7 /home/glasserc/ikidev-install/share/ikiwiki/basewiki/wikiicons/.svn
8 /home/glasserc/ikidev-install/share/ikiwiki/basewiki/templates/.svn
9
10 I think the guilty command is this one:
11
12 cp -aL basewiki/* /home/glasserc/ikidev-install//share/ikiwiki/basewiki
13
14 (PREFIX is ~/ikidev-install here.)
15
16 I don't know of a good fix. I wouldn't have discovered this except that I got 
17 permission denied errors when I tried to make a change and install again.
18 --Ethan
19
20 > I observed the same thing by running debuild from an SVN checkout and
21 > getting lintian warnings about the .svn directories. --[[JoshTriplett]]
22
23 > The .svn directories can be avoided in the deb by setting
24 > DH_ALWAYS_EXCLUDE=.svn in the environment before building.
25 > I prefer to use that kind of hack exterior to a package rather than
26 > putting in RCS-specific exclude hacks. 
27
28 > [[Done]] for the install from svn checkout case. --[[Joey]]