-
Task
-
Resolution: Done
-
Undefined
-
None
-
8
Goal:
- Snapshot RH repos
Acceptance Criteria:
- Update repositories api to return RH repos if origin includes RedHat or is not specified
- Red hat repos would have a repo config created in a special org (-1)
- Users would not be able to edit, delete, introspect, or snapshot Red Hat Repos
- Users would be able to fetch, list rpms of, list snapshots of, and rpm name search red hat repos.
- Add ability to filter the repositories api by 'type' (should just be yum for now, this can be a dumb filter that doesn't really do much right now)
- Ensure a user can't snapshot a custom Red Hat repository as a custom repo (snapshotting should fail because it requires a client cert)
- Update 'load-external-repos' to load a json file similar to the current external_repos.json
- Update the nightly cron job to snapshot RH repos (if its already snapshotting)
- Just snapshot the same cdn.redhat.com ones as are in external repos for now