style: Reformat all Python code with PEP8 for normalization
CodeQL reported an error with a Python file because of a compilation error: https://github.com/openfoodfacts/openfoodfacts-server/security/code-scanning/tools/CodeQL/status/c…
Fix a handful of issues reported by SonarCloud, or add a workaround for the issue.
CODECOV_TOKEN to upload coverage results to Codecov. This is now required: main hasn't successfully pushed coverage results in ages due to the missing token.Test2::Harness::Renderer::JUnit to create a JUni formatted…Delete the downloaded container image from the temporary path; the GitHub action has already loaded it into docker.
This should help with build runs still failing with #11013.
This pull request includes changes to the Makefile to improve the handling of environment variables and streamline the import of sample data.
Environment variables:
SKIP_SAMPLE_IMAGES variable definition to…/var/lib/apt during backend image build/root/.npm/_cacache instead of /root/.npm to avoid polluting the cache with /root/.npm/_logsnode_modules to the `fronten…Related issues and discussion:
Follow up for #5807 and https://github.com/openfoodfacts/openfoodfacts-server/commit/527e31760e47d240a85ffb0e48e4bb74d0754b9c
What happend
> If you want to reset your password but ente…
As discussed with @stephanegigandet on Slack, we currently have no option to re-build taxonomies before the tests are run during a Travis CI build. This PR adds a simple JS script that (re-)builds outdated and non-existing taxonomy files.
Checklist:
Make sure you've done all the following (You can delete the checklist before submitting)
Apparently, using print in unit tests is against best practices of the test module. I replaced manual logging to STDERR with diag and Data::Dumper with the mentioned explain.
Gulp (or rather one of it's dependencies in the yarn.lock file) stopped running on Node.js 11.
Originally lan33/openfoodfacts-server#5 as a follow-up for openfoodfacts/openfoodfacts-server#1532
Move JavaScript from devDependencies to dependencies. Follow up to the discussion in #1182.