Update README files to refer to git
authorMatthias Clasen <mclasen@redhat.com>
Tue, 31 Mar 2009 23:39:16 +0000 (19:39 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 31 Mar 2009 23:39:16 +0000 (19:39 -0400)
Update various README files to refer to git instead of svn.
Add a README.commits that is pretty much a copy of the same file
in GTK+. Also discontinue ChangeLog files.

ChangeLog
HACKING
Makefile.am
README
README.commits [new file with mode: 0644]
docs/reference/ChangeLog
gio/ChangeLog
gmodule/ChangeLog
gobject/ChangeLog
gthread/ChangeLog
po/ChangeLog

index cf61d68d02c6369f13d0f9e6551bd764f2aad555..4ca68de4633fae8ceeaddaefd711b89bee542292 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+=== ChangeLog discontinued ===
+
+       With the move to git, GLib is switching from a ChangeLog file
+       to relying on commit messages to provide change history. Please
+       see README.commits for guidance on the expected message format.
+
 2009-03-29  Matthias Clasen  <mclasen@redhat.com>
 
        Bug 577137 – g_logv() will crash if given format args and multiple
diff --git a/HACKING b/HACKING
index b1ba9f2ffcf1777731a6ba967a5e5c9919e7bfa7..e7e2fc5153e0dcd7f853f39c0969578d356d0f33 100644 (file)
--- a/HACKING
+++ b/HACKING
@@ -3,7 +3,7 @@ following packages installed:
 
        - GNU autoconf 2.54
        - GNU automake 1.7
-       - GNU libtool 1.4 
+       - GNU libtool 1.4
         - GNU gettext 0.10.40
         - gtk-doc
 
@@ -15,7 +15,7 @@ several steps to setup the tree for compilation.  You can do all these
 steps at once by running:
 
         cvsroot/glib# ./autogen.sh
-   
 Basically this does the following for you:
 
        cvsroot/glib# aclocal; automake; autoconf
@@ -24,8 +24,8 @@ Basically this does the following for you:
        can run the configure script in cvsroot/glib to create all
        the Makefiles.
 
-Before running autogen.sh or configure, make sure you have libtool 
-in your path.  
+Before running autogen.sh or configure, make sure you have libtool
+in your path.
 
 Note that autogen.sh runs configure for you.  If you wish to pass
 options like --prefix=/usr to configure you can give those options
index 166dd4ebc26fbd230aa27cdecb6387cdf908e623..1498acbc463f0ff9dc401aafc2c1925cd95d6f39 100644 (file)
@@ -28,6 +28,7 @@ EXTRA_DIST +=                         \
        NEWS.pre-1-3            \
        acglib.m4               \
        sanity_check            \
+       README.commits          \
        README.in               \
        INSTALL.in              \
        README.win32            \
diff --git a/README b/README
index 2881508ab3b2126406fdc3a030324a769deab9c8..b18c8ebf63fe45d5f85e8b7ad020923c2fc43e9b 100644 (file)
--- a/README
+++ b/README
@@ -27,7 +27,7 @@ See the file 'INSTALL'
 Notes about GLib 2.20
 =====================
 
-^ The functions for launching applications (e.g. g_app_info_launch() +
+* The functions for launching applications (e.g. g_app_info_launch() +
   friends) now passes a FUSE file:// URI if possible (requires gvfs
   with the FUSE daemon to be running and operational). With gvfs 2.26,
   FUSE file:// URIs will be mapped back to gio URIs in the GFile
@@ -43,17 +43,17 @@ Notes about GLib 2.18
 =====================
 
 * The recommended way of using GLib has always been to only include the
-  toplevel headers glib.h, glib-object.h and gio.h. GLib enforces this by 
-  generating an error when individual headers are directly included. 
-  To help with the transition, the enforcement is not turned on by 
+  toplevel headers glib.h, glib-object.h and gio.h. GLib enforces this by
+  generating an error when individual headers are directly included.
+  To help with the transition, the enforcement is not turned on by
   default for GLib headers (it is turned on for GObject and GIO).
   To turn it on, define the preprocessor symbol G_DISABLE_SINGLE_INCLUDES.
-  
+
 Notes about GLib 2.16
 =====================
 
 * GLib now includes GIO, which adds optional dependencies against libattr
-  and libselinux for extended attribute and SELinux support. Use 
+  and libselinux for extended attribute and SELinux support. Use
   --disable-xattr and --disable-selinux to build without these.
 
 Notes about GLib 2.10
@@ -67,18 +67,18 @@ Notes about GLib 2.10
 * The Unicode support has been updated to Unicode 4.1. This adds several
   new members to the GUnicodeBreakType enumeration.
 
-* The support for Solaris threads has been retired. Solaris has provided 
-  POSIX threads for long enough now to have them available on every 
-  Solaris platform. 
+* The support for Solaris threads has been retired. Solaris has provided
+  POSIX threads for long enough now to have them available on every
+  Solaris platform.
 
-* 'make check' has been changed to validate translations by calling 
-  msgfmt with the -c option. As a result, it may fail on systems with 
-  older gettext implementations (GNU gettext < 0.14.1, or Solaris gettext). 
+* 'make check' has been changed to validate translations by calling
+  msgfmt with the -c option. As a result, it may fail on systems with
+  older gettext implementations (GNU gettext < 0.14.1, or Solaris gettext).
   'make check' will also fail on systems where the C compiler does not
   support ELF visibility attributes.
 
-* The GMemChunk API has been deprecated in favour of a new 'slice 
-  allocator'. See the g_slice documentation for more details. 
+* The GMemChunk API has been deprecated in favour of a new 'slice
+  allocator'. See the g_slice documentation for more details.
 
 * A new type, GInitiallyUnowned, has been introduced, which is
   intended to serve as a common implementation of the 'floating reference'
@@ -117,20 +117,20 @@ Notes about GLib 2.6.0
   consideration, and use the gstdio wrappers to access files whose
   names have been constructed from strings returned from GLib.
 
-* Likewise, g_get_user_name() and g_get_real_name() have been changed 
-  to return UTF-8 on Windows, while keeping the old semantics for 
+* Likewise, g_get_user_name() and g_get_real_name() have been changed
+  to return UTF-8 on Windows, while keeping the old semantics for
   applications compiled against older versions of GLib.
 
 * The GLib uses an '_' prefix to indicate private symbols that
-  must not be used by applications. On some platforms, symbols beginning 
-  with prefixes such as _g will be exported from the library, on others not. 
-  In no case can applications use these private symbols. In addition to that, 
-  GLib+ 2.6 makes several symbols private which were not in any installed 
+  must not be used by applications. On some platforms, symbols beginning
+  with prefixes such as _g will be exported from the library, on others not.
+  In no case can applications use these private symbols. In addition to that,
+  GLib+ 2.6 makes several symbols private which were not in any installed
   header files and were never intended to be exported.
 
-* To reduce code size and improve efficiency, GLib, when compiled 
-  with the GNU toolchain, has separate internal and external entry 
-  points for exported functions. The internal names, which begin with 
+* To reduce code size and improve efficiency, GLib, when compiled
+  with the GNU toolchain, has separate internal and external entry
+  points for exported functions. The internal names, which begin with
   IA__, may be seen when debugging a GLib program.
 
 * On Windows, GLib no longer opens a console window when printing
@@ -139,22 +139,22 @@ Notes about GLib 2.6.0
   stderr if you need to see them.
 
 * The child watch functionality tends to reveal a bug in many
-  thread implementations (in particular the older LinuxThreads 
-  implementation on Linux) where it's not possible to call waitpid() 
-  for a child created in a different thread. For this reason, for 
-  maximum portability, you should structure your code to fork all 
+  thread implementations (in particular the older LinuxThreads
+  implementation on Linux) where it's not possible to call waitpid()
+  for a child created in a different thread. For this reason, for
+  maximum portability, you should structure your code to fork all
   child processes that you want to wait for from the main thread.
 
-* A problem was recently discovered with g_signal_connect_object(); 
-  it doesn't actually disconnect the signal handler once the object being 
-  connected to dies, just disables it. See the API docs for the function 
-  for further details and the correct workaround that will continue to 
+* A problem was recently discovered with g_signal_connect_object();
+  it doesn't actually disconnect the signal handler once the object being
+  connected to dies, just disables it. See the API docs for the function
+  for further details and the correct workaround that will continue to
   work with future versions of GLib.
 
 How to report bugs
 ==================
 
-Bugs should be reported to the GNOME bug tracking system. 
+Bugs should be reported to the GNOME bug tracking system.
 (http://bugzilla.gnome.org, product glib.) You will need
 to create an account for yourself.
 
@@ -167,12 +167,12 @@ In the bug report please include:
 
   And anything else you think is relevant.
 
-* How to reproduce the bug. 
+* How to reproduce the bug.
 
-  If you can reproduce it with one of the test programs that are built 
-  in the tests/ subdirectory, that will be most convenient.  Otherwise, 
-  please include a short test program that exhibits the behavior. 
-  As a last resort, you can also provide a pointer to a larger piece 
+  If you can reproduce it with one of the test programs that are built
+  in the tests/ subdirectory, that will be most convenient.  Otherwise,
+  please include a short test program that exhibits the behavior.
+  As a last resort, you can also provide a pointer to a larger piece
   of software that can be downloaded.
 
 * If the bug was a crash, the exact text that was printed out
@@ -192,7 +192,7 @@ Otherwise, enter a new bug report that describes the patch,
 and attach the patch to that bug report.
 
 Bug reports containing patches should include the PATCH keyword
-in their keyword fields. If the patch adds to or changes the GLib 
+in their keyword fields. If the patch adds to or changes the GLib
 programming interface, the API keyword should also be included.
 
 Patches should be in unified diff form. (The -u option to GNU
diff --git a/README.commits b/README.commits
new file mode 100644 (file)
index 0000000..5345964
--- /dev/null
@@ -0,0 +1,72 @@
+GLib is part of the GNOME git repository. At the current time, any
+person with write access to the GNOME repository, can make changes to
+GLib. This is a good thing, in that it encourages many people to work
+on GLib, and progress can be made quickly. However, GLib is a fairly
+large and complicated package that many other things depend on, so to
+avoid unnecessary breakage, and to take advantage of the knowledge
+about GLib that has been built up over the years, we'd like to ask
+people committing to GLib to follow a few rules:
+
+0) Ask first. If your changes are major, or could possibly break existing
+   code, you should always ask. If your change is minor and you've
+   been working on GLib for a while it probably isn't necessary
+   to ask. But when in doubt, ask. Even if your change is correct,
+   somebody may know a better way to do things.
+
+   If you are making changes to GLib, you should be subscribed
+   to gtk-devel-list@gnome.org. (Subscription address:
+   gtk-devel-list-request@gnome.org.) This is a good place to ask
+   about intended changes.
+
+   #gtk+ on GIMPNet (irc.gimp.org, irc.us.gimp.org, irc.eu.gimp.org, ...)
+   is also a good place to find GTK+ developers to discuss changes with,
+   however, email to gtk-devel-list is the most certain and preferred
+   method.
+
+1) Ask _first_.
+
+2) With git, we no longer maintain a ChangeLog file, but you are expected
+   to produce a meaningful commit message. Changes without a sufficient
+   commit message will be reverted. See below for the expected format
+   of commit messages.
+
+Notes:
+
+* When developing larger features or complicated bug fixes, it is
+  advisable to work in a branch in your own cloned GLib repository.
+  You may even consider making your repository publically available
+  so that others can easily test and review your changes.
+
+* The expected format for git commit messages is as follows:
+
+=== begin example commit ===
+Short explanation of the commit
+
+Longer explanation explaining exactly what's changed, whether any
+external or private interfaces changed, what bugs were fixed (with bug
+tracker reference if applicable) and so forth. Be concise but not too brief.
+=== end example commit ===
+
+  - Always add a brief description of the commit to the _first_ line of
+    the commit and terminate by two newlines (it will work without the
+    second newline, but that is not nice for the interfaces).
+
+  - First line (the brief description) must only be one sentence and
+    should start with a capital letter unless it starts with a lowercase
+    symbol or identifier. Don't use a trailing period either. Don't exceed
+    72 characters.
+
+  - The main description (the body) is normal prose and should use normal
+    punctuation and capital letters where appropriate. Normally, for patches
+    sent to a mailing list it's copied from there.
+
+  - When committing code on behalf of others use the --author option, e.g.
+    git commit -a --author "Joe Coder <joe@coder.org>" and --signoff.
+
+
+Owen Taylor
+13 Aug 1998
+17 Apr 2001
+
+Matthias Clasen
+31 Mar 2009
index d72135615bf9bec3bcbf819f9cf8796835f55d45..9295bc8c05e0e9807cefa0b71b2b0bdab876aed8 100644 (file)
@@ -1,3 +1,9 @@
+=== ChangeLog discontinued ===
+
+       With the move to git, GLib is switching from a ChangeLog file
+       to relying on commit messages to provide change history. Please
+       see README.commits for guidance on the expected message format.
+
 2009-03-13  Matthias Clasen  <mclasen@redhat.com>
 
        * === Released 2.20.0 ===
index 12664ae33405004352f52a3ae5999d3c577a495b..65c5273b1dfa79292d79636888ee061a61261b3c 100644 (file)
@@ -1,3 +1,9 @@
+=== ChangeLog discontinued ===
+
+       With the move to git, GLib is switching from a ChangeLog file
+       to relying on commit messages to provide change history. Please
+       see README.commits for guidance on the expected message format.
+
 2009-03-26  Carlos Garnacho  <carlosg@gnome.org>
 
        Bug 575270 – GVolumeMonitor::mount-pre-unmount not being emitted
index f2cc7e8e19aec0fa835b8c5417969124ad814fdf..fff7980d0f6d916fffc73c425595a2cb8b49a0d8 100644 (file)
@@ -1,3 +1,9 @@
+=== ChangeLog discontinued ===
+
+       With the move to git, GLib is switching from a ChangeLog file
+       to relying on commit messages to provide change history. Please
+       see README.commits for guidance on the expected message format.
+
 2009-03-13  Matthias Clasen  <mclasen@redhat.com>
 
        * === Released 2.20.0 ===
index 039211f49938a5fcf3ff36f4d2e6f9cea63ba1e4..61b8c532915aff2c547d069d56fa3a0f9e3fa8db 100644 (file)
@@ -1,3 +1,9 @@
+=== ChangeLog discontinued ===
+
+       With the move to git, GLib is switching from a ChangeLog file
+       to relying on commit messages to provide change history. Please
+       see README.commits for guidance on the expected message format.
+
 2009-03-13  Kristian Rietveld  <kris@imendio.com>
 
        * gsignal.c (signal_lookup_closure): when defaulting to the only
index e2670ed8008acdab69aec842d8ef197976cd3eb5..b833c1e7278ba8025d66623294e3c3cc037e2619 100644 (file)
@@ -1,3 +1,9 @@
+=== ChangeLog discontinued ===
+
+       With the move to git, GLib is switching from a ChangeLog file
+       to relying on commit messages to provide change history. Please
+       see README.commits for guidance on the expected message format.
+
 2009-03-13  Matthias Clasen  <mclasen@redhat.com>
 
        * === Released 2.20.0 ===
index 4d8d2bca435ff963b458dee319c6e7493a3dd7c6..408bee644c7db10769748f020a6b93c2671caf02 100644 (file)
@@ -1,3 +1,9 @@
+=== ChangeLog discontinued ===
+
+       With the move to git, GLib is switching from a ChangeLog file
+       to relying on commit messages to provide change history. Please
+       see README.commits for guidance on the expected message format.
+
 2009-03-30  Manoj Kumar Giri  <mgiri@redhat.com>
 
        * or.po: Updated Oriya Translation.