This repository has been archived by the owner on Aug 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 335
Conversation
This file contains 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
gabbifish
commented
Aug 15, 2019
gabbifish
force-pushed
the
gabbi/add-bulk-upload
branch
2 times, most recently
from
August 15, 2019 23:04
613f6b0
to
87546d0
Compare
Electroid
reviewed
Aug 18, 2019
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.
Just made some design comments, really excited to see this come out soon!
gabbifish
force-pushed
the
gabbi/add-bulk-upload
branch
from
August 19, 2019 20:30
9b9ee7d
to
4fd03a4
Compare
gabbifish
changed the title
Add bulk upload to Workers KV
[WIP] Add bulk upload to Workers KV
Aug 19, 2019
gabbifish
changed the title
[WIP] Add bulk upload to Workers KV
Add bulk upload to Workers KV
Aug 20, 2019
ashleymichal
suggested changes
Aug 20, 2019
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.
Just one copy-pasta, but otherwise lgtm! 👍
ashleymichal
added
changelog - feature
regression
Something is broken, but works in previous releases
and removed
status - needs review
labels
Aug 20, 2019
ashleymichal
approved these changes
Aug 21, 2019
gabbifish
force-pushed
the
gabbi/add-bulk-upload
branch
from
August 21, 2019 06:16
5bb2d45
to
ce88183
Compare
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
This PR adds support for bulk uploads to Workers KV; it currently supports reading from JSON files and uploading directories. The subcommand is used like the following:
JSON input is of the format
and wrangler output looks like
Output for a directory upload looks like
^ the
working
swirl emoji is used here for eachUploading...
line but just doesn't show up on my Ubuntu installation for now. :)This PR will fail to build until the necessary API changes are also merged into cloudflare-rs (cloudflare/cloudflare-rs#28), because it is dependent on these changes.
This PR closes #346.