diff --git a/Makefile b/Makefile index 9debbe1..0780532 100644 --- a/Makefile +++ b/Makefile @@ -85,7 +85,7 @@ support: cp meta.ini $(DOCS_PATH)/config/$(PROJECT_NAME).ini; cd $(DOCS_WWW)/en/$(PROJECT_NAME) && ln -fs $(RELEASE) latest; cd $(DOCS_WWW)/en/$(PROJECT_NAME) && ln -fs $(RELEASE) stable; # if product is stable - cd $(DOCS_PATH) && make build; + #cd $(DOCS_PATH) && make build; #> tests - Run unit tests and generate coverage report. tests: diff --git a/RELEASE.txt b/RELEASE.txt index 1496c17..3995543 100644 --- a/RELEASE.txt +++ b/RELEASE.txt @@ -1 +1 @@ -7.0.0-a \ No newline at end of file +7.1.0-a diff --git a/VERSION.txt b/VERSION.txt index 4122521..a3fcc71 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -7.0.0 \ No newline at end of file +7.1.0 diff --git a/help/en/docs/usage/packages.md b/help/en/docs/usage/packages.md index 27bc4ab..ca4fa75 100644 --- a/help/en/docs/usage/packages.md +++ b/help/en/docs/usage/packages.md @@ -39,6 +39,7 @@ sudo: yes Upgrade system packages. ```ini +[upgrade system packages] upgrade: sudo: yes ``` diff --git a/help/en/docs/usage/posix.md b/help/en/docs/usage/posix.md index ea4773f..de27d34 100644 --- a/help/en/docs/usage/posix.md +++ b/help/en/docs/usage/posix.md @@ -1,6 +1,6 @@ # POSIX -Summary: Work with common POSIX-compliant commands.. +Summary: Work with common POSIX-compliant commands. ## Available Commands diff --git a/scripttease/constants.py b/scripttease/constants.py index 75b4ead..eba058b 100644 --- a/scripttease/constants.py +++ b/scripttease/constants.py @@ -19,4 +19,8 @@ class PROFILE: """Supported operating system profiles.""" CENTOS = "centos" + DEBIAN = "debian" + FEDORA = "fedora" + REDHAT = "redhat" + POP_OS = "pop_os" UBUNTU = "ubuntu" diff --git a/scripttease/lib/factories.py b/scripttease/lib/factories.py index 947ee4b..7a048ba 100644 --- a/scripttease/lib/factories.py +++ b/scripttease/lib/factories.py @@ -33,9 +33,9 @@ def command_factory(loader, excluded_kwargs=None, mappings=None, profile=PROFILE """ # Identify the command mappings to be used. - if profile == PROFILE.CENTOS: + if profile in (PROFILE.CENTOS, PROFILE.FEDORA, PROFILE.REDHAT): _mappings = CENTOS_MAPPINGS - elif profile == PROFILE.UBUNTU: + elif profile in (PROFILE.DEBIAN, PROFILE.POP_OS, PROFILE.UBUNTU): _mappings = UBUNTU_MAPPINGS else: log.error("Unsupported or unrecognized profile: %s" % profile) diff --git a/scripttease/version.py b/scripttease/version.py index 5dd6c3f..3596bf5 100644 --- a/scripttease/version.py +++ b/scripttease/version.py @@ -1,5 +1,7 @@ -DATE = "2023-03-30" -VERSION = "7.0.0" +DATE = "2023-09-12" +VERSION = "7.1.0" MAJOR = 7 -MINOR = 0 +MINOR = 1 PATCH = 0 +STATUS = "a" +