Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[WIP] Fix uploading with schemas #602

Closed
wants to merge 14 commits into from
Closed

[WIP] Fix uploading with schemas #602

wants to merge 14 commits into from

Conversation

Floppy
Copy link
Contributor

@Floppy Floppy commented Sep 11, 2017

This PR fixes #554 and #427. Previous changes in #567 meant that the uploader wasn't working any more with the schema files. This adjusts the schema upload code to work with the new uploader which only uses storage keys, not full URLs.

It now reconstructs a URL internally so as not to affect the underlying code too much. A further refactor may follow to simplify this all away completely.

@Floppy Floppy temporarily deployed to octopub-pr-602 September 11, 2017 15:47 Inactive
@Floppy Floppy temporarily deployed to octopub-pr-602 September 11, 2017 15:49 Inactive
@Floppy
Copy link
Contributor Author

Floppy commented Sep 11, 2017

Yeah, this doesn't work at all with the DatasetFileSchema upload form. This is a real ballache as the S3 javascript upload doesn't seem to be tested hardly at all. sob

@Floppy Floppy temporarily deployed to octopub-pr-602 September 11, 2017 20:07 Inactive
@Floppy Floppy changed the title Fix uploading with schemas [WIP] Fix uploading with schemas Sep 13, 2017
@Floppy Floppy temporarily deployed to octopub-pr-602 September 13, 2017 12:09 Inactive
Undid revert pulled in from master branch, as I still want that code on this one.
@Floppy Floppy temporarily deployed to octopub-pr-602 September 13, 2017 12:55 Inactive
@Floppy Floppy closed this Sep 3, 2019
@olivierthereaux olivierthereaux deleted the upload-fixes branch April 17, 2020 13:05
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Uploading dataset with schema spins forever on octopub.io
1 participant