Skip to content

ci: fix pullapprove to match hidden files and directories#46520

Closed
devversion wants to merge 1 commit into
angular:mainfrom
devversion:pullapprove-dot-files
Closed

ci: fix pullapprove to match hidden files and directories#46520
devversion wants to merge 1 commit into
angular:mainfrom
devversion:pullapprove-dot-files

Conversation

@devversion

Copy link
Copy Markdown
Member

After some testing, and experiences in other PRs, it looks like Pullapprove
does not match hidden files/directories as their globbing logic wcmatch
does not enable the DOTGLOB flag.

See: https://facelessuser.github.io/wcmatch/glob/. ng-dev is updated to reflect
this with: angular/dev-infra#642.

Source of pullapprove: https://github.com/dropseed/pullapprove/blob/8a26c19346680cfcb8a635707257a74ee56b91ca/pullapprove/context/functions.py#L13

@devversion devversion added area: build & ci Related the build and CI infrastructure of the project action: review The PR is still awaiting reviews from at least one requested reviewer target: patch This PR is targeted for the next patch release labels Jun 27, 2022
@devversion devversion requested a review from josephperrott June 27, 2022 16:33
@ngbot ngbot Bot modified the milestone: Backlog Jun 27, 2022
@devversion

Copy link
Copy Markdown
Member Author

Tested and verified with the ng-dev verification update, and with #46521.

@josephperrott josephperrott left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment thread .pullapprove.yml Outdated
@devversion devversion force-pushed the pullapprove-dot-files branch 2 times, most recently from d9b2405 to 2bc25ba Compare June 27, 2022 18:14
@devversion devversion added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Jun 27, 2022
@dylhunn dylhunn added action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews and removed action: merge The PR is ready for merge by the caretaker labels Jun 27, 2022
@dylhunn

dylhunn commented Jun 27, 2022

Copy link
Copy Markdown
Contributor

Mind doing a quick rebase?

After some testing, and experiences in other PRs, it looks like
Pullapprove does not match hidden files/directories as their globbing
logic `wcmatch` does not enable the `DOTGLOB` flag.

See: https://facelessuser.github.io/wcmatch/glob/.

ng-dev is updated to reflect this with:
angular/dev-infra#642.

https://github.com/dropseed/pullapprove/blob/8a26c19346680cfcb8a635707257a74ee56b91ca/pullapprove/context/functions.py#L13
@devversion devversion force-pushed the pullapprove-dot-files branch from 2bc25ba to 68bbbd9 Compare June 28, 2022 11:27
@devversion devversion added action: merge The PR is ready for merge by the caretaker and removed action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews labels Jun 28, 2022
@dylhunn

dylhunn commented Jun 28, 2022

Copy link
Copy Markdown
Contributor

This PR was merged into the repository by commit 0775332.

dylhunn pushed a commit that referenced this pull request Jun 28, 2022
After some testing, and experiences in other PRs, it looks like
Pullapprove does not match hidden files/directories as their globbing
logic `wcmatch` does not enable the `DOTGLOB` flag.

See: https://facelessuser.github.io/wcmatch/glob/.

ng-dev is updated to reflect this with:
angular/dev-infra#642.

https://github.com/dropseed/pullapprove/blob/8a26c19346680cfcb8a635707257a74ee56b91ca/pullapprove/context/functions.py#L13

PR Close #46520
@dylhunn dylhunn closed this in 0775332 Jun 28, 2022
@devversion devversion self-assigned this Jul 1, 2022
@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 Aug 1, 2022
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 target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants