You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by hu...@apache.org on 2020/08/26 11:13:23 UTC

[incubator-ponymail-foal] branch master updated (1b6beeb -> 87d312b)

This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git.


    from 1b6beeb  Add a session index for cookie-based sessions
     new fad1f83  switch to 3.4 demand, warn if <= 3.7 because of ui backend reqs.
     new 87d312b  quote consistency

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 tools/setup.py | 18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)


[incubator-ponymail-foal] 02/02: quote consistency

Posted by hu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git

commit 87d312b2edcfc75895fbb9510070d56257afccc7
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Wed Aug 26 13:13:12 2020 +0200

    quote consistency
---
 tools/setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/setup.py b/tools/setup.py
index 5ed07bb..61618ae 100755
--- a/tools/setup.py
+++ b/tools/setup.py
@@ -226,7 +226,7 @@ if args.generator:
             + "\n"
         )
         sys.exit(-1)
-if args.generator == 'dkim' and args.nonce is not None:
+if args.generator == "dkim" and args.nonce is not None:
     nonce = args.nonce
 
 hostname = input("What is the hostname of the ElasticSearch server? [localhost]: ")


[incubator-ponymail-foal] 01/02: switch to 3.4 demand, warn if <= 3.7 because of ui backend reqs.

Posted by hu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git

commit fad1f83b42dc658c39bb27318ed87b80a8c1ecfd
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Wed Aug 26 13:13:01 2020 +0200

    switch to 3.4 demand, warn if <= 3.7 because of ui backend reqs.
---
 tools/setup.py | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)

diff --git a/tools/setup.py b/tools/setup.py
index 3b3a9d2..5ed07bb 100755
--- a/tools/setup.py
+++ b/tools/setup.py
@@ -22,10 +22,21 @@ import shutil
 import sys
 import yaml
 
+# Needs 3.4 or higher to work
+if sys.version_info <= (3, 3):
+    print("This script requires Python 3.4 or higher in order to work!")
+    sys.exit(-1)
 
+# Backend needs 3.8 or higher, warn if not found.
 if sys.version_info <= (3, 7):
-    print("This script requires Python 3.8 or higher")
-    sys.exit(-1)
+    print(
+        "Warning: Pony Mail Foal requires Python 3.8 or higher for backend operations."
+    )
+    print(
+        "You will be able to run the setup using this version (%u.%u), but will need >=3.8"
+        % (sys.version_info.major, sys.version_info.minor)
+    )
+    print("for operating the UI backend server.")
 
 
 hostname = ""
@@ -163,6 +174,7 @@ parser.add_argument(
 )
 args = parser.parse_args()
 
+print("")
 print("Welcome to the Pony Mail setup script!")
 print("Let's start by determining some settings...")
 print("")