#1927 koji-gc has no documentation
Closed: Fixed by tkopecek. Opened by kevin.

It would be nice if there was at least some docs on koji-gc rather than having to look at the script.

koji-gc is a script to assist you with removing old content that you no longer wish to store. It only acts on the build artifacts and logs, not the database. (ie, there would still be a record of the build, but no artifacts to download).

koji-gc has 4 'actions'

  • prune: builds are untagged after a threshold according to policy of the tag(s) they are in.
  • trash: builds with no tags for a threshold time are tagged into the 'trashcan' tag
  • delete: builds that have been in the 'trashcan' tag for over the threshold time, and haven't since been tagged into other tags, are untagged from 'tashcan' and build artifacts are deleted.
  • salvage: builds that are in the trashcan time that have been tagged into another tag are untagged from trashcan

Might talk about the koji-gc policy file as well.

Thanks!


Metadata Update from @tkopecek:
- Custom field Size adjusted to None
- Issue set to the milestone: 1.21

Metadata Update from @tkopecek:
- Issue tagged with: doc

PR #1935

Metadata Update from @jcupova:
- Issue tagged with: no_qe

Metadata Update from @tkopecek:
- Issue set to the milestone: 1.20.1 (was: 1.21)

Commit c3a12ba7 fixes this issue

Commit 8e80c627 fixes this issue

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/koji/koji/issues/1927

Please continue any further discussion there.

Metadata
Related Pull Requests