comparison bin/updatetreepkg.py @ 336:5fa56edeb606

Changed the Build Logs to be gziped before they are published
author Andre Heinecke <aheinecke@intevation.de>
date Tue, 13 Apr 2010 09:29:08 +0000
parents 1fcdffbeb9de
children
comparison
equal deleted inserted replaced
335:85eb9425c346 336:5fa56edeb606
58 for track in group.get_package_tracks(): 58 for track in group.get_package_tracks():
59 for revision in track.get_revisions(): 59 for revision in track.get_revisions():
60 # Originally, the build logs were called build.log and were 60 # Originally, the build logs were called build.log and were
61 # in the base directory of a revision 61 # in the base directory of a revision
62 rename_file(os.path.join(revision.base_dir, "build.log"), 62 rename_file(os.path.join(revision.base_dir, "build.log"),
63 revision.build_log, dry_run) 63 revision.get_build_log(), dry_run)
64 # for a while, the build logs were called build_log.txt but 64 # for a while, the build logs were called build_log.txt but
65 # still were in the base directory 65 # still were in the base directory
66 rename_file(os.path.join(revision.base_dir, "build_log.txt"), 66 rename_file(os.path.join(revision.base_dir, "build_log.txt"),
67 revision.build_log, dry_run) 67 revision.get_build_log(), dry_run)
68 # Revision directories used to end with "-1". Now that number 68 # Revision directories used to end with "-1". Now that number
69 # is the revision of the packaging rules which default to 0 for 69 # is the revision of the packaging rules which default to 0 for
70 # the traditional manual rules management without a version 70 # the traditional manual rules management without a version
71 # control system. Rename those directories if necessary 71 # control system. Rename those directories if necessary
72 update_rules_revision_in_directory_names(track, dry_run) 72 update_rules_revision_in_directory_names(track, dry_run)
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)