From 4638016c3f12783a695c80d98343588ecf21f389 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Wed, 25 Feb 2026 09:12:15 +0100 Subject: [PATCH] chore: update project metadata and copyright years Update author to Mergify Team, add PyPI classifiers, keywords, and project URLs. Refresh README with installation/usage sections. Bump copyright headers from 2021-2024 to 2021-2026. Co-Authored-By: Claude Opus 4.6 Change-Id: I3f953838f7fe3277a817458fdcd34b95f4eaa216 Claude-Session-Id: d563f32f-6c3e-4718-be13-3ce3098d89fa --- README.md | 42 +++++++++++++++---- mergify_cli/__init__.py | 2 +- mergify_cli/_globals.py | 2 +- mergify_cli/cli.py | 2 +- mergify_cli/stack/changes.py | 2 +- .../stack/hooks/scripts/prepare-commit-msg.sh | 2 +- mergify_cli/stack/push.py | 2 +- mergify_cli/stack/setup.py | 2 +- mergify_cli/tests/conftest.py | 2 +- mergify_cli/tests/stack/test_push.py | 2 +- mergify_cli/tests/test_utils.py | 2 +- mergify_cli/tests/utils.py | 2 +- mergify_cli/utils.py | 2 +- pyproject.toml | 23 +++++++++- 14 files changed, 66 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index 050c6ca5..7ba3e899 100644 --- a/README.md +++ b/README.md @@ -1,24 +1,48 @@ # Mergify CLI -## Introduction +Mergify CLI is a tool that automates the creation and management of stacked +pull requests on GitHub as well as handling CI results upload. -Mergify CLI is a powerful tool designed to simplify and automate the creation -and management of stacked pull requests on GitHub as well as handling CI -results upload. +## Features -### Stacks +### Stacked Pull Requests -Before diving into its functionalities, let's grasp the concept of stacked pull -requests and why they matter in the +Create and manage stacked pull requests to break down large changes into +smaller, reviewable pieces. Learn more in the [documentation](https://docs.mergify.com/stacks/). -### CI +### CI Insights -You can learn more about [CI Insights in the +Upload and analyze CI results to get better visibility into your CI pipeline. +Learn more about [CI Insights in the documentation](https://docs.mergify.com/ci-insights/). +## Installation + +```shell +pip install mergify-cli +``` + +## Usage + +```shell +# Show available commands +mergify --help + +# Manage stacked pull requests +mergify stack --help + +# Upload CI results +mergify ci --help +``` + ## Contributing We welcome and appreciate contributions from the open-source community to make this project better. Whether you're a developer, designer, tester, or just someone with a good idea, we encourage you to get involved. + +## License + +This project is licensed under the Apache License 2.0 - see the +[LICENSE](LICENSE) file for details. diff --git a/mergify_cli/__init__.py b/mergify_cli/__init__.py index 81aa5f77..1691ae82 100755 --- a/mergify_cli/__init__.py +++ b/mergify_cli/__init__.py @@ -1,5 +1,5 @@ # -# Copyright © 2021-2024 Mergify SAS +# Copyright © 2021-2026 Mergify SAS # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain diff --git a/mergify_cli/_globals.py b/mergify_cli/_globals.py index 82e5c1e9..0c00f8a4 100644 --- a/mergify_cli/_globals.py +++ b/mergify_cli/_globals.py @@ -1,5 +1,5 @@ # -# Copyright © 2021-2024 Mergify SAS +# Copyright © 2021-2026 Mergify SAS # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain diff --git a/mergify_cli/cli.py b/mergify_cli/cli.py index 0abdcaaf..75f4e528 100644 --- a/mergify_cli/cli.py +++ b/mergify_cli/cli.py @@ -1,5 +1,5 @@ # -# Copyright © 2021-2024 Mergify SAS +# Copyright © 2021-2026 Mergify SAS # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain diff --git a/mergify_cli/stack/changes.py b/mergify_cli/stack/changes.py index e6ee74ac..00abb7a2 100644 --- a/mergify_cli/stack/changes.py +++ b/mergify_cli/stack/changes.py @@ -1,5 +1,5 @@ # -# Copyright © 2021-2024 Mergify SAS +# Copyright © 2021-2026 Mergify SAS # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain diff --git a/mergify_cli/stack/hooks/scripts/prepare-commit-msg.sh b/mergify_cli/stack/hooks/scripts/prepare-commit-msg.sh index fcb96aae..babfbc62 100644 --- a/mergify_cli/stack/hooks/scripts/prepare-commit-msg.sh +++ b/mergify_cli/stack/hooks/scripts/prepare-commit-msg.sh @@ -3,7 +3,7 @@ # This file is managed by mergify-cli and will be auto-upgraded. # Do not modify - add custom logic to the wrapper file instead. # -# Copyright © 2021-2024 Mergify SAS +# Copyright © 2021-2026 Mergify SAS # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain diff --git a/mergify_cli/stack/push.py b/mergify_cli/stack/push.py index 6376e3df..e707db27 100644 --- a/mergify_cli/stack/push.py +++ b/mergify_cli/stack/push.py @@ -1,5 +1,5 @@ # -# Copyright © 2021-2024 Mergify SAS +# Copyright © 2021-2026 Mergify SAS # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain diff --git a/mergify_cli/stack/setup.py b/mergify_cli/stack/setup.py index 6c5b66b2..0d6e10d9 100644 --- a/mergify_cli/stack/setup.py +++ b/mergify_cli/stack/setup.py @@ -1,5 +1,5 @@ # -# Copyright © 2021-2024 Mergify SAS +# Copyright © 2021-2026 Mergify SAS # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain diff --git a/mergify_cli/tests/conftest.py b/mergify_cli/tests/conftest.py index 1ab5284a..0f2b358c 100644 --- a/mergify_cli/tests/conftest.py +++ b/mergify_cli/tests/conftest.py @@ -1,5 +1,5 @@ # -# Copyright © 2021-2024 Mergify SAS +# Copyright © 2021-2026 Mergify SAS # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain diff --git a/mergify_cli/tests/stack/test_push.py b/mergify_cli/tests/stack/test_push.py index c92aec65..753b844d 100644 --- a/mergify_cli/tests/stack/test_push.py +++ b/mergify_cli/tests/stack/test_push.py @@ -1,5 +1,5 @@ # -# Copyright © 2021-2024 Mergify SAS +# Copyright © 2021-2026 Mergify SAS # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain diff --git a/mergify_cli/tests/test_utils.py b/mergify_cli/tests/test_utils.py index 98a929b1..61ba7a95 100644 --- a/mergify_cli/tests/test_utils.py +++ b/mergify_cli/tests/test_utils.py @@ -1,5 +1,5 @@ # -# Copyright © 2021-2024 Mergify SAS +# Copyright © 2021-2026 Mergify SAS # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain diff --git a/mergify_cli/tests/utils.py b/mergify_cli/tests/utils.py index b03ad4a8..36d0f834 100644 --- a/mergify_cli/tests/utils.py +++ b/mergify_cli/tests/utils.py @@ -1,5 +1,5 @@ # -# Copyright © 2021-2024 Mergify SAS +# Copyright © 2021-2026 Mergify SAS # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain diff --git a/mergify_cli/utils.py b/mergify_cli/utils.py index cebb4350..2318c715 100644 --- a/mergify_cli/utils.py +++ b/mergify_cli/utils.py @@ -1,5 +1,5 @@ # -# Copyright © 2021-2024 Mergify SAS +# Copyright © 2021-2026 Mergify SAS # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain diff --git a/pyproject.toml b/pyproject.toml index d08a888b..c2217ce8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,11 +1,23 @@ [project] name = "mergify_cli" dynamic = ["version"] -description = "Mergify CLI is a tool that automates the creation and management of stacked pull requests on GitHub" -authors = [{ name = "Mehdi Abaakouk", email = "sileht@mergify.com" }] +description = "Mergify CLI is a tool that automates the creation and management of stacked pull requests on GitHub and handles CI results upload" +authors = [{ name = "Mergify Team", email = "hello@mergify.com" }] requires-python = ">=3.13" readme = "README.md" license = "Apache-2.0" +keywords = ["git", "github", "pull-request", "stacked-pr", "ci", "merge"] +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: Apache Software License", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", + "Topic :: Software Development :: Version Control :: Git", + "Typing :: Typed", +] + dependencies = [ "httpx==0.28.1", "rich==14.3.3", @@ -22,6 +34,13 @@ dependencies = [ [project.scripts] mergify = "mergify_cli.cli:main" +[project.urls] +Homepage = "https://mergify.com" +Documentation = "https://docs.mergify.com" +Repository = "https://github.com/Mergifyio/mergify-cli" +Issues = "https://github.com/Mergifyio/mergify-cli/issues" +Changelog = "https://github.com/Mergifyio/mergify-cli/releases" + [dependency-groups] dev = [ "mypy==1.19.1",