Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 10684] need api to verify but not unpack a file

sm-sorcery-bugs AT lists.ibiblio.org

Subject: Bugs for Sorcery are reported here

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-sorcery-bugs AT lists.ibiblio.org
  • Subject: [SM-Sorcery-Bugs] [Bug 10684] need api to verify but not unpack a file
  • Date: 25 Mar 2006 22:41:05 -0000

http://bugs.sourcemage.org/show_bug.cgi?id=10684





------- Additional Comments From acedit AT armory.com 2006-03-25 16:41 -------
fixed this in devel at 76787

however this is a fairly intrusive change (i had to re-arrange some code to
avoid duplication) so im going to let it soak in devel for a bit before moving
it to test and calling it fixed.

The new function is called verify_file, it works the same way as unpack_file.
To those who have been using unpack_hash etc to workaround this, I suggest
setting up something in FUNCTIONS immediatly along the lines of

declare -f verify_file ||
function verify_file() {
local SVAR="SOURCE${FILENUM}"
local AVAR="SOURCE${FILENUM}_HASH"
unpack_hash ${!SVAR} ${!AVAR}
}

and removing all the references to unpack_hash (ruskie this means you :-) )

thanks

--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



  • [SM-Sorcery-Bugs] [Bug 10684] need api to verify but not unpack a file, bugzilla-daemon, 03/25/2006

Archive powered by MHonArc 2.6.24.

Top of Page