Skip to content

Expose default fetcher#2277

Merged
lukpueh merged 3 commits intotheupdateframework:developfrom
jku:expose-default-fetcher
Jan 26, 2023
Merged

Expose default fetcher#2277
lukpueh merged 3 commits intotheupdateframework:developfrom
jku:expose-default-fetcher

Conversation

@jku
Copy link
Copy Markdown
Member

@jku jku commented Jan 25, 2023

This is useful for those who want to use the default fetcher but modify some attributes

The file itself could be moved to tuf/ngclient/ but this is not done yet as sigstore-python is using this internal module. Move can be done once sigstore-python 1.0 is no longer relevant.

Fixes #2268

Signed-off-by: Jussi Kukkonen jkukkonen@google.com

Please verify and check that the pull request fulfills the following
requirements
:

  • The code follows the Code Style Guidelines
  • Tests have been added for the bug fix or new feature
  • Docs have been added for the bug fix or new feature

jku added 2 commits January 25, 2023 15:55
This is useful for those who want to use the default fetcher
but modify some attributes

The file itself could be moved to tuf/ngclient/ but this is not done yet
as sigstore-python is using this internal module. Move can be done once
sigstore-python 1.0 is no longer relevant.

Fixes theupdateframework#2268

Signed-off-by: Jussi Kukkonen <jkukkonen@google.com>
This only documents the configurable attributes
and not the inherited methods.

Signed-off-by: Jussi Kukkonen <jkukkonen@google.com>
@coveralls
Copy link
Copy Markdown

coveralls commented Jan 25, 2023

Pull Request Test Coverage Report for Build 4013155749

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at ?%

Totals Coverage Status
Change from base Build 3996484931: 0%
Covered Lines:
Relevant Lines: 0

💛 - Coveralls

@jku
Copy link
Copy Markdown
Member Author

jku commented Jan 25, 2023

docs

Copy link
Copy Markdown
Member

@joshuagl joshuagl left a comment

Choose a reason for hiding this comment

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

All looks good to me. I made a minor suggestion, but feel free to ignore.

Comment thread tuf/ngclient/__init__.py
Signed-off-by: Jussi Kukkonen <jkukkonen@google.com>
@jku jku mentioned this pull request Jan 26, 2023
@lukpueh lukpueh merged commit e6a3e9e into theupdateframework:develop Jan 26, 2023
@jku jku deleted the expose-default-fetcher branch December 30, 2024 09:13
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.

ngclient RequestsFetcher: make timeout part of the public API

4 participants