Close #296: Add wiki links to repository warnings (#473)

Also update one wiki link, that pointed to the old wiki.
This commit is contained in:
Oliver Smith 2017-08-27 14:00:53 +00:00 committed by GitHub
parent 3942a06a2d
commit 25bad18830
3 changed files with 5 additions and 3 deletions

View File

@ -198,7 +198,8 @@ def is_necessary(args, arch, apkbuild, apkindex_path=None):
if pmb.parse.version.compare(version_old, version_new) == 1:
logging.warning("WARNING: Package '" + package + "' in your aports folder"
" has version " + version_new + ", but the binary package"
" repositories already have version " + version_old + "!")
" repositories already have version " + version_old + "!"
" See also: <https://postmarketos.org/warning-repo2>")
return False
# b) Aports folder has a newer version

View File

@ -145,7 +145,8 @@ def install_is_necessary(args, build, arch, package, packages_installed):
logging.info("WARNING: " + arch + " package '" + package +
"' installed version " + data_installed["version"] +
" is newer, than the version in the repositories: " +
data_repo["version"])
data_repo["version"] +
" See also: <https://postmarketos.org/warning-repo>")
return False
# b) Repo newer

View File

@ -128,5 +128,5 @@ def frontend(args):
build(args, flavor, suffix)
if action in ["ls", "extract"]:
link = "https://github.com/postmarketOS/pmbootstrap/wiki/initramfs-development"
link = "https://wiki.postmarketos.org/wiki/Initramfs_development"
logging.info("See also: <" + link + ">")