aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/installing_from_svn_copies_.svn_directories.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'doc/bugs/installing_from_svn_copies_.svn_directories.mdwn')
-rw-r--r--doc/bugs/installing_from_svn_copies_.svn_directories.mdwn28
1 files changed, 28 insertions, 0 deletions
diff --git a/doc/bugs/installing_from_svn_copies_.svn_directories.mdwn b/doc/bugs/installing_from_svn_copies_.svn_directories.mdwn
new file mode 100644
index 000000000..dec916044
--- /dev/null
+++ b/doc/bugs/installing_from_svn_copies_.svn_directories.mdwn
@@ -0,0 +1,28 @@
+If you do an svn co, and then install from the generated WC, the makefile
+copies .svn directories to various locations:
+
+$ find ~/ikidev-install/share/ikiwiki/ -name ".svn"
+/home/glasserc/ikidev-install/share/ikiwiki/basewiki/smileys/.svn
+/home/glasserc/ikidev-install/share/ikiwiki/basewiki/subpage/.svn
+/home/glasserc/ikidev-install/share/ikiwiki/basewiki/wikiicons/.svn
+/home/glasserc/ikidev-install/share/ikiwiki/basewiki/templates/.svn
+
+I think the guilty command is this one:
+
+cp -aL basewiki/* /home/glasserc/ikidev-install//share/ikiwiki/basewiki
+
+(PREFIX is ~/ikidev-install here.)
+
+I don't know of a good fix. I wouldn't have discovered this except that I got
+permission denied errors when I tried to make a change and install again.
+--Ethan
+
+> I observed the same thing by running debuild from an SVN checkout and
+> getting lintian warnings about the .svn directories. --[[JoshTriplett]]
+
+> The .svn directories can be avoided in the deb by setting
+> DH_ALWAYS_EXCLUDE=.svn in the environment before building.
+> I prefer to use that kind of hack exterior to a package rather than
+> putting in RCS-specific exclude hacks.
+>
+> [[Done]] for the install from svn checkout case. --[[Joey]]