res="$(a='' curl -s-f http://git.altlinux.org/tasks/$tn/plan/arepo-add-x86_64-i586 2>/dev/null)"||{ warning "There is a download error for x86_64-i586 arepo.";return;}
echo"$res" | cut-f1
}
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">/dev/null ||continue
whatdepends|rdepends|whatrequires|wd)# HELPCMD: print packages dependences on that
whatdepends|rdepends|whatrequires|wd|required-by)# HELPCMD: print packages dependences on that
epm_cmd=whatdepends
;;
whatprovides)# HELPCMD: print packages provides that target
...
...
@@ -8362,13 +8898,13 @@ check_command()
addrepo|ar)# HELPCMD: add package repo (etersoft, autoimports, archive 2017/12/31); run with param to get list
epm_cmd=addrepo
;;
repolist|sl|rl|listrepo)# HELPCMD: print repo list
repolist|sl|rl|listrepo|repo-list)# HELPCMD: print repo list
epm_cmd=repolist
;;
repofix)# HELPCMD: fix paths in sources lists (ALT Linux only)
repofix)# HELPCMD: <mirror>: fix paths in sources lists (ALT Linux only). use repofix etersoft/yandex/basealt for rewrite URL to the specified server
epm_cmd=repofix
;;
removerepo|rr)# HELPCMD: remove package repo
removerepo|rr)# HELPCMD: remove package repo (shortcut for epm repo remove)
epm_cmd=removerepo
;;
repo)# HELPCMD: manipulate with repository list (run epm repo --help to help)
...
...
@@ -8377,7 +8913,7 @@ check_command()
full-upgrade)# HELPCMD: update all system packages and kernel
epm_cmd=full_upgrade
;;
release-upgrade|upgrade-release|upgrade-system)# HELPCMD: update whole system to the release in arg (default: next (latest) release)
release-upgrade|upgrade-release|upgrade-system|release-switch)# HELPCMD: upgrade/switch whole system to the release in arg (default: next (latest) release)
epm_cmd=release_upgrade
;;
kernel-update|kernel-upgrade|update-kernel|upgrade-kernel)# HELPCMD: update system kernel to the last repo version
...
...
@@ -8394,9 +8930,12 @@ check_command()
restore)# HELPCMD: install (restore) packages need for the project (f.i. by requirements.txt)
epm_cmd=restore
;;
autoremove|package-cleanup)# HELPCMD: auto remove unneeded package(s) Supports args for ALT: [libs|python|perl|libs-devel]
autoremove|package-cleanup)# HELPCMD: auto remove unneeded package(s) Supports args for ALT: [--direct [libs|python|perl|libs-devel]]
epm_cmd=autoremove
;;
mark)# HELPCMD: mark package as manually or automatically installed (see epm mark --help)
epm_cmd=mark
;;
autoorphans|--orphans)# HELPCMD: remove all packages not from the repository
epm_cmd=autoorphans
;;
...
...
@@ -8434,6 +8973,12 @@ check_command()
repack)# HELPCMD: repack rpm to local compatibility
epm_cmd=repack
;;
prescription|recipe)# HELPCMD: run prescription (a script to achieving the goal), run without args to get list
epm_cmd=prescription
;;
play)# HELPCMD: install the application from the official site (run without args to get list)