-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[chore] move receiver/scrapererror to scraper/scrapererror #11733
base: main
Are you sure you want to change the base?
[chore] move receiver/scrapererror to scraper/scrapererror #11733
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #11733 +/- ##
=======================================
Coverage 91.61% 91.61%
=======================================
Files 443 443
Lines 23770 23770
=======================================
Hits 21776 21776
Misses 1620 1620
Partials 374 374 ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
@bogdandrutu @mx-psi if you want to take a look, thank you |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some comments, can you also fix the merge conflicts?
component: receiver/scraper | ||
|
||
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). | ||
note: receiver/scraperhelper package is relocated to scraper/scraperhelper and receiver/scraperhelper marked deprecated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Use active voice in changelogs
note: receiver/scraperhelper package is relocated to scraper/scraperhelper and receiver/scraperhelper marked deprecated. | |
note: Move receiver/scraperhelper package to scraper/scraperhelper and deprecate original receiver/scraperhelper package. |
# (Optional) One or more lines of additional information to render under the primary note. | ||
# These lines will be padded with 2 spaces and then inserted directly into the document. | ||
# Use pipe (|) for multiline entries. | ||
subtext: Aliases are added in receiver/scraperhelper to support backward compatibility but will be removed in the future. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is already implied by the above
subtext: Aliases are added in receiver/scraperhelper to support backward compatibility but will be removed in the future. |
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
// Package scrapererror provides aliases for package scraper/scrapererror. | ||
// deprecated as of [v0.115.0] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to follow the deprecated directive format so that linters pick it up
// deprecated as of [v0.115.0] | |
// Deprecated: [v0.115.0] Use `scraper/scrapererror` instead. |
Description
Migrates existing scrapererror code to new scraper package. Sets aliases for receiver/scrapererror so that dependent code in contrib and elsewhere can be updated
Link to tracking issue
Relates to #11003
Testing
included unit/integration tests should suffice
Documentation
changelog yaml