Commit Graph
2 Commits
Author SHA1 Message Date
Andre Neto ae46994aac Add MIT LICENSE (first commit year 2025) and point the README section to it
O repo era publico e espelhado sem licenca. MIT foi a licenca decidida para o
catalogo; o ano do copyright e o do primeiro commit. Nota: os ficheiros com
cabecalho do Institute of Systems and Robotics e os dados de terceiros ficam
fora do ambito desta licenca (ver NOTA-LICENCA).
2026-10-08 14:53:39 +01:00
Andre Neto 40b9a73859 ISR: read DB password from ISR_DB_PASSWORD; untrack compiled bytecode
pre_processing.py hard-coded the PostgreSQL password in the connection URL. It
now reads ISR_DB_PASSWORD and raises RuntimeError when it is unset.

metrics/subjective/__pycache__/pre_processing.cpython-310.pyc embedded the same
password as a compiled string literal. .gitignore already lists __pycache__/ and
*.pyc, but 21 bytecode files were tracked regardless; they are now removed from
the index (git rm --cached, the files stay on disk).

Why: neither the source nor a compiled copy of the credential may live in the
repository. The value is still in the history, so it must be rotated.
2026-10-08 14:04:27 +01:00