Commit Graph

41 Commits

Author SHA1 Message Date
Dennis van de Hoef
6d48930c6f
Add versions that only render the extensions 2023-06-11 22:32:05 -04:00
Steven Black
bc271a3f6a
Update the name of the hosts file history graph file. 2022-07-21 22:37:02 -04:00
Steven Black
79e7103f00
Issue #2104: fix — add the hosts file size history to the home readme only, for now. 2022-07-21 22:19:26 -04:00
Ruben ten Hove
258b10edc9 refactor: more containerization 2022-07-05 12:39:02 -04:00
Steven Black
959c2ed25f
Move the source file description column to the end of the row. 2022-06-09 23:10:03 -04:00
Steven Black
5fce389e07
Remove the frequency column from the table. 2022-06-09 23:04:59 -04:00
funilrys
a2008b78f9
First, format with black. 2020-05-27 21:59:34 +02:00
XhmikosR
d232ef9a0c
Always use LF in README files 2020-05-27 16:40:55 +03:00
XhmikosR
6709f769e4
Make sure we treat any readme assets as utf-8 2020-05-03 08:57:45 +03:00
funilrys
3abea87f37
Ensure that the readme is written in UTF-8.
This patch fixes #1166.

Indeed as stated in the documentation:

> In text mode, if encoding is not specified the encoding used is platform
> dependent: locale.getpreferredencoding(False) is called to get the
> current locale encoding.

That may explain the issue mentionned in #1166.

Docs link:
  * https://docs.python.org/3/library/functions.html#open
2020-02-24 18:18:17 +01:00
Steven Black
b539172b6e
Merge pull request #1165 from funilrys/readme-links-issue-windows
Fix link issue under Windows.
2020-02-23 13:00:13 -05:00
funilrys
f22d7bc3f0
Fix link issue under Windows.
We never saw this, as we are not Windows user ourselves but there is
a real issue.

Indeed, as mentionned by @XhmikosR at
https://github.com/StevenBlack/hosts/pull/1163#issuecomment-590057635
the web links are not correctly formated. Indeed, as we use `sep` to
detect the right directory separator, it's also written into the
`readmeData.json` file.

This patch simply, replace the `\` of Windows, with the universal `/` of
the web convention.
2020-02-23 12:37:34 +01:00
XhmikosR
2950600108 Update updateReadme.py
* remove duplicate key "issues" in dict literal
* remove trailing whitespaces from the output
2020-02-23 09:27:48 +02:00
funilrys
05dad7e657
Introduction of Black: The uncompromising Python code formatter.
Please find more about it there:
* https://github.com/python/black
* https://black.readthedocs.io/en/stable/
2019-07-13 13:40:13 +02:00
funilrys
a49fc7af44
Deletion of sys as it is unuseed
Also:

  * Fixing flake8 issue
2018-09-05 23:53:57 -04:00
funilrys
deed6786ef
Fix syntax error produced by last commit 2018-09-05 23:53:57 -04:00
funilrys
62ccd5b084
Deletion of decode_line() as it is not required anymore in python 3
Also:
  * Deletion of any PY3 references
2018-09-05 23:53:57 -04:00
funilrys
cce40a8cc4
Deletion of sys as it is unuseed
Also:

  * Fixing flake8 issue
2018-09-05 23:51:29 -04:00
funilrys
9cc719fd72
Fix syntax error produced by last commit 2018-09-05 23:51:29 -04:00
funilrys
4cd4b8167a
Deletion of decode_line() as it is not required anymore in python 3
Also:
  * Deletion of any PY3 references
2018-09-05 23:51:28 -04:00
funilrys
1692f5b759
Sorting of the dependencies 2018-09-05 23:51:28 -04:00
Steven Black
0a42c21c13 Fix lint issue. 2018-03-17 23:41:24 -04:00
Steven Black
f83a5311ab Include source data issues links to help folks to report problems. 2018-03-17 23:04:57 -04:00
Branden Archer
9098c3b558 Add missing quote 2017-10-25 00:06:10 -04:00
Branden Archer
dad43783a0 Add known licenses data to json metadata 2017-10-24 23:17:19 -04:00
gfyoung
262ad95791
Fix flake8 errors in updateReadme.py
xref commit 8fb2df
2017-08-20 11:58:16 -07:00
Steven Black
8fb2dfa6de Fix typo. 2017-08-20 12:08:28 -04:00
Steven Black
68dcf5c125 Remove references to .zip files in the generator programs. 2017-08-20 12:00:19 -04:00
gfyoung
51a0ec21bd Document all functions in Python scripts 2017-05-23 21:58:22 -04:00
gfyoung
96c7287584 Lift restriction on Python 3.x for makeHosts* 2017-05-17 02:35:46 -04:00
gfyoung
dfe66197f5 Patch all style errors in updateReadme.py 2017-05-15 15:13:39 -04:00
Steven Black
2fbd0e1d53 Update the readme_template for the non-github mirror versions. 2016-12-15 13:18:58 -05:00
Steven Black
7119b725e7 Added metadata to Sinfonietta’s hosts source files. 2016-12-11 13:44:51 -05:00
Steven Black
0877758116 New data from yoyo.org, mvps.org, malwaredomainlist.com, and KADhosts. 2016-12-11 13:24:00 -05:00
Steven Black
9c447cfa3a Create and fill a table of sources used for the base hosts file. 2016-12-11 12:48:57 -05:00
Steven Black
8fbd424850 Make the template expression more concise. 2016-12-10 23:51:37 -05:00
Steven Black
9894ab5865 Update all the readme files with links to the hosts.zip files. 2016-10-16 23:27:07 -04:00
Steven Black
a541505ed9 Redme tweaks, format the numbers in the table. 2016-03-24 17:55:23 -04:00
Steven Black
e459c68a65 Readme tweaks. 2016-03-24 10:53:08 -04:00
Steven Black
7fd9e5ab2e Tweaks to updateReadme.py 2016-03-24 01:08:48 -04:00
Steven Black
f20db8c410 First pass at updatereadme.py. 2016-03-23 00:35:26 -04:00