Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
2f63be0c
Commit
2f63be0c
authored
Oct 07, 2020
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
get_task_packages: add arepo packages (i586) too
parent
2ed88c9f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletion
+15
-1
epm-sh-altlinux
bin/epm-sh-altlinux
+15
-1
No files found.
bin/epm-sh-altlinux
View file @
2f63be0c
...
...
@@ -122,11 +122,25 @@ tasknumber()
isnumber
"
$num
"
&&
echo
"
$*
"
}
# todo: improve apt-repo
get_task_arepo_packages
()
{
epm assure apt-repo
epm assure curl
info
"TODO: please, improve apt-repo to support arepo (i586-) packages for apt-repo list task"
showcmd
"curl -s -f http://git.altlinux.org/tasks/
$tn
/plan/arepo-add-x86_64-i586 | cut -f1"
a
=
''
curl
-s
-f
http://git.altlinux.org/tasks/
$tn
/plan/arepo-add-x86_64-i586 2>/dev/null |
cut
-f1
}
# use assure apt-repo before
get_task_packages
()
{
local arch
=
"
$(
$DISTRVENDOR
-a
)
"
local
tn
for
tn
in
$(
tasknumber
"
$@
"
)
;
do
docmd apt-repo list task
"
$tn
"
showcmd apt-repo list task
"
$tn
"
a
=
''
apt-repo list task
"
$tn
"
[
"
$arch
"
=
"x64_64"
]
&&
get_task_arepo_packages
"
$tn
"
done
}
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