You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by se...@apache.org on 2020/08/21 10:20:48 UTC

[incubator-ponymail-foal] 01/03: Config file should not be in repository

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

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

commit 3a179bf8f3c3522d2001cff43a9f6a30068f96e2
Author: Sebb <se...@apache.org>
AuthorDate: Fri Aug 21 11:16:51 2020 +0100

    Config file should not be in repository
---
 .github/workflows/unittest.yml |  1 +
 tools/ponymail.yaml            | 44 ------------------------------------------
 2 files changed, 1 insertion(+), 44 deletions(-)

diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml
index 7fbd6c2..6c9f986 100644
--- a/.github/workflows/unittest.yml
+++ b/.github/workflows/unittest.yml
@@ -32,5 +32,6 @@ jobs:
 #        pytest
     - name: Test with Ponymail Unit tests
       run: |
+        sed -e '/incubator/s/# cropout:/cropout:/' tools/ponymail.yaml.example >tools/ponymail.yaml
         cd pmtests
         python runall.py --root ..
diff --git a/tools/ponymail.yaml b/tools/ponymail.yaml
deleted file mode 100644
index 2817c6e..0000000
--- a/tools/ponymail.yaml
+++ /dev/null
@@ -1,44 +0,0 @@
----
-###############################################################
-# A ponymail.cfg is needed to run this project. This sample config file was
-# originally generated by tools/setup.py.
-# 
-# Run the tools/setup.py script and a ponymail.cfg which looks a lot like this 
-# one will be generated. If, for whatever reason, that script is not working 
-# for you, you may use this ponymail.cfg as a starting point.
-# 
-# Contributors should strive to keep this sample updated. One way to do this 
-# would be to run the tools/setup.py, rename the generated config to
-# ponymail.cfg.sample, and then pasting this message or a modified form of 
-# this message at the top.
-###############################################################
-
-###############################################################
-# Pony Mail Configuration file
-
-
-
-##############################################################
-# THIS IS AN EXAMPLE FOR TESTING - RUN setup.py PLEASE       #
-##############################################################
-
-# Main ES configuration
-elasticsearch:
-    hostname:               localhost
-    dbname:                 ponymail
-    port:                   9200
-    ssl:                    false
-    #uri:                   url_prefix
-    #user:                  username
-    #password:              password
-    #wait:                  active shard count
-    #backup:                database name
-
-archiver:
-    #generator:             medium|full|cluster|dkim|other (dkim recommended)
-    generator:              dkim
-
-debug:
-    #cropout:               string to crop from list-id
-    # e.g. Strip out incubator except at top level
-    cropout:                (\w+\.\w+)\.incubator\.apache\.org \1.apache.org