Browse Source

Minor fixes.

master
Franco Masotti 6 months ago
parent
commit
7186b9cd8b
Signed by: frnmst
GPG Key ID: 24116ED85666780A
  1. 2
      .pre-commit-config.yaml
  2. 8
      Makefile
  3. 7
      Pipfile
  4. 6
      privacy_policy.md

2
.pre-commit-config.yaml

@ -15,7 +15,7 @@ repos:
- id: debug-statements
- repo: https://github.com/frnmst/md-toc
rev: '8.0.0' # or a specific git tag from md-toc
rev: '8.0.1' # or a specific git tag from md-toc
hooks:
- id: md-toc
args: [-p, 'github', '-l6'] # CLI options

8
Makefile

@ -7,8 +7,14 @@ default: install-dev
install-dev:
pipenv install --dev
pipenv run pre-commit install
pipenv graph
pipenv check
uninstall-dev:
rm -f Pipfile.lock
pipenv --rm
.PHONY: default install-dev uninstall-dev
update: install-dev
pipenv run pre-commit autoupdate
.PHONY: default install-dev uninstall-dev update

7
Pipfile

@ -3,10 +3,5 @@ url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[packages]
[dev-packages]
pre-commit = '~=2.13'
[requires]
python_version = "*"
pre-commit = '>=2,<3'

6
privacy_policy.md

@ -30,6 +30,7 @@ stored in a log file in this form:
Variables are marked with `${}`.
These logs are rotated daily and kept for 7 days.
The reason for this is to enable an abuse protection system through [Fail2Ban](https://www.fail2ban.org/wiki/index.php/Main_Page).
I have NO interest in:
- selling this information
@ -40,15 +41,16 @@ I have NO interest in:
To protect your privacy, as an alternative,
an onion address is available for this instance: http://jb2xdimn4cuoty3igqh3qknyt7ls6hwswzwl7xmieheemsjuirvqcaad.onion
Bare in mind that git cloning over HTTP has been disabled for the moment because
my instance of Fail2Ban is configured to ignore localhost. All traffic from TOR
is infact marked as coming from localhost by Apache and Gitea, for example:
127.0.0.1 - - [08/Mar/2021:10:03:02 +0100] "GET /user/avatar/frnmst/290 HTTP/1.1" 302 64
If you want to clone repositories through TOR it is sufficient to use torsocks. For example
If you want to clone repositories through TOR it is sufficient to use torsocks. For example:
torsocks git clone https://software.franco.net.eu.org/frnmst/blog.git
torsocks --isolate git clone https://software.franco.net.eu.org/frnmst/blog.git
## Cookie policy

Loading…
Cancel
Save