-
Notifications
You must be signed in to change notification settings - Fork 297
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
ENH: Added personal access token support to GitHub Collector #2145
Conversation
345c640
to
bb3e000
Compare
Codecov Report
@@ Coverage Diff @@
## develop #2145 +/- ##
===========================================
- Coverage 76.34% 76.23% -0.12%
===========================================
Files 441 441
Lines 23654 23628 -26
Branches 3739 3437 -302
===========================================
- Hits 18059 18012 -47
- Misses 4858 4879 +21
Partials 737 737
|
ecad38a
to
0318e42
Compare
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.
Please add a note to the NEWS file on the parameter change
https://developer.github.com/changes/2020-02-14-deprecating-password-auth/#removal says:
All password authentication will return a status code of 401 starting:
November 13, 2020 at 16:00 UTC
So I guess the old auth does no longer work? If that's the case, please remove the old method, it's of no use.
the feeds.yml
needs an update as well: https://intelmq.readthedocs.io/en/latest/user/feeds.html#id123
Feeds will be auto build, no? Because its gitignored https://github.com/certtools/intelmq/blob/develop/.gitignore#L30 |
0318e42
to
b30d3c2
Compare
That page is generated from |
5fc604d
to
83ee978
Compare
83ee978
to
03d67b0
Compare
03d67b0
to
83027f2
Compare
And:
|
ed819e9
to
2a4beaf
Compare
As github basic authentication has been marked as deprecated by GitHub, we now implemented the Personal Access Token authentication method. Fixes #1549 Signed-off-by: Sebastian Waldbauer <[email protected]>
2a4beaf
to
7b2dc7a
Compare
@@ -95,7 +92,6 @@ def print_requests_get_parameters(url, *args, **kwargs): | |||
main_mock = MagicMock(content=EXAMPLE_CONTENT_STR) | |||
return main_mock | |||
|
|||
|
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.
As you are keen on codestyle and "Quality of Life": Before a class statement there should be two empty lines ;)
As github basic authentication has been marked as deprecated by
GitHub, we now implemented the Personal Access Token authentication
method.
Fixes #1549