Internet.nl icon indicating copy to clipboard operation
Internet.nl copied to clipboard

[WIP] Fix #1314 - security.txt full url in finding

Open bwbroersma opened this issue 1 year ago • 1 comments

Fixes #1314.

In develop I have to run python3 manage.py migrate, I thought db-migrate should do this automatically?

I'm having some trouble with the translation files and how to update the django.po from the main.po (I know there is the content repo) by running python3 bin/pofiles.py to_django / python3 manage.py compilemessages. The current content change is:

$ sed -r -i 's/(security.txt )(retrieved from|opgehaald van)( \{hostname)/\1\2 {url/'

bwbroersma avatar Mar 10 '24 21:03 bwbroersma

The translation files are exclusively managed through the content repo. Updates directly to the translation files will be overwritten when we do a content update. I don't think you need to update django.po yourself, it's not in the repo, I am pretty sure it's generated in the Dockerfile.

For the API, we also need to update openapi.yaml and bump the API version.

mxsasha avatar Mar 11 '24 10:03 mxsasha