Roundup Tracker - Issues

Issue 827510

classification
copyDigestedFile creates duplicate hash
Type: Severity: normal
Components: None Versions:
process
Status: closed fixed
:
: : richard, thomas_ah
Priority: normal :

Created on 2003-10-21 13:33 by thomas_ah, last changed 2003-11-11 22:37 by richard.

Files
File name Uploaded Description Edit Remove
remove-hashes.patch thomas_ah, 2003-10-21 13:33
Messages
msg1008 Author: [hidden] (thomas_ah) Date: 2003-10-21 13:33
When using roundup-admin to create a new tracker home
using an existing tracker home as a template (see bug
827497) I noticed that
roundup.install_util.copyDigestedFile() adds another
SHA hash even though a correct hash already exists.

It should either don't touch an existing hash, or only
touch it if the has isn't correct, because the file has
been altered.

templates/classic/html/style.css already contains two
hashes which becomes three during creating the tracker
home.
A few other files already contain a hash, too.
Attached is a patch to remove these existing hashes
which applies to maint-0-6 and HEAD.

msg1009 Author: [hidden] (richard) Date: 2003-11-11 22:37
Logged In: YES 
user_id=6405

Have altered 
History
Date User Action Args
2003-10-21 13:33:32thomas_ahcreate