-
Notifications
You must be signed in to change notification settings - Fork 88
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
Add Support for Archive Uploads to GitHub-Owned Storage with Multipart Upload Option #1261
Closed
Closed
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
a39329d
Initial commit
hfishback01 2175557
fix tests
hfishback01 11d71a3
remove unnecessary using stament
hfishback01 6006d30
remove other warnings
hfishback01 8086ab3
fix redundant cast
hfishback01 ccf56a4
remove unnecessary check
hfishback01 d812344
remove unnessary using statements
hfishback01 27b5686
remove unnecessary tests
hfishback01 2aadb06
Address Arin’s comments
hfishback01 56931b4
add dev var url
hfishback01 9867a30
Merge branch 'main' into git-storage-option
begonaguereca 71e3ed6
Merge branch 'main' into git-storage-option
begonaguereca 25ea598
Ensure code is being hit
begonaguereca 50e1186
Merge branch 'main' into git-storage-option
begonaguereca 432f1be
Account for database id
begonaguereca 1e2ad94
Resolve conflicts
begonaguereca 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
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
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
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
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
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
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
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.
A couple of observations:
PostAsync
method will convert the data to JSON (basically base64 string) and will eventually createStringContent
so I am not sure if this is the intended use here because we're now dealing with aStream
rather than string content. So We may want to refactor the SendAsync method to also support aMultiPartFormDataContent
andStreamContent
. It can simply check to see if the passed inbody
is either of those and not convert it to a string content.BLOB
orBinary data
instead of dumping the entire JSON encoded body!