# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.412 2005/12/02 01:58:02 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.413 2005/12/02 15:14:26 rocket Exp $
+
+ 02 Dec 2005; Eric Edgar <rocket@gentoo.org>
+ modules/generic_stage_target.py, modules/grp_target.py:
+ Add more verbosity to digests if -V is enabled, add more print messages to
+ grp digesting code
02 Dec 2005; Eric Edgar <rocket@gentoo.org> modules/catalyst_support.py,
modules/generic_stage_target.py, modules/grp_target.py:
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/modules/generic_stage_target.py,v 1.82 2005/12/02 01:58:02 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/modules/generic_stage_target.py,v 1.83 2005/12/02 15:14:27 rocket Exp $
"""
This class does all of the chroot setup, copying of files, etc. It is
myf=open(file+".digests","w")
if self.settings.has_key("MD5"):
- md5=calc_md5(file)
+ if self.settings.has_key("VERBOSE"):
+ md5=calc_md5(file,True)
+ else:
+ md5=calc_md5(file)
myf.write("MD5: "+md5+"\n")
if self.settings.has_key("SHA"):
- sha=calc_sha(file)
+ if self.settings.has_key("VERBOSE"):
+ sha=calc_sha(file,True)
+ else:
+ sha=calc_sha(file)
myf.write("SHA: "+sha+"\n")
myf.close()
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/modules/grp_target.py,v 1.17 2005/12/02 01:58:02 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/modules/grp_target.py,v 1.18 2005/12/02 15:14:27 rocket Exp $
"""
The builder class for GRP (Gentoo Reference Platform) builds.
for pkgset in self.settings["grp"]:
if self.settings["grp/"+pkgset+"/type"] == "pkgset":
destdir=normpath(self.settings["target_path"]+"/"+pkgset+"/All")
-
+ print "Digesting files in the pkgset....."
digests=glob.glob(destdir+'/*.digests')
for i in digests:
if os.path.exists(i):
self.gen_digest_file(normpath(destdir+"/"+i))
else:
destdir=normpath(self.settings["target_path"]+"/"+pkgset)
+ print "Digesting files in the srcset....."
digests=glob.glob(destdir+'/*.digests')
for i in digests: