Roscidus.com Zero Install Mirror

» Main » 0downstream

0downstream - maintain a zeroinstall feed based on an upstream project

Published by Tim Cuthbertson

Overview

This is a Zero Install feed. To add this program to your Applications menu, choose Zero Install -> Add New Program from the Applications menu. e.g. on Ubuntu:

Adding with GNOME

If you don't see this menu item, install the zeroinstall-injector package from your distribution's repository, or from 0install.net.

Drag the feed's URL to the dialog box that appears. Other environments may use other systems. For example, if you are a ROX desktop user, drag the link to AddApp instead.

Alternatively, to run it from the command-line:

$ 0launch http://gfxmonk.net/dist/0install/0downstream.xml

The 0alias command can be used to create a short-cut to run it again later.

If you don't have the 0launch command, download it from the 0install.net web-site, which also contains documentation about how the Zero Install system works.

Full name

http://gfxmonk.net/dist/0install/0downstream.xml

Description

# 0downstream Easily generate [zero-install][] feeds and keep them up to date based on an existing upstream project. You can run this feed from: [http://gfxmonk.net/dist/0install/0downstream.xml][self] Currently supported project sources are: - [github][] - [rubygems.org][] - [pypi][] These locations are all frequently used for interpreted languages. There is no support for `0compile`d (source) feeds yet, but I hope to add it in the future. ### Create a new feed: 0downstream new --prefix=<prefix> <url> <filename> e.g: 0downstream new \ --prefix=http://gfxmonk.net/dist/0install/ \ https://github.com/jkbr/httpie \ httpie.xml Instead of the URL, you can also just use <type>:<id>, i.e: `github:jkbr/httpie` This will fill in feed details using the available metadata, and add an implementation for the latest implementation of the project, based on project releases (or version tags in the case of github). You'll still have to fill in dependency information, environment bindings and any commands yourself, but hopefully only once. You can see the result at [my 0install repository](http://gfxmonk.net/dist/0install/httpie.xml) (view source to see the actual generated xml). The `prefix` argument is the base URL where you plan to upload the feed. All mine go in `http://gfxmonk.net/dist/0install/`. ### update an existing feed: because 0downstream embeds project information inside the generated feed, you can just run: 0downstream update <filename> And it'll add an &lt;implementation&gt; for the latest version of the project (in the &lt;group&gt; nearest the end of the file). ### check for updates: Not very useful for manual use, but this command will exit with a `1` status code if there is a newer version on the project page than in the feed. Probably useful in a `cron` script. 0downstream check <filename> # "it doesn't work", or "you should add ..." Please open a github issue. I especially like the "pull request" type where you've done all the hard work and I just press the green button. It should be reasonably easy to add a new project type - you can use one of the existing ones in `zeroinstall_downstream/project` to base it on. I won't merge pull requests for new project sources until you've added the appropriate tests (they're not hard!). [zero-install]: http://0install.net/ [github]: https://github.com/ [rubygems.org]: https://rubygems.org/ [pypi]: https://pypi.python.org/pypi/ [self]: http://gfxmonk.net/dist/0install/0downstream.xml

Available versions

The list below is just for information; Zero Install will automatically select one of these versions for you.

VersionReleasedStabilityPlatformDownload
0.12012-05-19AnyDownload (12607 bytes)
0.22012-05-20AnyDownload (15125 bytes)
0.2.12012-05-27AnyDownload (15185 bytes)
0.3.12012-06-25AnyDownload (15803 bytes)
0.3.22012-07-26AnyDownload (15967 bytes)
0.42013-05-08AnyDownload (18615 bytes)
0.4.12013-06-26AnyDownload (18641 bytes)
0.4.22014-09-28AnyDownload (7686 bytes)
Required libraries

The list below is just for information; Zero Install will automatically download any required libraries for you.