Repository navigation
chore: add CODEOWNERS, CITATION and Dependabot - #53
Conversation
Code owners, citation metadata (no version before the first release) and Dependabot for the app's and the updater's packages, the base images and the actions, as in the org's other repos. A Lint job validates the citation metadata; more checks follow with #38. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Reviewer's GuideThis PR adds maintainer ownership and pre-release citation metadata, configures grouped monthly Dependabot updates for application, updater, actions, and Docker dependencies with compatibility exclusions, and integrates citation validation into CI as a required gate and prerequisite for publishing. Flow diagram for citation validation in CIflowchart TD
PR[Pull request or push to dev] --> CI[CI workflow]
CI --> Lint[Lint job]
Lint --> Validate[Validate citation metadata]
Validate --> Gate[passed gate]
Gate --> Publish[Publish and release jobs]
File-Level Changes
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
pytest 9 and coverage 7.11 need Python 3.10, but the tests run in the FOCA 0.7 image with Python 3.9. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #53 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 7 7
Lines 669 669
=========================================
Hits 669 669 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
setuptools 82 has no pkg_resources, which connexion 2 of the FOCA 0.7 image imports, and 84 needs Python 3.10. Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was a problem hiding this comment.
Hey - I've found 1 issue
Prompt for AI Agents
Please address the comments from this code review:
## Individual Comments
### Comment 1
<location path=".github/dependabot.yml" line_range="13" />
<code_context>
+ directory: /
+ schedule:
+ interval: monthly
+ target-branch: dev
+ ignore:
+ # FOCA is bumped by hand, together with the base image (see the `docker`
</code_context>
<issue_to_address>
**Security updates skip CI**
When dependabot opens a security-update PR against the default branch `main`, the CI workflow only runs for pull requests targeting `dev`, so the PR receives no title check, tests, lint, or `passed` gate and can be merged without this repository’s validation.
Update the CI workflow to run its checks for security-update PRs targeting `main` as well as PRs targeting `dev`.
Also at `.github/dependabot.yml:4`, `.github/dependabot.yml:32`, `.github/dependabot.yml:43`, `.github/dependabot.yml:52`.
</issue_to_address>Linked issues
#48 chore: add CODEOWNERS, CITATION and Dependabot · 4 of 4 met
| # | Requirement | Status | Notes |
|---|---|---|---|
| 1 | Add CODEOWNERS with * @uniqueg @akash2237778 and the cloud-registry header. |
✅ Met | .github/CODEOWNERS has the requested header and catch-all owners. |
| 2 | Add citation metadata with authors from the project history and README, and no version before the first release. | ✅ Met | CITATION.cff lists the authors and contains no version. |
| 3 | Configure monthly, grouped Dependabot updates targeting dev for the repository's ecosystems, adding pre-commit when it exists. |
✅ Met | The config covers pip for the app and updater, GitHub Actions, and Docker; no pre-commit configuration is present. |
| 4 | Have CI validate CITATION.cff. |
✅ Met | The Lint job runs cffconvert validation, and the job is included in the CI gate. |
Sourcery assessment
Approval pending. 1 finding to address first.
Blocking findings: .github/dependabot.yml:13
Sourcery withdrew this approval because the latest commits introduced blocking findings.
Summary
Closes #48 (part of #51).
.github/CODEOWNERS:* @uniqueg @akash2237778, with cloud-registry's header.CITATION.cffas in cloud-registry and proTES: authors by lines committed (Akash Saini, Alexander Kanitz, Alvaro Gonzalez, Kostis Zagganas); no version or DOI before the first release..github/dependabot.ymlas in cloud-registry: targetdev, monthly, grouped;pipfor the app (FOCA ignored: bumped by hand with the base image) and for the updater,github-actions,dockerfor both Dockerfiles (FOCA base image ignored). pytest 9 and coverage 7.11 are ignored, as they need Python 3.10 and the tests run in the FOCA 0.7 image with Python 3.9 (this makes build(deps-dev): bump pytest from 8.4.2 to 9.0.3 #52 moot); setuptools 81 and later are ignored too, as 82 lackspkg_resources, which connexion 2 imports, and 84 needs Python 3.10 (this makes build(deps): bump setuptools from 46.4.0 to 84.1.0 #47 moot).pipbecomesuvwith ci: add lint, type checks and pyproject.toml #38; the docs PR (docs: set up documentation on Read the Docs #40) addsgitsubmodule.Lintjob that validatesCITATION.cff(cffconvert 2.0.0, as in cloud-registry), part of the gate; more checks follow with ci: add lint, type checks and pyproject.toml #38.Light lane: metadata and configuration, plus a CI job without secrets or permissions.
How it was verified
cffconvert --validate -i CITATION.cff: valid (schema 1.2.0).check-jsonschema --builtin-schema vendor.dependabot .github/dependabot.yml: ok.actionlint .github/workflows/ci.yml: no findings.🤖 Generated with Claude Code
Summary by Sourcery
Add repository metadata and automated dependency maintenance while enforcing citation validation in CI.
New Features:
Enhancements:
CI: