SF.net SVN: gar:[23337] csw/mgar/gar/v2/go/src

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Sun Apr 6 00:08:36 CEST 2014


Revision: 23337
          http://sourceforge.net/p/gar/code/23337
Author:   wahwah
Date:     2014-04-05 22:08:35 +0000 (Sat, 05 Apr 2014)
Log Message:
-----------
catalog-release-to-disk: Beter doc strings

Add comments on top of the files.

Modified Paths:
--------------
    csw/mgar/gar/v2/go/src/catalog-release-to-disk/catalog-release-to-disk.go
    csw/mgar/gar/v2/go/src/gen-catalog-index/gen-catalog-index.go

Modified: csw/mgar/gar/v2/go/src/catalog-release-to-disk/catalog-release-to-disk.go
===================================================================
--- csw/mgar/gar/v2/go/src/catalog-release-to-disk/catalog-release-to-disk.go	2014-04-05 21:33:27 UTC (rev 23336)
+++ csw/mgar/gar/v2/go/src/catalog-release-to-disk/catalog-release-to-disk.go	2014-04-05 22:08:35 UTC (rev 23337)
@@ -1,13 +1,12 @@
-// Generate OpenCSW catalog - symlinks and hardlinks on disk
+// Command catalog-release to disk obtains catalog contents via the OpenCSW
+// REST interface on the buildfarm, analyzes the state state of the
+// filesystem, and performs the necessary operations to bring the catalog on
+// disk to the state defined in the database.
 //
-// Obtains catalog contents via a REST interface, analyzes the disk state, and
-// only performs the necessary operations.
+// Building this program: See README in the go/ directory.
 //
-// Building this program: See README in the go/ directory
-//
 // As of 2014-03-16, this program is not packaged, but instead simply compiled
 // and put in place.
-
 package main
 
 import (

Modified: csw/mgar/gar/v2/go/src/gen-catalog-index/gen-catalog-index.go
===================================================================
--- csw/mgar/gar/v2/go/src/gen-catalog-index/gen-catalog-index.go	2014-04-05 21:33:27 UTC (rev 23336)
+++ csw/mgar/gar/v2/go/src/gen-catalog-index/gen-catalog-index.go	2014-04-05 22:08:35 UTC (rev 23337)
@@ -1,3 +1,8 @@
+// Command gen-catalog-index genereates a catalog index file as described on
+// http://www.opencsw.org/manual/for-maintainers/catalog-format.html -- the
+// same code is used in the larger catalog generation program. This standalone
+// utility is used to generate on-disk catalogs for other purposes like
+// catalog checking.
 package main
 
 import (

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list