forked from Backblaze/b2-sdk-python
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master' into b2b-sync
- Loading branch information
Showing
9 changed files
with
160 additions
and
101 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,19 +2,54 @@ name: Continuous Delivery | |
|
||
on: | ||
push: | ||
tags: 'demo' | ||
tags: 'v*' # push events to matching v*, i.e. v1.0, v20.15.10 | ||
|
||
env: | ||
PYTHON_DEFAULT_VERSION: 3.8 | ||
|
||
jobs: | ||
demo: | ||
deploy: | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
B2_PYPI_PASSWORD: ${{ secrets.B2_PYPI_PASSWORD }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python 3.8 | ||
- name: Set up Python ${{ env.PYTHON_DEFAULT_VERSION }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.8 | ||
python-version: ${{ env.PYTHON_DEFAULT_VERSION }} | ||
- name: Display Python version | ||
run: python -c "import sys; print(sys.version)" | ||
- name: Install dependencies | ||
run: python -m pip install --upgrade nox pip | ||
|
||
- name: Build the distribution | ||
id: build | ||
run: nox -vs build | ||
- name: Read the Changelog | ||
id: read-changelog | ||
uses: mindsers/changelog-reader-action@v1 | ||
with: | ||
version: ${{ steps.build.outputs.version }} | ||
- name: Create GitHub release | ||
id: create-release | ||
uses: actions/create-release@v1 | ||
with: | ||
tag_name: ${{ github.ref }} | ||
release_name: ${{ steps.build.outputs.version }} | ||
body: ${{ steps.read-changelog.outputs.log_entry }} | ||
draft: false | ||
prerelease: false | ||
- name: Upload the distribution to GitHub | ||
uses: actions/upload-release-asset@v1 | ||
with: | ||
upload_url: ${{ steps.create-release.outputs.upload_url }} | ||
asset_path: ${{ steps.build.outputs.asset_path }} | ||
asset_name: ${{ steps.build.outputs.asset_name }} | ||
asset_content_type: application/gzip | ||
- name: Upload the distribution to PyPI | ||
if: ${{ env.B2_PYPI_PASSWORD != '' }} | ||
uses: pypa/[email protected] | ||
with: | ||
user: __token__ | ||
password: ${{ env.B2_PYPI_PASSWORD }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
# Changelog | ||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## [Unreleased] | ||
### Added | ||
* Support for bucket to bucket sync | ||
|
||
### Removed | ||
* Drop Python 2 and Python 3.4 support :tada: | ||
* Remove `--prefix` from `ls` (it didn't really work, use `folderName` argument) | ||
|
||
## [1.1.4] - 2020-07-15 | ||
### Added | ||
* Allow specifying custom realm in B2Session.authorize_account | ||
|
||
## [1.1.2] - 2020-07-06 | ||
### Fixed | ||
* Fix upload part for file range on Python 2.7 | ||
|
||
## [1.1.0] - 2020-06-24 | ||
### Added | ||
* Add `list_file_versions` method to buckets. | ||
* Add server-side copy support for large files | ||
* Add ability to synthesize objects from local and remote sources | ||
* Add AuthInfoCache, InMemoryCache and AbstractCache to public interface | ||
* Add ability to filter in ScanPoliciesManager based on modification time | ||
* Add ScanPoliciesManager and SyncReport to public interface | ||
* Add md5 checksum to FileVersionInfo | ||
* Add more keys to dicts returned by as_dict() methods | ||
|
||
### Changed | ||
* Make sync treat hidden files as deleted | ||
* Ignore urllib3 "connection pool is full" warning | ||
|
||
### Removed | ||
* Remove arrow warnings caused by https://github.com/crsmithdev/arrow/issues/612 | ||
|
||
### Fixed | ||
* Fix handling of modification time of files | ||
|
||
## [1.0.2] - 2019-10-15 | ||
### Changed | ||
* Remove upper version limit for arrow dependency | ||
|
||
## [1.0.0] - 2019-10-03 | ||
### Fixed | ||
* Minor bug fix. | ||
|
||
## [1.0.0-rc1] - 2019-07-09 | ||
### Deprecated | ||
* Deprecate some transitional method names to v0 in preparation for v1.0.0. | ||
|
||
## [0.1.10] - 2019-07-09 | ||
### Removed | ||
* Remove a parameter (which did nothing, really) from `b2sdk.v1.Bucket.copy_file` signature | ||
|
||
## [0.1.8] - 2019-06-28 | ||
### Added | ||
* Add support for b2_copy_file | ||
* Add support for `prefix` parameter on ls-like calls | ||
|
||
## [0.1.6] - 2019-04-24 | ||
### Changed | ||
* Rename account ID for authentication to application key ID. | ||
Account ID is still backwards compatible, only the terminology | ||
has changed. | ||
|
||
### Fixed | ||
* Fix transferer crashing on empty file download attempt | ||
|
||
|
||
## [0.1.4] - 2019-04-04 | ||
### Added | ||
Initial official release of SDK as a separate package (until now it was a part of B2 CLI) | ||
|
||
[Unreleased]: https://github.com/Backblaze/b2-sdk-python/compare/v1.1.4...HEAD | ||
[1.1.4]: https://github.com/Backblaze/b2-sdk-python/compare/v1.1.2...v1.1.4 | ||
[1.1.2]: https://github.com/Backblaze/b2-sdk-python/compare/v1.1.0...v1.1.2 | ||
[1.1.0]: https://github.com/Backblaze/b2-sdk-python/compare/v1.0.2...v1.1.0 | ||
[1.0.2]: https://github.com/Backblaze/b2-sdk-python/compare/v1.0.0...v1.0.2 | ||
[1.0.0]: https://github.com/Backblaze/b2-sdk-python/compare/v1.0.0-rc1...v1.0.0 | ||
[1.0.0-rc1]: https://github.com/Backblaze/b2-sdk-python/compare/v0.1.10...v1.0.0-rc1 | ||
[0.1.10]: https://github.com/Backblaze/b2-sdk-python/compare/v0.1.8...v0.1.10 | ||
[0.1.8]: https://github.com/Backblaze/b2-sdk-python/compare/v0.1.6...v0.1.8 | ||
[0.1.6]: https://github.com/Backblaze/b2-sdk-python/compare/v0.1.4...v0.1.6 | ||
[0.1.4]: https://github.com/Backblaze/b2-sdk-python/compare/4fd290c...v0.1.4 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
include README.md | ||
include requirements.txt | ||
include LICENSE |
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