Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

allejo

macrumors newbie
Original poster
Jun 23, 2010
22
0
Los Angeles, California
CyMan v1.0.1

=== Introduction ===
(Skip it if you get bored easily)

Hey guys, I'm not really active in asking questions or answering them. Anyhow I'm more of a developer, I have been programming for about 4 years now. Anyhow I was reading a lot of posts in the inter-webs and multiple tutorials on how to create a Cydia repo. I am aware there a lot of services online that allow you to run your Cydia repo and a server and make it public. Running a Cydia server is quite easy but the only down side to it is that you must repeat the process multiple times for a small change.

As a developer I absolutely hate repetition in computer actions, so I wrote CyMan to help me manage my Cydia repo. After two minor releases, CyMan has finally reached the Beta stage to where I'm making it public. CyMan is short for Cydia Manager (<sarcasm>so creative i know.</sarcasm>). CyMan is a cross-platform command-line tool. CyMan is currently supported on Mac, Windows (with Cygwin), and Ubuntu distros (more Unix support coming soon).


=== Steps ===
I'll stop blabbering now. I beg your pardon if you were annoyed by the introduction there. Let's get started with this tutorial of CyMan. This tutorial was made with the assumption that you have some command-line experience. :)

Step 0. Download CyMan for your operating system from here: http://sujevo.com/cyman.php

Step 1. Extract 'cyman' and make it executable
Code:
chmod +x /path/to/cyman

Step 2. You have two options for installation. You can either move the cyman executable to /usr/bin/ or /usr/local/bin (your choice). Or the second option is to move the executable to a location of your choice and instead of running CyMan with 'cyman' you'd have to use './cyman'

Step 3. On a side note, I will be assuming you have moved the executable to root, so for the rest of this tutorial I will just be referring to running 'cyman'. To start off with CyMan, run the following command:
Code:
cyman --configure
After you have run the command, you will be prompted with questions about your repo. Fill in those prompts and you will have CyMan configured and will be ready for usage.

Step 4. Now you that you have created a repo, you will want to start adding .deb files and stuff. Once you have a .deb file prepared you will be using the following command:
Code:
cyman --add <file.deb>
You will prompted to fill out some information about the .deb and then the .deb will be added to the repo and all the files (Packages, Packages.bz2, Release, Release.gpg) will be updated automatically with the new information.

Step 5. Upload the repo folder to your webhost and give the URL to people.


=== FAQ ===
Q: I have added a .deb file to my repo but I accidentally made a typo with some information. Do I have to delete it and add it again?
A: No. Use the following command:
Code:
cyman --edit <file.deb>
Then select what section of the information you would like to edit.

Q: I have added a .deb but I don't want it any more. How do I delete it?
A: Use the following command:
Code:
cyman --remove <file.deb>

Q: I made a typo when I first set up my repo with CyMan, how can I change it?
A: Simply type:
Code:
cyman --configure
This will prompt you on what information for the Cydia repo you want to change.

Q: I want to see all the commands to CyMan has!
A: That's not a question, but type:
Code:
cyman --help

Q: I have just updated a .deb but I don't want to remove it and re-add to my repo and if I just drag it into the repo folder I get errors in Cydia. What can I do?
A: With CyMan v1.0.1 there is '--updatedeb' so use that. That will add the new .deb to your repo and it will automatically update your repo information.
Code:
cyman --updatedeb <file.deb>

Q: There used to be a bug with CyMan were I couldn't put /path/to/my/file as a parameter. Can I do this now? I really need it.
A: Yes, CyMan v1.0.1 has been updated to support paths.

Q: I have configured CyMan but I want to start all over. How can I do this?
A: I'm not sure why you would like to do that but you can use:
Code:
cyman --removedata
Please note, that if you do this and try to configure CyMan to use the previously used repo, it will DELETE all the contents so do NOT use the same folder.

Q: I keep gettings errors like "-bash: gpg: command not found" What does that mean?
A: It means that you do not have gpg installed on your system and it is required for CyMan to run. With CyMan v1.0.1, a check for required apps is run in order to make sure that CyMan can run without errors.

Q: I don't get a Release.gpg file when I run CyMan. What the heck?
A: This is mostly like due to the fact that you do not have a key generated on your system. Run:
Code:
gpg --gen-key

Q: Do you have a website and/or forums?
A: Yes. Website: http://sujevo.com Forums: http://sujevo.com/bb/


=== Support ===
If you need help with anything related to CyMan feel free to send me a message or please support me and join the community I'm trying to start for all the future applications and tools I will be writing.


=== Download ===
http://sujevo.com/cyman.php


=== More Information (Please Read) ===
Do not fear, CyMan is freeware and can be used freely though I do ask that if you really like CyMan that you consider supporting future development of CyMan in anyway that you can. Thank you, all!!!

-allejo
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.