-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
feat!: upgrading django-storages to 1.10.1 #32571
Conversation
6bf30af
to
275c37d
Compare
https://github.com/jschneier/django-storages/pull/520/files |
ac4330e
to
3845490
Compare
), | ||
DIRECTORY_PREFIX='video-images/', | ||
BASE_URL=MEDIA_URL, |
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.
These values override for sandbox and stage/prod and there base_url does not exists. Its for devstack.
@@ -389,7 +389,7 @@ def test_video_backend(self): | |||
@override_settings(VIDEO_IMAGE_SETTINGS={ | |||
'STORAGE_CLASS': 'storages.backends.s3boto3.S3Boto3Storage', | |||
'STORAGE_KWARGS': | |||
{'bucket_name': 'test', 'default_acl': None, 'base_url': '/', 'location': 'abc/def'}} | |||
{'bucket_name': 'test', 'default_acl': None, 'location': 'abc/def'}} |
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.
Constructor now verifies its passing params and base_url is unknown for this package.
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.
CI is green 👍🏽 . Although, once the changes land on the stage, verify the upload is working as expected.
2U Release Notice: This PR has been deployed to the edX staging environment in preparation for a release to production. |
* feat!: upgrading django-storages to 1.10.1
…penedx#33109) This reverts commit 9281ea4.
…2571)" (openedx#33109)" (openedx#33111) This reverts commit 191b825.
…penedx#32571)" (openedx#33109)" (openedx#33111)" (openedx#33113) This reverts commit 2f8475c.
This version has several breaking changes few of them are
For complete change log please review this.
https://github.com/jschneier/django-storages/blob/master/CHANGELOG.rst#1101-2020-09-13
bucket
tobucket_name
changes in in all places. ( platform and config )acl
and others key changes SRE needs to review the config files.NOTE: