Uma vez criado um pacote fonte (quer seja um novo pacote ou apenas um com correcções), vai querer distribuí-lo para que outras pessoas possam disfrutar do seu trabalho. A forma mais eficiente de o fazer para o Ubuntu é contribuir com o seu pacote para o repositório Universal (Universe). A comunidade de desenvolvimento que é responsável pelo repositório Universal é conhecida como Masters of the Universe (MOTU). O REVU é uma ferramenta assente na web que oferece às pessoas um local para transferirem as suas contribuições de pacotes fonte para que outros os possam verificar e para que os MOTUs os possam rever de uma forma estruturada.
Primeiro precisa da sua Chave GPG adicionada ao porta-chaves REVU. Isto assegurará no futuro a proveniência dos pacotes e permitirá efectuar uma gestão mais cuidada das contribuições.
Para adicionar a sua chave, envie um e-mail assinado com o seu ID da sua chave GnuPG pedindo para ser adicionado ao porta chaves da REVU para o mail (keyring AT tiber.tauware.de)
. Um dos administradores do REVU irá adicioná-lo ao grupo dos contribuidores e responderá ao seu e-mail. Não necessitará de uma palavra passe para transferir os seus pacotes, apenas para se registar no site e responder aos comentários.
It is not necessary to have your key signed by others to upload to REVU, but it is a good idea to have it done at some point.
Uploading to REVU uses dput. The Ubuntu version of dput already knows about REVU so you do not need to change any configuration files. Only upload signed packages, and unlike other repositories, you should always include the original tarball, otherwise reviewers will not be able to look at your extracted source package. In order to do so, use the options "-S -sa" with debuild or dpkg-buildpackage to build only the source package and to include the original source in the upload.
After the source package is built, you can use
dput with the above config file changes to
upload it by specifying just the _source.changes
file that was created:
dput revu *_source.changes
If you are reuploading a changed package (after receiving reviews), you may get an error like this:
Upload package to host revu Already uploaded to tauware.de Doing nothing for myapp_source.changes
To fix, add the -f option to dput to force the upload or remove the
.upload
file that was created by
dput.
Processing of uploads is done every five minutes, so if your upload does not show up, please contact the REVU administrators by email, or join the Freenode IRC channel #ubuntu-motu.
After your first upload, you are registered automatically in the database and assigned a random password. On the REVU website, use the email address you used in the changelog file of your upload as the login and click the 'recover password' link. You will be taken to a page that has your encrypted password with instructions for decrypting it.
Packages uploaded to REVU are public. You can browse them without logging in to the system. However, commenting on uploads is available only to registered users. As an uploader, you can only comment on your own uploads. This can be useful to give reviewers some info on the changes you have made between two uploads of your packages.
You must have reviewed the package for known security vulnerabilities and must provide patches for them.
The package can be refused on the grounds of known security problems.
You must have included a copyright and license file, and those must allow inclusion of the package in the Universe component and redistribution via Ubuntu mirrors.
The package must be known to build on top of the main component of the current Ubuntu stable release. It is permissible to require other packages already in Universe.