Difference between revisions of "Keeping your site configs from wiping during updates"

From Dreamwidth Notes
Jump to: navigation, search
(New page: If you are working with <tt>dw-nonfree</tt> code, updates can wipe your site config files. This is a way to get around that. Edit <tt>$LJHOME/cvs/multicvs-local.conf</tt> and add <tt>loc...)
 
m (grammar fix)
Line 17: Line 17:
 
  < local .
 
  < local .
  
If it has, you'll have to merge the new one with the one you are using.
+
If it has more differences, you'll have to merge the new one with the one you are using.
  
 
[[Category: Dreamwidth Installation]]
 
[[Category: Dreamwidth Installation]]

Revision as of 04:25, 16 February 2009

If you are working with dw-nonfree code, updates can wipe your site config files. This is a way to get around that.

Edit $LJHOME/cvs/multicvs-local.conf and add local . under dw-private/site?. Then, make your local directories

cd $LJHOME
mkdir cvs/local cvs/local/etc cvs/local/cvs
cp cvs/multiconf-local.conf cvs/local/cvs/
cp etc/config-local.pl cvs/local/etc

The downside to this is that you should check the multicvs-local.conf file when you update to make sure it hasn't changed:

diff $LJHOME/cvs/multicvs-local.conf /home/dw/cvs/dw-nonfree/cvs/multicvs-local.conf

You should only see the line you added:

5d4
< local .

If it has more differences, you'll have to merge the new one with the one you are using.