Merge pull request #280 from WordOps/updating-configuration
Hotfix v3.12.1
This commit is contained in:
10
CHANGELOG.md
10
CHANGELOG.md
@@ -8,6 +8,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|||||||
|
|
||||||
### v3.9.x - [Unreleased]
|
### v3.9.x - [Unreleased]
|
||||||
|
|
||||||
|
### v3.12.1 - 2020-05-14
|
||||||
|
|
||||||
|
#### Fixed
|
||||||
|
|
||||||
|
- Redis repository on Ubuntu 20.04 LTS
|
||||||
|
|
||||||
|
#### Changed
|
||||||
|
|
||||||
|
- MariaDB offical repository available for Ubuntu 20.04 LTS
|
||||||
|
|
||||||
### v3.12.0 - 2020-05-13
|
### v3.12.0 - 2020-05-13
|
||||||
|
|
||||||
#### Added
|
#### Added
|
||||||
|
|||||||
@@ -58,11 +58,12 @@
|
|||||||
|
|
||||||
#### Recommended
|
#### Recommended
|
||||||
|
|
||||||
|
- Ubuntu 20.04 LTS (Focal)
|
||||||
- Ubuntu 18.04 LTS (Bionic)
|
- Ubuntu 18.04 LTS (Bionic)
|
||||||
|
|
||||||
#### Also compatible
|
#### Also compatible
|
||||||
|
|
||||||
- Ubuntu 20.04 LTS (Focal) (experimental)
|
- Ubuntu 20.04 LTS (Focal)
|
||||||
- Ubuntu 16.04 LTS (Xenial)
|
- Ubuntu 16.04 LTS (Xenial)
|
||||||
- Debian 9 (Stretch)
|
- Debian 9 (Stretch)
|
||||||
- Debian 10 (Buster)
|
- Debian 10 (Buster)
|
||||||
|
|||||||
2
install
2
install
@@ -9,7 +9,7 @@
|
|||||||
# -------------------------------------------------------------------------
|
# -------------------------------------------------------------------------
|
||||||
# wget -qO wo wops.cc && sudo -E bash wo
|
# wget -qO wo wops.cc && sudo -E bash wo
|
||||||
# -------------------------------------------------------------------------
|
# -------------------------------------------------------------------------
|
||||||
# Version 3.12.0 - 2020-05-13
|
# Version 3.12.1 - 2020-05-14
|
||||||
# -------------------------------------------------------------------------
|
# -------------------------------------------------------------------------
|
||||||
|
|
||||||
# CONTENTS
|
# CONTENTS
|
||||||
|
|||||||
2
setup.py
2
setup.py
@@ -27,7 +27,7 @@ if os.geteuid() == 0:
|
|||||||
os.makedirs('/var/lib/wo/tmp/')
|
os.makedirs('/var/lib/wo/tmp/')
|
||||||
|
|
||||||
setup(name='wordops',
|
setup(name='wordops',
|
||||||
version='3.12.0',
|
version='3.12.1',
|
||||||
description='An essential toolset that eases server administration',
|
description='An essential toolset that eases server administration',
|
||||||
long_description=LONG,
|
long_description=LONG,
|
||||||
long_description_content_type='text/markdown',
|
long_description_content_type='text/markdown',
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ def pre_pref(self, apt_packages):
|
|||||||
|
|
||||||
if ("mariadb-server" in apt_packages or "mariadb-client" in apt_packages):
|
if ("mariadb-server" in apt_packages or "mariadb-client" in apt_packages):
|
||||||
# add mariadb repository excepted on raspbian and ubuntu 19.04
|
# add mariadb repository excepted on raspbian and ubuntu 19.04
|
||||||
if ((not WOVar.wo_distro == 'raspbian') and (not WOVar.wo_platform_codename == 'focal')):
|
if not WOVar.wo_distro == 'raspbian':
|
||||||
Log.info(self, "Adding repository for MySQL, please wait...")
|
Log.info(self, "Adding repository for MySQL, please wait...")
|
||||||
mysql_pref = (
|
mysql_pref = (
|
||||||
"Package: *\nPin: origin mariadb.mirrors.ovh.net"
|
"Package: *\nPin: origin mariadb.mirrors.ovh.net"
|
||||||
@@ -139,9 +139,10 @@ def pre_pref(self, apt_packages):
|
|||||||
# add redis repository
|
# add redis repository
|
||||||
if set(WOVar.wo_redis).issubset(set(apt_packages)):
|
if set(WOVar.wo_redis).issubset(set(apt_packages)):
|
||||||
if WOVar.wo_distro == 'ubuntu':
|
if WOVar.wo_distro == 'ubuntu':
|
||||||
Log.info(self, "Adding repository for Redis, please wait...")
|
if not WOVar.wo_platform_codename == 'focal':
|
||||||
Log.debug(self, 'Adding ppa for redis')
|
Log.info(self, "Adding repository for Redis, please wait...")
|
||||||
WORepo.add(self, ppa=WOVar.wo_redis_repo)
|
Log.debug(self, 'Adding ppa for redis')
|
||||||
|
WORepo.add(self, ppa=WOVar.wo_redis_repo)
|
||||||
else:
|
else:
|
||||||
if not WOFileUtils.grepcheck(
|
if not WOFileUtils.grepcheck(
|
||||||
self, '/etc/apt/sources.list/wo-repo.list',
|
self, '/etc/apt/sources.list/wo-repo.list',
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ class WOVar():
|
|||||||
"""Intialization of core variables"""
|
"""Intialization of core variables"""
|
||||||
|
|
||||||
# WordOps version
|
# WordOps version
|
||||||
wo_version = "3.12.0"
|
wo_version = "3.12.1"
|
||||||
# WordOps packages versions
|
# WordOps packages versions
|
||||||
wo_wp_cli = "2.4.0"
|
wo_wp_cli = "2.4.0"
|
||||||
wo_adminer = "4.7.5"
|
wo_adminer = "4.7.5"
|
||||||
|
|||||||
Reference in New Issue
Block a user