Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Oskar Roesler
ros-aur-helpers
Commits
4028d47d
Commit
4028d47d
authored
Jan 27, 2021
by
Felix Exner
Committed by
Oskar Roesler
Jan 27, 2021
Browse files
Create list of failed packages
parent
693e8e85
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
aurci/build.py
aurci/build.py
+8
-1
No files found.
aurci/build.py
View file @
4028d47d
...
...
@@ -63,8 +63,15 @@ class Packages(Routines):
def
build
(
self
):
if
self
.
package
==
"all"
:
failed_packages
=
list
()
for
folder
in
os
.
listdir
(
self
.
packages_path
):
Packages
(
folder
,
self
.
verbosity
,
self
.
output
).
makepkg
()
try
:
Packages
(
folder
,
self
.
verbosity
,
self
.
output
).
makepkg
()
except
RuntimeWarning
as
err
:
# Using the actual package name would be nicer!
failed_packages
.
append
(
folder
)
print
(
err
)
print
(
"Failed packages:
\n
{}"
.
format
(
" "
.
join
(
failed_packages
)))
else
:
self
.
makepkg
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment