summaryrefslogtreecommitdiff
path: root/README.mv.txt
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2011-06-18 21:58:47 -0700
committerBen Longbons <b.r.longbons@gmail.com>2011-06-19 14:19:55 -0700
commitbae4b92e560c2694eaaf0e8b4d9e95e56204471b (patch)
tree4acc120f6a94cfbf9694bf344658493de5aaa67b /README.mv.txt
parent319f80526f8585ecadaec986e37c9bd326f4d363 (diff)
downloadserverdata-bae4b92e560c2694eaaf0e8b4d9e95e56204471b.tar.gz
serverdata-bae4b92e560c2694eaaf0e8b4d9e95e56204471b.tar.bz2
serverdata-bae4b92e560c2694eaaf0e8b4d9e95e56204471b.tar.xz
serverdata-bae4b92e560c2694eaaf0e8b4d9e95e56204471b.zip
Move to a subdirectory
Diffstat (limited to 'README.mv.txt')
-rw-r--r--README.mv.txt31
1 files changed, 31 insertions, 0 deletions
diff --git a/README.mv.txt b/README.mv.txt
new file mode 100644
index 00000000..adca1793
--- /dev/null
+++ b/README.mv.txt
@@ -0,0 +1,31 @@
+Changing stuff into subdirectories has several problems:
+1. There are files that are copied
+2. You may need to change
+3. git submodules don't automatically work the way you think they should - you have to add a git hook manually. Unfortunately, there is no hook at all for git reset --hard (use git checkout -B instead)
+
+problem 2 will be solved (or at least ameliorated) by creating scripts in the root (which may conflict with existing names, but hey! I need your attention)
+problems 1 and 3 should be solved by running a script
+Stuff to do manually:
+* put login-server, char-server, map-server binaries in /usr/local/bin (or some other location callable from the scripts)
+Stuff to do later:
+* change the client-data submodule to track the main project and delete the testing repository for client data
+
+Stuff to do much later:
+* move login/ to the server repository
+* Store stuff in a well-known directory
+* create a 'make install' target
+* create /etc/init.d scripts and get packaged
+
+-o11c
+
+
+Useful commands:
+git submodule update lose changes in submodule and reset to upstream
+git submodule update --merge merge changes in submodule from upstream
+git submodule update --rebase rebase local changes on top of upstream
+ (use this, for the same reason you should use git pull --rebase instead of just git pull - but remember that it's dangerous)
+git submodules sync change the url of the submodule (when testing is deleted)
+git config --global url.git@gitorious.org:.pushInsteadOf git://gitorious.org
+ for people with push access: don't pull via ssh (which is slower anyway), required for submodules to work properly
+git checkout HEAD^ -B master completely roll back the latest commit
+git reset HEAD^ undo the last commit but keep changes