From bb8fed2ae5d157e1a927525bd7c877371bf8b4a8 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 9 Nov 2025 19:07:41 +0000 Subject: [PATCH 1/5] Initial plan From 4c00819638a5e99e455385b0b413819819e90ea4 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 9 Nov 2025 19:11:59 +0000 Subject: [PATCH 2/5] feat: Add release-please workflow for automated releases Co-authored-by: chenpeizhi <8114085+chenpeizhi@users.noreply.github.com> --- .github/workflows/release-please.yml | 20 ++++++++++++++++++++ .release-please-manifest.json | 3 +++ CHANGELOG.md | 10 ++++++++++ release-please-config.json | 16 ++++++++++++++++ 4 files changed, 49 insertions(+) create mode 100644 .github/workflows/release-please.yml create mode 100644 .release-please-manifest.json create mode 100644 CHANGELOG.md create mode 100644 release-please-config.json diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml new file mode 100644 index 0000000..7eb2adf --- /dev/null +++ b/.github/workflows/release-please.yml @@ -0,0 +1,20 @@ +name: Release Please + +on: + push: + branches: + - master + +permissions: + contents: write + pull-requests: write + +jobs: + release-please: + runs-on: ubuntu-latest + steps: + - uses: googleapis/release-please-action@v4 + with: + # This should be a GitHub secret containing a PAT with repo scope + # Falls back to GITHUB_TOKEN if not set + token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.release-please-manifest.json b/.release-please-manifest.json new file mode 100644 index 0000000..466df71 --- /dev/null +++ b/.release-please-manifest.json @@ -0,0 +1,3 @@ +{ + ".": "0.1.0" +} diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..d739a62 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,10 @@ +# Changelog + +## 0.1.0 (Initial Release) + +### Features + +* Initial release of libcanon +* C++ library for canonicalizing combinatorial objects +* Support for string canonicalization +* Support for edge-labelled directed acyclic graphs (ELDAG) canonicalization diff --git a/release-please-config.json b/release-please-config.json new file mode 100644 index 0000000..79fe1f5 --- /dev/null +++ b/release-please-config.json @@ -0,0 +1,16 @@ +{ + "packages": { + ".": { + "release-type": "simple", + "package-name": "libcanon", + "changelog-path": "CHANGELOG.md", + "extra-files": [ + { + "type": "generic", + "path": "CMakeLists.txt", + "glob": false + } + ] + } + } +} From cec1ae60d9b46c70ce910ec7aed8aa7257e4a7f1 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 9 Nov 2025 19:13:06 +0000 Subject: [PATCH 3/5] docs: Add release management section to README Co-authored-by: chenpeizhi <8114085+chenpeizhi@users.noreply.github.com> --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 7e3d0c3..a737a27 100644 --- a/README.md +++ b/README.md @@ -36,3 +36,10 @@ University to be used in the symbolic tensorial algebra system Center for the Computational Design of Functional Layered Materials, an Energy Frontier Research Center funded by the U.S. Department of Energy, Office of Science, Basic Energy Sciences under Award DE-SC0012575. + +## Releases + +This project uses [release-please](https://github.com/googleapis/release-please) +for automated release management. Releases are automatically created when changes +are merged to the master branch following [Conventional Commits](https://www.conventionalcommits.org/) +format. The CHANGELOG is automatically maintained based on commit messages. From 9f783a5b01243c8c517e55cd73207227f82e05c9 Mon Sep 17 00:00:00 2001 From: Guo Chen Date: Sun, 9 Nov 2025 14:38:54 -0600 Subject: [PATCH 4/5] Update CHANGELOG and README --- CHANGELOG.md | 7 ++----- README.md | 27 ++++++++++++++++----------- 2 files changed, 18 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d739a62..1720359 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,7 @@ # Changelog -## 0.1.0 (Initial Release) +## 0.1.0 ### Features -* Initial release of libcanon -* C++ library for canonicalizing combinatorial objects -* Support for string canonicalization -* Support for edge-labelled directed acyclic graphs (ELDAG) canonicalization +* Use GitHub Actions instead of CircleCI for CI diff --git a/README.md b/README.md index a737a27..947b491 100644 --- a/README.md +++ b/README.md @@ -29,17 +29,22 @@ each internal node. Canonicalization of normal directed and undirected graphs can also be reduced to ELDAG canonicalized. Actual direct support of plain graph canonicalization is to be implemented. +## Releases -Libcanon is developed by Jinmo Zhao and Prof Gustavo E Scuseria at Rice -University to be used in the symbolic tensorial algebra system -[drudge](https://github.com/tschijnmo/drudge). It was supported as part of the -Center for the Computational Design of Functional Layered Materials, an Energy -Frontier Research Center funded by the U.S. Department of Energy, Office of -Science, Basic Energy Sciences under Award DE-SC0012575. +This project uses +[release-please](https://github.com/googleapis/release-please) for automated +release management. Releases are automatically created when changes are merged +to the master branch following [Conventional +Commits](https://www.conventionalcommits.org/) format. The CHANGELOG is +automatically maintained based on commit messages. -## Releases +## Acknowledgments + +Libcanon was developed by Jinmo Zhao at Rice University, under the supervision +of Prof. Gustavo E. Scuseria, as a component of the symbolic tensorial algebra +system [drudge](https://github.com/DrudgeCAS/drudge). It was supported as part +of the Center for the Computational Design of Functional Layered Materials, an +Energy Frontier Research Center funded by the U.S. Department of Energy, +Office of Science, Basic Energy Sciences under Award DE-SC0012575. The package +is currently maintained by Guo P. Chen and other members of the Scueria group. -This project uses [release-please](https://github.com/googleapis/release-please) -for automated release management. Releases are automatically created when changes -are merged to the master branch following [Conventional Commits](https://www.conventionalcommits.org/) -format. The CHANGELOG is automatically maintained based on commit messages. From b7233d3c2e5a350f95a18f5f80f1418e9b223bc5 Mon Sep 17 00:00:00 2001 From: "Guo P. Chen" Date: Sun, 9 Nov 2025 14:42:56 -0600 Subject: [PATCH 5/5] Update README.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 947b491..a562c9b 100644 --- a/README.md +++ b/README.md @@ -46,5 +46,5 @@ system [drudge](https://github.com/DrudgeCAS/drudge). It was supported as part of the Center for the Computational Design of Functional Layered Materials, an Energy Frontier Research Center funded by the U.S. Department of Energy, Office of Science, Basic Energy Sciences under Award DE-SC0012575. The package -is currently maintained by Guo P. Chen and other members of the Scueria group. +is currently maintained by Guo P. Chen and other members of the Scuseria group.