Hello,
I wrote a Unix shell script in order to ease the preparation of
package and function reference, automating the steps described at [1].
You can find it at [2] (svn r9974).
The script:
- Must be executed from the root directory of the package (i.e. where
the DESCRIPTION file is placed);
- Extracts package name and version from the DESCRIPTION file;
- Extracts code from the current directory (git-svn is assumed at the
moment, code for svn is disabled ATM) to a sandbox dir;
- Creates package and function reference in the sandbox dir;
- Lists created files in the sandbox dir.
Please let me know if you successfully run a modified version of the
code using svn so that I will enable that code path. The relevant code
to change in order to support svn is the following function:
vcs_export() {
Path=$1
#svn export . $Path ## svn ## svn is untested TODO: test
git archive master | tar -x -C $Path ## git-svn
}
(just commenting the git line and uncommenting the svn one should do the job)
@Lukas: I noted that this script was on your TODO list [3] ("create a
nice shell script for this task"). Please let me know your feedback.
I will use this script for releasing the next version of the ga package.
Regards
Luca
[1] http://octave.sourceforge.net/developers.html
[2]
http://octave.svn.sourceforge.net/viewvc/octave/trunk/octave-forge/main/ga/devel/release?revision=9974
[3]
http://octave.svn.sourceforge.net/viewvc/octave/trunk/octave-forge/main/control/devel/RELEASE_PACKAGE?revision=9754
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev