Michael Pöhn
68bbfa7e0e
Merge branch 'no_sleep' into 'master'
...
vmtools: remove old vagrant workaround
See merge request fdroid/fdroidserver!380
2017-12-02 12:49:05 +00:00
Marcus
167c730ad8
Merge branch 'sort-fdroid-build-all' into 'master'
...
sort `fdroid build --all` by most recent first
See merge request fdroid/fdroidserver!390
2017-12-02 12:34:27 +00:00
tobiasKaminsky
d5ecb34df7
add flavour to metadata
2017-12-01 15:25:00 +01:00
Hans-Christoph Steiner
5b22ff7dc6
tests: use standard dir setup so all tests start in same dir
2017-11-30 17:32:53 +01:00
Hans-Christoph Steiner
3ff4b656c6
tests: name temp test dir after test function that used it
2017-11-30 17:32:53 +01:00
Hans-Christoph Steiner
30b2f5a48a
build: sort fdroid build --all
by most recently changed first
2017-11-30 17:32:53 +01:00
Hans-Christoph Steiner
bf09109c49
mirror: fix syntax error on Python 3.4
...
It seems that Python 3.5 is more flexible with * expansion, Python 3.4 says:
SyntaxError: only named arguments may follow *expression
https://travis-ci.org/f-droid/fdroidserver/jobs/309194065
2017-11-30 14:03:04 +01:00
Hans-Christoph Steiner
dcbc78d238
Merge branch 'gradleFlavor' into 'master'
...
gradle file: use flavour specific versionCode/versionName, fall back to parsing line by line
See merge request fdroid/fdroidserver!389
2017-11-30 13:44:47 +01:00
Hans-Christoph Steiner
c7c40cb59f
PEP8 fixes
2017-11-30 13:42:37 +01:00
Hans-Christoph Steiner
2a758886cd
Merge branch 'polish-for-1.0' into 'master'
...
Polish for 1.0
Closes #421
See merge request fdroid/fdroidserver!388
2017-11-30 12:28:28 +00:00
tobiasKaminsky
33aee96ed9
added test case
2017-11-30 11:12:18 +01:00
Hans-Christoph Steiner
27d332c8ae
vmtools: in KVM mode, only call sudo hack when file is not readable
2017-11-29 21:06:35 +01:00
Hans-Christoph Steiner
b1bab81739
server: prevent crash when uploading to virustotal
2017-11-29 21:06:02 +01:00
Hans-Christoph Steiner
7389947cc3
init: handle case where keystore.jks is present but config.py is not
2017-11-29 21:06:02 +01:00
Hans-Christoph Steiner
e2bbeb5083
common: document read_pkg_args() and read_app_args()
...
It took me a long time to figure out how `fdroid build --all` builds the
whole list of apps...
2017-11-29 21:06:02 +01:00
Hans-Christoph Steiner
2b6825ccfd
build: set open file limit based on how many apps are being processed
...
When running `fdroid build --all` on a buildserver with thousands of apps,
it was frequently hitting the open file limit. This increases the open
file limit based on how many apps are being process. It is doubled to
provide a margin of safety.
There are probably open file leaks which ideally would be fixed, but this
is also useful to make things more resilient to all the random stuff apps
include in their build systems.
2017-11-29 21:06:02 +01:00
Hans-Christoph Steiner
19af92c982
buildserver: include all Android SDK licenses in their exact format
...
I tried to clone the files I got from `sdkmanager --licenses`, byte for
byte.
2017-11-29 21:06:02 +01:00
Hans-Christoph Steiner
f01b6af57f
nightly: automatically create and manage app metadata
...
This also allows the developer to edit the metadata in the *-nightly git
repo to customize it.
closes #421
2017-11-29 21:06:02 +01:00
Hans-Christoph Steiner
6f97be128f
nightly: fix QR code repo icon generation
2017-11-29 21:06:02 +01:00
Hans-Christoph Steiner
c98740a7d2
nightly: include 'qrcode' as dependency
2017-11-29 21:06:02 +01:00
Hans-Christoph Steiner
d46d9574b4
update: use KnownApks dates to check system clock on offline machines
...
KnownApks provides a reliable source of a relatively recent date.
2017-11-29 21:06:02 +01:00
Hans-Christoph Steiner
1219f07d3b
Merge branch 's3cfg' into 'master'
...
server: allow user to specify custom s3cfg file
Closes #413
See merge request fdroid/fdroidserver!385
2017-11-29 19:34:11 +00:00
Hans-Christoph Steiner
7eef6eac93
server: allow user to specify custom s3cfg file ( closes #413 )
...
This lets people do advanced S3 setups like CloudFront caching, and
anything else s3cmd lets you do.
2017-11-29 19:50:57 +01:00
Marcus
528d5a0d1a
Merge branch 'fdroid-mirror' into 'master'
...
mirror: new command to make a mirror of a repo
See merge request fdroid/fdroidserver!389
2017-11-29 17:29:42 +00:00
Hans-Christoph Steiner
09a6b37ac0
mirror: fix downloading of graphics
...
It was downloading them all directly into the 'repo' folder.
2017-11-29 17:12:38 +01:00
Hans-Christoph Steiner
79a4c469b3
mirror: forward --verbose flag to wget to control output
2017-11-29 16:54:52 +01:00
Hans-Christoph Steiner
94e67a7623
mirror: verify index signature if fingerprint included in URL
...
This keeps the old handling without signature checks so that it works
without requiring Java/apksigner or the whole config.py parsing stuff.
2017-11-29 16:54:27 +01:00
Hans-Christoph Steiner
d5481927f2
mirror: show help if no URL is provided
2017-11-29 16:31:48 +01:00
Hans-Christoph Steiner
2162703a1a
mirror: new command to make a mirror of a repo
...
This creates a mirror of a full repo by downloading all files listed in
the index, and the ones that are generated based on that data, e.g. icons
of different resolutions. This could be useful for setting up mirrors of
small repositories, instead of having to learn and manage rsync or
something else for mirroring. This just needs a working repo.
It uses wget in a batch mode with the aim as being as efficient as
possible. wget mirroring over HTTP is always going to be less efficient
than rsync, but it shouldn't be so bad since it uses --continue to check
whether it has already downloaded a file. I suppose it could be extended
to use ETags for a little more efficiency.
I developed this creating a test mirror of f-droid.org, which is now a bit
ironic, since I added a specific check to prevent people from using this
on f-droid.org.
2017-11-29 12:40:04 +01:00
tobiasKaminsky
f8492f05a8
gradle file: use flavour specific versionCode/versionName, fall back to parsing line by line
2017-11-29 09:40:44 +01:00
Hans-Christoph Steiner
5607ccdc41
jenkins-test: make new keystore on each test so the password is known
2017-11-28 12:10:13 +01:00
Hans-Christoph Steiner
cee65dbfb6
Bump to 0.9.1 for release process fixes
2017-11-27 16:57:30 +01:00
Hans-Christoph Steiner
743ef9ba00
rename test files to work round filename length limits
...
It seems a lot of things like tar, Windows, some filesystems, etc. do not
handle long filenames. #416
2017-11-27 16:57:30 +01:00
Hans-Christoph Steiner
875dfd0d60
check git is on correct tag before making a release
2017-11-27 16:57:30 +01:00
Hans-Christoph Steiner
ff5717b37e
Merge branch 'tests-fedora' into 'master'
...
tests: fix pycodestyle lookup
See merge request fdroid/fdroidserver!386
2017-11-27 15:58:24 +00:00
relan
6498d24f36
tests: fix pycodestyle lookup
...
Pycodestyle is available as /usr/bin/pycodestyle-3 on Fedora.
2017-11-27 16:32:41 +03:00
Hans-Christoph Steiner
80bd6f5fe2
Bump to 1.0.dev0
2017-11-27 13:59:35 +01:00
Hans-Christoph Steiner
2c32071f24
Bump to 0.9
2017-11-27 13:59:35 +01:00
Hans-Christoph Steiner
e89dc399ff
Merge branch 'weblate' into 'master'
...
Weblate
See merge request fdroid/fdroidserver!384
2017-11-27 12:28:35 +00:00
Hans-Christoph Steiner
0768b4db0f
Weblate
2017-11-27 12:28:34 +00:00
Hans-Christoph Steiner
ec453eac8a
nightly: fix PEP8 E722 do not use bare except
2017-11-27 10:42:31 +01:00
Hans-Christoph Steiner
35ff37b1e2
jenkins: require successful git fetch
before running tests
2017-11-27 10:07:17 +01:00
Hans-Christoph Steiner
2cf6110860
jenkins-setup-build-env: actually run tests in the new buildserver VM
...
Oops, this has been failing, since it was running the build on the vm host,
not in the buildserver VM.
2017-11-27 10:07:17 +01:00
Hans-Christoph Steiner
c7f859c168
jenkins-test: don't overwrite fdroid init
config.py and rm test files
2017-11-27 10:07:17 +01:00
Hans-Christoph Steiner
d6c2ec092f
jenkins-test: force new repo setup for each build
...
jenkins-build-all just sets `build_server_always = True`, these tests need
a whole keystore setup. So just delete the existing config, and let
`fdroid init` do the rest.
2017-11-26 22:48:53 +01:00
Hans-Christoph Steiner
9fda492b2f
Merge branch 'rsync' into 'master'
...
build: rsync instead of sftp dirs to the buildserver
Closes #227
See merge request fdroid/fdroidserver!379
2017-11-26 21:50:24 +00:00
Hans-Christoph Steiner
c65398cb8a
Merge branch 'ndk' into 'master'
...
makebuildserver: add ndk r16
See merge request fdroid/fdroidserver!383
2017-11-26 21:48:04 +00:00
Marcus Hoffmann
f9b853ab91
makebuildserver: add ndk r16
2017-11-26 17:17:55 +01:00
Hans-Christoph Steiner
9aacdf3fe3
Merge branch 'vm-provider-lookup-flaw' into 'master'
...
fix vm provider lookup flaw
See merge request fdroid/fdroidserver!382
2017-11-25 17:10:43 +00:00
Hans-Christoph Steiner
a3815039d8
Merge branch 'no_rm' into 'master'
...
common: use python instead of calling out to 'rm'
See merge request fdroid/fdroidserver!381
2017-11-25 16:43:44 +00:00