Skip to content

docs: add community files and security policy - #243

Merged
uniqueg merged 2 commits into
devfrom
docs/community-files-security
Oct 23, 2026
Merged

uniqueg merged 2 commits into
devfrom
docs/community-files-security

Conversation

@uniqueg

@uniqueg uniqueg commented Oct 23, 2026 •

Copy link
Copy Markdown
Member

Closes #211.
Closes #232.

Supersedes #222, which was based on a dev from before the docs migration (#228) and the shared checks (#231) and would have needed a full rebase; this PR starts afresh from the current dev and takes its content.

Summary

The community files now follow Cloud Registry (elixir-cloud-aai/cloud-registry#146, elixir-cloud-aai/cloud-registry#175; elixir-cloud-aai/foca#346), adapted to proTES:

  • CODE_OF_CONDUCT.md: Contributor Covenant 3.0 (was 1.4), reports to the Community Moderators of ELIXIR On-Cloud at [email protected]; byte-identical to Cloud Registry's.
  • CONTRIBUTING.md: short, as in Cloud Registry (issues first, branch off dev, squash merges, Conventional Commits titles of at most 50 characters, 100% coverage, docstrings, type hints, pre-commit), linking to the "Contributing" page of the docs.
  • docs/contributing.md: replaces the stub of the docs migration with Cloud Registry's page (workflow, commit types, Python guidelines, documentation). Adapted: pro_tes/, coverage of pro_tes only (no scripts/ yet), and the Python version line, which now says what proTES supports: Python 3.10 or later (requires-python), with CI testing 3.10 and the image's 3.12 (docs: add code of conduct and contributing guide #222 said "3.13 only"; first "3.10 to 3.12" here, corrected after Sourcery's review). The rule set, mypy settings and further checks described match proTES's pyproject.toml and .pre-commit-config.yaml (from style: adopt the shared ruff, mypy and pre-commit #231).
  • SECURITY.md (docs: add a security policy #232): Cloud Registry's policy with proTES's links: private reports through GitHub's private vulnerability reporting (enabled) or by email to [email protected], what to include, supported versions (latest minor version, fixes on dev), handling (best effort, coordinated disclosure via GitHub security advisories, credit), scope (code, images, Helm chart). Linked from CONTRIBUTING.md and the Contributing page.
  • Removed PULL_REQUEST_TEMPLATE.md, .github/ISSUE_TEMPLATE/ (the templates come from the organization's .github repository) and contributors.md (GitHub lists the contributors).

The Contributing page already says that main only moves forward to released commits, as in Cloud Registry; the release workflow and the "Versioning and releases" details for that come with #230 (#44).

Light lane

Light lane: documentation and community files only.

Verification

  • pre-commit run --all-files: all hooks pass.
  • mkdocs build --strict: passes (links and anchors of the new page checked).
  • cmp CODE_OF_CONDUCT.md with Cloud Registry's: identical; diff of the other files with Cloud Registry's shows only the adaptations listed above.
  • git grep finds no references to the removed files.
  • CI: all checks pass; Sourcery's one finding (Python version range) fixed and resolved.

🤖 Generated with Claude Code

Adopt the community files of Cloud Registry, adapted to proTES:

- CODE_OF_CONDUCT.md: Contributor Covenant 3.0 (was 1.4), with reports
  to the Community Moderators of ELIXIR On-Cloud.
- CONTRIBUTING.md: short, linking to the Contributing page of the docs.
- docs/contributing.md: workflow, Conventional Commits and the Python
  guidelines (Python 3.10 to 3.12, as in pyproject.toml and CI).
- SECURITY.md: private reports through GitHub's private vulnerability
  reporting or by email, supported versions, handling and scope; linked
  from both contributing guides.

Remove the repository's issue and pull request templates (they come
from the organization's .github repository) and contributors.md
(GitHub lists the contributors).

Supersedes #222.

Closes #211.
Closes #232.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@sourcery-ai

sourcery-ai Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Reviewer's Guide

This documentation-only PR aligns proTES community files with the ELIXIR On-Cloud conventions, adds a security vulnerability policy, expands contributor guidance to match the current tooling and workflow, and removes redundant repository-local templates and contributor tracking.

Sequence diagram for private vulnerability reporting

sequenceDiagram
    actor Reporter
    participant GitHub
    participant Maintainers
    participant Advisory

    Reporter->>GitHub: Report through private vulnerability reporting
    Reporter->>Maintainers: Email [email protected]
    Reporter->>Maintainers: Include version, configuration, reproduction steps, and impact
    Maintainers->>Maintainers: Acknowledge, assess, and develop a fix privately
    Maintainers->>Advisory: Publish a coordinated security advisory
    Advisory-->>Reporter: Credit reporter when requested
Loading

Flow diagram for the proTES contribution workflow

flowchart TD
    Issue[Find or open an issue] --> Agree[Agree on the approach]
    Agree --> Branch[Create a feature branch from dev]
    Branch --> PR[Open a pull request against dev]
    PR --> Review[Review and checks pass]
    Review --> Merge[Squash-merge into dev]
Loading

File-Level Changes

Change Details Files
Refresh project community guidance and contributor onboarding to align with the ELIXIR On-Cloud/Cloud Registry model.
  • Upgrade the Code of Conduct to Contributor Covenant 3.0 and route reports to ELIXIR On-Cloud Community Moderators.
  • Replace the root contribution guide with concise workflow and policy links, while expanding the documentation contribution page with issue, branch, PR, commit, Python, testing, and documentation practices.
  • Link the new security policy from contributor entry points.
CODE_OF_CONDUCT.md
CONTRIBUTING.md
docs/contributing.md
Add a repository security policy describing reporting, support, handling, and scope.
  • Enable private vulnerability reporting and provide an email reporting channel with required report details.
  • Document supported release versions, best-effort coordinated disclosure, crediting, and coverage of code, images, and the Helm chart.
SECURITY.md
Remove repository-local files that are now provided centrally or maintained by GitHub.
  • Delete local pull request and issue templates because they come from the organization-level repository.
  • Remove the manually maintained contributors list in favor of GitHub's contributor listing.
PULL_REQUEST_TEMPLATE.md
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
contributors.md

Assessment against linked issues

Issue Objective Addressed Explanation
#211 Replace the outdated code of conduct with Contributor Covenant 3.0 and direct reports to the Community Moderators of ELIXIR On-Cloud at [email protected]. ✅
#211 Add a concise CONTRIBUTING guide and a detailed documentation page covering the project's contribution workflow and Python guidelines. ✅
#211 Remove repository-level issue and pull request templates and the hand-maintained contributors.md file. ✅
#232 Add a root-level, concise security policy explaining private reporting routes, information to include, supported versions, response and coordinated-disclosure expectations, reporter credit, and the policy’s scope. ✅
#232 Enable GitHub private vulnerability reporting for the repository. ✅
#232 Link to the security policy from the project documentation and use wording aligned with the other ELIXIR On-Cloud repositories. ✅

Possibly linked issues


Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@uniqueg
uniqueg marked this pull request as ready for review October 23, 2026 02:20
@codecov

codecov Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (46d3bc9) to head (b5621bf).
⚠️ Report is 1 commits behind head on dev.

Additional details and impacted files
@@            Coverage Diff            @@
##               dev      #243   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           19        19           
  Lines          900       900           
=========================================
  Hits           900       900           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

sourcery-ai[bot]
sourcery-ai Bot previously approved these changes Oct 23, 2026

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've found 1 issue

Prompt for AI Agents
Please address the comments from this code review:

## Individual Comments

### Comment 1
<location path="docs/contributing.md" line_range="108" />
<code_context>
+
+## Python guidelines
+
+The app supports Python 3.10 to 3.12 (`requires-python` and the classifiers
+in `pyproject.toml`); CI tests the oldest version and that of the image (3.10
+and 3.12).
</code_context>
<issue_to_address>
**Python support signals conflict**

When a user checks whether Python 3.13 or later is supported, the guide says support stops at 3.12 while `requires-python = ">=3.10"` permits installs on Python 3.13 and later, so users see conflicting compatibility signals.

Align the guide with the unbounded `requires-python` declaration, or add an upper bound there if support is intended to stop at 3.12.
</issue_to_address>

Sourcery assessment

Approved.


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

Comment thread docs/contributing.md Resolved
Say "3.10 or later", as requires-python does, instead of an upper
bound that pyproject.toml does not set (Sourcery review).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@sourcery-ai
sourcery-ai Bot dismissed their stale review October 23, 2026 02:32

Sourcery withdrew this approval because the latest commits introduced blocking findings.

@uniqueg
uniqueg merged commit 6121f7c into dev Oct 23, 2026
14 checks passed
@uniqueg
uniqueg deleted the docs/community-files-security branch October 23, 2026 02:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: add a security policy docs: add code of conduct and contributing guide

1 participant