From cc152a1f14116041a1adb07db3b1b0e4e3e660c7 Mon Sep 17 00:00:00 2001 From: Min RK Date: Mon, 10 Jul 2023 02:48:38 -0700 Subject: [PATCH] accept 'breaking' label for breaking changes (#90) * accept 'breaking' label for breaking changes * remove unused tags.yaml * accept breaking tag for breaking changes and show breaking changes first --- github_activity/github_activity.py | 10 ++--- github_activity/tags.yaml | 64 ------------------------------ 2 files changed, 5 insertions(+), 69 deletions(-) delete mode 100644 github_activity/tags.yaml diff --git a/github_activity/github_activity.py b/github_activity/github_activity.py index ef073b8..c3cd310 100644 --- a/github_activity/github_activity.py +++ b/github_activity/github_activity.py @@ -24,6 +24,11 @@ # The tags and description to use in creating subsets of PRs TAGS_METADATA_BASE = { + "api_change": { + "tags": ["api-change", "apichange", "breaking"], + "pre": ["BREAK", "BREAKING", "BRK", "UPGRADE"], + "description": "API and Breaking Changes", + }, "new": { "tags": ["feature", "new"], "pre": ["NEW", "FEAT", "FEATURE"], @@ -49,11 +54,6 @@ "pre": ["DOC", "DOCS"], "description": "Documentation improvements", }, - "api_change": { - "tags": ["api-change", "apichange"], - "pre": ["BREAK", "BREAKING", "BRK", "UPGRADE"], - "description": "API and Breaking Changes", - }, "deprecate": { "tags": ["deprecation", "deprecate"], "pre": ["DEPRECATE", "DEPRECATION", "DEP"], diff --git a/github_activity/tags.yaml b/github_activity/tags.yaml deleted file mode 100644 index 39ac706..0000000 --- a/github_activity/tags.yaml +++ /dev/null @@ -1,64 +0,0 @@ -api_change: - description: API and Breaking Changes - pre: - - BREAK - - BREAKING - - BRK - - UPGRADE - tags: - - api-change - - apichange -bug: - description: Bugs fixed - pre: - - FIX - - BUG - tags: - - bug - - bugfix - - bugs -deprecate: - description: Deprecated features - pre: - - DEPRECATE - - DEPRECATION - - DEP - tags: - - deprecation - - deprecate -documentation: - description: Documentation improvements - pre: - - DOC - - DOCS - tags: - - documentation - - docs - - doc -enhancement: - description: Enhancements made - pre: - - NEW - - ENH - - ENHANCEMENT - - IMPROVE - tags: - - enhancement - - enhancements -maintenance: - description: Maintenance and upkeep improvements - pre: - - MAINT - - MNT - tags: - - maintenance - - maint -new: - description: New features added - pre: - - NEW - - FEAT - - FEATURE - tags: - - feature - - new