XhmikosR
1936e1fc90
Dependabot: add cooldown of 7 days
2026-08-02 07:54:09 +03:00
XhmikosR
4c4df65b1e
Merge branch 'StevenBlack:master' into patch-1
2026-07-05 18:54:54 +03:00
XhmikosR
4acbfaa6c2
sourcestats.sh: check for required tools
2026-07-05 18:11:18 +03:00
XhmikosR
1e920988f9
Return an explicit False from move_hosts_file_into_place
...
Unsupported platforms fell off the end and returned None.
2026-07-05 18:04:39 +03:00
XhmikosR
15aa742a19
Close the README template file after reading it
2026-07-05 17:53:50 +03:00
XhmikosR
00d7f66ef6
Always close the output hosts file
...
Open it in a with statement; drop the unused self-opening branch in remove_dups_and_excl.
2026-07-05 17:53:50 +03:00
XhmikosR
be1cc7bc72
Document empty except in domain_to_idna
2026-07-05 17:39:26 +03:00
XhmikosR
c912e408e6
Reject domains with invalid characters in normalize_rule
2026-07-05 17:21:24 +03:00
XhmikosR
cf34812381
Update GitHub Actions workflows
...
- CodeQL: scan Actions workflows too, switch to build-mode none matrix, drop autobuild
- container: attach build provenance and SBOM to the image
- add timeout-minutes to all jobs
2026-07-05 17:06:36 +03:00
XhmikosR
b124e714df
Improve sourcestats.sh
2025-11-24 08:16:14 +02:00
XhmikosR
9257ce1e43
stats.sh: speed up stats extraction
2025-11-22 17:27:30 +02:00
XhmikosR
e2b2979535
Dockerfile: fix LegacyKeyValueFormat warnings
2025-11-22 08:13:22 +02:00
XhmikosR
e816a0ea1a
Losslessly optimize PNG files with oxipng
2025-10-09 07:53:47 +03:00
XhmikosR
0009a08a7d
CI: add Python 3.14
2025-10-09 07:39:43 +03:00
XhmikosR
4be9eba3ad
Dependabot: group action updates
2025-10-09 07:37:32 +03:00
XhmikosR
44da0697fb
CI: pin actions
...
This is considered a better practice security-wise since hashes are immutable.
Dependabot handles updating hashes the same way, so there should be no problem
updating actions.
2025-09-17 07:34:51 +03:00
XhmikosR
142c3b45d5
Update release-it to v19.0.3
2025-07-04 07:47:06 +03:00
XhmikosR
4010d76b6f
Update Python packages
...
* requests to 2.32
* flake8 to 7.3
2025-07-04 07:38:19 +03:00
XhmikosR
8f17aa5b35
CI: remove Python 3.8 and add 3.13
...
Python 3.8 is EOL
2025-07-03 21:04:06 +03:00
XhmikosR
4fd06daa6d
dependabot.yml: move actions before pip
2024-04-03 17:00:59 +03:00
XhmikosR
11f8e20042
Minor whitespace/line endings consistency changes
2024-04-03 17:00:58 +03:00
XhmikosR
2a1ef960d4
readme_template.md: remove uneeded .svg from badges
2024-04-03 08:26:23 +03:00
XhmikosR
ae8c5b1cba
updateHostsFile.py: use a raw string for comment
...
This fixes a SyntaxWarning with Python 3.12:
```
/home/runner/work/hosts/hosts/updateHostsFile.py:1386: SyntaxWarning: invalid escape sequence '\W'
"""
```
2024-04-03 08:18:10 +03:00
XhmikosR
0c12f19ab5
Fix return type in prompt_for_update
2023-12-12 07:34:10 +02:00
XhmikosR
e2d262809e
CI: reduce CI matrix
...
Run the oldest and the latest supported versions on macOS and Windows
2023-12-10 09:18:04 +02:00
XhmikosR
598794a484
Update flake8 to v6.0 for Python 3.12 support
2023-12-10 09:18:04 +02:00
XhmikosR
45276ff4bc
CI: remove Python 3.7, add Python 3.12
2023-12-10 08:50:50 +02:00
XhmikosR
d3d4124e7e
Remove unneeded trailing whitespaces
2023-04-08 14:55:22 +03:00
XhmikosR
5de92647b9
Update .editorconfig
2023-04-08 14:55:22 +03:00
XhmikosR
54c1fdbacb
Update npm deps and regenerate lockfile
2023-04-08 14:43:08 +03:00
XhmikosR
82e6358811
CI: limit pushes to master
2023-04-08 14:29:41 +03:00
XhmikosR
d0f02ba284
Compress aggregator.png
...
6389 -> 2547 bytes
2022-11-13 08:58:19 +02:00
XhmikosR
f9a8908b24
CI: add Python 3.11
2022-11-13 08:06:30 +02:00
XhmikosR
5b8e0707fe
CI: remove git credentials after checkout
2022-11-13 08:02:41 +02:00
XhmikosR
56e34ab5a6
Update CodeQL workflow
2022-11-13 08:02:31 +02:00
XhmikosR
83a58c60a0
Update dependabot.yml
2022-03-12 17:32:00 +02:00
XhmikosR
16d79233ac
Update requirements.txt
...
* limit requests to v2.0
* require flake8 v4.0
2022-03-12 16:58:39 +02:00
XhmikosR
7bf15bf336
Use https in more places
2022-03-12 10:32:32 +02:00
XhmikosR
1714afb293
Update CI
...
* drop Python 3.5
* add pip caching back
* run makeHosts.py too
2022-03-12 10:22:11 +02:00
XhmikosR
dd5334d1d3
Add dependabot for pip and action updates
2022-03-12 10:16:37 +02:00
XhmikosR
5ecce58def
Update readme_template.md
2022-03-07 14:41:59 +02:00
XhmikosR
d22b726edc
Minor consistency tweaks
2022-03-07 09:20:01 +02:00
XhmikosR
177e9755a3
Use assertIn instead of assertTrue
2022-03-07 09:08:23 +02:00
XhmikosR
071a3a1e0e
CI: combine version steps
2022-03-07 08:58:22 +02:00
XhmikosR
491f45e017
CI: remove Python cache
...
Since we are still testing obsolete/unsupported Python versions, this is a workaround for the Windows Python 3.5 error.
It should be reverted later when support for Python 3.5 is dropped.
2022-03-07 08:53:37 +02:00
XhmikosR
2ffc7c2617
Update readme_template.md
2022-03-06 21:28:47 +02:00
XhmikosR
b6674ba5b2
Update release-it to ^14.12.5 and regenerate yarn.lock
2022-03-06 21:24:44 +02:00
XhmikosR
11632cc2d6
Rename disable-dnscache-service-win to bat
2022-03-06 21:08:10 +02:00
XhmikosR
823612498f
CI: update actions
...
* actions/checkout to v3
* actions/setup-python to v3
2022-03-06 20:56:24 +02:00
XhmikosR
907c2f5cdc
Update the requests' docs URL
2021-12-12 16:10:35 +02:00
XhmikosR
73c8564b29
Update CI config
...
* `actions/setup-python` now has built-in support for caching
* add `workflow_dispatch` to add the ability to manually trigger the workflow
* add Python 3.10
* add workflow name
2021-12-12 15:37:11 +02:00
XhmikosR
0aaa893a1f
Update CodeQL workflow
...
* bring in the latest upstream changes
* add `workflow_dispatch` so that the workflow can be triggered manually
* remove autobuild since we don't need to build anything
* reindent
2021-12-12 15:29:30 +02:00
XhmikosR
6c585c7161
Properly disable package-lock.json
2021-10-04 21:53:20 +03:00
XhmikosR
32102d9544
Update release-it ^14.11.5 → ^14.11.6
2021-10-04 21:53:20 +03:00
XhmikosR
b813657131
Fix URLHaus/update.json
2021-04-27 15:47:29 +03:00
XhmikosR
649034d269
readme_template: link to the master actions
2021-02-06 17:15:06 +02:00
XhmikosR
cbeadb1e2b
Update CI config
...
* remove unneeded `CI: true` env var since it's already set by the runner
* update to `actions/setup-python@v2`
* remove `x64` architecture since it's the default
2021-02-06 17:06:48 +02:00
XhmikosR
dea68fc51d
Create codeql-analysis.yml
2020-10-31 18:58:49 +02:00
XhmikosR
c95763d3e1
CI: add Python 3.9
2020-10-31 18:38:40 +02:00
XhmikosR
6940b842e7
requirements.txt: tighten ranges
2020-07-24 07:36:17 +03:00
XhmikosR
8b4c837d59
Remove miniconda and add Windows CI support
2020-07-24 07:36:17 +03:00
XhmikosR
cf92814f1d
Update readme_template.md
2020-07-08 18:16:28 +03:00
XhmikosR
eb4d002f13
Update CI config
...
* update to `actions/cache@v2`
* change cache key to take into account requirements.txt
2020-06-07 21:29:06 +03:00
XhmikosR
d232ef9a0c
Always use LF in README files
2020-05-27 16:40:55 +03:00
XhmikosR
877814eb22
Update updateHostsFile.py
...
Escape backslashes
2020-05-27 10:54:15 +03:00
XhmikosR
6709f769e4
Make sure we treat any readme assets as utf-8
2020-05-03 08:57:45 +03:00
XhmikosR
3ab6d9d5e8
Fix domain from #1202
2020-05-02 22:10:21 +03:00
XhmikosR
ec5723b926
ci/test.sh: add python --version
2020-04-29 15:31:55 +03:00
XhmikosR
bdcb4954e9
CI: move lint before test and add Python 3.8
2020-04-29 15:31:55 +03:00
XhmikosR
125d7c8745
Switch to GitHub Actions CI.
2020-04-29 15:31:54 +03:00
XhmikosR
f5358fd0b4
Join a few short lines and fixes a few typos
2020-04-23 09:02:38 +03:00
XhmikosR
cd426b4d8e
Update KADhosts homeurl
2020-04-20 09:27:42 +03:00
XhmikosR
7b00af4d07
Fix FadeMind's lists license
2020-04-20 09:27:23 +03:00
XhmikosR
787022fea2
Fix typo
2020-04-08 07:36:24 +03:00
XhmikosR
e8f9cfb833
ci: specify set -e
2020-04-06 11:05:20 +03:00
XhmikosR
bb30e9367a
Update readme_template.md
...
* remove references to hosts-file.net since it's removed
* apply #1204 here so that it's not overwritten
2020-04-02 09:58:43 +03:00
XhmikosR
892f9f639d
Minor tweaks in data update.json files
...
* remove extra newlines
* add missing trailing slashes to URLs
* link to abuse.ch
2020-03-25 09:01:27 +02:00
XhmikosR
0e6e9f4aae
Update readme_template.md
...
Fix broken link due to branch name
2020-03-21 22:52:56 +02:00
XhmikosR
67bbfe06d2
Move logo to the repo.
...
Also compress it losslessly (29,2 KB -> 20,5 KB).
2020-03-21 22:38:32 +02:00
XhmikosR
ce1459cff1
Minor readme tweaks
2020-03-21 22:31:18 +02:00
XhmikosR
e1ad037314
Doc tweaks
...
* Minor Markdown tweaks
* Fix a few typos
* Fix the release-it URL
* Switch to shields.io for the Travis CI badge too
2020-02-23 13:31:57 +02:00
XhmikosR
229b3593cf
updateHostsWindows.bat: minor consistency changes
...
* fix a few typos
* fix indentation
* lowercase commands since on Windows case doesn't matter
* add `/y /v` flags in copy commands
* remove unneeded `pushd` command since we `cd` after that anyway
* add `wscript.exe` when calling the .vbs script
2020-02-23 13:07:33 +02:00
XhmikosR
59ce889ff0
Minor shell script tweaks
...
* always double quote variables
* use https for the miniconda URLs
2020-02-23 09:45:44 +02:00
XhmikosR
214dd955c2
Enforce LF for all files except .bat files
...
This fixes issues on Windows where autocrlf is true by default
2020-02-23 09:33:51 +02: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
XhmikosR
fefb67406f
package.json: add private: true
...
The package isn't published on npm.
2020-02-22 16:58:47 +02:00
XhmikosR
995c091d11
Travis CI: remove the deprecated sudo: false
...
https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration
2020-02-22 16:43:46 +02:00
XhmikosR
ba4b580892
Use https for winhelp2002.mvps.org
2020-02-22 16:41:39 +02:00
XhmikosR
d2566110ff
Fix GitHub capitalization
2020-02-22 16:21:26 +02:00