-
Notifications
You must be signed in to change notification settings - Fork 58
[nexus] Add TUF repo list endpoint, make other endpoints conventional #9106
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
Open
david-crespo
wants to merge
15
commits into
main
Choose a base branch
from
tuf-repo-list
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
6ae58a4
tuf repo list endpoint
david-crespo 3fc3169
add integration test for tuf repo list
david-crespo 19fd93e
switch to paginating by version
david-crespo 39d45ab
do artifacts fetch in a single query (still bad)
david-crespo 7b5615d
try doing views::TufRepo
david-crespo 69b78d6
replace TufRepoInsertResponse with views::TufRepoUpload (tests fail)
david-crespo b901354
add lockstep endpoint for listing artifacts for a repo
david-crespo f6c5c19
make repo upload test pass using artifacts endpoint
david-crespo 438624f
fetch artifacts directly from datastore, no endpoint required
david-crespo 5222d49
never mind about that lockstep endpoint
david-crespo 4181ee1
make repo get and put endpoints more conventional
david-crespo f1b1a36
self-review fixes
david-crespo 1c34122
no reference to "external" types in external API call tree
david-crespo c9e26bf
merge main
david-crespo 625d187
remove targets_role_version and valid_until from TufRepo view, add ti…
david-crespo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 kinda thought I already had this, but I guess not. We can sort by version because we store the version in the DB as a lexicographically-sortable string. Thanks, 2023 me.
omicron/nexus/db-model/src/semver_version.rs
Lines 48 to 65 in 504ffcd