• Your favorite

    Apple

    ,

    iPhone

    ,

    iPad

    ,

    iOS

    ,
    Jailbreak
    , and
    Cydia
    site.
  • Installer 4.0b6 and New Updated Repository Code
    Update is in the Updated Category in Installer


    Post From ripdev.org

    Proudly presenting you the new beta of Installer - 4.0b6.

    New and changed:

    * Search.
    * Uninstall now works correctly.
    * Fixed a lot of locking issues especially with custom HTML info pages.
    * Updated the Categories and Tasks icons so they are less ugly.
    * Fixed a bug with multiple copies of Installer appearing in Installed Packages under some circumstances.
    * Installer will now correctly check and prompt for an update of itself.

    Things to Know if you want to make your own repo.

    Also, to accompany the Installer release, a new edition of the Repository code is up. Grab it here: repo-r1114.zip

    What's new in the repo code?

    * Added an option to ping the Installer search server so it reindexes your repository. The ping occurs during regenerate.php run.
    * Much better handling of ZIP archives, since this is what most people had troubles with. It now attempts to determine which way to use to unzip your files (PEAR::ZipArchive, zip_open or shell_exec("unzip")). Please note that we didn't test zip_open piece of the code as we don't have a server with that plugin compiled in PHP.
    * DOMDocument::load() should work under PHP4. We hope.
    * Slightly better handling of the multiple versions of the same package.

    How to upgrade? Simply replace regenerate.php with the new one, and add new configuration parameters from config.inc.default.php to your config.inc.php. There are two: REPOSITORY_URL, that should have a full path to your repo (with a trailing slash), and ZIP_CMDLINE_PATH (only add this if needed). Refer to config.inc.default.php for the descriptions and copy-paste goodness.

    Don't forget to regenerate your repositories once upgraded, and also don't forget to put 2.0.2 into POSSIBLE_FIRMWARE_VERSIONS array so people on the new firmware can see your packages!
    This article was originally published in forum thread: Installer 4.0b6 and New Updated Repository Code started by Nicholas Knight View original post