-
Notifications
You must be signed in to change notification settings - Fork 33
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
Add deprecation warnings to outmoded Arc and Warc formats. #140
Conversation
Codecov Report
@@ Coverage Diff @@
## master #140 +/- ##
==========================================
+ Coverage 67.7% 67.74% +0.04%
==========================================
Files 38 38
Lines 774 775 +1
Branches 143 143
==========================================
+ Hits 524 525 +1
Misses 201 201
Partials 49 49
Continue to review full report at Codecov.
|
|
||
/** | ||
* @deprecated as of 0.11.0 and will be removed | ||
* in a future release. Use GenericArchiveRecordWritable (0.11.0) or |
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.
Remove double-space.
@@ -14,6 +14,12 @@ | |||
* See the License for the specific language governing permissions and | |||
* limitations under the License. | |||
*/ | |||
|
|||
/** | |||
* Features here have been deprecated as of 0.11.0 and will be replaced |
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.
Start with @deprecated here.
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.
Version number should be 0.12.0 since 0.11.0 is already out, and it was not marked as deprecated in it. Once this gets merged in, we resolve #124, and figure out the Docker build issue, we'll cut 0.12.0.
|
||
/** | ||
* @deprecated as of 0.11.0 and will be removed | ||
* in a future release. Use WacGenericArchiveInputFormat (0.11.0) or |
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.
No double-space.
@@ -14,6 +14,12 @@ | |||
* See the License for the specific language governing permissions and | |||
* limitations under the License. | |||
*/ | |||
|
|||
/** | |||
* Features here have been deprecated as of 0.11.0 and will be replaced |
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.
|
||
/** | ||
* @deprecated as of 0.11.0 and will be removed | ||
* in a future release. Use WacGenericArchiveInputFormat (0.11.0) or |
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.
No double-space.
/** | ||
* @deprecated as of 0.11.0 and will be removed | ||
* in a future release. Use WacGenericArchiveInputFormat (0.11.0) or | ||
* WacArchiveInputFormat (future releases) instead. |
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.
Remove (future releases)
/** | ||
* @deprecated as of 0.11.0 and will be removed | ||
* in a future release. Use WacGenericArchiveInputFormat (0.11.0) or | ||
* WacArchiveInputFormat (future releases) instead. |
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.
Remove future releases.
/** | ||
* @deprecated as of 0.11.0 and will be removed | ||
* in a future release. Use GenericArchiveRecordWritable (0.11.0) or | ||
* ArchiveRecordWritable (future releases) instead. |
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.
Remove future releases.
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.
Will do, but to clarify, ArchiveRecordWritable will not exist until the changes in the RefactorLoader have been implemented.
Change 0.11 to 0.12.
I'm good to go once @lintool is good to go. |
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.
lgtm
@greebie can you update, and then I'll merge? |
Add Deprecation warnings to Arc & Warc Writeable and Input Formats
GitHub issue(s):
Related to discussion in #80.
What does this Pull Request do?
Add deprecation warnings to unused Warc and Arc java files.
How should this be tested?
N/A
Additional Notes:
@lintool suggests that this code has other potential purposes in #102 (comment) so I recommend having his okay before merging. Alternately, it may be good to have a nice place to store this code somewhere.
5bc95a1 contains working code for removal in the next cycle.
Interested parties
@lintool
Thanks in advance for your help with the Archives Unleashed Toolkit!