Commit graph

882 commits

Author SHA1 Message Date
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
moparisthebest
8e40b59c00 Support both debian's and pypi's python-magic libraries, which are different... 2014-02-16 22:42:16 -05:00
Daniel Martí
9064942d06 Remove leftover debug prints 2014-02-17 15:42:21 +01:00
Daniel Martí
a051ea9b93 Don't send a string as cmds to SilentPopen
Also, rm= checks for the validity of the paths. That's not useful, since one
could easily do "init=rm -rf ." without that same error popping up.
2014-02-17 14:59:55 +01:00
Daniel Martí
8533b8c44e Continue using FDroidPopen and SilentPopen more, support shell= 2014-02-17 13:30:11 +01:00
Daniel Martí
cc0943777e Start implementing SilentPopen 2014-02-17 13:12:25 +01:00
Daniel Martí
0ecd5172b1 Make the 'update' flag a list too 2014-02-17 13:09:44 +01:00
Daniel Martí
aa4fec9ca1 Remove stdin from FDroidPopen 2014-02-17 11:23:53 +01:00
Ciaran Gultnieks
cb3a08ff4b Improve build output situation since logging changes 2014-02-15 23:27:19 +00:00
Daniel Martí
d0cde659ca Let the no such package logs in first 2014-02-15 00:40:25 +01:00
Daniel Martí
0da4667bad Don't clean the main ant project twice 2014-02-13 09:19:26 +01:00