Commit 25b1072
authored
fix: update multistore to properly recognize directory markers (#125)
## What I'm changing
Bump `multistore` version to
[v0.3.1](https://github.com/developmentseed/multistore/releases/tag/v0.3.1)
to support directory markers
(developmentseed/multistore#22).
<!-- Describe the high-level goals of the change -->
## How I did it
Updated multistore to ignore any keys returned by the object store
backend that has 0 bytes and ends with `/` (these keys are still
returned as `CommonPrefixes`, but not `Objects`)
<!-- Discuss the implementation strategy and considerations made -->
## How to test it
This backend is currently enabled as the backend of
https://source-cooperative-git-feat-data-connection-admin-radiantearth.vercel.app.
As such, compare the following:
* Before: https://staging.source.coop/harvard-lil/staging-gov-data
* After:
https://source-cooperative-git-feat-data-connection-admin-radiantearth.vercel.app/harvard-lil/staging-gov-data
You'll see an empty `staging-gov-data` in the before, but no longer in
the after.
<!-- Inform the reviewer how they can validate that these changes work
-->
## PR Checklist
- [ ] This PR has **no** breaking changes.
- [ ] I have updated or added new tests to cover the changes in this PR.
- [ ] This PR affects the [Source Cooperative Frontend &
API](https://github.com/source-cooperative/source.coop),
and I have opened issue/PR #XXX to track the change.
## Related Issues
Resolves source-cooperative/source.coop#2451 parent 07a6230 commit 25b1072
2 files changed
Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
| 23 | + | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
0 commit comments