Skip to content
David Kang edited this page Jun 11, 2020 · 2 revisions
  • A Flag is an on/off switch for something. Like
    • allow (status=enable) publishing (flag=publish) for the Architecture x86_64 (architecture_id=1)
    • do not (status=disable) build (flag=build) for a specific Repository (repo=openSUSE_Tumbleweed)
    • allow (status=enable) building (flag=build) for a specific Repository (repo=openSUSE_Tumbleweed) in the Architecture x86_64 (architecture_id=1)
  • More specific Flags overwrite unspecific flags. In the example above the third Flag overwrites the second.
  • Flags have global defaults (FlagHelper::TYPES)

Project

  • A Project can have many Flags
  • If a Project does not have a Flag for a specific thing, the global default is taken.

Package

  • A Package can have many Flags
  • If a Package does not have a Flag for a specific thing, the Flags of its Project are taken into account.
Clone this wiki locally