My repo doesnt work 100% help fix

Discussion in 'Mobile Web Development' started by DTRocker, Mar 19, 2008.

  1. DTRocker

    DTRocker New Member

    Joined:
    Dec 30, 2007
    Messages:
    169
    Likes Received:
    0
    Device:
    iPhone 3G (Black)
    can sum1 take a look at my repo im trying to make its kind of a test repo but it has a file <my theme> u can download it works in the sense of excutable code, but the actual file doesnt appear on my ipod touch so can sum1 debug the code for me plz

    one thing i noticed is a need a hash string i got one but do i use the zip hash code or the actual folder inside md5?

    I even tried putting /private before /var and still nothing
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList 1.0.dtd">
    <plist version="1.0">
      <dict>
        <key>info</key>
        <dict>
          <key>category</key>
          <string>DTRocker Repo</string>
          <key>contact</key>
          <string>dtrocker.mw@gmail.com</string>
          <key></key>
          <string>Description</string>
          <key>Maintainer</key>
          <string>DTRocker</string>
          <key>name</key>
          <string>DTRocker Repo</string>
          <key>url</key>
          <string>http://ipod-touch.zxq.net/</string>
        </dict>
        <key>packages</key>
        <array>
          <dict>
            <key>author</key>
            <string>DTRocker</string>
            <key>bundleIdentifier</key>
            <string></string>
            <key>category</key>
            <string>DTRocker Repo</string>
            <key>description</key>
            <string>This is ESP Guitar theme</string>
            <key>location</key>
            <string>http://ipod-touch.zxq.net/ESPGuitarTheme.zip</string>
            <key>name</key>
            <string>ESP Guitar Theme</string>
            <key>size</key>
            <string>372376</string>
            <key>url</key>
            <string>http://ipod-touch.zxq.net/</string>
            <key>version</key>
            <string>1.0</string>
            <key>date</key>
            <string></string>
            <key>scripts</key>
            <dict>
              <key>install</key>
              <array>
                <array>
                  <string>CopyPath</string>
                  <string>ESPGuitarTheme/</string>
    	      <string>/var/mobile/Library/SummerBoard/Themes/ESPGuitarTheme/</string>
                </array>
              </array>
              <key>uninstall</key>
              <array>
                <array>
                  <string>RemovePath</string>
                  <string>/var/mobile/Library/SummerBoard/Themes/ESP Guitar Theme</string>
                </array>
              </array>
            </dict>
          </dict>
      </array>
      </dict>
    </plist>
    also as a secondary copy path i was adding /var/root/Library/SummerBoard/Themes/ESP Guitar Themes but this wasnt working either i even tried the little squiglie ~ it didnt work and some other things as well

    my repo is http://ipod-touch.zxq.net/repo.xml
    the file that i have in there is downloadable at http://ipod-touch.zxq.net/ESPGuitarTheme.zip
  2. jchaike

    jchaike Active Member

    Joined:
    Dec 26, 2007
    Messages:
    1,260
    Likes Received:
    3
    Device:
    iPhone 4 (Black)
    Just kinda adding on to what your problem is:
    my repo works, its up and running, but when I try to download a package it gives me the package download failed
  3. Axis

    Axis Super Moderator Staff Member

    Joined:
    Dec 2, 2007
    Messages:
    6,288
    Likes Received:
    133
    Device:
    iPhone 4S (White)
    The zip is most likely not Mac readable. Look in the guide in my signature.

    @OP

    You use the md5 hash of the zip, not the folder inside the zip.
  4. jchaike

    jchaike Active Member

    Joined:
    Dec 26, 2007
    Messages:
    1,260
    Likes Received:
    3
    Device:
    iPhone 4 (Black)
    I did the zip for macs..i'll check your guide out though...and use FastSum 1.6 for the MD5 hash--its so simple =D
  5. BigDaveyJ

    BigDaveyJ New Member

    Joined:
    Nov 23, 2007
    Messages:
    2,751
    Likes Received:
    23
    Device:
    iPod touch
    i already know why, in the copy path at the end you dont need the last /. also, you dont need hash just take it out i think its a waste of time for it.
  6. jchaike

    jchaike Active Member

    Joined:
    Dec 26, 2007
    Messages:
    1,260
    Likes Received:
    3
    Device:
    iPhone 4 (Black)
    what method did you use to zip your files--if your on windows?
  7. DTRocker

    DTRocker New Member

    Joined:
    Dec 30, 2007
    Messages:
    169
    Likes Received:
    0
    Device:
    iPhone 3G (Black)
    i used winrar to zip my files to a .zip
  8. DTRocker

    DTRocker New Member

    Joined:
    Dec 30, 2007
    Messages:
    169
    Likes Received:
    0
    Device:
    iPhone 3G (Black)
    ok so i found the problem but havent solved it. i get ERROR: PACKAGE DOWNLOAD FAILED....its been like this for a while now keep messing with the repo but i found out the download actually works something with the extraction of the file is messed up and i dont know y....i looked in my ipod under the installer thinking maybe its the queue or some cache file messing it up so i go to /private/var/mobile/Library/Installer/Temp/ and the file was sitting in here but isnt going anywhere to be extracted to the directed copypath so does anyone know what i have to do?
  9. mlbplayer456

    mlbplayer456 Banned

    Joined:
    Nov 11, 2007
    Messages:
    978
    Likes Received:
    6
    no, no, no...The real problem is that you don't have a md5 hash. Go to your repo and add a <key>hash</key> under size and a <string></string>
    go to hashemall.com and put the zipped file in (check off the md5 algorithm when you scroll down.) then when its dont copy the hash and paste it in to the hash string, save your repo and publish it.
  10. jmiz9000

    jmiz9000 New Member

    Joined:
    Sep 29, 2007
    Messages:
    2,365
    Likes Received:
    19
    Device:
    iPhone 3GS (Black)
    ya u dont have a hash

Share This Page