Update patch submitting instructions.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12186 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Chris Shoemaker
2005-12-27 19:14:07 +00:00
parent 47e14c3c73
commit 1d92071cd8
3 changed files with 25 additions and 11 deletions

View File

@@ -14,15 +14,27 @@ Submitting a Patch:
Once you have done some work that you would like to submit, you need Once you have done some work that you would like to submit, you need
to send a patch. There are two ways to submit a patch. First, if to send a patch. There are two ways to submit a patch. First, if
you're using CVS and only made changes to existing CVS files you you're using SVN and only made changes to existing SVN files you
can generate the patch using: can generate the patch using:
cvs -q diff -u > /tmp/mypatch svn diff > /tmp/mypatch
and send /tmp/mypatch into the developers. Note that this ONLY WORKS and send /tmp/mypatch to gnucash-devel@gnucash.org with `[PATCH]'
if you have NOT added any new files to the source tree. If you've prefixed to the Subject: of the email. Note that this
added new files then you should use a script called "make-gnucash-patch" ONLY WORKS if you have NOT added any new files to the source tree.
to help you create the patch for submission.
If your patch adds new files, use the `-N' flag to diff between a
clean directory and your development directory. E.g.
$ diff -urN {gnucash-pristine} {gnucash-mydevel} > /tmp/mypatch
*******************************************************************
NOTE: The rest of this file describes an out-of-date utility that has
not been adapted to SVN. Don't use it.
*******************************************************************
If you've added new files then you should use a script called
"make-gnucash-patch" to help you create the patch for submission.
The script make-gnucash-patch is a perl script provided with the The script make-gnucash-patch is a perl script provided with the
gnucash distribution that you can use to create your patch. The gnucash distribution that you can use to create your patch. The

View File

@@ -45,12 +45,12 @@ When making changes to GnuCash and trying to commit to the repository:
to ask. But when in doubt, ask. Even if your change is correct, to ask. But when in doubt, ask. Even if your change is correct,
somebody may know a better way to do things. somebody may know a better way to do things.
If you want other people to review your code before it goes in, Since you want other people to review your code before it goes in,
you can submit your changes as a patch to gnucash-patches@gnucash.org. you can submit your changes as a patch to gnucash-devel@gnucash.org.
See README.patches for details. See README.patches for details.
If you are making changes to gnucash SVN, you should be subscribed If you are making changes to gnucash SVN, you should be subscribed
to gnucash-devel@gnucash.org and to gnucash-patches@gnucash.org. to gnucash-devel@gnucash.org and to gnucash-changes@gnucash.org.
(Subscription address: http://www.gnucash.org/en/lists.phtml) (Subscription address: http://www.gnucash.org/en/lists.phtml)
gnucash-devel@gnucash.org is a good place to ask about intended gnucash-devel@gnucash.org is a good place to ask about intended
changes. changes.

View File

@@ -3,8 +3,8 @@
# #
# This perl script is used to make a patch for your GnuCash # This perl script is used to make a patch for your GnuCash
# development work. All patches should be submitted to the # development work. All patches should be submitted to the
# mailing list gnucash-patches@gnucash.org. For more info # mailing list gnucash-devel@gnucash.org. For more info
# consult the README. # consult README.patches
# #
# WARNING: By default, this script will checkout an entire # WARNING: By default, this script will checkout an entire
# up to date copy of the source tree in ../tmp/gnucash/. # up to date copy of the source tree in ../tmp/gnucash/.
@@ -27,6 +27,8 @@ $::ask_description = 1;
$::should_uuencode = 1; $::should_uuencode = 1;
$::diffcmd = "diff -up"; $::diffcmd = "diff -up";
die "This utility has not been updated to use SVN. Sorry, just use diff(1).";
my $rcfile = $ENV{"HOME"} . "/.gnucash-patch.rc"; my $rcfile = $ENV{"HOME"} . "/.gnucash-patch.rc";
if (-f $rcfile) { if (-f $rcfile) {