Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
mrhlpr
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
Package registry
Model registry
Operate
Environments
Terraform modules
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
postmarketOS
mrhlpr
Merge requests
!49
mrtest/add_packages.py: add explanation why there might be no artifacts
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Imported
mrtest/add_packages.py: add explanation why there might be no artifacts
longnoserob/no_artifacts
into
master
Overview
1
Commits
1
Pipelines
1
Changes
1
Merged
Imported
Administrator
requested to merge
longnoserob/no_artifacts
into
master
6 months ago
Overview
1
Commits
1
Pipelines
1
Changes
1
Expand
closes
#22 (closed)
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
3e099e4a
1 commit,
6 months ago
1 file
+
7
−
7
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
mrtest/add_packages.py
+
7
−
7
Options
@@ -115,13 +115,13 @@ def add_packages(origin, mr_id, no_cache):
try
:
zip_path
=
mrhlpr
.
mr
.
get_artifacts_zip
(
mr_id
,
no_cache
,
origin
)
except
HTTPError
:
print
(
"""
Remote server does not have any packages to download.
Please trigger again the MR {} to generate the packages.
"""
.
format
(
mr_id
)
)
except
(
HTTPError
,
AttributeError
)
:
print
(
f
"
\r\n
Remote server does not have any packages to download for MR
{
mr_id
}
!
"
)
print
(
"
\r\n
This could be caused by:
"
)
print
(
"
* use of [CI:skip-build] in the last commit
"
)
print
(
"
* CI pipeline failure
"
)
print
(
"
* MR is in draft status and pipelines have not run yet.
"
)
print
(
f
"
Please trigger again the MR
{
mr_id
}
to generate the packages.
\r\n
"
)
exit
(
0
)
selection
=
mrtest
.
select_package
.
ask
(
zip_path
)
Loading