Hans-Christoph Steiner
f1ae3d3fd0
use default keystore path when generating a new setup with init
...
Before, the path to the keystore was also hardcoded in init.py, this makes
init now get it from the defaults set in common.py.
2014-04-07 16:00:17 -04:00
Hans-Christoph Steiner
0736367675
when generating config.py during init, uncomment changed options
...
The defaults are set in config.py and are often commented out. Before, the
regex would only change the value, but leave it commented out. Now, it
will also uncomment it.
2014-04-07 16:00:17 -04:00
Hans-Christoph Steiner
40fdc2a943
improved error messages related to missing/non-functional SDK paths
2014-04-07 16:00:17 -04:00
Ciaran Gultnieks
7f822b01bf
Validate publish-related file existence before proceeding
2014-04-04 15:37:18 +01:00
Ciaran Gultnieks
e4ad174399
Use keystore options correctly
...
Corrects error in 525759b235
2014-04-04 15:31:07 +01: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í
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í
8e87feff26
Fix output naming, remove redundant lstrip()
2014-04-02 01:05:33 +02:00
Hans-Christoph Steiner
e53092cffa
fix genkey key listing in fdroid init
...
FDroidPopen() does not have a way to send to stdin, so we will use the
password file for now. In the long run, at least the keypass should always
be sent via stdin rather than via a file. Ideally, storepass would be too,
but if they are different, then storepass is less important.
2014-04-01 18:04:36 -04:00
Hans-Christoph Steiner
ed3bd25bb5
oops, include common. to call write_password_file()
2014-04-01 18:04:36 -04:00
Hans-Christoph Steiner
8ef6546f81
move fdroid-icon.png to examples/
2014-04-01 18:04:36 -04:00
Hans-Christoph Steiner
d21bddc159
improved warning when trying to init a dir with stuff in it
2014-04-01 17:51:54 -04: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í
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í
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
a31f4571c2
fix example files install in setup.py
...
This also makes the file layout in git basically the same as the installed
file layout, using an examples/ dir. I'm not sure if config.buildserver.py
is an example conf file, or a conf file that is actually in use, so I did
not move it.
2014-03-31 21:29:51 -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í
214d63e48f
Better identify empty licenses
2014-03-28 11:40:58 +01: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í
25a8dd5af4
Start rewriting git@github submodues to use https
2014-03-27 18:38:12 +01:00
Daniel Martí
65d796c93a
Only make lists if a space follows the # or * sign
...
This prevents making a list item out of lines such as:
*.rom images and allows using...
2014-03-27 17:51:34 +01:00
Daniel Martí
6c6a9c4bb2
Revert "Wrap maintainer notes in <pre> to keep newlines and formatting"
...
This reverts commit 94bb9d9355 .
2014-03-25 09:41:55 +01:00
Daniel Martí
94bb9d9355
Wrap maintainer notes in <pre> to keep newlines and formatting
2014-03-24 15:11:05 +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í
eee7f8b4f6
Avoid some false positives in the punctuation check
2014-03-24 01:02:11 +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í
b23b560c72
Also show error messages when coming from UCM:Tags
2014-03-21 19:19:17 +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í
90d60cc8ff
Properly show checkupdates error messages
2014-03-21 19:11:21 +01:00
Daniel Martí
685eb188b1
Fix checkupdates appid managing
2014-03-21 19:11:08 +01:00
Daniel Martí
758f88af7b
Don't use 'yes' as flavour
2014-03-21 19:10:50 +01:00
Daniel Martí
c63fef2af3
Don't crash when using gradle=yes
2014-03-19 17:25:57 +01:00
Daniel Martí
0b50566f0f
Add "Update Check Name" for Tags/RM apps that programmatically change their appid
2014-03-18 23:37:15 +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í
b94a772ad9
Print version names and srclibs for reference
2014-03-18 12:46:40 +01:00
Daniel Martí
03975808a3
A couple more rules for lint
2014-03-18 12:26:24 +01:00
Daniel Martí
f8805d88ae
Make "reading config.py" a debug print
2014-03-18 12:20:51 +01:00
Daniel Martí
d5c62d3bbd
Separate lint messages into warnings and pedantic warnings
2014-03-18 12:20:40 +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í
6cdf509c9e
Capitalize gradle flavour commands to avoid confusion
2014-03-17 14:37:57 +01:00