一旦创建了一个源包(全新的或者仅仅是升级/bug修正),您可能希望发布自己的包,好让其他人也能分享自己的辛勤劳动。对于 Ubuntu,最有效的方法是把您做的包提交到 Universe 仓库。这些负责 Universe 仓库的社区开发者被称为万物之主(Masters of the Universe,姑且译成这种有趣的说法 :P)(MOTU)。REVU 是个基于 WEB 的工具,为大家提供了一个可上传自己的源包的场所,以便让他人查阅,供 MOTU 们审核。
First, you will need to have your GPG Key added to the REVU keyring. This step ensures that your packages really come from you and helps track uploads.
To add your key, send a signed email with your GnuPG
key ID asking to be added to the REVU keyring to
(keyring AT tiber.tauware.de)
. One of the REVU admins will
add you to the uploaders keyring and reply to your email. You don't
need a password to upload packages, only to log in to the website and
to reply to comments.
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.
构建了源码包后,使用dput _source.changes
上传。_source.changes
在构建源码包同时生成。
dput revu *_source.changes
If you are reuploading a changed package (after receiving reviews), you may get an error like this:
上传到revu↵ 已经在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.