gojohnnyboi
02-02-2008, 12:58 PM
dude for anyone who reads this especially skylar i have to know what a hash is in the code for a repo!!! such as:

<key>hash</key>
<string>wtf goes here and how do i get it</string>

is it even necessary? cuz im trying to resolve my problem of download package failed error...

please help! check my repo for other errors!!!!

Click here for my repo. (http://gojohnnyboi.googlepages.com/testrepo.xml)

SkylarEC
02-02-2008, 02:55 PM
That is the hash tag. It is the md5 checksum of the package that Installer uses to check against the actual size in bits of the downloaded package to ensure that it hasn't been tainted in any way.

I'm not sure if it is yet necessary, but it is strongly warned that you start implementing it because Installer will soon start making the hash tag mandatory.

As far as how to figure it out, I'd recommend google. I simple use the utility built into Linux, or a application on the mac called, conveniently enough, md5. I've never looked for a windows solution, as I only build the repo on Windows. I package everything on Linux or OS X.

gojohnnyboi
02-02-2008, 03:10 PM
thanks a million skylar but then y is it that it always says package download failed?

jungzandvliet
02-02-2008, 03:14 PM
thanks a million skylar but then y is it that it always says package download failed?
i package/create and so on everything on windows.
Use this:
http://software.drnaylor.co.uk/md5/
Integrates in your Context Menu to :P (Right click menu)