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

Implement repo directory listings #866

Merged
merged 5 commits into from
May 12, 2023
Merged

Conversation

tobias
Copy link
Member

@tobias tobias commented May 7, 2023

See #860.

@tobias tobias force-pushed the tcrawley/dynamic-index-files branch 3 times, most recently from 732b263 to 3848520 Compare May 7, 2023 12:48
tobias added 2 commits May 7, 2023 10:35
This upgrades the s3 client from ListObjects to the newer ListObjectsV2,
which will allow us to just list prefixes in the future.

This also adds tests for our s3 implementation using minio in docker to
ensure that the s3-specific implementation is correct.
@tobias tobias force-pushed the tcrawley/dynamic-index-files branch from 3848520 to 3f6d005 Compare May 7, 2023 14:36
@tobias tobias changed the title Upgrade s3 client to ListObjectsV2 Implement repo directory listings May 9, 2023
@tobias tobias mentioned this pull request May 9, 2023
@tobias tobias force-pushed the tcrawley/dynamic-index-files branch 2 times, most recently from d51d14f to cf72fee Compare May 11, 2023 11:10
tobias added 3 commits May 12, 2023 07:31
This will be used to provide directory listings. This also brings the
mock client closer to the real one in what it returns, and adds tests
for the mock client behavior.
This will generate a list of the repo given a path prefix. This is
intended to be used only via fastly for repo.clojars.org, so isn't
navigable if accessed directly.
@tobias tobias force-pushed the tcrawley/dynamic-index-files branch from cf72fee to 65148c9 Compare May 12, 2023 11:32
@tobias tobias marked this pull request as ready for review May 12, 2023 11:33
@tobias tobias merged commit eec8dc6 into main May 12, 2023
@tobias tobias deleted the tcrawley/dynamic-index-files branch May 12, 2023 14:19
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.

1 participant