Created by Nil and last modified
Get this branch:
bzr branch lp:ocpkg
Members of OpenCog Developers can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

OpenCog Developers

Recent revisions

88. By Amber Jain

minor changes; only echo/print and comments added

87. By Amber Jain

1. Adding manpage ocpkg.8.
2. Also made corresponding changes to ocpkg usage() help function which gets triggered using ocpkg's -h option.
3. Basically, ocpkg.8 (manpage) is generated using 'ocpkg -h'. This is done using txt2man (in Ubuntu repos). In my humble opinion, this simplifies the process of documentation by removing the need to update both manpage and usage(). Now the developer simply needs to keep usage() up-to-date and run following command to update manpage automatically:
 ./ocpkg -h | txt2man -s 8 -t ocpkg -v "ocpkg manual" > ./ocpkg.8
In the above command, we pipe the output of './ocpkg -h' to 'txt2man' which converts the output of usage() into nroff/troff standard man(7) macros used to format Unix manual pages (and redirects the output to be written to ./ocpkg.8 file).

I guess this simplifies the whole process of documentation for ocpkg.

86. By Amber Jain

Undoing the changes made in rev82. The code for creating log files was messing up with the order in which output was printed on terminal/console which is very confusing; I'll need to find another way to log output to logfiles. As of now, to be able to log ouput, user will need to manually pipe output of ocpkg to 'tee' (when invoking ocpkg)

85. By Amber Jain

Updated with 2 new packaging types (added in previous commits). Also, updated "Section:2 Command Line Options handling" code to reflect these and other minor changes.

84. By Amber Jain

Added -c option to debs packaging type to build Debian/Ubuntu source package only

83. By Amber Jain

Added Depends: relationships between debian packages. Any package which depends on another package will not be installed unless the packages it depends on are installed.

82. By Amber Jain

Added code which creates log files for 'ocdebs' packaging type. and are the log files which log stdout and stderr streams respectively. Right now, log files are only created for 'ocdebs' packaging type but if other developers like the idea, this will be integrated with all other packaging types in ocpkg

81. By Amber Jain

After talking about this with Nil, I removed libmoses.so from being included in DEB package since this file is not getting built when building lp:opencog

80. By Amber Jain

Added red_message(), green_message() and blue_message(). The idea is to use:
1. red_message() for error [E] messages
2. green_message() for info [I] messages
3. blue_message() for output messages that require special user attention

79. By Amber Jain

Minor commit: Removed useless, commented-out code at the end of ocpkg script

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.