# HG changeset patch # User Paul Issott # Date 1245619825 0 # Node ID 87cd9284651cb7936040ff70ec5aed67ddca0668 # Parent 002c0837316fa213edbca135680603325b027f14 tazbb: Minor edits diff -r 002c0837316f -r 87cd9284651c tazbb/description.txt --- a/tazbb/description.txt Sun Jun 21 20:40:37 2009 +0000 +++ b/tazbb/description.txt Sun Jun 21 21:30:25 2009 +0000 @@ -1,8 +1,8 @@ -SliTaz Build Bot. Tazbb is a tool to automate and test SliTaz building. -Please read the Cookbook documentation for more information and put your -on Tazz Wiki page on the Labs. The package provide tazbb script, config -file and the web interface. +SliTaz Build Bot. Tazbb is a tool to automate and test SliTaz package +building. Please read the Cookbook documentation for more information +and put your ideas on the Tazbb Wiki page on the Labs. The package +provides the tazbb script, a config file and a web interface. Tank Build Bot : http://bb.slitaz.org/ Tazbb Wiki : http://labs.slitaz.org/wiki/distro/Tazbb diff -r 002c0837316f -r 87cd9284651c tazbb/receipt --- a/tazbb/receipt Sun Jun 21 20:40:37 2009 +0000 +++ b/tazbb/receipt Sun Jun 21 21:30:25 2009 +0000 @@ -34,8 +34,8 @@ ln -s $1/var/lib/tazbb/web $1/var/www/vhosts/bb cat << _EOT_ -To have Tazbb web interface on your local system you can add a vhost -to Lighttp (or Apache) and the hostname to /etc/hosts. Example for Lighty: +To have a Tazbb web interface on your local system, you can add a vhost +to Lighttpd (or Apache) and the hostname to /etc/hosts. Example for Lighty: $HTTP["host"] =~ "bb" { server.document-root = "/var/www/vhost/bb" diff -r 002c0837316f -r 87cd9284651c tazbb/stuff/README --- a/tazbb/stuff/README Sun Jun 21 20:40:37 2009 +0000 +++ b/tazbb/stuff/README Sun Jun 21 21:30:25 2009 +0000 @@ -2,7 +2,7 @@ =============================================================================== -Check the description.txt for a brief overview of Tazbb, read the Cookbook doc +Check the description.txt for a brief overview of Tazbb, read the Cookbook docs and collaborate on the Labs. diff -r 002c0837316f -r 87cd9284651c tazbb/stuff/tazbb --- a/tazbb/stuff/tazbb Sun Jun 21 20:40:37 2009 +0000 +++ b/tazbb/stuff/tazbb Sun Jun 21 21:30:25 2009 +0000 @@ -22,7 +22,7 @@ echo -e "\nYou must be root to run: `basename $0`.\n" && exit 0 fi -# Let tazbb finish is work and make sure needed files exist. +# Let tazbb finish its work and make sure needed files exist. if [ -f $LOCK_FILE ]; then case $1 in usage|list-*|*block) @@ -43,7 +43,7 @@ \033[1mCommands: \033[0m\n usage Print this short usage and command list. list-pkgs List last cooked packages with date. - report Run in report mode and dont cook anything [--verbose]. + report Run in report mode and don't cook anything [--verbose]. cook-all Cook all missing, modified or unbuilt packages. cook-commit Cook all packages affected by a commit in the last update. test-pkgs Execute a test suite on all packages [--verbose]. @@ -129,7 +129,7 @@ echo -e "Build wok : $BUILD_WOK ($LAST_REV)\n" top_summary # Copy Hg wok if new revision or exit to stop process since nothing - # have change (--forced can be used). + # has changed (--forced can be used). if [ "$NEW_REV" != "$LAST_REV" ]; then size=`du -sh $HG_WOK | awk '{ print $1 }'` echo -n "Copying Hg wok to the build wok ($size)... " @@ -169,13 +169,13 @@ echo "Blocked : $PACKAGE ($VERSION)" && continue fi - # Bristuff hack until the receipt are improved... + # Bristuff hack until the receipts are improved... #[ "$VERSION" = "bristuff" ] && VERSION=`get_version` if [ "$VERSION" = "bristuff" ]; then . $BUILD_WOK/$PACKAGE/taz/*/receipt fi - # First check if package exit. Package naming _must_ be in the form of: + # First check if package exists. Package naming _must_ be in the form of: # $PACKAGE-$VERSION or $PACKAGE-${VERSION}$EXTRAVERSION (Kernel string). if [ ! -f $PACKAGES_REPOSITORY/$PACKAGE-$VERSION.tazpkg ]; then [ -z "$EXTRAVERSION" ] && EXTRAVERSION="_$KERNEL" @@ -198,14 +198,14 @@ fi done fi - # Now check if package is built and not already in the list. + # Now check if package is built and not already on the list. if [ ! -d $BUILD_WOK/$PACKAGE/taz ] && ! grep -q $PACKAGE $DB_DIR/cooklist; then [ "$1" = "report" ] && echo "Unbuilt : $PACKAGE ($VERSION)" echo "Unbuilt : $PACKAGE ($VERSION)" >> $DB_DIR/report echo "$PACKAGE" >> $DB_DIR/cooklist fi # Rebuild unbuilt packages list with link to log file. This list - # is also generated by cook_inslall to have real time stats. + # is also generated by cook_install to have real time stats. if [ ! -d $BUILD_WOK/$PACKAGE/taz ]; then echo "$PACKAGE" \ >> $DB_DIR/unbuilt @@ -214,7 +214,7 @@ packages_summary } -# Create a new cooklist and summary (dont modify report) so 'tazbb cook-commit' +# Create a new cooklist and summary (don't modify report) so 'tazbb cook-commit' # can cook last changes. check_commit() { @@ -223,7 +223,7 @@ # Clean up last results. rm -f $DB_DIR/cooklist && touch $DB_DIR/cooklist # Get the name of modified packages by the revision range. +1 last - # commit was build by the previous build. + # commit was built by the previous build. LAST_REV=$(($LAST_REV+1)) echo -e "Will cook from revision $LAST_REV to $NEW_REV\n" for file in `hg log --rev=$LAST_REV:$NEW_REV --template '{files}\n'` @@ -253,7 +253,7 @@ tazwok clean $pkg script -c "echo 'install' | tazwok cook $pkg" $LOG_DIR/$pkg.log # Install new package (important for new shared libs). Note - # that tests are done separatly with 'test_packages' and should + # that tests are done separately with 'test_packages' and should # be done by tazwok. if [ -f $BUILD_WOK/$pkg/taz/*/receipt ]; then . $BUILD_WOK/$pkg/taz/*/receipt @@ -276,7 +276,7 @@ # Remove old packages in the build wok and clean pkgs repository. The # Hg wok is copied into the build wok so packages removed by hg must be # removed. To remove old packages in the repository we look into the -# build wok and dont remove unbuilt packages. Clean-up will also remove +# build wok and don't remove unbuilt packages. Clean-up will also remove # all corrupted packages. clean_up() { @@ -471,10 +471,10 @@ blocked_urls echo "" ;; test-pkgs) - # Start a test suite on all builded packages. + # Start a test suite on all built packages. test_packages $@ ;; test-suite) - # Start a test suite on all builded package and the wok using + # Start a test suite on all built packages and the wok using # the great 'tazwok check'. # # test_packages > $LOG_DIR/test-suite.log diff -r 002c0837316f -r 87cd9284651c tazbb/stuff/web/index.php --- a/tazbb/stuff/web/index.php Sun Jun 21 20:40:37 2009 +0000 +++ b/tazbb/stuff/web/index.php Sun Jun 21 21:30:25 2009 +0000 @@ -45,13 +45,13 @@

/usr/bin/tazbb

-Tazbb is SliTaz GNU/Linux Build Bot, -it automaticaly cook and test packages commited in the wok. SliTaz +Tazbb is a SliTaz GNU/Linux Build Bot, +it automatically cooks and tests packages commited in the wok. SliTaz packages are cooked on the project main server: code name Tank. This -web interface give the current status of the build bot and the last report -about all packages modified by SliTaz contributors in the Mercurial -repository, aka Hg repos. +web interface gives the current status of the build bot and the last report +about any packages modified by the SliTaz contributors in the Mercurial +Hg repos.