From 5250a622429f120ff360627208ce007a6a950347 Mon Sep 17 00:00:00 2001 From: joooo Date: Thu, 1 Oct 2020 10:05:21 +0200 Subject: [PATCH 1/5] Update README.rst FQDN required --- README.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 048687e..a035746 100644 --- a/README.rst +++ b/README.rst @@ -22,7 +22,8 @@ An installer which deploy a complete mail server based on Modoboa. The server (physical or virtual) running Modoboa needs at least 2GB of RAM in order to compile the required dependencies during the installation process. Passwords should not contain any special characters - as they may cause the installation to fail + as they may cause the installation to fail. It's important to set a [FQDN](https://linuxconfig.org/how-to-change-fqdn-domain-name-on-ubuntu-20-04-focal-fossa-linux) + before, otherwise the installaion will break. Usage:: From 561872e772f89c1b41fe14241609cd7a5f37f5a0 Mon Sep 17 00:00:00 2001 From: joooo Date: Thu, 1 Oct 2020 10:10:33 +0200 Subject: [PATCH 2/5] Update README.rst --- README.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index a035746..d3f7485 100644 --- a/README.rst +++ b/README.rst @@ -22,8 +22,8 @@ An installer which deploy a complete mail server based on Modoboa. The server (physical or virtual) running Modoboa needs at least 2GB of RAM in order to compile the required dependencies during the installation process. Passwords should not contain any special characters - as they may cause the installation to fail. It's important to set a [FQDN](https://linuxconfig.org/how-to-change-fqdn-domain-name-on-ubuntu-20-04-focal-fossa-linux) - before, otherwise the installaion will break. + as they may cause the installation to fail. It's important to set a FQDN + before, otherwise the installation will break. Usage:: From 619dc9f5e5f8091f3e5ae7f4fe9482006d0a473a Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Fri, 23 Oct 2020 19:57:14 +0200 Subject: [PATCH 3/5] Create Dependabot config file (#346) Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> --- .github/dependabot.yml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..491deae --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,7 @@ +version: 2 +updates: +- package-ecosystem: pip + directory: "/" + schedule: + interval: daily + open-pull-requests-limit: 10 From 85e76c1981fbc8bacd4a6108bed042d086a3c3d3 Mon Sep 17 00:00:00 2001 From: Daniel Leicht Date: Wed, 28 Oct 2020 15:30:09 +0200 Subject: [PATCH 4/5] Fixed dist_info() case sensitivity for certbot installation On Debian 10, dist_info() returns a lower case "debian" and the installation of certbot fails. I changed the installation method to check the distribution name in case insensitive way. --- modoboa_installer/ssl.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/modoboa_installer/ssl.py b/modoboa_installer/ssl.py index d4f16ea..414ba0f 100644 --- a/modoboa_installer/ssl.py +++ b/modoboa_installer/ssl.py @@ -75,7 +75,8 @@ class LetsEncryptCertificate(CertificateBackend): def install_certbot(self): """Install certbot script to generate cert.""" name, version, _id = utils.dist_info() - if name == "Ubuntu": + name = name.lower() + if name == "ubuntu": package.backend.update() package.backend.install("software-properties-common") utils.exec_cmd("add-apt-repository -y universe") @@ -83,10 +84,10 @@ class LetsEncryptCertificate(CertificateBackend): utils.exec_cmd("add-apt-repository -y ppa:certbot/certbot") package.backend.update() package.backend.install("certbot") - elif name == "Debian": + elif name == "debian": package.backend.update() package.backend.install("certbot") - elif "CentOS" in name: + elif "centos" in name: package.backend.install("certbot") else: utils.printcolor("Failed to install certbot, aborting.", utils.RED) From f35ca4e81a3e2b4ee917a0d852d463838231f9fc Mon Sep 17 00:00:00 2001 From: Christophe CHAUVET Date: Fri, 30 Oct 2020 12:26:56 +0100 Subject: [PATCH 5/5] Add Stale bot --- .github/stale.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/stale.yml diff --git a/.github/stale.yml b/.github/stale.yml new file mode 100644 index 0000000..eacc2eb --- /dev/null +++ b/.github/stale.yml @@ -0,0 +1,28 @@ +# Number of days of inactivity before an issue becomes stale +daysUntilStale: 60 +# Number of days of inactivity before a stale issue is closed +daysUntilClose: 14 +# Issues with these labels will never be considered stale +exemptLabels: + - pinned + - security + - bug + - dependencies + - enhancement + - looking-for-sponsors + - documentation +# Label to use when marking an issue as stale +staleLabel: stale +# Set to true to ignore issues in a milestone (defaults to false) +exemptMilestones: true +# Set to true to ignore issues with an assignee (defaults to false) +exemptAssignees: true +# Limit to only `issues` or `pulls` +only: issues +# Comment to post when marking an issue as stale. Set to `false` to disable +markComment: > + This issue has been automatically marked as stale because it has not had + recent activity. It will be closed if no further activity occurs. Thank you + for your contributions. +# Comment to post when closing a stale issue. Set to `false` to disable +closeComment: false