Skip to content

Releases: octue/django-gcp

Allow many stores and clarify storage API

10 Feb 13:17
a5390e3
Compare
Choose a tag to compare

Summary

This PR enables use of an unlimited number of stores, allowing users to map data to different buckets as required.

Thin helper classes for the two most common storesGoogleCloudMediaStorage and GoogleCloudStaticStorage have been established. Documentation has been substantially redrafted and updated (based on the docs from django-storages). The way settings are handled has been overhauled: to abstract settings logic out of the main class, to cache calculated settings values, and to

💥 The Settings API has changed to facilitate the use of many stores, since they may each require different settings.

Contents (#4)

IMPORTANT: There are 2 breaking changes.

New features

  • BREAKING CHANGE: Allow multiple buckets with different settings

Fixes

  • Remove invalid override of method to property

Operations

  • Ignore flake8 failure incompatible with black
  • Prevent random editor scrolling in rst previews
  • Update version for previous feature

Refactoring

  • Remove unnecessary catch of ImportError
  • Settings unified and validated
  • BREAKING CHANGE: Apply consistent settings naming

Other

  • Fix codecov badge, missing links and typos

Add storage testing

08 Feb 10:39
73ff16d
Compare
Choose a tag to compare

Summary

Contents (#2)

Operations

  • Allow issue hashes in branch names
  • Allow branches for test development, remove review branches
  • Update version

Testing

  • Add tests for storages

Initial release

08 Feb 10:27
db3720c
Compare
Choose a tag to compare

Contents

Features

  • Django library based on the rabid-armadillo template
  • Outline documentation using sphinx
  • Brought in and refactored django-storages[google]
  • Apply Code Quality standards / practices
  • Implement CICD workflows