mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-10-05 00:41:06 +03:00
encode filenames as bytes to handle all locale setups
This was failing on environments that did not have any LANG or LC_* locale variables set. This is a valid setup, and is common in headless setups, so it needs to be handled. This also adds a new pass of the test suite without the locale env vars set so that this situation is also tests on gitlab-ci, not only gpjenkins. The error this caused was: UnicodeEncodeError: 'ascii' codec can't encode characters in position 6-18: ordinal not in range(128)
This commit is contained in:
parent
4d50ab9bad
commit
e58ad330f4
4 changed files with 31 additions and 26 deletions
|
@ -1,4 +1,4 @@
|
|||
image: fdroid/ci:server-20161223
|
||||
image: registry.gitlab.com/fdroid/ci-images:server-latest
|
||||
|
||||
test:
|
||||
script:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue