Automating DE processes
The DE workflow is (roughly) :
- Developer branches package from P:DE:Trunk
- Developer submits package to P:DE:Trunk:Testing
- Boss runs checks on package
- Boss creates branch of P:DE:Trunk
- Boss submits package(s) to new branch
Later:
- Boss rejects package
or
- Boss notifies maintainers that checks passed
Then:
- Package is accepted to P:DE:Trunk by a maintainer
- bz is updated
BOSS Checks
BOSS runs the following checks (and stops as soon as one fails)
To be done:
- changelog in proper format
- tarball not changed within same package version
- executing spectacle doesn't change anything if .yaml present
Bug Lifecycle
The DE bug lifecycle is (roughly):
- 'open' -> FIXED -> RELEASED -> VERIFIED
- Developer starts working on the bug/feature and sets to ASSIGNED
- Developer submits package to P:DE:Trunk:Testing and documents changelog and/or commit properly (fixes bmc #1234;) - if changelog doesn't have a valid bug/feature reference the request MUST fail but we do not document the failure in the bug report
- Bugzilla records the commit message with link to the repo and timestamp
- Package is accepted to P:DE:Trunk (manual for now....)
- Bugzilla records acceptance with comment and bug status is automatically changed to FIXED if bug is still in OPEN status (New, assigned, needinfo, reopened, waiting)
- If bug is already in FIXED resolution, only acceptance comment is written in the bug report
- If bug is not in OPEN status (New, assigned, needinfo, reopened, waiting) or resolved FIXED (eg. duplicate, wontfix, etc... or verified or closed) the request MUST fail but we do not document the failure in the bug report
Later:
- Release is triggered
- Bug status is automatically changed to RELEASED, a comment with a link to the image is created and the Target Build value is set to match appropriate release
Later still:
- QA review the release and for each bug marked RELEASED, either change to VERIFIED or re-open
Note that eventually, both FIXED and RELEASED statuses would require specific credentials to be modified.