1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-14 11:00:10 +01:00
fdroidserver/fdroidserver
Hans-Christoph Steiner e58ad330f4 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)
2017-04-03 20:24:00 +02:00
..
asynchronousfilereader Add asynchronous filereader, fix python3 lockups 2015-09-20 20:57:53 +02:00
__init__.py Make the server tools an installable package (with distutils) - wip 2012-03-11 11:59:19 +00:00
build.py moved version android tools version log header to corresponding function 2017-03-22 14:56:26 +01:00
checkupdates.py Remove whitespace from HTTP update check versions 2017-03-15 19:54:09 +00:00
common.py encode filenames as bytes to handle all locale setups 2017-04-03 20:24:00 +02:00
dscanner.py fix exception handling in dscanner and update.py 2017-03-22 14:07:54 +01:00
gpgsign.py gpg-sign all valid files in the repo, including source tarballs 2016-11-07 14:53:01 +01:00
import.py import: add option to specify license and categories, auto-detect build.gradle 2017-03-26 19:00:03 +02:00
index.py encode filenames as bytes to handle all locale setups 2017-04-03 20:24:00 +02:00
init.py Re-add NDK r12b, now fixed. 2016-08-02 11:10:31 +02:00
install.py convert internal dict keys to match fdroidclient's Apk class 2017-03-17 13:55:40 +01:00
lint.py rename Build fields: version -> versionName, vercode -> versionCode 2017-02-24 11:01:01 +01:00
metadata.py metadata: don't crash if metadata includes blank Categories list 2017-04-03 20:18:54 +02:00
net.py Fix python headers in some source files 2016-03-11 13:27:00 +00:00
publish.py convert internal dict keys to match fdroidclient's Apk class 2017-03-17 13:55:40 +01:00
readmeta.py all: make newer pycodestyle happy 2016-11-15 20:55:06 +00:00
rewritemeta.py improve rewritemeta error msg about formats 2017-02-28 12:08:04 +01:00
scanner.py convert internal dict keys to match fdroidclient's Apk class 2017-03-17 13:55:40 +01:00
server.py add index V1 format, a direct translation of internal dict 2017-03-17 13:55:40 +01:00
signindex.py Move index signing methods into signindex.py 2017-03-29 12:11:40 -03:00
stats.py all: make newer pycodestyle happy 2016-11-15 20:55:06 +00:00
update.py encode filenames as bytes to handle all locale setups 2017-04-03 20:24:00 +02:00
verify.py make fdroid verify use common.verify_apks() 2017-03-22 10:51:12 +01:00