ceph / merfi

Finds and signs files with different signing tools (gpg, rpm-sign)
MIT License
3 stars 3 forks source link

rpm-sign's --keyfile should create `release.asc` files #14

Closed ktdreyer closed 9 years ago

ktdreyer commented 9 years ago

Until Ceph's ice_setup can be smarter about handling GPG public keys on an ISO...

We need to make merfi rpm-sign's --keyfile parameter to drop a release.asc file into each repository's root.

In order to find each repository in a tree, the criteria should be:

  1. Examine each directory in the tree,
  2. Does directory contain two subdirectories: dists, and pool ? If so, then it is a Debian repository.
  3. Does directory contain a subdirectory repodata ? If so, then it is an RPM repository.
  4. ...Otherwise, directory is not a repository.