Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/TagBot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- GraphNeuralNetworks
- GNNLux
steps:
- uses: JuliaRegistries/TagBot@87cc4cc2b4639f6c743f5772f376a32914060732 # v1.25.15
- uses: JuliaRegistries/TagBot@a761b867f05e7e410011ab16b244f2fffec16c85 # v1.26.1
with:
subdir: ${{ matrix.subdir }}
token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -36,4 +36,6 @@ jobs:
# See: https://github.com/JuliaRegistries/TagBot#commits-that-modify-workflow-files
ssh: ${{ secrets.DOCUMENTER_KEY }}
# ssh: ${{ secrets.NAME_OF_MY_SSH_PRIVATE_KEY_SECRET }}
# changelog_format: github # 'custom' (default), 'github', or 'conventional'
# Keep the default `custom` changelog format: with `subdir` it lists only
# the PRs that changed files in that package's folder. The `github`
# format can't filter by path and would list every PR in the repo.
1 change: 1 addition & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,5 @@ Layers typically implement their forward pass via `propagate(fmsg, g, aggr; xi,
- **Mooncake** and **SimpleWeightedGraphs** support are also extensions; keep them optional.
- **Versioning**: each PR should bump the `version` in the `Project.toml` of every affected package per semver, using a `-DEV` suffix for unreleased changes (e.g. `1.18.0-DEV`), and update inter-package `[compat]` bounds when a frontend needs newer GNNGraphs/GNNlib.
- **Changelog**: do **not** edit `CHANGELOG.md` in feature or bug-fix PRs. It is maintained separately, because concurrent PRs editing the same section conflict and force constant rebases. Describe user-facing changes clearly in the PR description instead, so they can be carried over. When explicitly asked to update the changelog: it is a single repo-wide timeline (most recent first) with each release headed `## <Package>.jl <version> - <date>`, in [Keep a Changelog](https://keepachangelog.com/) style. Add user-facing changes (new feature, bug fix, deprecation, or compat relaxation) under the package's latest `-DEV` heading, linking each PR (`[#NNN]` reference at the bottom of the file), and skip purely internal churn (tests, CI, docs, refactors). When tagging a release, turn the package's `-DEV` heading into a dated `<version> - YYYY-MM-DD` heading placed at the top of the timeline.
- **Releases**: a release commit bumps the package's `version` (dropping `-DEV`) and dates its `CHANGELOG.md` heading, then is registered with `@JuliaRegistrator register subdir=<Package>`. TagBot (`.github/workflows/TagBot.yml`, one matrix job per package) tags that commit `<Package>-vX.Y.Z` and creates a GitHub release listing only the merged PRs that changed files under `<Package>/` (closed issues are not listed). Package labels on issues and PRs are therefore not needed for release notes. Keep TagBot's default `custom` changelog format: the `github` format is not filtered by path.
- Follow the `[workspace]` dev model; do not rewire packages to local paths outside the repo.
10 changes: 9 additions & 1 deletion GraphNeuralNetworks/docs/src/dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,17 @@ end
```

## Versions and Tagging
Each PR should update the version number in the Project.toml file of each involved package if needed by semnatic versioning. For instance, when adding new features GNNGraphs could move from "1.17.5" to "1.18.0-DEV". The "DEV" will be removed when the package is tagged and released. Pay also attention to updating
Each PR should update the version number in the Project.toml file of each involved package if needed by semantic versioning. For instance, when adding new features GNNGraphs could move from "1.17.5" to "1.18.0-DEV". The "DEV" will be removed when the package is tagged and released. Pay also attention to updating
the compat bounds, e.g. GraphNeuralNetworks might require a newer version of GNNGraphs.

Each package is released separately. A release commit removes the "DEV" suffix from the package's version and dates its section in `CHANGELOG.md`. Then comment on that commit with
```
@JuliaRegistrator register subdir=GNNGraphs
Release notes: see the CHANGELOG
```
(replacing `GNNGraphs` with the package being released). Once the registration is merged, [TagBot](https://github.com/JuliaRegistries/TagBot) tags the commit as `GNNGraphs-vX.Y.Z` and creates a GitHub release. Its notes list only the pull requests that changed files in the package's folder, so issues and pull requests don't need package labels.

## Generate Documentation Locally
Each package has its own documentation folder, e.g. `GNNGraphs/docs`. To generate the docs locally, run the following command from the root of the repository:

Expand Down
Loading