Skip to content

Commit

Permalink
Introduction of 1.7.0 (Blue Bontebok: Moth)
Browse files Browse the repository at this point in the history
Improvements, fixes and reviews!

Fix:

- of the way we handle and work with the database when we are used
as an imported module.
- of the way we generate file when retesting element which are
in the database.
    - Indeed the last release did not provide a full implementation
    as we stopped to generate files even if the tested element is
    still on the list we are testing.
- of `--no-files`|`no_files` rules which were not respected when
`--json`|`generate_json` were used/activated.

Review:

- of the path/location of the `iana-domains-db.json` file.
- of the way we handle empty file or list to test.

Improvement:

- of the way we initiate/save/call global information which is not related
to the CONFIGURATION.
    - Indeed, we were putting everything in the CONFIGURATION variable.
    Now there is CONFIGURATION for the configuration and INTERN for
    everything else.

Introduction:

- of more scenarios for CI tests.

Contributors:

- @dnmTX (#16)
- @jawz101 (#18)
  • Loading branch information
funilrys committed Jan 9, 2019
1 parent b7d0e2c commit 1d18d37
Show file tree
Hide file tree
Showing 52 changed files with 175 additions and 175 deletions.
10 changes: 5 additions & 5 deletions .PyFunceble_production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -218,12 +218,12 @@ http_codes:
links:
api_date_format: "https://pyfunceble.funilrys.com/api/date-format"
api_no_referer: "https://pyfunceble.funilrys.com/api/no-referer"
config: "https://raw.githubusercontent.com/funilrys/PyFunceble/dev/.PyFunceble_production.yaml"
dir_structure: "https://raw.githubusercontent.com/funilrys/PyFunceble/dev/dir_structure_production.json"
iana: "https://raw.githubusercontent.com/funilrys/PyFunceble/dev/iana-domains-db.json"
config: "https://raw.githubusercontent.com/funilrys/PyFunceble/master/.PyFunceble_production.yaml"
dir_structure: "https://raw.githubusercontent.com/funilrys/PyFunceble/master/dir_structure_production.json"
iana: "https://raw.githubusercontent.com/funilrys/PyFunceble/master/iana-domains-db.json"
repo: "https://github.com/funilrys/PyFunceble"
requirements: "https://raw.githubusercontent.com/funilrys/PyFunceble/dev/requirements.txt"
psl: "https://raw.githubusercontent.com/funilrys/PyFunceble/dev/public-suffix.json"
requirements: "https://raw.githubusercontent.com/funilrys/PyFunceble/master/requirements.txt"
psl: "https://raw.githubusercontent.com/funilrys/PyFunceble/master/public-suffix.json"
counter:
number:
down: 0
Expand Down
12 changes: 6 additions & 6 deletions PyFunceble/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Special thanks:
https://pyfunceble.readthedocs.io/en/dev/special-thanks.html
https://pyfunceble.readthedocs.io/en/master/special-thanks.html
Contributors:
http://pyfunceble.readthedocs.io/en/dev/special-thanks.html
http://pyfunceble.readthedocs.io/en/master/special-thanks.html
Project link:
https://github.com/funilrys/PyFunceble
Project documentation:
https://pyfunceble.readthedocs.io/en/dev/
https://pyfunceble.readthedocs.io/en/master/
Project homepage:
https://funilrys.github.io/PyFunceble/
Expand Down Expand Up @@ -91,7 +91,7 @@
# We set our project name.
NAME = "PyFunceble"
# We set out project version.
VERSION = "1.7.0.dev (Blue Bontebok: Moth)"
VERSION = "1.7.0. (Blue Bontebok: Moth)"

if "PYFUNCEBLE_OUTPUT_DIR" in environ: # pragma: no cover
# We handle the case that the `PYFUNCEBLE_OUTPUT_DIR` environnement variable is set.
Expand Down Expand Up @@ -394,12 +394,12 @@ def _command_line(): # pragma: no cover pylint: disable=too-many-branches,too-m
+ "with the help of "
+ Style.BRIGHT
+ Fore.GREEN
+ "https://pyfunceble.rtfd.io/en/dev/contributors.html "
+ "https://pyfunceble.rtfd.io/en/master/contributors.html "
+ Style.RESET_ALL
+ "&& "
+ Style.BRIGHT
+ Fore.GREEN
+ "https://pyfunceble.rtfd.io/en/dev/special-thanks.html",
+ "https://pyfunceble.rtfd.io/en/master/special-thanks.html",
),
add_help=False,
)
Expand Down
6 changes: 3 additions & 3 deletions PyFunceble/adblock.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Special thanks:
https://pyfunceble.readthedocs.io/en/dev/special-thanks.html
https://pyfunceble.readthedocs.io/en/master/special-thanks.html
Contributors:
http://pyfunceble.readthedocs.io/en/dev/special-thanks.html
http://pyfunceble.readthedocs.io/en/master/special-thanks.html
Project link:
https://github.com/funilrys/PyFunceble
Project documentation:
https://pyfunceble.readthedocs.io/en/dev/
https://pyfunceble.readthedocs.io/en/master/
Project homepage:
https://funilrys.github.io/PyFunceble/
Expand Down
6 changes: 3 additions & 3 deletions PyFunceble/auto_continue.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Special thanks:
https://pyfunceble.readthedocs.io/en/dev/special-thanks.html
https://pyfunceble.readthedocs.io/en/master/special-thanks.html
Contributors:
http://pyfunceble.readthedocs.io/en/dev/special-thanks.html
http://pyfunceble.readthedocs.io/en/master/special-thanks.html
Project link:
https://github.com/funilrys/PyFunceble
Project documentation:
https://pyfunceble.readthedocs.io/en/dev/
https://pyfunceble.readthedocs.io/en/master/
Project homepage:
https://funilrys.github.io/PyFunceble/
Expand Down
6 changes: 3 additions & 3 deletions PyFunceble/auto_save.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Special thanks:
https://pyfunceble.readthedocs.io/en/dev/special-thanks.html
https://pyfunceble.readthedocs.io/en/master/special-thanks.html
Contributors:
http://pyfunceble.readthedocs.io/en/dev/special-thanks.html
http://pyfunceble.readthedocs.io/en/master/special-thanks.html
Project link:
https://github.com/funilrys/PyFunceble
Project documentation:
https://pyfunceble.readthedocs.io/en/dev/
https://pyfunceble.readthedocs.io/en/master/
Project homepage:
https://funilrys.github.io/PyFunceble/
Expand Down
6 changes: 3 additions & 3 deletions PyFunceble/check.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Special thanks:
https://pyfunceble.readthedocs.io/en/dev/special-thanks.html
https://pyfunceble.readthedocs.io/en/master/special-thanks.html
Contributors:
http://pyfunceble.readthedocs.io/en/dev/special-thanks.html
http://pyfunceble.readthedocs.io/en/master/special-thanks.html
Project link:
https://github.com/funilrys/PyFunceble
Project documentation:
https://pyfunceble.readthedocs.io/en/dev/
https://pyfunceble.readthedocs.io/en/master/
Project homepage:
https://funilrys.github.io/PyFunceble/
Expand Down
6 changes: 3 additions & 3 deletions PyFunceble/clean.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Special thanks:
https://pyfunceble.readthedocs.io/en/dev/special-thanks.html
https://pyfunceble.readthedocs.io/en/master/special-thanks.html
Contributors:
http://pyfunceble.readthedocs.io/en/dev/special-thanks.html
http://pyfunceble.readthedocs.io/en/master/special-thanks.html
Project link:
https://github.com/funilrys/PyFunceble
Project documentation:
https://pyfunceble.readthedocs.io/en/dev/
https://pyfunceble.readthedocs.io/en/master/
Project homepage:
https://funilrys.github.io/PyFunceble/
Expand Down
10 changes: 5 additions & 5 deletions PyFunceble/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Special thanks:
https://pyfunceble.readthedocs.io/en/dev/special-thanks.html
https://pyfunceble.readthedocs.io/en/master/special-thanks.html
Contributors:
http://pyfunceble.readthedocs.io/en/dev/special-thanks.html
http://pyfunceble.readthedocs.io/en/master/special-thanks.html
Project link:
https://github.com/funilrys/PyFunceble
Project documentation:
https://pyfunceble.readthedocs.io/en/dev/
https://pyfunceble.readthedocs.io/en/master/
Project homepage:
https://funilrys.github.io/PyFunceble/
Expand Down Expand Up @@ -270,7 +270,7 @@ def _install_production_config(self):
# We initiate the link to the production configuration.
# It is not hard coded because this method is called only if we
# are sure that the configuration file exist.
production_config_link = "https://raw.githubusercontent.com/funilrys/PyFunceble/dev/.PyFunceble_production.yaml" # pylint: disable=line-too-long
production_config_link = "https://raw.githubusercontent.com/funilrys/PyFunceble/master/.PyFunceble_production.yaml" # pylint: disable=line-too-long

# We update the link according to our current version.
production_config_link = Version(True).right_url_from_version(
Expand Down Expand Up @@ -512,7 +512,7 @@ def __init__(self, used=False):
# It is hard coded because we may not have the chance to have the
# configuration file everytime we need it.
upstream_link = (
"https://raw.githubusercontent.com/funilrys/PyFunceble/dev/version.yaml"
"https://raw.githubusercontent.com/funilrys/PyFunceble/master/version.yaml"
) # pylint: disable=line-too-long

# We update the link according to our current version.
Expand Down
6 changes: 3 additions & 3 deletions PyFunceble/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Special thanks:
https://pyfunceble.readthedocs.io/en/dev/special-thanks.html
https://pyfunceble.readthedocs.io/en/master/special-thanks.html
Contributors:
http://pyfunceble.readthedocs.io/en/dev/special-thanks.html
http://pyfunceble.readthedocs.io/en/master/special-thanks.html
Project link:
https://github.com/funilrys/PyFunceble
Project documentation:
https://pyfunceble.readthedocs.io/en/dev/
https://pyfunceble.readthedocs.io/en/master/
Project homepage:
https://funilrys.github.io/PyFunceble/
Expand Down
6 changes: 3 additions & 3 deletions PyFunceble/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Special thanks:
https://pyfunceble.readthedocs.io/en/dev/special-thanks.html
https://pyfunceble.readthedocs.io/en/master/special-thanks.html
Contributors:
http://pyfunceble.readthedocs.io/en/dev/special-thanks.html
http://pyfunceble.readthedocs.io/en/master/special-thanks.html
Project link:
https://github.com/funilrys/PyFunceble
Project documentation:
https://pyfunceble.readthedocs.io/en/dev/
https://pyfunceble.readthedocs.io/en/master/
Project homepage:
https://funilrys.github.io/PyFunceble/
Expand Down
6 changes: 3 additions & 3 deletions PyFunceble/directory_structure.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Special thanks:
https://pyfunceble.readthedocs.io/en/dev/special-thanks.html
https://pyfunceble.readthedocs.io/en/master/special-thanks.html
Contributors:
http://pyfunceble.readthedocs.io/en/dev/special-thanks.html
http://pyfunceble.readthedocs.io/en/master/special-thanks.html
Project link:
https://github.com/funilrys/PyFunceble
Project documentation:
https://pyfunceble.readthedocs.io/en/dev/
https://pyfunceble.readthedocs.io/en/master/
Project homepage:
https://funilrys.github.io/PyFunceble/
Expand Down
6 changes: 3 additions & 3 deletions PyFunceble/execution_time.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Special thanks:
https://pyfunceble.readthedocs.io/en/dev/special-thanks.html
https://pyfunceble.readthedocs.io/en/master/special-thanks.html
Contributors:
http://pyfunceble.readthedocs.io/en/dev/special-thanks.html
http://pyfunceble.readthedocs.io/en/master/special-thanks.html
Project link:
https://github.com/funilrys/PyFunceble
Project documentation:
https://pyfunceble.readthedocs.io/en/dev/
https://pyfunceble.readthedocs.io/en/master/
Project homepage:
https://funilrys.github.io/PyFunceble/
Expand Down
6 changes: 3 additions & 3 deletions PyFunceble/expiration_date.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Special thanks:
https://pyfunceble.readthedocs.io/en/dev/special-thanks.html
https://pyfunceble.readthedocs.io/en/master/special-thanks.html
Contributors:
http://pyfunceble.readthedocs.io/en/dev/special-thanks.html
http://pyfunceble.readthedocs.io/en/master/special-thanks.html
Project link:
https://github.com/funilrys/PyFunceble
Project documentation:
https://pyfunceble.readthedocs.io/en/dev/
https://pyfunceble.readthedocs.io/en/master/
Project homepage:
https://funilrys.github.io/PyFunceble/
Expand Down
6 changes: 3 additions & 3 deletions PyFunceble/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Special thanks:
https://pyfunceble.readthedocs.io/en/dev/special-thanks.html
https://pyfunceble.readthedocs.io/en/master/special-thanks.html
Contributors:
http://pyfunceble.readthedocs.io/en/dev/special-thanks.html
http://pyfunceble.readthedocs.io/en/master/special-thanks.html
Project link:
https://github.com/funilrys/PyFunceble
Project documentation:
https://pyfunceble.readthedocs.io/en/dev/
https://pyfunceble.readthedocs.io/en/master/
Project homepage:
https://funilrys.github.io/PyFunceble/
Expand Down
6 changes: 3 additions & 3 deletions PyFunceble/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Special thanks:
https://pyfunceble.readthedocs.io/en/dev/special-thanks.html
https://pyfunceble.readthedocs.io/en/master/special-thanks.html
Contributors:
http://pyfunceble.readthedocs.io/en/dev/special-thanks.html
http://pyfunceble.readthedocs.io/en/master/special-thanks.html
Project link:
https://github.com/funilrys/PyFunceble
Project documentation:
https://pyfunceble.readthedocs.io/en/dev/
https://pyfunceble.readthedocs.io/en/master/
Project homepage:
https://funilrys.github.io/PyFunceble/
Expand Down
6 changes: 3 additions & 3 deletions PyFunceble/http_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Special thanks:
https://pyfunceble.readthedocs.io/en/dev/special-thanks.html
https://pyfunceble.readthedocs.io/en/master/special-thanks.html
Contributors:
http://pyfunceble.readthedocs.io/en/dev/special-thanks.html
http://pyfunceble.readthedocs.io/en/master/special-thanks.html
Project link:
https://github.com/funilrys/PyFunceble
Project documentation:
https://pyfunceble.readthedocs.io/en/dev/
https://pyfunceble.readthedocs.io/en/master/
Project homepage:
https://funilrys.github.io/PyFunceble/
Expand Down
6 changes: 3 additions & 3 deletions PyFunceble/iana.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Special thanks:
https://pyfunceble.readthedocs.io/en/dev/special-thanks.html
https://pyfunceble.readthedocs.io/en/master/special-thanks.html
Contributors:
http://pyfunceble.readthedocs.io/en/dev/special-thanks.html
http://pyfunceble.readthedocs.io/en/master/special-thanks.html
Project link:
https://github.com/funilrys/PyFunceble
Project documentation:
https://pyfunceble.readthedocs.io/en/dev/
https://pyfunceble.readthedocs.io/en/master/
Project homepage:
https://funilrys.github.io/PyFunceble/
Expand Down
6 changes: 3 additions & 3 deletions PyFunceble/logs.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Special thanks:
https://pyfunceble.readthedocs.io/en/dev/special-thanks.html
https://pyfunceble.readthedocs.io/en/master/special-thanks.html
Contributors:
http://pyfunceble.readthedocs.io/en/dev/special-thanks.html
http://pyfunceble.readthedocs.io/en/master/special-thanks.html
Project link:
https://github.com/funilrys/PyFunceble
Project documentation:
https://pyfunceble.readthedocs.io/en/dev/
https://pyfunceble.readthedocs.io/en/master/
Project homepage:
https://funilrys.github.io/PyFunceble/
Expand Down
Loading

0 comments on commit 1d18d37

Please sign in to comment.