migrate from cvs to git (cvs2svn -> git-svnimport).
authorRyan Lortie <desrt@desrt.ca>
Thu, 13 Sep 2007 15:13:40 +0000 (11:13 -0400)
committerRyan Lortie <desrt@desrt.ca>
Thu, 13 Sep 2007 15:13:40 +0000 (11:13 -0400)
2007-09-13  Ryan Lortie  <desrt@desrt.ca>

        migrate from cvs to git (cvs2svn -> git-svnimport).

        * HACKING: update release/branch/tag instructions
        * */.cvsignore: rename to .gitignore

        also, clean up tags and branch names to conform to HACKING

13 files changed:
.gitignore [moved from .cvsignore with 100% similarity]
ChangeLog
HACKING
bus/.gitignore [moved from bus/.cvsignore with 100% similarity]
dbus/.gitignore [moved from dbus/.cvsignore with 100% similarity]
doc/.gitignore [moved from doc/.cvsignore with 100% similarity]
glib/.cvsignore [deleted file]
test/.gitignore [moved from test/.cvsignore with 100% similarity]
test/data/valid-config-files/.gitignore [moved from test/data/valid-config-files/.cvsignore with 100% similarity]
test/data/valid-service-files/.gitignore [moved from test/data/valid-service-files/.cvsignore with 100% similarity]
test/glib/.cvsignore [deleted file]
test/name-test/.gitignore [moved from test/name-test/.cvsignore with 100% similarity]
tools/.gitignore [moved from tools/.cvsignore with 100% similarity]

similarity index 100%
rename from .cvsignore
rename to .gitignore
index 08408d3..7d3a337 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2007-09-13  Ryan Lortie  <desrt@desrt.ca>
+
+       migrate from cvs to git (cvs2svn -> git-svnimport).
+
+       * HACKING: update release/branch/tag instructions
+       * */.cvsignore: rename to .gitignore
+
+       also, clean up tags and branch names to conform to HACKING
+
 2007-08-17  William Jon McCann  <mccann@jhu.edu>
 
        * update-dbus-docs.sh: upload DTD to server
diff --git a/HACKING b/HACKING
index c5e05e7..9de5955 100644 (file)
--- a/HACKING
+++ b/HACKING
@@ -76,28 +76,29 @@ To make a release of D-Bus, do the following:
  - add a ChangeLog entry containing the version number 
    you're releasing ("Released 0.3" or something)
    so people can see which changes were before and after
-   a given release.
+   a given release
 
- - The version number should have major.minor.micro even
+ - the version number should have major.minor.micro even
    if micro is 0, i.e. "1.0.0" and "1.2.0" not "1.0"/"1.2"
 
  - "make distcheck" (DO NOT just "make dist" - pass the check!)
 
  - if make distcheck fails, fix it.
 
- - once distcheck succeeds, "cvs commit"
+ - once distcheck succeeds, "git-commit -a".  This is the version
+   of the tree that corresponds exactly to the released tarball.
 
- - if someone else made changes and the commit fails, 
-   you have to "cvs up" and run "make distcheck" again
-
- - once the commit succeeds, "cvs tag DBUS_X_Y_Z" where 
-   X_Y_Z map to version X.Y.Z
+ - tag the tree with "git-tag -s -m 'Released X.Y.Z' dbus-X.Y.Z"
+   where X.Y.Z is the version of the release.  If you can't sign
+   then simply created an unannotated tag: "git-tag dbus-X.Y.Z".
 
  - bump the version number up in configure.in, and commit
    it.  Make sure you do this *after* tagging the previous
-   release! The idea is that CVS has a newer version number
+   release! The idea is that git has a newer version number
    than anything released.
 
+ - push your changes to the central repository
+
  - scp your tarball to freedesktop.org server and copy it 
    to /srv/dbus.freedesktop.org/www/releases/dbus. This should 
    be possible if you're in group "dbus"
@@ -118,7 +119,7 @@ To make a release of D-Bus, do the following:
 After making a ".0" stable release
 ===
 
-After releasing, when you increment the version number in CVS, also
+After releasing, when you increment the version number in git, also
 move the ChangeLog to ChangeLog.pre-X-Y where X-Y is what you just
 released, e.g. ChangeLog.pre-1-0. Then create and cvs add a new empty
 ChangeLog. The last entry in ChangeLog.pre-1-0 should be the one about
@@ -131,16 +132,16 @@ not done immediately, instead it's possible to wait until someone has
 a not-suitable-for-stable change they want to make and then branch to
 allow committing that change.
 
-The branch name should be DBUS_X_Y_BRANCH which is a branch that has
+The branch name should be dbus-X.Y-branch which is a branch that has
 releases versioned X.Y.Z
 
-To branch, tag HEAD with DBUS_X_Y_BRANCHPOINT:
- cvs tag DBUS_X_Y_BRANCHPOINT
-then create the branch from that tag:
- cvs rtag -b -r DBUS_X_Y_BRANCHPOINT DBUS_X_Y_BRANCH dbus
+To branch, add a tag to the common ancestor:
+ git tag dbus-X.Y-branchpoint
+then create the branch:
+ git branch dbus-X.Y-branch
 
-Note that DBUS_X_Y_BRANCHPOINT may not tag the same revision as the
-DBUS_X_Y_0 release, since we may not branch immediately.
+Note that dbus-X.Y-branchpoint may not tag the same revision as the
+dbus-X.Y.0 release, since we may not branch immediately.
 
 Environment variables
 ===
similarity index 100%
rename from bus/.cvsignore
rename to bus/.gitignore
similarity index 100%
rename from dbus/.cvsignore
rename to dbus/.gitignore
similarity index 100%
rename from doc/.cvsignore
rename to doc/.gitignore
diff --git a/glib/.cvsignore b/glib/.cvsignore
deleted file mode 100644 (file)
index 91ea246..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-.deps
-.libs
-Makefile
-Makefile.in
-*.lo
-*.la
-dbus-glib-test
-dbus-binding-tool
-dbus-glib-error-switch.h
-*.bb
-*.bbg
-*.da
-*.gcov
similarity index 100%
rename from test/.cvsignore
rename to test/.gitignore
diff --git a/test/glib/.cvsignore b/test/glib/.cvsignore
deleted file mode 100644 (file)
index a0cd5e9..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-.deps
-.libs
-Makefile
-Makefile.in
-test-dbus-glib
-test-profile
-test-service-glib
-test-thread-client
-test-thread-server
-run-test.conf
-test-service-glib-bindings.h
-test-service-glib-glue.h
-run-with-tmp-session-bus.conf
-my-object-marshal.h
-my-object-marshal.c
similarity index 100%
rename from tools/.cvsignore
rename to tools/.gitignore