Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: stop syncing labels from labels.yaml #249

Merged
merged 2 commits into from
Jul 25, 2023
Merged

Conversation

nedbat
Copy link
Contributor

@nedbat nedbat commented Jul 25, 2023

This incorporates the work from #245, but also removes the now-obsolete test helper code.

kdmccormick and others added 2 commits July 25, 2023 11:45
The repo_checks[1] tool now does this, and we don't want two
systems simultaneously trying to create or delete labels.

Note that the bot will still *add* and *delete* a handful of labels
from *PRs* (`open-source-pull-request`, `blended`, etc).
What this commit changes is that the bot will not longer *create*
nor *delete* labels from the *entire repository*.

The `labels.yaml` file is now unused and can be safely deleted from any
openedx-webhooks data repositories.

[1] https://github.com/openedx/repo-tools/tree/master/edx_repo_tools/repo_checks

Part of: #218
@nedbat nedbat requested review from feanil and kdmccormick July 25, 2023 16:55
@codecov
Copy link

codecov bot commented Jul 25, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: -0.58% ⚠️

Comparison is base (3dc29f0) 90.30% compared to head (cac55ae) 89.73%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #249      +/-   ##
==========================================
- Coverage   90.30%   89.73%   -0.58%     
==========================================
  Files          74       73       -1     
  Lines        4558     4343     -215     
  Branches      469      456      -13     
==========================================
- Hits         4116     3897     -219     
- Misses        405      410       +5     
+ Partials       37       36       -1     
Files Changed Coverage Δ
openedx_webhooks/info.py 97.84% <ø> (-0.03%) ⬇️
openedx_webhooks/tasks/pr_tracking.py 97.19% <ø> (-0.03%) ⬇️
tests/test_rescan.py 100.00% <ø> (ø)
openedx_webhooks/jira_views.py 15.28% <100.00%> (ø)
openedx_webhooks/tasks/github_work.py 57.14% <100.00%> (-42.86%) ⬇️
tests/fake_github.py 97.07% <100.00%> (-0.70%) ⬇️
tests/test_data.py 100.00% <100.00%> (ø)
tests/test_fake_github.py 100.00% <100.00%> (ø)
tests/test_pull_request_opened.py 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@kdmccormick kdmccormick left a comment

Choose a reason for hiding this comment

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

Thanks!

@nedbat nedbat merged commit 8e5f2b8 into master Jul 25, 2023
@nedbat nedbat deleted the nedbat/finish-245 branch July 25, 2023 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants