@@ -13,6 +13,131 @@ Changelog
13
13
14
14
.. towncrier release notes start
15
15
16
+ 4.2.0b1 (2020-09-11)
17
+ ====================
18
+
19
+ Features
20
+ --------
21
+
22
+ - When subscribers modify their synclist or the golden repository versions changes, AH needs to add/remove content from the associated repositories.
23
+ `#17 <https://github.com/ansible/galaxy_ng/issues/17 >`_
24
+ - Configure and manage content sync and collection remotes
25
+ `#22 <https://github.com/ansible/galaxy_ng/issues/22 >`_
26
+ - Support auto-created inbound pulp repositories per namespace
27
+ `#37 <https://github.com/ansible/galaxy_ng/issues/37 >`_
28
+ - Migration to add repo and distro for existing namespaces
29
+ `#38 <https://github.com/ansible/galaxy_ng/issues/38 >`_
30
+ - Add OpenAPI spec for exposing pulp collection viewsets.
31
+ `#93 <https://github.com/ansible/galaxy_ng/issues/93 >`_
32
+ - After successful import move collection version from incoming repo to staging repo
33
+ `#117 <https://github.com/ansible/galaxy_ng/issues/117 >`_
34
+ - Remove v3 api CollectionVersion certified flag filter
35
+ `#120 <https://github.com/ansible/galaxy_ng/issues/120 >`_
36
+ - Move _ui/ to the same level as v3/ and add versions to it.
37
+ `#225 <https://github.com/ansible/galaxy_ng/issues/225 >`_
38
+ - Create default synclist and associated repository/distribution on login.
39
+ `#264 <https://github.com/ansible/galaxy_ng/issues/264 >`_
40
+ - When subscribers modify their synclist or the upstream repository versions changes, update the synclist repos.
41
+
42
+ Add /curate/ endpoints to synclists (POST /_ui/my-synclists/{pk}/curate/) to trigger curating
43
+ a synclist repo.
44
+
45
+ Add /curate/ endpoints to repositories (POST /content/<repo_name>/v3/collections/curate/
46
+ to trigger updating all synclists repos whose upstream_repository points to
47
+ /content/<repo_name>/
48
+
49
+ Add new tasks:
50
+
51
+ * curate_synclist_repository(synclist_pk)
52
+ * update synclist.repository based on synclist.policy, synclist.collections, and synclist.namespaces
53
+ * curate_all_synclist_repositoies(upstream_repository_name)
54
+ * Create a TaskGroup and create a curate_synclist_repository subtask for each synclist repo
55
+ * Also creates a GroupProgressReport for the TaskGroup
56
+ * Could be used to surface promotion status in UI
57
+
58
+ Note: When using curate_all_synclist_repositoies with a lot of synclist repositories, it is
59
+ recommended to enable multiple pulp workers.
60
+
61
+ For example, if using the galaxy_ng dev docker-compose tools:
62
+
63
+ $ ./compose up --scale worker=2
64
+ `#265 <https://github.com/ansible/galaxy_ng/issues/265 >`_
65
+ - When creating a synclist, ensure that the curated repo and distribution exists, and create them if needed.
66
+ `#267 <https://github.com/ansible/galaxy_ng/issues/267 >`_
67
+ - Add endpoints to manage Content Sync for community and rh-certified repositories.
68
+ `#282 <https://github.com/ansible/galaxy_ng/issues/282 >`_
69
+ - API: Update org repositories when new collection version published
70
+
71
+ For c.rh.c, when a collection version is promoted from the staging
72
+ repository to the published repository, the subscriber org repositories
73
+ must be updated with the new artifact.
74
+
75
+ The promotion event has to:
76
+ - Kick-off n number of tasks, where n is the number of synclist repos
77
+ `#285 <https://github.com/ansible/galaxy_ng/issues/285 >`_
78
+ - Add endpoint to get status of pulp tasks
79
+ `#295 <https://github.com/ansible/galaxy_ng/issues/295 >`_
80
+ - Implement RBAC.
81
+ - Adds DRF Access Policy to control permissions on DRF viewsets
82
+ - Adds Django Guardian for assigning permissions to objects
83
+ `#303 <https://github.com/ansible/galaxy_ng/issues/303 >`_
84
+ - Expose the pulp core groups api. Exposes:
85
+ - _ui/groups/ for listing and creating groups
86
+ - _ui/groups/<pk> for deleting groups
87
+ - _ui/groups/<pk>/model-permissions for listing and adding permissions to groups
88
+ - _ui/groups/<pk>/model-permissions/<pk> for removing permissions from groups
89
+ - _ui/groups/<pk>/users/ for listing and adding users to groups
90
+ - _ui/groups/<pk>/users/<pk> for removing users from groups
91
+ `#304 <https://github.com/ansible/galaxy_ng/issues/304 >`_
92
+ - Removal of existing permission system
93
+ - Viewsets no longer check to see if the user is in the system:partner-engineers group to determine if the user is an admin.
94
+ - Red Hat entitlements checks have been moved to DRF Access Policy
95
+ - Existing permission classes have been removed and replaced with DRF Access Policy permission classes.
96
+ `#305 <https://github.com/ansible/galaxy_ng/issues/305 >`_
97
+ - Add relevant user permissions to the _ui/me/ api for the UI to use.
98
+ `#306 <https://github.com/ansible/galaxy_ng/issues/306 >`_
99
+ - Use pulp repos to denote approved content on auto-approval
100
+ `#316 <https://github.com/ansible/galaxy_ng/issues/316 >`_
101
+ - Added Dockerfile.rhel8 for building docker images based on RHEL8.
102
+ `#362 <https://github.com/ansible/galaxy_ng/issues/362 >`_
103
+ - On publish check if inbound repo allows publishing
104
+ `#372 <https://github.com/ansible/galaxy_ng/issues/372 >`_
105
+ - Pin to pulpcore 3.6.0, pulp-ansible 0.2.0 and pulp-container 2.0.0
106
+ `#380 <https://github.com/ansible/galaxy_ng/issues/380 >`_
107
+ - Adds assign-permission management command for associating permissions to a group
108
+ `#389 <https://github.com/ansible/galaxy_ng/issues/389 >`_
109
+ - Add `distributions ` and `my-distributions ` endpoints to the UI api.
110
+ `#397 <https://github.com/ansible/galaxy_ng/issues/397 >`_
111
+
112
+
113
+ Bugfixes
114
+ --------
115
+
116
+ - Fix PATCH on my-synclists
117
+ `#269 <https://github.com/ansible/galaxy_ng/issues/269 >`_
118
+ - Fixed bug in auto certification parameter check, that caused all submitted content being automatically approved.
119
+ `#318 <https://github.com/ansible/galaxy_ng/issues/318 >`_
120
+ - Update requirements to use latest git versions of pulp*
121
+ `#330 <https://github.com/ansible/galaxy_ng/issues/330 >`_
122
+ - Update uses of pulp_ansible import_collection tasks to use PulpTemporaryFile
123
+ `#333 <https://github.com/ansible/galaxy_ng/issues/333 >`_
124
+ - chillout check_pulpcore_imports for a bit
125
+ `#387 <https://github.com/ansible/galaxy_ng/issues/387 >`_
126
+ - Add docs_blob to v3 api for collection versions
127
+ `#403 <https://github.com/ansible/galaxy_ng/issues/403 >`_
128
+ - Create namespaces on content sync
129
+ `#404 <https://github.com/ansible/galaxy_ng/issues/404 >`_
130
+
131
+
132
+ Misc
133
+ ----
134
+
135
+ - `#297 <https://github.com/ansible/galaxy_ng/issues/297 >`_, `#349 <https://github.com/ansible/galaxy_ng/issues/349 >`_
136
+
137
+
138
+ ----
139
+
140
+
16
141
4.2.0a10 (2020-07-15)
17
142
=====================
18
143
0 commit comments