Commit graph

505 commits

Author SHA1 Message Date
Daniel Martí
2c8df2c1ef Small buildjni= fixes 2014-06-24 22:31:39 +02:00
Daniel Martí
53aba5365f Don't error about native code if buildjni=no 2014-06-24 22:21:04 +02:00
Daniel Martí
596b3b44c5 Avoiding lintVital is no longer necessary in 0.11 2014-06-15 13:34:41 +02:00
Daniel Martí
71a09b700e Apk output path is build/outputs/apk/*.apk since 0.11 2014-06-12 10:04:20 +02:00
Daniel Martí
9779979e3a lintVital was added in 0.8, only exclude it then 2014-06-12 10:00:46 +02:00
Daniel Martí
ef73fd8920 Exclude lint from gradle build tasks 2014-06-08 00:50:19 +02:00
Daniel Martí
8fd02e3fcf Remove dead mvnflags code 2014-06-01 19:05:10 +02:00
Daniel Martí
3d72c30fe5 Use ordered dicts for defaults in apps and builds 2014-05-31 23:54:50 +02:00
Ciaran Gultnieks
3a73654d49 Centralise management of srclib metadata 2014-05-20 22:44:47 +01:00
Hans-Christoph Steiner
37d6d87ff7 fix PEP8 "E226 missing whitespace around arithmetic operator" 2014-05-06 14:36:33 -04:00
Hans-Christoph Steiner
0e00b36db5 fix PEP8 E124/E125/126/127/128 indentation issues
* E124 closing bracket does not match visual indentation
* E125 continuation line does not distinguish itself from next logical line
* E126 continuation line over-indented for hanging indent
* E127 continuation line over-indented for visual indent
* E128 continuation line under-indented for visual indent
2014-05-06 14:36:33 -04:00
Hans-Christoph Steiner
3f4f7a544b fix PEP8 "E302 expected 2 blank lines, found 1" 2014-05-06 11:45:03 -04:00
Hans-Christoph Steiner
d564c37c35 fix "fdroidserver/build.py:41: redefinition of unused 'paramiko' from line 39"
pyflakes gave this error based on the `paramiko = None` statement. I used
a different way to test whether paramiko was successfully imported that is
directly based on the relevant Exceptions.
2014-05-06 11:45:02 -04:00
Ciaran Gultnieks
225c644b3e Remove the other explicit vagrant references
Aside from the VM setup (which is now self-contained) the build process
only cares that it's handed a clean VM that it can access via ssh, given
a host/port/user/pubkey combination. There's no dependency outside the
getvm/releasevm functions on what kind of vm it is, what user the build
runs as, etc.
2014-05-01 23:33:17 +01:00
Ciaran Gultnieks
ee157b7c83 Remove some explicit references to the vagrant user 2014-05-01 23:24:54 +01:00
Ciaran Gultnieks
6db75545ef Separate the VM setup process from the build 2014-05-01 23:04:51 +01:00
Ciaran Gultnieks
d7cee19c02 Fix a few whitespace errors in build.py 2014-05-01 22:09:17 +01:00
Ciaran Gultnieks
2f6ce712f5 More PEP8 compliance (build.py, partial) 2014-04-30 23:23:57 +01:00
Daniel Martí
5b10409967 Run maven with jar.sign.skip=true too 2014-04-22 11:22:53 +02:00
Daniel Martí
5c483a5484 Fix apk path on gradle builds with many subdirs 2014-04-15 11:50:02 +02:00
Ciaran Gultnieks
5b21f86af2 Add buildserver details to AndroidManifest.xml 2014-04-10 13:59:17 +01:00
Ciaran Gultnieks
f95eccf307 Put commit hash of fdroidserver in use onto buildserver 2014-04-10 13:58:42 +01:00
Ciaran Gultnieks
b7420192eb Support different identity file structures
Something to do with vagrant/paramiko versioning.
2014-04-10 13:57:16 +01:00
Ciaran Gultnieks
8fdfc47f84 Fix snapshot logging error 2014-04-10 13:56:45 +01:00
Daniel Martí
2f43d30884 Specify that scanner warnings are not counted 2014-04-08 18:49:59 +02:00
Ciaran Gultnieks
c353a69231 Switch back to paramiko for all modules 2014-04-03 17:14:59 +01:00
Daniel Martí
c08987cf4b Avoid printing the dir '' 2014-04-03 16:10:54 +02:00
Daniel Martí
0c11f7bc49 scan_source: print problems, only return the total count 2014-04-03 16:04:06 +02:00
Daniel Martí
5dc29c8a05 Fix apk path on gradle builds where both subdir and flavour@dir are used 2014-04-01 19:25:43 +02:00
Daniel Martí
edda052000 Error if buildjni= is present but no native code was packaged 2014-03-27 19:22:21 +01:00
Daniel Martí
02a835931a Formatting fail 2014-03-24 10:19:39 +01:00
Daniel Martí
eb343fe212 Always run ndk-build with -j1 2014-03-24 10:09:12 +01:00
Daniel Martí
29ab3cf64d If given --verbose, don't print the whole error log again 2014-03-23 00:10:33 +01:00
Daniel Martí
c63fef2af3 Don't crash when using gradle=yes 2014-03-19 17:25:57 +01:00
Daniel Martí
5d6baedbc9 Try to fix <pre> issues on large lastbuilds 2014-03-17 14:52:01 +01:00
Daniel Martí
6cdf509c9e Capitalize gradle flavour commands to avoid confusion 2014-03-17 14:37:57 +01:00
Daniel Martí
496d3d1650 Remove gradle wrapper binaries and scripts 2014-03-05 12:32:58 +01:00
Ciaran Gultnieks
a082b3c631 Minor typo fix 2014-03-04 23:36:50 +00:00
Ciaran Gultnieks
9d59184d94 Fix a few build-time logging levels 2014-02-27 08:55:06 +00:00
Ciaran Gultnieks
c1df8b5bef Correct error in 8d95091f 2014-02-26 15:18:28 +00:00
Ciaran Gultnieks
8d95091f4d Set ssh logging level appropriately 2014-02-25 12:46:32 +00:00
Daniel Martí
e13b483d99 Speed up ndk-builds by using all cores 2014-02-23 23:33:19 +01:00
Ciaran Gultnieks
37dda9414c Add --quiet option, restricting output to warnings/errors 2014-02-22 09:46:24 +00:00
Daniel Martí
263731e9bc Complain if buildjni is used but the NDK isn't available 2014-02-17 20:03:55 +01:00
Daniel Martí
f6f23030e2 Move config.buildserver.py into buildserver subdir 2014-02-17 19:16:14 +01:00
Daniel Martí
8533b8c44e Continue using FDroidPopen and SilentPopen more, support shell= 2014-02-17 13:30:11 +01:00
Daniel Martí
63d7cbee9f Fix a buildjni regression 2014-02-17 13:04:39 +01:00
Daniel Martí
898e4485c2 Add another build option to skip source scanning
It can be very slow on large source code dirs, and if one is trying to get an
application building and the scan already succeeded once, running it again and
again is a waste of time.
2014-02-16 17:40:54 +01:00
Ciaran Gultnieks
cb3a08ff4b Improve build output situation since logging changes 2014-02-15 23:27:19 +00:00
Daniel Martí
67acf4c3fc buildjni is a list field too, some server fixes 2014-02-15 10:56:35 +01:00