ceph/merfi

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

Closed this issue · 0 comments

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.