Skip to content

AntiCompositeNumber/signatures

Repository files navigation

signatures

GitHub Workflow Status Uptime Robot status Coverage Status Python version 3.9 Code style: black

Validates user signatures, checking for technical and policy issues

Operation

This tool consists of two parts: a webservice and a backend batch report runner.

Webservice

On Toolforge, the repo is symlinked to ~/www/python/

To start the webservice, run webservice start

To stop the webservice, run webservice stop

Batch reports

On Toolforge, reports are run from a Kubernetes Job. A custom script is used to start the job. Any arguments passed to the start script will be passed to the report script.

See python3 src/sigprobs.py --help for CLI details.

To create or update a report, run ./sigprobs_start.py <site>

For example, a report for the English Wikipedia can be run with ./sigprobs_start.py en.wikipedia.org

Translating

$ cd src/
$ pybabel extract -F babel.cfg -k N_ -o messages.pot .  # Extract translatable strings
$ pybabel update -d translations/ -i messages.pot  # Update existing message catalogs
$ pybabel init -i messages.pot -d translations/ -l <lang>  # Create new message catalog

Update the translations in src/translations/<lang>/LC_MESSAGES/messages.po

$ pybabel compile -d translations

About

Validates user signatures, checking for technical and policy issues

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •  
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy