Skip to content

Commit 7a418a2

Browse files
author
lukpueh
authored
Merge pull request #1094 from joshuagl/joshuagl/v0.13.0
Prepare for a 0.13.0 release
2 parents f4eb001 + eb1c8d0 commit 7a418a2

File tree

4 files changed

+62
-2
lines changed

4 files changed

+62
-2
lines changed

docs/CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,32 @@
11
# Changelog
22

3+
## v0.13.0
4+
### Added
5+
* Add support for BLAKE hash functions (#993)
6+
* Don't list root metadata in snapshot metadata, per latest spec (#988)
7+
* Enable targets metadata to be generated without access to the target files (#1007, #1020)
8+
* Implement support for abstract files and directories (#1024, #1034)
9+
* Make lengths and hashes optional for timestamp and snapshot roles (#1031)
10+
11+
### Changed
12+
* Revise requirements files to have layered requirements (#978, #982)
13+
* Update tutorial instructions (#981, #992) and documentation (#1054, #1001)
14+
* Replace hard-coded logger names (#989)
15+
* Fix target file path hashing to ensure paths are hashed as they appear in targets metadata (#1007)
16+
* Refactor code handling hashed bins (#1007, #1013, #1040, #1058)
17+
* Improve performance when delegating to a large number of hashed bins (#1012)
18+
* Improve path handling consistency when adding targets and paths (#1008)
19+
* Clarify error message and docstring for custom parameter of add_target() (#1027)
20+
* Ensure each key applies to signature threshold only once (#1091)
21+
22+
## Fixed
23+
* Fix broken CI (#985)
24+
* Fix tests (#1029, #1064, #1067)
25+
* Fix loading of delegated targets during repository load (#1049, #1052, #1071)
26+
* Fix key loading in repo.py (#1066)
27+
* Remove redundant code in downloader (#1073)
28+
* Fix alarming logging in updater (#1092)
29+
330
## v0.12.2
431
* Fix incorrect threshold signature computation (#974)
532
* Drop support for python 3.4 (#966)

docs/RELEASE.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Release process
2+
3+
* Ensure docs/CHANGELOG.md contains a one-line summary of each [notable
4+
change](https://keepachangelog.com/) since the prior release
5+
* Update setup.py and `tuf/__init__.py` to the new version number vA.B.C
6+
* Test packaging, uploading to Test PyPI and installing from a virtual environment
7+
* Remove existing dist build dirs
8+
* Create source dist `python setup.py sdist`
9+
* Create wheel (with 2 and 3 support) `python setup.py bdist_wheel --universal`
10+
* Sign the dists `gpg --detach-sign -a dist/tuf-vA.B.C.tar.gz`
11+
* Upload to test PyPI `twine upload --repository testpypi dist/*`
12+
* Verify the uploaded package https://testpypi.python.org/pypi/tuf/
13+
* Create a PR with updated CHANGELOG.md and version bumps
14+
* Once the PR is merged, pull the updated `develop` branch locally
15+
* Create a signed tag matching the updated version number on the merge commit
16+
`git tag --sign vA.B.C`
17+
* Create a new release on GitHub, copying the CHANGELOG.md entries for the release
18+
* Create a package for the formal release
19+
* Remove existing dist build dirs
20+
* Create source dist `python setup.py sdist`
21+
* Create wheel (with 2 and 3 support) `python setup.py bdist_wheel --universal`
22+
* Sign source dist `gpg --detach-sign -a dist/tuf-vA.B.C.tar.gz`
23+
* Sign wheel `gpg --detach-sign -a dist/tuf-vA.B.C-py2.py3-none-any.whl`
24+
* Upload to test PyPI `twine upload --repository testpypi dist/*`
25+
* Verify the uploaded package https://testpypi.python.org/pypi/tuf/
26+
* Upload to PyPI `twine upload dist/*`
27+
* Attach the signed dists to the release on GitHub
28+
* Announce the release on [#tuf on CNCF Slack](https://cloud-native.slack.com/archives/C8NMD3QJ3)
29+
* Ensure [POUF 1](https://github.com/theupdateframework/taps/blob/master/POUFs/reference-POUF/pouf1.md), for the reference implementation, is up-to-date

setup.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878

7979
setup(
8080
name = 'tuf',
81-
version = '0.12.2', # If updating version, also update it in tuf/__init__.py
81+
version = '0.13.0', # If updating version, also update it in tuf/__init__.py
8282
description = 'A secure updater framework for Python',
8383
long_description = long_description,
8484
long_description_content_type='text/markdown',
@@ -108,6 +108,10 @@
108108
'Topic :: Security',
109109
'Topic :: Software Development'
110110
],
111+
project_urls={
112+
'Source': 'https://github.com/theupdateframework/tuf',
113+
'Issues': 'https://github.com/theupdateframework/tuf/issues'
114+
},
111115
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4",
112116
install_requires = [
113117
'iso8601>=0.1.12',

tuf/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# setup.py has it hard-coded separately.
33
# Currently, when the version is changed, it must be set in both locations.
44
# TODO: Single-source the version number.
5-
__version__ = "0.12.2"
5+
__version__ = "0.13.0"
66

77
# This reference implementation produces metadata intended to conform to
88
# version 1.0.0 of the TUF specification, and is expected to consume metadata

0 commit comments

Comments
 (0)