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

Deprecations 3.0 #1997

Merged
8 commits merged into from
Jun 21, 2021
Merged

Deprecations 3.0 #1997

8 commits merged into from
Jun 21, 2021

Conversation

ghost
Copy link

@ghost ghost commented Jun 17, 2021

See commit messages for more details

fixes #1404

Sebastian Wagner added 4 commits June 17, 2021 18:22
the arguments given by pipeline_args were not effective, as the
load_configuration methods of the pipeline classes still tried to access
the parameters at self.

also modify the tests to catch a bug like this in the future

fixes #1875
was renamed and marked as deprecated in 2.0.0.beta1
#1404
The command `e` for deleting single entries by given IDs has been merged into the command `d` ("delete"), which can now delete either entries by ID or the whole file.
The command `v` for editing entries has been renamed to `e` ("edit").
Compatibility with the deprecated configuration format (before 1.0.0.dev7) was removed.
#1404
@ghost ghost added this to the 3.0.0 milestone Jun 17, 2021
@ghost ghost requested a review from waldbauer-certat June 17, 2021 17:35
@ghost ghost self-assigned this Jun 17, 2021
Sebastian Wagner added 4 commits June 17, 2021 19:39
compatibility with the deprecated parameter `unzip_attachment` (removed in 2.1.0) was removed.
#1404
the init contained a fallback method if a parameter does not exist
this is no longer necessary, as all bots have proper default values

related to #1404
create_request_session_from_bot was deprecated and is no longer used
#1404
The deprecated shell scripts
- `update-asn-data`
- `update-geoip-data`
- `update-tor-nodes`
- `update-rfiprisk-data`
have been removed in favor of the built-in update-mechanisms (see the bots' documentation). A crontab file for calling all new update command can be found in `contrib/cron-jobs/intelmq-update-database`.

#1404
@ghost ghost force-pushed the deprecations-3.0 branch from 03eaa83 to 63a9e46 Compare June 17, 2021 17:39
@codecov-commenter
Copy link

codecov-commenter commented Jun 17, 2021

Codecov Report

Merging #1997 (03eaa83) into develop (c337f22) will increase coverage by 0.02%.
The diff coverage is 80.00%.

❗ Current head 03eaa83 differs from pull request most recent head 63a9e46. Consider uploading reports for the commit 63a9e46 to get more accurate results

@@             Coverage Diff             @@
##           develop    #1997      +/-   ##
===========================================
+ Coverage    75.91%   75.94%   +0.02%     
===========================================
  Files          418      417       -1     
  Lines        22364    22337      -27     
  Branches      2970     2967       -3     
===========================================
- Hits         16978    16963      -15     
+ Misses        4700     4690      -10     
+ Partials       686      684       -2     
Impacted Files Coverage Δ
intelmq/bin/intelmqdump.py 18.30% <0.00%> (ø)
intelmq/bots/collectors/rt/collector_rt.py 22.36% <ø> (+0.71%) ⬆️
intelmq/bots/experts/modify/expert.py 94.66% <ø> (+3.52%) ⬆️
intelmq/bots/experts/reverse_dns/expert.py 95.16% <ø> (+2.85%) ⬆️
intelmq/lib/utils.py 71.86% <ø> (+0.29%) ⬆️
intelmq/tests/bots/collectors/rt/test_collector.py 77.50% <ø> (+5.40%) ⬆️
intelmq/lib/pipeline.py 63.81% <100.00%> (+0.08%) ⬆️
intelmq/tests/bots/experts/modify/test_expert.py 100.00% <100.00%> (ø)
intelmq/tests/bots/experts/ripe/test_expert.py 100.00% <100.00%> (ø)
intelmq/tests/lib/test_pipeline.py 100.00% <100.00%> (ø)
... and 1 more

@ghost ghost merged commit 282b4a0 into develop Jun 21, 2021
@ghost ghost deleted the deprecations-3.0 branch June 21, 2021 07:11
This pull request was closed.
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.

Deprecations and breaking changes in 3.0.0
2 participants