Cloudy packages repository

From Guifi.net - English Wiki

Revision as of 16:44, 15 September 2015 by Conxuro (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Note: this article may be outdated and should be revised. Be careful if you try to follow this guide, and better if you ask in the mailing lists first.


Upload packages to Cloudy software repository (Clommunity project)

We are ready to upload packages to the Cloudy public repository http://repo.clommunity-project.eu.

Here we request public keys to allow to upload packages and sign them. You can for sure, edit the scripts and change the paths to your needs.

The repository is auto-signed now with a repository key name "gcodis Distro Development Team", more info in the repository itself: http://repo.clommunity-project.eu. Auto-signing prevents that the repository remain not signed if anyone uploads unsigned packages. One signature for the repository, which is added in the client side to allow the installation of the distro, and another signature which depends on the maintainer or developer for signing the package are used. Each developer is responsible to maintain her keys safe.


Public keys

To upload packages we need to get your public keys:

  • The ID of the GPG public key, uploaded to gpg.mit.edu. With this key you will sign the uploads.
  • The public SSH key, to access to upload packages. Needed to access to the remote repository machine.

The packages are uploaded to the unstable branch by default (use the package changelog for that). We use the dput Debian tool to upload packages and sign them. The repository is auto-signed with another key.

You can send the public keys or IDs to the project mailing list clommunity-wp4. This way we have access to public keys when required.


Files

The provided configuration file is:

  • .dput.cf is a configuration file which have to be copied to your home directory as ~/.dput.cf. Used for uploading packages with the dput Debian tool.

[repo.clommunity-project.eu]
fqdn = repo.clommunity-project.eu
method = scp
login = repo
incoming = /var/www/debian/mini-dinstall/incoming
post_upload_command = ssh repo@repo.clommunity-project.eu "mini-dinstall -b"


Building packages

Take a look to some manners to build packages at http://www.debian.org/doc/manuals/maint-guide/build.en.html.


Uploading packages

You can use the dput command in the following manner:

$ dput repo.clommunity-project.eu cloudy-base_0.1.3.5_i386.changes

Remember to save the previous ~/.dput.cf file in your $HOME dir.

It's important to write the repository name (repo.clommunity-project.eu).


Continuous improvements

The repository is improving to better working when needed to give a better service.

Thank you by your efforts.

Personal tools