Skip to content

build: remove the deprecated aio commit message scope - #32341

Closed
gkalpak wants to merge 1 commit into
angular:masterfrom
gkalpak:docs-remove-aio-scope
Closed

gkalpak wants to merge 1 commit into
angular:masterfrom
gkalpak:docs-remove-aio-scope

Conversation

@gkalpak

@gkalpak gkalpak commented Aug 27, 2019

Copy link
Copy Markdown
Member

The aio commit message scope was renamed to docs-infra (which is more descriptive) in #24295. Although it has been removed from the documentation, the legacy aio scope was kept in the list of valid scopes to cater for in-flight PRs that already used it. As a result, it still shows up as a recommended, valid scope in the error message shown when commit message validation fails during git commit. This is misleading, especially for new contributors.

Since we have been "manually" discouraging people from using aio, there should be no open PRs by now (and if there are, they should be changed to docs-infra), so it is safe to remove it from the list of allowed scopes.

Related discussion: #32273 (review)

@gkalpak
gkalpak requested a review from a team August 27, 2019 12:02
The `aio` commit message scope was renamed to `docs-infra` (which is
more descriptive) in angular#24295. Although it has been removed from the
documentation, the legacy `aio` scope was kept in the [list of valid
scopes][1] to cater for in-flight PRs that already used it. As a result,
it still shows up as a recommended, valid scope in the error message
shown when commit message validation fails during `git commit`. This is
misleading, especially for new contributors.

Since we have been "manually" discouraging people from using `aio`,
there should be no open PRs by now (and if there are, they should be
changed to `docs-infra`), so it is safe to remove it from the list of
allowed scopes.

Related discussion:
angular#32273 (review)

[1]: https://github.com/angular/angular/blob/3df54be9e/tools/validate-commit-message/commit-message.json#L16
@gkalpak
gkalpak force-pushed the docs-remove-aio-scope branch from 44032ab to a7ec54d Compare August 27, 2019 13:30
@gkalpak gkalpak added area: build & ci Related the build and CI infrastructure of the project action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release labels Aug 27, 2019
@ngbot ngbot Bot added this to the needsTriage milestone Aug 27, 2019
@atscott atscott closed this in f57c17d Aug 27, 2019
atscott pushed a commit that referenced this pull request Aug 27, 2019
The `aio` commit message scope was renamed to `docs-infra` (which is
more descriptive) in #24295. Although it has been removed from the
documentation, the legacy `aio` scope was kept in the [list of valid
scopes][1] to cater for in-flight PRs that already used it. As a result,
it still shows up as a recommended, valid scope in the error message
shown when commit message validation fails during `git commit`. This is
misleading, especially for new contributors.

Since we have been "manually" discouraging people from using `aio`,
there should be no open PRs by now (and if there are, they should be
changed to `docs-infra`), so it is safe to remove it from the list of
allowed scopes.

Related discussion:
#32273 (review)

[1]: https://github.com/angular/angular/blob/3df54be9e/tools/validate-commit-message/commit-message.json#L16

PR Close #32341
@gkalpak
gkalpak deleted the docs-remove-aio-scope branch August 27, 2019 17:56
sabeersulaiman pushed a commit to sabeersulaiman/angular that referenced this pull request Sep 6, 2019
The `aio` commit message scope was renamed to `docs-infra` (which is
more descriptive) in angular#24295. Although it has been removed from the
documentation, the legacy `aio` scope was kept in the [list of valid
scopes][1] to cater for in-flight PRs that already used it. As a result,
it still shows up as a recommended, valid scope in the error message
shown when commit message validation fails during `git commit`. This is
misleading, especially for new contributors.

Since we have been "manually" discouraging people from using `aio`,
there should be no open PRs by now (and if there are, they should be
changed to `docs-infra`), so it is safe to remove it from the list of
allowed scopes.

Related discussion:
angular#32273 (review)

[1]: https://github.com/angular/angular/blob/3df54be9e/tools/validate-commit-message/commit-message.json#L16

PR Close angular#32341
@angular-automatic-lock-bot

Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Sep 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: build & ci Related the build and CI infrastructure of the project cla: yes target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants