1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-09 17:00:12 +01:00
Commit Graph

3036 Commits

Author SHA1 Message Date
Hans-Christoph Steiner
cc0908bdbb common.write_to_config(): if key doesn't exist in config.py, append it
This lets `fdroid update --create-key` add key/value pairs to config.py
2015-05-08 16:13:15 -04:00
Hans-Christoph Steiner
ff48c6b7f9 tests: no need to dump the index.xml to the build log
This should make the build log a lot shorter.
2015-05-08 16:13:15 -04:00
Hans-Christoph Steiner
de1c80f9b4 fdroid update --create-key to create a keystore/key
This provides the final option in this series, allowing the user to just
add --create-key to `fdroid update, and thereby upgrade an unsigned repo to
a proper signed repo.  It also might be useful

closes #13 https://gitlab.com/fdroid/fdroidserver/issues/13
2015-05-08 16:13:15 -04:00
Hans-Christoph Steiner
276123856c move keystore gen logic to common function
This moves the method for generating a new keystore for the repo signing
key to a common function so that it can be used in more subcommands beyond
`fdroid init`.  The immediate idea is to make `fdroid update --create-key`
upgrade unsigned repos to signed ones so we can make fdroidclient only use
signed repos.
2015-05-08 16:13:15 -04:00
Hans-Christoph Steiner
af360199f1 move default keystore location to keystore.jks, i.e. in the fdroid repo
This makes `fdroid init` create a complete, self-contained repo in a single
folder.  That makes it easily transferable, backupable, etc.  It also means
that `fdroid update` can add a keystore to an existing unsigned repo
without having to worry about finding the right folder or overwriting any
other existing files.
2015-05-08 16:13:15 -04:00
Hans-Christoph Steiner
4861595288 move genkey() and genpassword() to common.py for use in multiple sections
genkey() and genpassword() are now going to be used by `fdroid update` as
well as `fdroid init`, so they should be in common.py
2015-05-08 16:13:15 -04:00
Hans-Christoph Steiner
86865faa62 make fdroid update check that it can sign the repo, or exit with error
There is no good reason to run unsigned repos any more.  It is trivially
easy to create and use a signed repo, and having to support unsigned repos
in the client makes some security-critical parts of the code a lot more
complicated.

refs #13 https://gitlab.com/fdroid/fdroidserver/issues/13
https://gitlab.com/fdroid/fdroidclient/issues/12
2015-05-08 16:13:15 -04:00
Hans-Christoph Steiner
0d62c3093a jenkins-build: always use speced dir for APK source
Otherwise, the test process can pick up lots and lots of APKs from various
places like a ~/fdroid folder or various ~/workspace/fdroidserver Jenkins
projects.
2015-05-08 16:13:15 -04:00
Ciaran Gultnieks
f63ea5cb86 Use --safe-links with rsync 2015-05-08 14:55:50 +01:00
Daniel Martí
ce48e8f78d Don't match gradle plugin import lines which are commented 2015-05-08 00:58:52 +02:00
Daniel Martí
3e04a44941 Add plugin version 1.2 to our gradle wrapper 2015-04-29 22:15:57 +02:00
Daniel Martí
577211dae7 Sort debian packages to be installed 2015-04-28 17:39:26 +02:00
Daniel Martí
8de6b79c60 Add scons, make-like tool used by godot 2015-04-28 17:36:15 +02:00
Daniel Martí
ca483069c0 Order counter stats by value, not key 2015-04-23 16:42:22 +02:00
Daniel Martí
e7ac90b6b8 stats: Don't confuse app with appid 2015-04-20 18:26:23 +02:00
Daniel Martí
3c2f84fb15 stats: sort counter outputs 2015-04-20 18:25:40 +02:00
Daniel Martí
41539d6a1b Add stats/disabled_apps.txt (closes #87) 2015-04-20 18:20:24 +02:00
Daniel Martí
504163b170 lint: warn about None category 2015-04-19 17:04:44 +02:00
Daniel Martí
74f12ab641 lint: Remove NOP 2015-04-19 17:04:34 +02:00
Daniel Martí
1af774811d Merge branch 'projectproperties' into 'master'
Fix project.properties dependency issue

Correctly place scrlib references also
in the case there is no project.properties file
present in the original repository.

This commit fixes a problem, which was introduced with
021df3c424: If no
project.properties file exists in the original
project's source repo, place_srclib will not place
a dependency --- even if there should be one:

>    if not os.path.isfile(proppath):
>        return

Example app: fdroiddata/metadata/org.berlin_vegan.bvapp.txt

See merge request !47
2015-04-17 17:28:35 +00:00
Daniel Martí
3f9d6b2947 Don't try reading lines from directories 2015-04-17 13:05:12 +02:00
micu
96e4062bcf Fix project.properties dependency issue
Correctly place scrlib references also
in the case there is no project.properties file
present in the original repository.

This commit fixes a problem, which was introduced with
021df3c424: If no
project.properties file exists in the original
project's source repo, place_srclib will not place
a dependency --- even if there should be one:

>    if not os.path.isfile(proppath):
>        return

Example app: fdroiddata/metadata/org.berlin_vegan.bvapp.txt
2015-04-17 01:10:23 +02:00
Daniel Martí
d1d257bef4 lint: add commented out warnings about google code 2015-04-14 14:18:44 +02:00
Daniel Martí
4888339a9d Also run main gradle clean task in case it's got dependencies 2015-04-10 00:14:52 +02:00
Daniel Martí
b416795166 Start supporting gradle tasks that belong to subprojects 2015-04-10 00:14:25 +02:00
Daniel Martí
ed5c2fd33d Add gradle 2.3 to the buildserver
Fixes apps that explicitly require 2.3 via gradleVersion
2015-04-09 16:02:35 +02:00
Daniel Martí
f8c32ce045 Add android version 5.1 2015-04-06 22:18:54 +02:00
Daniel Martí
acd49c6e4d When patching or checking plugin versions, use *.gradle
Apparently all *.gradle files are valid, e.g. global.gradle.
2015-04-06 17:42:26 +02:00
Daniel Martí
021df3c424 Other minor file reading fixes 2015-04-03 00:14:32 +02:00
Daniel Martí
241a3f02ac Always check that files actually are files before reading
This fixes crashes with e.g. broken symlinks
2015-04-03 00:05:22 +02:00
Daniel Martí
85b48a5c25 Fix buildTools versions that reference variables 2015-03-31 23:08:32 +02:00
Ciaran Gultnieks
c6434476e9 Work when cpu count is not defined 2015-03-27 20:49:43 +00:00
Daniel Martí
45925c6816 Forgot to bump build_tools in the configs 2015-03-24 21:36:42 +01:00
Daniel Martí
71d8888308 Merge branch 'import' into 'master'
Importer: Fix duplicated urls

Importer uses provided URL for the "website" as default. If "sourcecode" is set to the same, this causes a lint error. For Github the website is now empty while Gitlab's sourcecode is no longer the bas project url.

See merge request !46
2015-03-22 17:18:45 +00:00
Boris Kraut
6353dd1a09 Importer: Fix duplicated urls 2015-03-22 03:24:43 +01:00
Daniel Martí
66487272cd Update build tools to 22.0.0 2015-03-21 23:42:31 +01:00
Daniel Martí
92fdcd3e6a Update sdk to 24.1.2 2015-03-21 23:41:08 +01:00
Daniel Martí
4c0ee6ddce Add android-22 target 2015-03-21 23:28:09 +01:00
Daniel Martí
4feedb7c6b Gradle plugin version 1.1 still uses gradle 2.2 2015-03-15 16:25:41 +01:00
Ciaran Gultnieks
c2c628273c Merge branch 'update-readme' into 'master'
Update readme

Updated the main README file to include a list of dependencies.

Forgot to update my e-mail address, so I closed Merge Request !44 first.

See merge request !45
2015-03-11 13:32:09 +00:00
Schneider Werner-Walter
3c5af7e0d9 Update README file. 2015-03-11 10:28:47 +02:00
Daniel Martí
fdb71e2a41 lint: don't take commas as punctuation 2015-03-05 15:32:45 +01:00
Daniel Martí
3b7b8b9bde Don't take placeholders commits as possible tags 2015-03-05 15:25:21 +01:00
Daniel Martí
edd3a787aa Also set ANDROID_NDK_HOME since gradle may need it 2015-03-05 15:25:09 +01:00
Daniel Martí
8510961db9 Also ignore PEP8 W503 2015-03-05 15:24:52 +01:00
Daniel Martí
9be0d35bd1 Ignore all the pep8 errors ignored by the default config 2015-02-07 21:58:24 -08:00
Ciaran Gultnieks
c7f3d65997 Merge branch 'LOffice' into 'master'
Add LibreOffice build-deps.

These are the dependencies that i needed in a VM with a "Debian Jessie netinst" installation. I had in the system the "Standard system utilities", fdroidserver, all the packages listed in "buildserver/cookbooks/fdroidbuild-general/recipes/default.rb", and "build-essential". I assume that the BS has build-essential  installed as its needed to build the "VirtualBox Guest Additions".

See merge request !42
2015-02-05 09:10:52 +00:00
Matías Zúñiga
3d791e4c9e Add dependencies needed by "LibreOffice Viewer Beta" 2015-02-03 23:45:26 +00:00
Ciaran Gultnieks
ad1e936ad7 Failed to update what page? 2015-02-01 20:32:03 +00:00
Ciaran Gultnieks
ea17f08112 Note about required python version 2015-02-01 20:31:46 +00:00