[HTC 10 Guides, News, & Discussion] ~clumsy~:
svnZipper​

As you may know developers like [MENTION=398245]LeeDroid[/MENTION] and [MENTION=1186202]baadnewz[/MENTION] use Subversion so users can get the latest changes quickly. Although this results in users checking out the Subversion repository and zipping the ROM themselves. This doesn't sound too difficult and it isn't, but to make things easier I made a tool I like to call "svnZipper". It is a pre-built binary with all the dependencies to build a nightly ROM from [MENTION=398245]LeeDroid[/MENTION] and [MENTION=1186202]baadnewz[/MENTION] repositories, this has support for Windows, Linux and Mac.

As we are not all perfect the tools does face issues, be it bugs or user issues, I am finding it hard to keep track of all these issues popping up in each thread. Therefore I made this thread to get the latest svnZipper, follow guides and report any issues for me to answers and solve (although it is in HTC 10 thread you can post HTC One M9 and HTC One M8).

The Guide​

Step 1

Download the latest svnZipper:

LeeDrOiD get it here

ICE get it here

Put the svnZipper anywhere you like on your PC, I would recommend a folder you can easily access.

Step 2 (Only Required for Mac and Linux)

For Mac and Linux you will need to set the permissions of the binary to be executable. You are probably be familiar with this process if you are a Linux and Mac user but if you don't know the process I will explain it for you. Open up a terminal and change to the directory of the location of your svnZipper, then type the following command:

Mac:

chmod 0755 macSvnZipper followed by enter

Linux:

chmod 0755 linuxSvnZipper followed by enter

Step 3

Execute the svnZipper

Windows:

Double click the svnZipper.exe or open up command prompt in the location of the .exe and type:

svnZipper.exe followed by enter.

Mac:

With the terminal still open from Step 2, type the following command:

./macSvnZipper followed by enter

Linux:

With the terminal still open from Step 2, type the following command:

./linuxSvnZipper followed by enter

Once you have execute the screen you will be presented with a image as shown below:

Step 4

Type the corresponding number next to the device you would like to build for and press enter. This will start the process of checking out files or updating the files that already exist if you have checked out before. This process will vary time consuming depending on how many files are needed to be download from the remote repository.

This process will complete the following steps:

1. Checkout/Update files from the remote repository for your device

2. Make a nightly .zip for your device

3. Make a md5 checksum file for .zip

All checked out files will be stored in the same directory of executable in the following paths:

LeeDrOiD:

HTC 10 it will be /LeeDrOiD_PME

HTC M9 it will be /LeeDrOiD_HIMA

HTC M8 it will be /LeeDrOiD_M8

ICE:

HTC 10 it will be /ice_pme

HTC M9 it will be /ice_hima

HTC M8 it will be /ice_m8

Once completed you will be presented with a screen shot similar to the ones below.

All nightly .zip and .md5 files will be stored in the same directory of executable in the following paths:

LeeDrOiD:

HTC 10 it will be /LeeDrOiD_PME/Builds

HTC M9 it will be /LeeDrOiD_HIMA/Builds

HTC M8 it will be /LeeDrOiD_M8/Builds

ICE:

HTC 10 it will be /ice_pme/Builds

HTC M9 it will be /ice_hima/Builds

HTC M8 it will be /ice_m8/Builds

The builds will be named in the following format:

LeeDrOiD:

HTC 10 it will be LeeDrOiD_PME_RXX.zip

HTC M9 it will be LeeDrOiD_HIMA_RXX.zip

HTC M8 it will be LeeDrOiD_M8_RXX.zip

ICE:

HTC 10 it will be ice_pme_nightly_rXX.zip

HTC M9 it will be ice_hima_nightly_rXX.zip

HTC M8 it will be ice_m8_nightly_rXX.zip

Step 5

If a update comes out and you would like to rebuild the ROM again, follow Step 3 and Step 4

FAQ

QUESTION: The build zip is extremely small and has missing files?

ANSWER: Delete the checked out files and execute the steps above again

QUESTION: The revision checked out by the tool is out of date and doesn't get the latest revision from the remote repository?

ANSWER: Delete the checked out files and execute the steps above again

Note: The FAQ will increase as I get more user experience.

Reporting a Issue

Take screen shot of the errors raised from the tool and post it in this thread. If I don't get as much information as possible I can not help you.

Note: Windows will automatically close is a issue arises, therefore I recommend that you execute the .exe in command prompt instead of double clicking.

XDA:DevDB Information

svnZipper, Tool/Utility for the HTC 10

Contributors

~clumsy~

Source Code: https://github.com/clumsy1991/svnZipper

Version Information

Status: Beta

Current Stable Version: 1.0.4

Stable Release Date: 2016-06-06

Created 2016-06-07

Last Updated 2016-06-07