Skip to content

Commit

Permalink
Merge pull request #383 from bmbouter/create-3.0.0rc8-release
Browse files Browse the repository at this point in the history
Create 3.0.0rc8 release
  • Loading branch information
bmbouter authored Nov 14, 2019
2 parents 1380b09 + 43d0021 commit 7705281
Show file tree
Hide file tree
Showing 35 changed files with 116 additions and 53 deletions.
114 changes: 114 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,120 @@ Changelog

.. towncrier release notes start
3.0.0rc8 (2019-11-13)
=====================
REST API
--------

Features
~~~~~~~~

- New repository version is not created if no content was added or removed.
`#3308 <https://pulp.plan.io/issues/3308>`_
- Change `relative_path` from `CharField` to `TextField`
`#4544 <https://pulp.plan.io/issues/4544>`_
- Create Master/Detail models, serializers, viewsets for FileSystemExporter.
`#5086 <https://pulp.plan.io/issues/5086>`_
- Adds ability to view content served by pulpcore-content in a browser.
`#5378 <https://pulp.plan.io/issues/5378>`_
- Adds ability to view distributions served by pulpcore-content in a browser.
`#5397 <https://pulp.plan.io/issues/5397>`_
- Users specify Pulp settings file locaiton and type using `PULP_SETTINGS` environment variable.
`#5560 <https://pulp.plan.io/issues/5560>`_
- Added ``CONTENT_ORIGIN`` setting, which is now required.
`#5629 <https://pulp.plan.io/issues/5629>`_
- Add storage information to the status API. Currently limited to disk space information.
`#5631 <https://pulp.plan.io/issues/5631>`_


Bugfixes
~~~~~~~~

- Raise meaningful error for invalid filters.
`#4780 <https://pulp.plan.io/issues/4780>`_
- Fix bug where 'ordering' parameter returned 400 error.
`#5621 <https://pulp.plan.io/issues/5621>`_
- Handling `write_only` fields on OpenAPISchema.
`#5622 <https://pulp.plan.io/issues/5622>`_
- Updated our package version requirements to be compatible with CentOS 7.
`#5696 <https://pulp.plan.io/issues/5696>`_


Deprecations and Removals
~~~~~~~~~~~~~~~~~~~~~~~~~

- Repository version number is no longer incremented if content has not changed.
`#3308 <https://pulp.plan.io/issues/3308>`_
- The /pulp/api/v3/repositories/ endpoint has been removed and Repositories have made a "typed" object. They now live at /pulp/api/v3/repositories/<plugin>/<type>, e.g. /repositories/file/file/.

The convention for sync is that it will now be performed by POSTing to {repo_href}/sync/ remote={remote_href} instead of by POSTING to {remote_href}/sync/ repository={repo_href}. The latter convention will break due to the aforementioned change.
`#5625 <https://pulp.plan.io/issues/5625>`_
- Remove plugin managed repos
`#5627 <https://pulp.plan.io/issues/5627>`_
- Removed CONTENT_HOST variable and replace its functionality with CONTENT_ORIGIN.
`#5649 <https://pulp.plan.io/issues/5649>`_
- Renamed ssl_ca_certificate to ca_cert, ssl_client_certificate to client_cert, ssl_client_key to
client_key, and ssl_validation to tls_validation.
`#5695 <https://pulp.plan.io/issues/5695>`_


Misc
~~~~

- `#5028 <https://pulp.plan.io/issues/5028>`_, `#5353 <https://pulp.plan.io/issues/5353>`_, `#5574 <https://pulp.plan.io/issues/5574>`_, `#5580 <https://pulp.plan.io/issues/5580>`_, `#5609 <https://pulp.plan.io/issues/5609>`_, `#5612 <https://pulp.plan.io/issues/5612>`_, `#5686 <https://pulp.plan.io/issues/5686>`_


Plugin API
----------

Features
~~~~~~~~

- Added `Repository.finalize_new_version(new_version)` which is called by `RepositoryVersion.__exit__`
to allow plugin-code to validate or modify the `RepositoryVersion` before pulpcore marks it as
complete and saves it.

Added `pulpcore.plugin.repo_version_utils.remove_duplicates(new_version)` for plugin writers to use.
It relies on the definition of repository uniqueness from the `repo_key_fields` tuple plugins can
define on their `Content` subclasses.
`#3541 <https://pulp.plan.io/issues/3541>`_
- Create Master/Detail models, serializers, viewsets for FileSystemExporter.
`#5086 <https://pulp.plan.io/issues/5086>`_
- Added the ``CONTENT_ORIGIN`` setting which can be used to reliably know the scheme+host+port to the
pulp content app.
`#5629 <https://pulp.plan.io/issues/5629>`_


Improved Documentation
~~~~~~~~~~~~~~~~~~~~~~

- Be more explicit about namespacing `ref_name` in plugin serializers.
`#5574 <https://pulp.plan.io/issues/5574>`_
- Add `Plugin API` section to the changelog.
`#5628 <https://pulp.plan.io/issues/5628>`_


Deprecations and Removals
~~~~~~~~~~~~~~~~~~~~~~~~~

- Renamed the Content.repo_key to be Content.repo_key_fields. Also the calling of `remove_duplicates`
no longer happens in `RepositoryVersion.add_content` and instead is intended for plugins to call
from `Repository.finalize_new_version(new_version)`. Also the `pulpcore.plugin.RemoveDuplicates`
Stage was removed.
`#3541 <https://pulp.plan.io/issues/3541>`_
- models.RepositoryVersion.create() is no longer available, it has been replaced by {repository instance}.new_version().

The convention for sync is that it will now be performed by POSTing to {repo_href}/sync/ remote={remote_href} instead of by POSTING to {remote_href}/sync/ repository={repo_href}. The latter will break due to becoming a typed resource, so plugins will need to adjust their code for the former convention.

Make repositories "typed". Plugin writers need to subclass the Repository model, viewset, and serializer, as well as the RepositoryVersion viewset (just the viewset). They should also remove the /sync/ endpoint from their remote viewset and place it on the repository viewset.
`#5625 <https://pulp.plan.io/issues/5625>`_
- Remove plugin managed repos
`#5627 <https://pulp.plan.io/issues/5627>`_


----


3.0.0rc7 (2019-10-15)
=====================

Expand Down
1 change: 0 additions & 1 deletion CHANGES/3308.feature

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/3308.removal

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/4544.feature

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/4780.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/5028.misc

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/5086.feature

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/5353.misc

This file was deleted.

2 changes: 0 additions & 2 deletions CHANGES/5378.feature

This file was deleted.

2 changes: 0 additions & 2 deletions CHANGES/5397.feature

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/5560.feature

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/5574.misc

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/5580.misc

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/5609.misc

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/5612.misc

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/5621.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/5622.bugfix

This file was deleted.

3 changes: 0 additions & 3 deletions CHANGES/5625.removal

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/5627.removal

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/5629.feature

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/5631.feature

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/5649.removal

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/5686.misc

This file was deleted.

2 changes: 0 additions & 2 deletions CHANGES/5695.removal

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/5696.bugfix

This file was deleted.

7 changes: 0 additions & 7 deletions CHANGES/plugin_api/3541.feature

This file was deleted.

4 changes: 0 additions & 4 deletions CHANGES/plugin_api/3541.removal

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/plugin_api/5086.feature

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/plugin_api/5574.doc

This file was deleted.

5 changes: 0 additions & 5 deletions CHANGES/plugin_api/5625.removal

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/plugin_api/5627.removal

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/plugin_api/5628.doc

This file was deleted.

2 changes: 0 additions & 2 deletions CHANGES/plugin_api/5629.feature

This file was deleted.

2 changes: 1 addition & 1 deletion pulpcore/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = '3.0.0rc8.dev'
__version__ = '3.0.0rc8'


from pkgutil import extend_path
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

setup(
name='pulpcore',
version='3.0.0rc8.dev',
version='3.0.0rc8',
description='Pulp Django Application and Related Modules',
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit 7705281

Please sign in to comment.