Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.devtools
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bob
bob.devtools
Commits
2424386a
You need to sign in or sign up before continuing.
Commit
2424386a
authored
2 years ago
by
Yannick DAYER
Browse files
Options
Downloads
Patches
Plain Diff
[refactor] black
parent
bbd7481f
No related branches found
Branches containing commit
Tags
v3.0.5
Tags containing commit
1 merge request
!304
Fix the gitlab warning about list returning partial results
Pipeline
#63361
passed
2 years ago
Stage: qa
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bob/devtools/changelog.py
+6
-2
6 additions, 2 deletions
bob/devtools/changelog.py
with
6 additions
and
2 deletions
bob/devtools/changelog.py
+
6
−
2
View file @
2424386a
...
@@ -60,7 +60,9 @@ def get_last_tag(package):
...
@@ -60,7 +60,9 @@ def get_last_tag(package):
# according to the Gitlab API documentation, tags are sorted from the last
# according to the Gitlab API documentation, tags are sorted from the last
# updated to the first, by default - no need to do further sorting!
# updated to the first, by default - no need to do further sorting!
tag_list
=
package
.
tags
.
list
(
page
=
1
,
per_page
=
1
)
# Silence userWarning on list()
tag_list
=
package
.
tags
.
list
(
page
=
1
,
per_page
=
1
)
# Silence userWarning on list()
if
tag_list
:
if
tag_list
:
# there are tags, use these
# there are tags, use these
...
@@ -86,7 +88,9 @@ def get_last_tag_date(package):
...
@@ -86,7 +88,9 @@ def get_last_tag_date(package):
# according to the Gitlab API documentation, tags are sorted from the last
# according to the Gitlab API documentation, tags are sorted from the last
# updated to the first, by default - no need to do further sorting!
# updated to the first, by default - no need to do further sorting!
tag_list
=
package
.
tags
.
list
(
page
=
1
,
per_page
=
1
)
# Silence userWarning on list()
tag_list
=
package
.
tags
.
list
(
page
=
1
,
per_page
=
1
)
# Silence userWarning on list()
if
tag_list
:
if
tag_list
:
# there are tags, use these
# there are tags, use these
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment