Added rebuild packages from sbo repo when upgrading #85

This commit is contained in:
Dimitris Zlatanidis 2017-04-09 21:01:48 +02:00
parent dfc9fb90a4
commit 42e30498c5
4 changed files with 14 additions and 9 deletions

View file

@ -1,11 +1,13 @@
3.2.7 - 06/04/2017
3.2.7 - 09/04/2017
Updated:
- Alien's repositories {alien, ktown, multi} #83 (Thanks to travis-82)
- Rworkman's repository {rlw} #83
- Package security message for network and sbo repository
Added:
- Sbosrcarch as secondary repository for source files #82 (Thanks to
travis-82)
- Rebuild packages from sbo repository when upgrading #85 (Thanks to bhreach)
3.2.6 - 22/02/2017
Updated:

View file

@ -39,8 +39,8 @@ Usage: slpkg [COMMANDS|OPTIONS] {repository|package...}
[list, build, install, build-install]]
[-g [print, edit, reset]]
[-l [repository], --index, --installed, --name]
[-c [repository], --upgrade, --skip=[...], --resolve-off,
--checklist]
[-c [repository], --upgrade, --rebuild, --skip=[...],
--resolve-off, --checklist]
[-s [repository] [package...], --rebuild, --reinstall,
--resolve-off, --download-only,
--directory-prefix=[dir],
@ -204,7 +204,7 @@ Additional options:
\fB--name\fP : Print package name only.
.SS -c, --check, check if your packages is up to date
\fBslpkg\fP \fB-c\fP <\fIrepository\fP> \fB--upgrade\fP \fB--skip=[packages...]\fP,
\fBslpkg\fP \fB-c\fP <\fIrepository\fP> \fB--upgrade\fP \fB--rebuild\fP \fB--skip=[packages...]\fP,
\fB--resolve-off\fP, \fB--checklist\fP
.PP
Check your packages if up to date. Slackware patches repository works independently of the
@ -217,6 +217,8 @@ Additional options:
.PP
\fB--upgrade\fP : Check and install packages for upgrade.
.PP
\fB--rebuild\fP : Rebuild packages from sbo repository.
.PP
\fB--resolve-off\fP : Switch off automatic resolve dependencies.
.PP
\fB--skip=[packages...]\fP : Skip packages from upgrade separate by comma like "slpkg -c sbo --skip=jdk,pep8,pip" (See REGEX).

View file

@ -110,8 +110,8 @@ Optional arguments:
the system.
-c | --check, [repository], --upgrade, Check for updated packages from
--skip=[...], --resolve--off the repositories and upgrade or
--checklist install with all dependencies.
--rebuild --skip=[...], the repositories and upgrade or
--resolve-off, --checklist install with all dependencies.
-s | --sync, [repository] [package...], Sync packages. Install packages
--rebuild, --reinstall, directly from remote repositories
@ -193,8 +193,8 @@ def usage(repo):
[list, build, install, build-install]]
[-g [print, edit, reset]]
[-l [repository], --index, --installed, --name]
[-c [repository], --upgrade, --skip=[...], --resolve-off,
--checklist]
[-c [repository], --upgrade, --rebuild, --skip=[...],
--resolve-off, --checklist]
[-s [repository] [package...], --rebuild, --reinstall,
--resolve-off, --download-only,
--directory-prefix=[dir],

View file

@ -292,7 +292,8 @@ class ArgParse(object):
"--upgrade",
"--skip=",
"--resolve-off",
"--checklist"
"--checklist",
"--rebuild"
]
flag, skip = self.__pkg_upgrade_flags(flags)
if (len(self.args) == 3 and self.args[0] in options and