-
Notifications
You must be signed in to change notification settings - Fork 8
API Changes 2.0
$ curl -F"package=@package.tar.gz;type=application/x-tar-gz" http://repoman.example.com/repository/myotherrepo
$ curl -X PUT -F"package=@package.tar.gz;type=application/x-tar-gz" http://repoman.example.com/repository/myotherrepo
$ curl -X POST http://repoman.example.com/repository/myotherrepo/digg-example/copy?dstdist=anotherrepo
$ curl -X POST —data “action=copy&srcdist=sourcerepo&package=examplepkg” http://repoman.example.com/repository/targetrepo
Has been replaced with buildbot.environments dict. Example:
{
"buildbot": {
"environments": {
"stable": "/etc/pbuilder/pbuilderrc-stable",
"testing": "/etc/pbuilder/pbuilderrc-testing",
"unstable": "/etc/pbuilder/pbuilderrc-unstable"
}
}
The buildbot defaults to environment=stable. To select a different build environment, pass an environment=testing POST parameter to /buildbot/
Automatically copy the old version of a package to a backup dist upon upgrade. The following example causes replaced packages in example-stable-lenny to be copied to example-backup-lenny.
{
"repository":
"backup": {
"example-stable-lenny": "example-backup-lenny"
}
}
This option also introduces a new API action:
$ curl -X POST —data “action=rollback&package=examplepkg” http://repoman.example.com/repository/example-stable-lenny