Daniel Martí
00fa44e916
Only do the latest five tags when using UCM:Tags on git
2014-04-17 21:05:18 +02:00
Daniel Martí
3736da3761
No longer use universal_newlines
...
It was added in an attempt to get git clone/fetch output, which did not
succeed.
2014-04-17 20:47:13 +02:00
Daniel Martí
f79ded4a26
Also ignore .bzr when scanning
2014-04-16 21:06:24 +02:00
Daniel Martí
559ad9ef5b
Also glob the 'rm' field
2014-04-15 23:58:12 +02:00
Daniel Martí
d4f9f341ed
Glob scanignore and scandelete
...
These fields can still be used without globbing, but globbing can be very
useful in some cases.
2014-04-15 23:53:44 +02:00
Daniel Martí
8f0f896d91
Rewrite much of the source scanner
...
* Group apk, jar and zip files in the same case
* Use regex to support more patterns and be more flexible
* Only check for usual suspects in jar files (saves time)
* Also catch unknown zip-like files as warnings
2014-04-15 23:33:54 +02:00
Daniel Martí
b92b722c6d
Fix: some apks have a zip mimetype instead of a jar one
2014-04-15 17:50:08 +02:00
Daniel Martí
5f2c348b40
Support gradle variables without an equals sign
2014-04-12 01:00:59 +02:00
Daniel Martí
67054c7c6f
Fix counting of scanner problems
2014-04-12 00:18:20 +02:00
Hans-Christoph Steiner
2bd62239f7
'smartcardoptions' config item for setting up HSMs with fdroid
...
These options are needed to configure Java's keytool and jarsigner to use
a Hardware Security Module aka HSM aka smartcard. The defaults provided
are meant to make things work as easily as possible.
2014-04-07 16:00:18 -04:00
Hans-Christoph Steiner
40fdc2a943
improved error messages related to missing/non-functional SDK paths
2014-04-07 16:00:17 -04:00
Daniel Martí
fb933ebafd
Make pylint happy about re-using the 'added' var
2014-04-03 16:05:15 +02:00
Daniel Martí
0c11f7bc49
scan_source: print problems, only return the total count
2014-04-03 16:04:06 +02:00
Daniel Martí
3905143252
Add default repotype() to make pylint happy
2014-04-02 23:37:29 +02:00
Daniel Martí
802d5e298c
Merge commit 'refs/merge-requests/137' of gitorious.org:f-droid/fdroidserver
2014-04-01 23:47:11 +02:00
Daniel Martí
870ed87a36
Fix bankdroid build
...
All console stuff should be avoided already with just readLine
2014-04-01 19:29:37 +02:00
Daniel Martí
d8374b3efa
Add keyaliases config default
2014-04-01 18:58:20 +02:00
Hans-Christoph Steiner
7bb490221a
set the default keystore to the same as the default in fdroid init
...
This should keep things simple and consistent.
2014-03-31 21:42:46 -04:00
Hans-Christoph Steiner
525759b235
stop passing passphrases via args, instead use prepared files
...
Any process can read the process table, and can therefore see the entire
command line of any other process. That means its a bad idea to ever put
passwords as part of a command line. Python is executing keytool and
jarsigner command lines here, so now instead of putting the password on the
command line, a file is passed instead with suitable file permissions.
This should reduce the exposure a lot. But still, sensitive passwords
should not be written to any text file.
This change requires OpenJDK-7 since the :file option to -storepass and
-keypass was only added in Java 7's keytool and jarsigner.
2014-03-31 21:02:42 -04:00
Daniel Martí
caa88ec388
Fix indexing issue with recursive srclibs
2014-03-31 19:23:48 +02:00
Daniel Martí
25a8dd5af4
Start rewriting git@github submodues to use https
2014-03-27 18:38:12 +01:00
Daniel Martí
7cf368df70
Better gradle signing keys regexes
2014-03-21 19:11:52 +01:00
Daniel Martí
22142138a6
Include possible src/AndroidManifest.xml gradle manifest path
2014-03-21 19:11:38 +01:00
Daniel Martí
167d9df3a0
Support auto names on gradle projects
2014-03-18 15:44:39 +01:00
Daniel Martí
d570422f6d
Make SilentPopen use FDroidPopen, switch a few from silent to regular
2014-03-18 12:47:35 +01:00
Daniel Martí
f8805d88ae
Make "reading config.py" a debug print
2014-03-18 12:20:51 +01:00
Daniel Martí
945d8b126f
Properly use logging.warn in some places
2014-03-18 08:22:36 +01:00
Daniel Martí
5d6baedbc9
Try to fix <pre> issues on large lastbuilds
2014-03-17 14:52:01 +01:00
Daniel Martí
9014206b76
Properly identify jar files
2014-03-16 23:38:00 +01:00
Ciaran Gultnieks
93987eac17
Correction to 6b309aff
2014-03-16 22:34:13 +00:00
Ciaran Gultnieks
6b309aff41
Don't use an autoname if it's not found
2014-03-16 22:12:37 +00:00
Ciaran Gultnieks
f2a1a83455
Don't look for strings in unrelated projects
2014-03-16 08:43:54 +00:00
Ciaran Gultnieks
e642561676
Extra debug logging for autoname gathering
2014-03-16 08:43:24 +00:00
Daniel Martí
9962074cf3
Also strip project.properties of ant keysigning options
2014-03-13 10:31:22 +01:00
Daniel Martí
524404db61
Bump default build-tools version
2014-03-09 23:11:10 +01:00
Daniel Martí
19c99feb16
Don't reset a repo if its .fdroidvcs file ends with a newline
2014-03-05 13:22:58 +01:00
Daniel Martí
67d75e550b
Don't add an extra space to git svn clone
2014-03-02 13:39:48 +01:00
Daniel Martí
d7ca28bbbe
Fix gradle patching in a more generic way
2014-02-28 11:27:10 +01:00
Ciaran Gultnieks
a6c1b33a8c
Remove unused import
2014-02-25 12:46:22 +00:00
Daniel Martí
a4ab105234
Look for strings in all xml dirs properly
2014-02-23 20:09:42 +01:00
Daniel Martí
858f89e3ac
Update build-tools to 19.0.2
2014-02-23 12:21:28 +01:00
Daniel Martí
45bd80634c
Fix srclib 'Srclibs:' regression
2014-02-23 11:57:03 +01:00
Daniel Martí
6cd34a1d21
Better gradle signingConfig patching
...
This fixes the building of impeller 0.8.7
2014-02-23 11:54:58 +01:00
Daniel Martí
0c2104039b
Iterate over srclib Srclibs with indexes properly
2014-02-19 10:27:46 +01:00
Daniel Martí
a1d85e32f1
Some JARs have zip mimetype
2014-02-18 16:16:46 +01:00
Daniel Martí
3f485e509f
git-svn fix: run fetch to actually get new tags and branches
2014-02-18 10:34:49 +01:00
Daniel Martí
b9728b2980
Warn about zip files like with jar files
2014-02-18 08:32:35 +01:00
Daniel Martí
d185e04d9e
Also catch compiled java classes in the scanner
2014-02-18 08:32:16 +01:00
Daniel Martí
e1581d0d38
Catch all jar files
2014-02-18 08:25:30 +01:00
Daniel Martí
15f2eada8e
Move config.py keystore checks to after vars have been expanded
2014-02-17 20:04:39 +01:00