From: Steven Black Date: Sun, 20 Aug 2017 16:18:57 +0000 (-0400) Subject: Update the docs, remove the shallow clone proscription. X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=1ee48fb7186b14dafb9c4b7d9caa9d5073663ec2;p=stevenblack-hosts.git Update the docs, remove the shallow clone proscription. --- diff --git a/alternates/fakenews-gambling-porn-social/readme.md b/alternates/fakenews-gambling-porn-social/readme.md index ef2f3913c..afdf18365 100644 --- a/alternates/fakenews-gambling-porn-social/readme.md +++ b/alternates/fakenews-gambling-porn-social/readme.md @@ -1,23 +1,5 @@ [![Build Status](https://travis-ci.org/StevenBlack/hosts.svg?branch=master)](https://travis-ci.org/StevenBlack/hosts) -### Cloning? Use a shallow clone and avoid 400 Mb of history - -A **shallow clone** is a good idea because you probably don't need many years of history. - -Like this: - - git clone --depth 5 https://github.com/StevenBlack/hosts.git - -To run unit tests, in the top level directory, just run: - - python testUpdateHostsFile.py - -**Note** if you are using Python 2, you must first install the `mock` library: - - pip install mock - -Afterwards, you can follow the instructions above. - # Unified hosts file with fakenews, gambling, porn, social extensions This repository consolidates several reputable `hosts` files, and merges them @@ -93,6 +75,14 @@ folders. ## Generate your own unified hosts file +To run unit tests, in the top level directory, just run: + + python testUpdateHostsFile.py + +**Note** if you are using Python 2, you must first install the `mock` library: + + pip install mock + The `updateHostsFile.py` script, which is python 2.7 and Python 3-compatible, will generate a unified hosts file based on the sources in the local `data/` subfolder. The script will prompt you Whether it should fetch updated diff --git a/alternates/fakenews-gambling-porn/readme.md b/alternates/fakenews-gambling-porn/readme.md index ea0c06f35..14998e280 100644 --- a/alternates/fakenews-gambling-porn/readme.md +++ b/alternates/fakenews-gambling-porn/readme.md @@ -1,23 +1,5 @@ [![Build Status](https://travis-ci.org/StevenBlack/hosts.svg?branch=master)](https://travis-ci.org/StevenBlack/hosts) -### Cloning? Use a shallow clone and avoid 400 Mb of history - -A **shallow clone** is a good idea because you probably don't need many years of history. - -Like this: - - git clone --depth 5 https://github.com/StevenBlack/hosts.git - -To run unit tests, in the top level directory, just run: - - python testUpdateHostsFile.py - -**Note** if you are using Python 2, you must first install the `mock` library: - - pip install mock - -Afterwards, you can follow the instructions above. - # Unified hosts file with fakenews, gambling, porn extensions This repository consolidates several reputable `hosts` files, and merges them @@ -92,6 +74,14 @@ folders. ## Generate your own unified hosts file +To run unit tests, in the top level directory, just run: + + python testUpdateHostsFile.py + +**Note** if you are using Python 2, you must first install the `mock` library: + + pip install mock + The `updateHostsFile.py` script, which is python 2.7 and Python 3-compatible, will generate a unified hosts file based on the sources in the local `data/` subfolder. The script will prompt you Whether it should fetch updated diff --git a/alternates/fakenews-gambling-social/readme.md b/alternates/fakenews-gambling-social/readme.md index 23ac81b2e..215d5097a 100644 --- a/alternates/fakenews-gambling-social/readme.md +++ b/alternates/fakenews-gambling-social/readme.md @@ -1,23 +1,5 @@ [![Build Status](https://travis-ci.org/StevenBlack/hosts.svg?branch=master)](https://travis-ci.org/StevenBlack/hosts) -### Cloning? Use a shallow clone and avoid 400 Mb of history - -A **shallow clone** is a good idea because you probably don't need many years of history. - -Like this: - - git clone --depth 5 https://github.com/StevenBlack/hosts.git - -To run unit tests, in the top level directory, just run: - - python testUpdateHostsFile.py - -**Note** if you are using Python 2, you must first install the `mock` library: - - pip install mock - -Afterwards, you can follow the instructions above. - # Unified hosts file with fakenews, gambling, social extensions This repository consolidates several reputable `hosts` files, and merges them @@ -91,6 +73,14 @@ folders. ## Generate your own unified hosts file +To run unit tests, in the top level directory, just run: + + python testUpdateHostsFile.py + +**Note** if you are using Python 2, you must first install the `mock` library: + + pip install mock + The `updateHostsFile.py` script, which is python 2.7 and Python 3-compatible, will generate a unified hosts file based on the sources in the local `data/` subfolder. The script will prompt you Whether it should fetch updated diff --git a/alternates/fakenews-gambling/readme.md b/alternates/fakenews-gambling/readme.md index 68720a9ed..10a6bf2e2 100644 --- a/alternates/fakenews-gambling/readme.md +++ b/alternates/fakenews-gambling/readme.md @@ -1,23 +1,5 @@ [![Build Status](https://travis-ci.org/StevenBlack/hosts.svg?branch=master)](https://travis-ci.org/StevenBlack/hosts) -### Cloning? Use a shallow clone and avoid 400 Mb of history - -A **shallow clone** is a good idea because you probably don't need many years of history. - -Like this: - - git clone --depth 5 https://github.com/StevenBlack/hosts.git - -To run unit tests, in the top level directory, just run: - - python testUpdateHostsFile.py - -**Note** if you are using Python 2, you must first install the `mock` library: - - pip install mock - -Afterwards, you can follow the instructions above. - # Unified hosts file with fakenews, gambling extensions This repository consolidates several reputable `hosts` files, and merges them @@ -90,6 +72,14 @@ folders. ## Generate your own unified hosts file +To run unit tests, in the top level directory, just run: + + python testUpdateHostsFile.py + +**Note** if you are using Python 2, you must first install the `mock` library: + + pip install mock + The `updateHostsFile.py` script, which is python 2.7 and Python 3-compatible, will generate a unified hosts file based on the sources in the local `data/` subfolder. The script will prompt you Whether it should fetch updated diff --git a/alternates/fakenews-porn-social/readme.md b/alternates/fakenews-porn-social/readme.md index ee3992785..57e259059 100644 --- a/alternates/fakenews-porn-social/readme.md +++ b/alternates/fakenews-porn-social/readme.md @@ -1,23 +1,5 @@ [![Build Status](https://travis-ci.org/StevenBlack/hosts.svg?branch=master)](https://travis-ci.org/StevenBlack/hosts) -### Cloning? Use a shallow clone and avoid 400 Mb of history - -A **shallow clone** is a good idea because you probably don't need many years of history. - -Like this: - - git clone --depth 5 https://github.com/StevenBlack/hosts.git - -To run unit tests, in the top level directory, just run: - - python testUpdateHostsFile.py - -**Note** if you are using Python 2, you must first install the `mock` library: - - pip install mock - -Afterwards, you can follow the instructions above. - # Unified hosts file with fakenews, porn, social extensions This repository consolidates several reputable `hosts` files, and merges them @@ -92,6 +74,14 @@ folders. ## Generate your own unified hosts file +To run unit tests, in the top level directory, just run: + + python testUpdateHostsFile.py + +**Note** if you are using Python 2, you must first install the `mock` library: + + pip install mock + The `updateHostsFile.py` script, which is python 2.7 and Python 3-compatible, will generate a unified hosts file based on the sources in the local `data/` subfolder. The script will prompt you Whether it should fetch updated diff --git a/alternates/fakenews-porn/readme.md b/alternates/fakenews-porn/readme.md index a9d59b8a9..9b2df4251 100644 --- a/alternates/fakenews-porn/readme.md +++ b/alternates/fakenews-porn/readme.md @@ -1,23 +1,5 @@ [![Build Status](https://travis-ci.org/StevenBlack/hosts.svg?branch=master)](https://travis-ci.org/StevenBlack/hosts) -### Cloning? Use a shallow clone and avoid 400 Mb of history - -A **shallow clone** is a good idea because you probably don't need many years of history. - -Like this: - - git clone --depth 5 https://github.com/StevenBlack/hosts.git - -To run unit tests, in the top level directory, just run: - - python testUpdateHostsFile.py - -**Note** if you are using Python 2, you must first install the `mock` library: - - pip install mock - -Afterwards, you can follow the instructions above. - # Unified hosts file with fakenews, porn extensions This repository consolidates several reputable `hosts` files, and merges them @@ -91,6 +73,14 @@ folders. ## Generate your own unified hosts file +To run unit tests, in the top level directory, just run: + + python testUpdateHostsFile.py + +**Note** if you are using Python 2, you must first install the `mock` library: + + pip install mock + The `updateHostsFile.py` script, which is python 2.7 and Python 3-compatible, will generate a unified hosts file based on the sources in the local `data/` subfolder. The script will prompt you Whether it should fetch updated diff --git a/alternates/fakenews-social/readme.md b/alternates/fakenews-social/readme.md index e66ed240c..f9500f475 100644 --- a/alternates/fakenews-social/readme.md +++ b/alternates/fakenews-social/readme.md @@ -1,23 +1,5 @@ [![Build Status](https://travis-ci.org/StevenBlack/hosts.svg?branch=master)](https://travis-ci.org/StevenBlack/hosts) -### Cloning? Use a shallow clone and avoid 400 Mb of history - -A **shallow clone** is a good idea because you probably don't need many years of history. - -Like this: - - git clone --depth 5 https://github.com/StevenBlack/hosts.git - -To run unit tests, in the top level directory, just run: - - python testUpdateHostsFile.py - -**Note** if you are using Python 2, you must first install the `mock` library: - - pip install mock - -Afterwards, you can follow the instructions above. - # Unified hosts file with fakenews, social extensions This repository consolidates several reputable `hosts` files, and merges them @@ -90,6 +72,14 @@ folders. ## Generate your own unified hosts file +To run unit tests, in the top level directory, just run: + + python testUpdateHostsFile.py + +**Note** if you are using Python 2, you must first install the `mock` library: + + pip install mock + The `updateHostsFile.py` script, which is python 2.7 and Python 3-compatible, will generate a unified hosts file based on the sources in the local `data/` subfolder. The script will prompt you Whether it should fetch updated diff --git a/alternates/fakenews/readme.md b/alternates/fakenews/readme.md index 4c5e920ab..c1c23abb3 100644 --- a/alternates/fakenews/readme.md +++ b/alternates/fakenews/readme.md @@ -1,23 +1,5 @@ [![Build Status](https://travis-ci.org/StevenBlack/hosts.svg?branch=master)](https://travis-ci.org/StevenBlack/hosts) -### Cloning? Use a shallow clone and avoid 400 Mb of history - -A **shallow clone** is a good idea because you probably don't need many years of history. - -Like this: - - git clone --depth 5 https://github.com/StevenBlack/hosts.git - -To run unit tests, in the top level directory, just run: - - python testUpdateHostsFile.py - -**Note** if you are using Python 2, you must first install the `mock` library: - - pip install mock - -Afterwards, you can follow the instructions above. - # Unified hosts file with fakenews extensions This repository consolidates several reputable `hosts` files, and merges them @@ -89,6 +71,14 @@ folders. ## Generate your own unified hosts file +To run unit tests, in the top level directory, just run: + + python testUpdateHostsFile.py + +**Note** if you are using Python 2, you must first install the `mock` library: + + pip install mock + The `updateHostsFile.py` script, which is python 2.7 and Python 3-compatible, will generate a unified hosts file based on the sources in the local `data/` subfolder. The script will prompt you Whether it should fetch updated diff --git a/alternates/gambling-porn-social/readme.md b/alternates/gambling-porn-social/readme.md index 3cc0b149b..08e381135 100644 --- a/alternates/gambling-porn-social/readme.md +++ b/alternates/gambling-porn-social/readme.md @@ -1,23 +1,5 @@ [![Build Status](https://travis-ci.org/StevenBlack/hosts.svg?branch=master)](https://travis-ci.org/StevenBlack/hosts) -### Cloning? Use a shallow clone and avoid 400 Mb of history - -A **shallow clone** is a good idea because you probably don't need many years of history. - -Like this: - - git clone --depth 5 https://github.com/StevenBlack/hosts.git - -To run unit tests, in the top level directory, just run: - - python testUpdateHostsFile.py - -**Note** if you are using Python 2, you must first install the `mock` library: - - pip install mock - -Afterwards, you can follow the instructions above. - # Unified hosts file with gambling, porn, social extensions This repository consolidates several reputable `hosts` files, and merges them @@ -92,6 +74,14 @@ folders. ## Generate your own unified hosts file +To run unit tests, in the top level directory, just run: + + python testUpdateHostsFile.py + +**Note** if you are using Python 2, you must first install the `mock` library: + + pip install mock + The `updateHostsFile.py` script, which is python 2.7 and Python 3-compatible, will generate a unified hosts file based on the sources in the local `data/` subfolder. The script will prompt you Whether it should fetch updated diff --git a/alternates/gambling-porn/readme.md b/alternates/gambling-porn/readme.md index c1a181ba5..8476355e7 100644 --- a/alternates/gambling-porn/readme.md +++ b/alternates/gambling-porn/readme.md @@ -1,23 +1,5 @@ [![Build Status](https://travis-ci.org/StevenBlack/hosts.svg?branch=master)](https://travis-ci.org/StevenBlack/hosts) -### Cloning? Use a shallow clone and avoid 400 Mb of history - -A **shallow clone** is a good idea because you probably don't need many years of history. - -Like this: - - git clone --depth 5 https://github.com/StevenBlack/hosts.git - -To run unit tests, in the top level directory, just run: - - python testUpdateHostsFile.py - -**Note** if you are using Python 2, you must first install the `mock` library: - - pip install mock - -Afterwards, you can follow the instructions above. - # Unified hosts file with gambling, porn extensions This repository consolidates several reputable `hosts` files, and merges them @@ -91,6 +73,14 @@ folders. ## Generate your own unified hosts file +To run unit tests, in the top level directory, just run: + + python testUpdateHostsFile.py + +**Note** if you are using Python 2, you must first install the `mock` library: + + pip install mock + The `updateHostsFile.py` script, which is python 2.7 and Python 3-compatible, will generate a unified hosts file based on the sources in the local `data/` subfolder. The script will prompt you Whether it should fetch updated diff --git a/alternates/gambling-social/readme.md b/alternates/gambling-social/readme.md index 25d5f9892..5661b1bbf 100644 --- a/alternates/gambling-social/readme.md +++ b/alternates/gambling-social/readme.md @@ -1,23 +1,5 @@ [![Build Status](https://travis-ci.org/StevenBlack/hosts.svg?branch=master)](https://travis-ci.org/StevenBlack/hosts) -### Cloning? Use a shallow clone and avoid 400 Mb of history - -A **shallow clone** is a good idea because you probably don't need many years of history. - -Like this: - - git clone --depth 5 https://github.com/StevenBlack/hosts.git - -To run unit tests, in the top level directory, just run: - - python testUpdateHostsFile.py - -**Note** if you are using Python 2, you must first install the `mock` library: - - pip install mock - -Afterwards, you can follow the instructions above. - # Unified hosts file with gambling, social extensions This repository consolidates several reputable `hosts` files, and merges them @@ -90,6 +72,14 @@ folders. ## Generate your own unified hosts file +To run unit tests, in the top level directory, just run: + + python testUpdateHostsFile.py + +**Note** if you are using Python 2, you must first install the `mock` library: + + pip install mock + The `updateHostsFile.py` script, which is python 2.7 and Python 3-compatible, will generate a unified hosts file based on the sources in the local `data/` subfolder. The script will prompt you Whether it should fetch updated diff --git a/alternates/gambling/readme.md b/alternates/gambling/readme.md index b78f34375..54f9bff85 100644 --- a/alternates/gambling/readme.md +++ b/alternates/gambling/readme.md @@ -1,23 +1,5 @@ [![Build Status](https://travis-ci.org/StevenBlack/hosts.svg?branch=master)](https://travis-ci.org/StevenBlack/hosts) -### Cloning? Use a shallow clone and avoid 400 Mb of history - -A **shallow clone** is a good idea because you probably don't need many years of history. - -Like this: - - git clone --depth 5 https://github.com/StevenBlack/hosts.git - -To run unit tests, in the top level directory, just run: - - python testUpdateHostsFile.py - -**Note** if you are using Python 2, you must first install the `mock` library: - - pip install mock - -Afterwards, you can follow the instructions above. - # Unified hosts file with gambling extensions This repository consolidates several reputable `hosts` files, and merges them @@ -89,6 +71,14 @@ folders. ## Generate your own unified hosts file +To run unit tests, in the top level directory, just run: + + python testUpdateHostsFile.py + +**Note** if you are using Python 2, you must first install the `mock` library: + + pip install mock + The `updateHostsFile.py` script, which is python 2.7 and Python 3-compatible, will generate a unified hosts file based on the sources in the local `data/` subfolder. The script will prompt you Whether it should fetch updated diff --git a/alternates/porn-social/readme.md b/alternates/porn-social/readme.md index d8b7a8854..980e5e967 100644 --- a/alternates/porn-social/readme.md +++ b/alternates/porn-social/readme.md @@ -1,23 +1,5 @@ [![Build Status](https://travis-ci.org/StevenBlack/hosts.svg?branch=master)](https://travis-ci.org/StevenBlack/hosts) -### Cloning? Use a shallow clone and avoid 400 Mb of history - -A **shallow clone** is a good idea because you probably don't need many years of history. - -Like this: - - git clone --depth 5 https://github.com/StevenBlack/hosts.git - -To run unit tests, in the top level directory, just run: - - python testUpdateHostsFile.py - -**Note** if you are using Python 2, you must first install the `mock` library: - - pip install mock - -Afterwards, you can follow the instructions above. - # Unified hosts file with porn, social extensions This repository consolidates several reputable `hosts` files, and merges them @@ -91,6 +73,14 @@ folders. ## Generate your own unified hosts file +To run unit tests, in the top level directory, just run: + + python testUpdateHostsFile.py + +**Note** if you are using Python 2, you must first install the `mock` library: + + pip install mock + The `updateHostsFile.py` script, which is python 2.7 and Python 3-compatible, will generate a unified hosts file based on the sources in the local `data/` subfolder. The script will prompt you Whether it should fetch updated diff --git a/alternates/porn/readme.md b/alternates/porn/readme.md index 4f27ad606..93716e62e 100644 --- a/alternates/porn/readme.md +++ b/alternates/porn/readme.md @@ -1,23 +1,5 @@ [![Build Status](https://travis-ci.org/StevenBlack/hosts.svg?branch=master)](https://travis-ci.org/StevenBlack/hosts) -### Cloning? Use a shallow clone and avoid 400 Mb of history - -A **shallow clone** is a good idea because you probably don't need many years of history. - -Like this: - - git clone --depth 5 https://github.com/StevenBlack/hosts.git - -To run unit tests, in the top level directory, just run: - - python testUpdateHostsFile.py - -**Note** if you are using Python 2, you must first install the `mock` library: - - pip install mock - -Afterwards, you can follow the instructions above. - # Unified hosts file with porn extensions This repository consolidates several reputable `hosts` files, and merges them @@ -90,6 +72,14 @@ folders. ## Generate your own unified hosts file +To run unit tests, in the top level directory, just run: + + python testUpdateHostsFile.py + +**Note** if you are using Python 2, you must first install the `mock` library: + + pip install mock + The `updateHostsFile.py` script, which is python 2.7 and Python 3-compatible, will generate a unified hosts file based on the sources in the local `data/` subfolder. The script will prompt you Whether it should fetch updated diff --git a/alternates/social/readme.md b/alternates/social/readme.md index f48cbf9db..06d8a83f2 100644 --- a/alternates/social/readme.md +++ b/alternates/social/readme.md @@ -1,23 +1,5 @@ [![Build Status](https://travis-ci.org/StevenBlack/hosts.svg?branch=master)](https://travis-ci.org/StevenBlack/hosts) -### Cloning? Use a shallow clone and avoid 400 Mb of history - -A **shallow clone** is a good idea because you probably don't need many years of history. - -Like this: - - git clone --depth 5 https://github.com/StevenBlack/hosts.git - -To run unit tests, in the top level directory, just run: - - python testUpdateHostsFile.py - -**Note** if you are using Python 2, you must first install the `mock` library: - - pip install mock - -Afterwards, you can follow the instructions above. - # Unified hosts file with social extensions This repository consolidates several reputable `hosts` files, and merges them @@ -89,6 +71,14 @@ folders. ## Generate your own unified hosts file +To run unit tests, in the top level directory, just run: + + python testUpdateHostsFile.py + +**Note** if you are using Python 2, you must first install the `mock` library: + + pip install mock + The `updateHostsFile.py` script, which is python 2.7 and Python 3-compatible, will generate a unified hosts file based on the sources in the local `data/` subfolder. The script will prompt you Whether it should fetch updated diff --git a/readme.md b/readme.md index ee30e64d9..ed792c6b5 100644 --- a/readme.md +++ b/readme.md @@ -1,23 +1,5 @@ [![Build Status](https://travis-ci.org/StevenBlack/hosts.svg?branch=master)](https://travis-ci.org/StevenBlack/hosts) -### Cloning? Use a shallow clone and avoid 400 Mb of history - -A **shallow clone** is a good idea because you probably don't need many years of history. - -Like this: - - git clone --depth 5 https://github.com/StevenBlack/hosts.git - -To run unit tests, in the top level directory, just run: - - python testUpdateHostsFile.py - -**Note** if you are using Python 2, you must first install the `mock` library: - - pip install mock - -Afterwards, you can follow the instructions above. - # Unified hosts file with base extensions This repository consolidates several reputable `hosts` files, and merges them @@ -88,6 +70,14 @@ folders. ## Generate your own unified hosts file +To run unit tests, in the top level directory, just run: + + python testUpdateHostsFile.py + +**Note** if you are using Python 2, you must first install the `mock` library: + + pip install mock + The `updateHostsFile.py` script, which is python 2.7 and Python 3-compatible, will generate a unified hosts file based on the sources in the local `data/` subfolder. The script will prompt you Whether it should fetch updated