Update dependency python-gitlab to v4.8.0
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
python-gitlab (changelog) | dependencies | minor |
4.6.0 -> 4.8.0
|
Release Notes
python-gitlab/python-gitlab (python-gitlab)
v4.8.0
Chore
-
chore(deps): update gitlab/gitlab-ee docker tag to v17.1.2-ee.0 (
6fedfa5
) -
chore(deps): update all non-major dependencies (
4a2b213
) -
chore(ci): specify name of "stale" label
Saw the following error in the log: [#2618] Removing the label "Stale" from this issue... ##[error][#2618] Error when removing the label: "Label does not exist"
My theory is that the case doesn't match ("Stale" != "stale") and that is why it failed. Our label is "stale" so update this to match. Thought of changing the label name on GitHub but then would also require a change here to the "any-of-labels". So it seemed simpler to just change it here.
It is confusing though that it detected the label "stale", but then
couldn't delete it. (44f62c4
)
- chore(ci): stale: allow issues/MRs that have stale label to be closed
If a stale
label is manually applied, allow the issue or MR to be
closed by the stale job.
Previously it would require the stale
label and to also have one of
'need info' or 'Waiting for response' labels added. (2ab88b2
)
-
chore(ci): use codecov token when available (
b74a6fb
) -
chore(deps): update python-semantic-release/upload-to-gh-release digest to
fe6cc89
(3f3ad80
) -
chore(deps): update all non-major dependencies (
0f59069
) -
chore: add
show_caller
argument toutils.warn()
This allows us to not add the caller's location to the UserWarning
message. (7d04315
)
-
chore: use correct type-hint for
die()
(9358640
) -
chore(deps): update gitlab/gitlab-ee docker tag to v17.1.1-ee.0 (
5e98510
) -
chore(deps): update python-semantic-release/upload-to-gh-release digest to
c7c3b69
(23393fa
) -
chore(deps): update all non-major dependencies (
cf87226
)
Documentation
- docs: document how to use
sudo
if modifying an object
Add a warning about using sudo
when saving.
Give an example of how to get
an object, modify it, and then save
it using sudo
- docs: variables: add note about
filter
for updating
Add a note about using filter
when updating a variable.
Closes: #2835
Closes: #1387
Closes: #1125 (c378817
)
Feature
-
feat(api): add support for project cluster agents (
32dbc6f
) -
feat(api): add support for container registry protection rules (
6d31649
) -
feat(api): add support for package protection rules (
6b37811
) -
feat(api): add support for commit sequence (
1f97be2
)
Fix
- fix: issues
closed_by()/related_merge_requests()
usehttp_list
The closed_by()
and related_merge_requests()
API calls return
lists. So use the http_list()
method.
This will also warn the user if only a subset of the data is returned. (de2e4dd
)
- fix: Have
participants()
method usehttp_list()
Previously it was using http_get()
but the participants
API
returns a list of participants. Also by using this then we will warn
if only a subset of the participants are returned.
- fix(files): CR: add explicit comparison to
None
Co-authored-by: Nejc Habjan <hab.nejc@gmail.com> (51d8f88
)
- fix(files): make
ref
parameter optional in get raw file api
The ref
parameter was made optional in gitlab v13.11.0. (00640ac
)
- fix(cli): generate UserWarning if
list
does not return all entries
Previously in the CLI, calls to list()
would have get_all=False
by
default. Therefore hiding the fact that not all items are being
returned if there were more than 20 items.
Added --no-get-all
option to list
actions. Along with the already
existing --get-all
.
Refactor
- refactor(package_protection_rules): add missing attributes (
c307dd2
)
Test
-
test(registry): disable functional tests for unavailable endpoints (
ee393a1
) -
test(files): test with and without
ref
parameter in test case (f316b46
) -
test(files): omit optional
ref
parameter in test case (9cb3396
) -
test(fixtures): remove deprecated config option (
2156949
)
v4.7.0
Chore
-
chore(deps): update all non-major dependencies (
88de2f0
) -
chore(deps): update all non-major dependencies (
a510f43
) -
chore(deps): update gitlab/gitlab-ee docker tag to v17.0.2-ee.0 (
51779c6
) -
chore(deps): update python-semantic-release/upload-to-gh-release digest to
6b7558f
(fd0f0b0
) -
chore(deps): update all non-major dependencies (
d4fdf90
) -
chore(deps): update dependency types-setuptools to v70 (
7767514
) -
chore(deps): update gitlab/gitlab-ee docker tag to v17.0.1-ee.0 (
df0ff4c
) -
chore(deps): update python-semantic-release/upload-to-gh-release digest to
477a404
(02a551d
) -
chore(deps): update all non-major dependencies (
d5de288
) -
chore: add a help message for
gitlab project-key enable
Add some help text for gitlab project-key enable
. This both adds
help text and shows how to use the new help
feature.
Example:
$ gitlab project-key --help usage: gitlab project-key [-h] {list,get,create,update,delete,enable} ...
options: -h, --help show this help message and exit
action:
{list,get,create,update,delete,enable}
Action to execute on the GitLab resource.
list List the GitLab resources
get Get a GitLab resource
create Create a GitLab resource
update Update a GitLab resource
delete Delete a GitLab resource
enable Enable a deploy key for the project (1291dbb
)
- chore: sort CLI behavior-related args to remove
Sort the list of CLI behavior-related args that are to be removed. (9b4b0ef
)
Feature
-
feat(api): add support for latest pipeline (
635f5a7
) -
feat: add
--no-mask-credentials
CLI argument
This gives the ability to not mask credentials when using the
--debug
argument. (18aa1fc
)
Fix
- fix: add ability to add help to custom_actions
Now when registering a custom_action can add help text if desired.
Also delete the VerticalHelpFormatter as no longer needed. When the
help value is set to None
or some other value, the actions will get
printed vertically. Before when the help value was not set the actions
would all get put onto one line. (9acd2d2
)
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.