Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tchx84/bundletools

Set of scripts to run your own Sugar bundles update server
https://github.com/tchx84/bundletools

Last synced: about 1 month ago
JSON representation

Set of scripts to run your own Sugar bundles update server

Awesome Lists containing this project

README

        

Bundle Tools
================

This a set of tools that helps me (and hopefully you) to manage
Sugar bundles updates.

What problems does it solve?
----------------------------

* Provide Sugar bundles updates, with minimal requirements.
* Upload bundles to the server.
* Update microformat file.

How can I use it?
-----------------

0. Get latest bundletools bits.

```
git clone https://github.com/tchx84/bundletools.git
cd bundletools
```

1. Create or download your configuration recipe.

```
cp etc/bundles.json.example etc/bundles.json
vim etc/bundles.json
```

or

```
cp ~/Downloads/bundles.json etc/bundles.json
```

2. Update one or more bundles, to a specific bundles repository.

```
./update.sh arm-addons Letters-25.xo
```

It will automatically upload the bundle to the corresponding
directory in the server and it will also re-generate the
microformat file.

3. Remove bundles specifying an expression.

```
./remove.sh arm-addons Letters*
```

It will list all the bundles that matches the expression, and
will remove the bundles from the corresponding bundles directory,
after confirmation.

4. Make an inventory of all activities provided:

```
./helpers/inventory.py --path /path/to/bundles/
```

It will output, in CVS format, the list of activities. This includes
the activity bundle_id and name.