RPgSQL Contributing HOWTO

Using CVS

  1. Check out the package source code.  Directions can be found here.  (See "How to check out source anonymously through pserver.")
  2. Attempt to install the package.  (Type "R CMD INSTALL --help" for options, especially the --library option which allows you to install the package outside of the main R library tree, e.g., /tmp/R-package-test-dir.  Also look at the "lib.loc" option to R's "library" command.)
  3. Edit the configuration file(s) (e.g., configure.in) until the package installs without your intervention.
  4. Make any additional changes to the package.
  5. Create a patch file by typing "cvs diff > patch-file-name" substituting a name for patch-file-name.
  6. Go to the project page and click on "patch manager" and then "submit a patch."

Not using CVS

  1. Download the package source code from the source forge project page.
  2. Untar the package. (Type "tar zxvf RPgSQL_xxx.tar.gz")
  3. Move RPgSQL to RPgSQL.orig.
  4. Untar the package again.  Use this version for installing and editing.
  5. Attempt to install the package.  (Type "R CMD INSTALL --help" for options, especially the --library option which allows you to install the package outside of the main R library tree, e.g., /tmp/R-package-test-dir/.  Also look at the "lib.loc" option to R's "library" command.)
  6. Edit the configuration file(s) (configure.in) until the package installs without your intervention.
  7. Make any additional changes to the package.
  8. Create a patch file by typing "diff -rc RPgSQL.orig RPgSQL > patch-file-name" substituting a name for patch-file-name.
  9. Go to the project page and click on "patch manager" and then "submit a patch."

Non-Unix system

  1. Instead of using diff, send me the entire edited package tarred and gzipped.
Back