On 21 December 2011 13:55, Juan Pablo Carbajal <carba...@ifi.uzh.ch> wrote: > On Wed, Dec 21, 2011 at 2:54 PM, Juan Pablo Carbajal > <carba...@ifi.uzh.ch> wrote: >> On Wed, Dec 21, 2011 at 2:49 PM, Lukas Reichlin >> <lukas.reich...@gmail.com> wrote: >>> On 21.12.2011, at 13:28, Juan Pablo Carbajal wrote: >>> >>>> Hi all, >>>> >>>> I created this script that helps releasing a package for Octave forge. >>>> https://sourceforge.net/tracker/?func=detail&aid=3463348&group_id=2888&atid=352888 >>>> >>>> It can optionally use carandraug inputParser if it is in the Octave path.
Now I really have to place this code in the project :p I'll put it in the general package. >>>> Let me know what you think or if you find it useful. Can you modify it to also remove the .svnignore files after running svn export? >>>> I think we could add it to the admin folder. What do you think? Yes, the admin directory would be the place to go. >>>> BTW, the development was greatly assisted by >>>> http://agora.panocha.org.mx/snippet/ (we need to get the registration >>>> working :D) >>>> >>>> -- >>>> M. Sc. Juan Pablo Carbajal >>>> ----- >>>> PhD Student >>>> University of Zürich >>>> http://ailab.ifi.uzh.ch/carbajal/ >>> >>> Thanks for completing one of my TODO's :-) >>> http://octave.svn.sourceforge.net/viewvc/octave/trunk/octave-forge/main/control/devel/RELEASE_PACKAGE?revision=9302&view=markup >>> >>> I think your m-file is handier than the shell script I never wrote. Maybe I >>> can include my m-file for PDF manual generation, but I'm not sure whether >>> it is of general interest. >>> >>> Regards, >>> Lukas >>> >> >> Hi Lukas, >> >> I think the pdf documentation is of general interest. What about >> adding it as an independent script? >> Otherwise, just add another input line (asking if the user wants pdf >> docu) and add your code below. >> >> >> -- >> M. Sc. Juan Pablo Carbajal >> ----- >> PhD Student >> University of Zürich >> http://ailab.ifi.uzh.ch/carbajal/ > > btw, Carnë has several fancy perl and python scripts to do some of these > tasks. > > Carnë I am intereste din documentation for your following scripts > 1. Add license header to several files If you are talking about the script I think you are, I never actually saved it. I wrote it once for your situation, only. If you show me the code, I'll tell you how to use it again. I don't remember. > 2. Check INDEX and DESCRIPTION file. It only checks the INDEX file actually. And it has some problems. A very naïve check of functions written in C++ and no support for objects. But pretty much, it takes as arguments the path for the package root (main/geometry for example). Also, It won't work for the complex packages structures you use. I could fix this but probably not before christmas. Carnë ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev