1
edit
Changes
→Project News
''This is where your regular updates will go. In these you should discuss the status or your work, your interactions with other members of the community (e.g., Seneca and Mozilla), problems you have encountered, etc. Put detailed technical information into the Project Details page (i.e., update it as you go), and save this section for news about participation in the project.''
'''Oct. 15, 2006'''
Updated the file ''svn.pl''. Added the ''diff'' subroutine. It's a wrapper around the ''svn diff'' command. Updated the ''update'' subroutine. Added another argument and made them both optional. Subroutine can now accept a directory/file argument in addition to revision number.
Also, currently working on creating some subroutines that can break up a changeset based on the type requested. Changeset types include:
* Revision. A revision may be a changeset. However, MANY changes may occur in each revision so it may be wise to break up the revision into smaller changesets.
* Directory. All changes made within a directory may be considered a changeset. Again, MANY changes may occur within a directory, so it may be wise to break it up into smaller changesets.
* File. All changes made within a file may be considered a changeset. Again, MANY changes may occur within a file, so it may be wise to break up the revision into smaller changesets.
* Code block. Logical code blocks may be considered a changeset.
* Line. A line in a file is the lowest change denominator.
Except for the first type (revision), changeset may stagger between more than one revision.
The lower down the list you go, the higher the possibility of inconsistencies (inability to successfully compile source tree).
'''Oct. 10, 2006'''
Added two files to the SVN repository: ''makewrapper.pl '' and ''maketest.pl''. I have no idea if the files will be useful or if I just wasted my time.
''makewrapper.pl '' is a light wrapper around the GNU make utility used to build the source tree. This wrapper was created to be able to programmatically execute the make command with various [http://www.gnu.org/software/make/manual/html_node/Options-Summary.html#Options-Summary options]. One thing I haven't figured out yet is how to get the exit status code that GNU make returned (0 - successful; 2 - error) after it finishes executing so that I can return that exit code in the ''build'' subroutine.
''maketest.pl '' just tests the subroutines in svn''makewrapper.pl''.
Starting to get a hang of Perl again after not using it for quite some time.
'''Oct. 09, 2006'''
Added two files to the SVN repository: ''svn.pl '' and ''svntest.pl''. I have no idea if the files will be useful or if I just wasted my time.
''svn.pl '' is a light wrapper around a couple svn commands used to manipulate the svn repository and user's working copy. This wrapper was created to be able to programmatically execute [http://svnbook.red-bean.com/nightly/en/svn.ref.html SVN commands]. One thing I haven't figured out yet is how to get the exit status code that is returned after every SVN command is executed as I would like to return this exit code in the subroutines.
''svntest.pl '' just tests the subroutines in ''svn.pl''.
Of note, Perl's object-orientedness is quite different from the other object-oriented languages that I am used to such as C++ and Java.