1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-11 15:13:27 +02:00
Commit Graph

2585 Commits

Author SHA1 Message Date
Hans-Christoph Steiner
5b22e11872 make jenkins script use bash so we can use bashisms 2014-04-02 19:49:02 -04:00
Hans-Christoph Steiner
bb15611ed1 setup.py: include 'ssh' and 'mwclient' as required libraries 2014-04-02 19:49:02 -04:00
Daniel Martí
3e12ec93a5 Merge commit 'refs/merge-requests/139' of gitorious.org:f-droid/fdroidserver 2014-04-03 00:12:11 +02:00
Hans-Christoph Steiner
f918323e91 build and install getsig.class with setup.py 2014-04-02 17:54:21 -04:00
Hans-Christoph Steiner
1b130950fd include prefix in data_files install path so it installs correctly
setuptools wants to stick any relative install path in data_files into the
.egg package.  Things are not setup to use the egg now.  We might want to
consider using sticking files into the egg via pkg_resource in the future.
2014-04-02 17:54:21 -04:00
Hans-Christoph Steiner
0663d7b197 include a setuptools MANIFEST to make sure things get installed
Using `python setup.py install`, things in non-standard python paths need
to be added to the MANIFEST in order for them to be included and installed.
There might be a better solution for this, but I haven't found it.
2014-04-02 17:54:21 -04:00
Hans-Christoph Steiner
21fca70d8b add script for running build and tests in Jenkins 2014-04-02 17:54:21 -04:00
Hans-Christoph Steiner
bfa21fb630 add script to do a test run of creating a new repo
This tests/ folder can then be used for all sorts of tests, including
standard python tests.
2014-04-02 17:49:07 -04:00
Hans-Christoph Steiner
434eab6606 downcase setup.py name to match the name in the repo, Debian package, etc. 2014-04-02 17:49:07 -04:00
Hans-Christoph Steiner
92c1e44dba ignore files created by setup.py processes 2014-04-02 17:48:16 -04: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
Daniel Martí
fa37c3b2f8 Merge commit 'refs/merge-requests/138' of gitorious.org:f-droid/fdroidserver 2014-04-02 01:03:36 +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
Ciaran Gultnieks
f10d16f734 Remove ruby packages from buildserver 2014-04-01 17:40:11 +01: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