chiark / gitweb /
fdroidserver.git
6 years agoChanged setup.py +x for easy invocation
Benji Wiebe [Tue, 14 Nov 2017 01:09:51 +0000 (19:09 -0600)]
Changed setup.py +x for easy invocation

6 years agoMerge branch 'build-tools_r26.0.3' into 'master'
Marcus [Sun, 12 Nov 2017 17:18:22 +0000 (17:18 +0000)]
Merge branch 'build-tools_r26.0.3' into 'master'

makebuildserver: add build-tools_r26.0.3

See merge request fdroid/fdroidserver!369

6 years agomakebuildserver: add build-tools_r26.0.3
relan [Sun, 12 Nov 2017 07:48:00 +0000 (10:48 +0300)]
makebuildserver: add build-tools_r26.0.3

6 years agoMerge branch 'master' into 'master'
relan [Sun, 12 Nov 2017 07:44:22 +0000 (07:44 +0000)]
Merge branch 'master' into 'master'

makebuildserver: add build-tools_r27.0.1

See merge request fdroid/fdroidserver!368

6 years agojenkins: some reliability fixes to the test scripts
Hans-Christoph Steiner [Fri, 10 Nov 2017 21:08:31 +0000 (22:08 +0100)]
jenkins: some reliability fixes to the test scripts

6 years agomakebuildserver: add build-tools_r27.0.1
Sergey Eremin [Fri, 10 Nov 2017 15:38:58 +0000 (18:38 +0300)]
makebuildserver: add build-tools_r27.0.1

6 years agojenkins-test: ./run-tests won't work with only unsigned APKs
Hans-Christoph Steiner [Fri, 10 Nov 2017 08:29:50 +0000 (09:29 +0100)]
jenkins-test: ./run-tests won't work with only unsigned APKs

6 years agoREADME: add new jenkins.debian.net test
Hans-Christoph Steiner [Thu, 9 Nov 2017 14:02:10 +0000 (15:02 +0100)]
README: add new jenkins.debian.net test

6 years agotests: only test `fdroid build` if the right build-tools is installed
Hans-Christoph Steiner [Thu, 9 Nov 2017 13:07:28 +0000 (14:07 +0100)]
tests: only test `fdroid build` if the right build-tools is installed

6 years agotests: fix `fdroid build` test with Debian gradle
Hans-Christoph Steiner [Thu, 9 Nov 2017 12:11:31 +0000 (13:11 +0100)]
tests: fix `fdroid build` test with Debian gradle

6 years agofix tests to work when only Debian Android SDK is installed
Hans-Christoph Steiner [Wed, 8 Nov 2017 12:51:03 +0000 (13:51 +0100)]
fix tests to work when only Debian Android SDK is installed

jenkins.debian.net only had `apt install android-sdk`, it does not have any
of Google's packages installed.

6 years agojenkins-test: tame debug output to keep logs at a reasonable length
Hans-Christoph Steiner [Wed, 8 Nov 2017 12:50:08 +0000 (13:50 +0100)]
jenkins-test: tame debug output to keep logs at a reasonable length

6 years agoupdate: improve help strings
Hans-Christoph Steiner [Wed, 8 Nov 2017 12:35:35 +0000 (13:35 +0100)]
update: improve help strings

6 years agojenkins-test: ./run-tests needs ANDROID_HOME
Hans-Christoph Steiner [Wed, 8 Nov 2017 12:14:44 +0000 (13:14 +0100)]
jenkins-test: ./run-tests needs ANDROID_HOME

6 years agohooks: add new jenkins scripts to syntax checker
Hans-Christoph Steiner [Wed, 8 Nov 2017 11:39:59 +0000 (12:39 +0100)]
hooks: add new jenkins scripts to syntax checker

6 years agojenkins: make test script executable
Hans-Christoph Steiner [Wed, 8 Nov 2017 11:03:24 +0000 (12:03 +0100)]
jenkins: make test script executable

6 years agojenkins: rename scripts based on jenkins.debian.net names
Hans-Christoph Steiner [Wed, 8 Nov 2017 08:40:10 +0000 (09:40 +0100)]
jenkins: rename scripts based on jenkins.debian.net names

Make things self-documenting by reusing the exact same names everywhere.

6 years agojenkins: move tests to separate job
Hans-Christoph Steiner [Wed, 8 Nov 2017 08:38:02 +0000 (09:38 +0100)]
jenkins: move tests to separate job

The setup and build_all jobs take a very long time to run, so its really
annoying when they are marked as failed just because one small thing in the
test suite failed.  So move the test suite to its own job that can be run
more frequently.

6 years agoREADME: add Weblate badge for translation status
Hans-Christoph Steiner [Wed, 1 Nov 2017 18:47:28 +0000 (19:47 +0100)]
README: add Weblate badge for translation status

6 years agojenkins-build-makebuildserver: bump cpus to 2 and memory to 6144
Hans-Christoph Steiner [Tue, 7 Nov 2017 15:24:39 +0000 (16:24 +0100)]
jenkins-build-makebuildserver: bump cpus to 2 and memory to 6144

profitbricks-build7-amd64 has 8 gigs of RAM and 2 cores, so might as well
use them!

6 years agojenkins-build: clean / fix paths to buildserver base box setup
Hans-Christoph Steiner [Tue, 7 Nov 2017 14:53:59 +0000 (15:53 +0100)]
jenkins-build: clean / fix paths to buildserver base box setup
[skip ci]

6 years agoMerge branch 'build-tools_r27' into 'master'
Marcus [Sun, 5 Nov 2017 10:10:59 +0000 (10:10 +0000)]
Merge branch 'build-tools_r27' into 'master'

makebuildserver: add build-tools_r27

See merge request fdroid/fdroidserver!367

6 years agomakebuildserver: add build-tools_r27
relan [Sun, 5 Nov 2017 07:59:01 +0000 (10:59 +0300)]
makebuildserver: add build-tools_r27

6 years agoMerge branch 'vcs-info' into 'master'
Hans-Christoph Steiner [Fri, 3 Nov 2017 13:16:13 +0000 (13:16 +0000)]
Merge branch 'vcs-info' into 'master'

build: raise VCS client version logging level

See merge request fdroid/fdroidserver!366

6 years agoMerge branch 'gradle-4.3' into 'master'
Hans-Christoph Steiner [Fri, 3 Nov 2017 13:15:11 +0000 (13:15 +0000)]
Merge branch 'gradle-4.3' into 'master'

makebuildserver: add Gradle 4.3

See merge request fdroid/fdroidserver!365

6 years agoMerge branch 'platform-27_r01' into 'master'
Hans-Christoph Steiner [Fri, 3 Nov 2017 13:14:16 +0000 (13:14 +0000)]
Merge branch 'platform-27_r01' into 'master'

makebuildserver: add platform-27_r01

See merge request fdroid/fdroidserver!364

6 years agobuild: raise VCS client version logging level
relan [Thu, 2 Nov 2017 05:47:48 +0000 (08:47 +0300)]
build: raise VCS client version logging level

Debug logging is not saved in buildserver logs. Also move this line into
build.py's main() to avoid duplication: common.setup_vcs(app) may be
called from parse_metadata() too.

6 years agomakebuildserver: add Gradle 4.3
relan [Tue, 31 Oct 2017 14:19:57 +0000 (17:19 +0300)]
makebuildserver: add Gradle 4.3

6 years agomakebuildserver: add platform-27_r01
relan [Tue, 31 Oct 2017 14:15:06 +0000 (17:15 +0300)]
makebuildserver: add platform-27_r01

Add Android 8.1.0 SDK platform.

6 years agoREADME: better build status layout
Hans-Christoph Steiner [Mon, 30 Oct 2017 14:35:47 +0000 (15:35 +0100)]
README: better build status layout

6 years agoadd HTML Anchor Name for linking straight to build status badges
Hans-Christoph Steiner [Mon, 30 Oct 2017 14:23:24 +0000 (15:23 +0100)]
add HTML Anchor Name for linking straight to build status badges

6 years agoREADME: add status badges for jenkins.debian.net builds
Hans-Christoph Steiner [Mon, 30 Oct 2017 09:27:05 +0000 (10:27 +0100)]
README: add status badges for jenkins.debian.net builds

[skip ci]

6 years agoMerge branch 'add-ulimit-debugging-to-jenkins-build-scirpt' into 'master'
Hans-Christoph Steiner [Fri, 27 Oct 2017 19:51:13 +0000 (19:51 +0000)]
Merge branch 'add-ulimit-debugging-to-jenkins-build-scirpt' into 'master'

add ulimit debugging to jenkins build script

See merge request fdroid/fdroidserver!363

6 years agoadd ulimit debugging to jenkins build script
Michael Pöhn [Fri, 27 Oct 2017 19:21:56 +0000 (21:21 +0200)]
add ulimit debugging to jenkins build script

6 years agosort Anti-Features before writing them to the wiki
Hans-Christoph Steiner [Fri, 27 Oct 2017 07:14:15 +0000 (09:14 +0200)]
sort Anti-Features before writing them to the wiki

This avoids silly updates to the wiki where the sort order of the Anti-
Features is the only change:

−{{AntiFeature|KnownVuln}}
 {{AntiFeature|DisabledAlgorithm}}
+{{AntiFeature|KnownVuln}}

https://f-droid.org/wiki/index.php?title=info.guardianproject.browser&curid=517&diff=189655&oldid=188037

6 years agoMerge branch 'more-1.0-polishing' into 'master'
Hans-Christoph Steiner [Fri, 27 Oct 2017 07:11:50 +0000 (07:11 +0000)]
Merge branch 'more-1.0-polishing' into 'master'

More 1.0 polishing

Closes #402

See merge request fdroid/fdroidserver!362

6 years agoupdate bombs out when no icons (closes #402)
Ciaran Gultnieks [Tue, 24 Oct 2017 20:11:13 +0000 (22:11 +0200)]
update bombs out when no icons (closes #402)

6 years agometadata: make all strings translatable
Hans-Christoph Steiner [Tue, 24 Oct 2017 14:47:53 +0000 (16:47 +0200)]
metadata: make all strings translatable

6 years agoupdate: make all strings translatable
Hans-Christoph Steiner [Thu, 19 Oct 2017 19:03:39 +0000 (21:03 +0200)]
update: make all strings translatable

6 years agomake _ always be the gettext function, nothing else
Hans-Christoph Steiner [Tue, 24 Oct 2017 14:48:42 +0000 (16:48 +0200)]
make _ always be the gettext function, nothing else

This avoids hard bugs where the _() function gets overidden by a str or
something else.

6 years agopreserve metadata when copying APK signatures
Hans-Christoph Steiner [Fri, 20 Oct 2017 20:07:28 +0000 (22:07 +0200)]
preserve metadata when copying APK signatures

Since this code was not setting the "create system" and "compress type",
Python uses it's defaults.  Those will be different than what the Android
tools produces if this is run on UNIX.  The Android tools uses the bare
bones "Windows" ZIP format, e.g. no permissions, etc.

For example:
https://verification.f-droid.org/eu.siacs.conversations_234.apk.diffoscope.html

6 years agotests: pre-set failfast as reminder of a handy time saver
Hans-Christoph Steiner [Fri, 20 Oct 2017 09:51:59 +0000 (11:51 +0200)]
tests: pre-set failfast as reminder of a handy time saver

6 years agochoose the most recent available version of Java
Hans-Christoph Steiner [Fri, 20 Oct 2017 09:35:48 +0000 (11:35 +0200)]
choose the most recent available version of Java

This came about testing on OSX, where there are often multiple versions of
the JDK installed.  This was choosing the oldest version.  It should
choose the most recent version.

6 years agotravis-ci: only run one round of the test suite on OSX
Hans-Christoph Steiner [Fri, 20 Oct 2017 06:59:56 +0000 (08:59 +0200)]
travis-ci: only run one round of the test suite on OSX

The OSX tests seem to run slower, they often timeout.  So only run
the test suite with the installed version of fdroid, instead of the
three rounds that ./complete-ci-tests does.

6 years agoRevert "scanner: promote jar and aar files present in the repo to errors"
Hans-Christoph Steiner [Wed, 25 Oct 2017 20:39:31 +0000 (22:39 +0200)]
Revert "scanner: promote jar and aar files present in the repo to errors"

This reverts commit 5f5d3ea896183260258f653f971c01896ec20ddf.

These new scanner rules for JARs causes most builds on fdroiddata to
break.  For example, at least the past 20 releases of
org.fdroid.fdroid.  fdroiddata needs to be cleaned up and prepared for
this before we can include 5f5d3ea896183260258f653f971c01896ec20ddf

I'm running fdroid scanner on the whole archive now, I'll post the log
to an issue once its done.  Ignoring test files would eliminate some
of these build failures, at least for most org.fdroid.fdroid builds.

refs #!325

6 years agoMerge branch 'makebuildserver/default_memory' into 'master'
Marcus [Wed, 25 Oct 2017 12:41:25 +0000 (12:41 +0000)]
Merge branch 'makebuildserver/default_memory' into 'master'

makebuildserver: change mem default 4 GB

See merge request fdroid/fdroidserver!358

6 years agomakebuildserver: change mem default 2 GB
Marcus Hoffmann [Fri, 20 Oct 2017 13:20:51 +0000 (15:20 +0200)]
makebuildserver: change mem default 2 GB

1 GB is not enough for a modern android toolchain, so we change it to
something actually usable.

6 years agoMerge branch 'patch-1' into 'master'
Hans-Christoph Steiner [Tue, 24 Oct 2017 13:40:53 +0000 (13:40 +0000)]
Merge branch 'patch-1' into 'master'

HTTP, HTTPS

See merge request fdroid/fdroidserver!360

6 years agocommon: check file existence before opening manifest
Marcus Hoffmann [Tue, 24 Oct 2017 13:19:38 +0000 (15:19 +0200)]
common: check file existence before opening manifest

This fixes a problem when there is a broken symlink with the name
AndroidManifest.xml which will then lead to a crash when trying to open
it for trying to remove the debuggable flag.

6 years agoMerge branch 'deploy-localization-support' into 'master'
Hans-Christoph Steiner [Mon, 23 Oct 2017 10:27:22 +0000 (10:27 +0000)]
Merge branch 'deploy-localization-support' into 'master'

Deploy localization support

See merge request fdroid/fdroidserver!356

6 years agoHTTP, HTTPS
Allan Nordhøy [Sun, 22 Oct 2017 06:43:18 +0000 (06:43 +0000)]
HTTP, HTTPS

6 years agoMerge branch 'remove_basebox_ref' into 'master'
Hans-Christoph Steiner [Fri, 20 Oct 2017 19:54:50 +0000 (19:54 +0000)]
Merge branch 'remove_basebox_ref' into 'master'

makebuildserver: remove reference to f-droid.org/jessie64.box

See merge request fdroid/fdroidserver!357

6 years agomakebuildserver: remove reference to f-droid.org/jessie64.box
Marcus Hoffmann [Fri, 20 Oct 2017 02:38:39 +0000 (04:38 +0200)]
makebuildserver: remove reference to f-droid.org/jessie64.box

Also improve error message when the initial vagrant up fails, this is
most likely due to the missing jessie64.box file.

6 years agofix egg-link and easy_install support for Python3
Hans-Christoph Steiner [Thu, 19 Oct 2017 20:48:38 +0000 (22:48 +0200)]
fix egg-link and easy_install support for Python3

Wow, this is hacky and weird, but its been there for a long time. I
don't know if its even relevant anymore, but is isolated so it
shouldn't hurt anything.  Plus there is a test for it in
tests/complete-ci-tests, so it seems worth fixing.

6 years agofix finding translation files when installed
Hans-Christoph Steiner [Thu, 19 Oct 2017 20:36:19 +0000 (22:36 +0200)]
fix finding translation files when installed

6 years agoadd some context to some strings that are confusing to translators
Hans-Christoph Steiner [Thu, 19 Oct 2017 20:13:52 +0000 (22:13 +0200)]
add some context to some strings that are confusing to translators

6 years agostandardize on "build-tools" as the name of that Android SDK component
Hans-Christoph Steiner [Thu, 19 Oct 2017 19:07:50 +0000 (21:07 +0200)]
standardize on "build-tools" as the name of that Android SDK component

6 years agoupdate localization source files with `make -C locale`
Hans-Christoph Steiner [Thu, 19 Oct 2017 16:02:00 +0000 (18:02 +0200)]
update localization source files with `make -C locale`

* `make -C locale` updates all the sources
* `make -C locale compile` can compile the binaries, but the preferred way
  is `python3 setup.py compile_catalog`.

6 years agouse Babel to compile localizations and include in source tarball
Hans-Christoph Steiner [Thu, 19 Oct 2017 16:00:04 +0000 (18:00 +0200)]
use Babel to compile localizations and include in source tarball

python3-babel was also included in the gitlab-ci docker image:
https://gitlab.com/fdroid/ci-images-server/commit/ffc08dbc1daabfda725de41b712497708213b00e

6 years agoinclude in source tarball: be de es es_AR fr nb pt_BR tr uk zh_Hans zh_Hant
Hans-Christoph Steiner [Thu, 19 Oct 2017 15:35:29 +0000 (17:35 +0200)]
include in source tarball: be de es es_AR fr nb pt_BR tr uk zh_Hans zh_Hant

The way to officially include a new language in the source tarball is to
add it to the MANIFEST.in.  Otherwise, it will not be included in the
source tarball, and therefore won't be installed when using apt, pip, etc.

6 years agoupdate: make strings translatable
Hans-Christoph Steiner [Thu, 19 Oct 2017 18:52:15 +0000 (20:52 +0200)]
update: make strings translatable

6 years agoinclude README.rst in official release source tarball
Hans-Christoph Steiner [Thu, 19 Oct 2017 14:41:47 +0000 (16:41 +0200)]
include README.rst in official release source tarball

README.rst is still the standard for Python libs.

6 years agoFDroidException handle Exceptions that return things other than str
Hans-Christoph Steiner [Thu, 19 Oct 2017 18:37:39 +0000 (20:37 +0200)]
FDroidException handle Exceptions that return things other than str

This is related to a4c4a16ed9a600b09ff7b62d78eaceb377cf3a9c

6 years agotests: make `pip3 install` quieter for shorter CI logs
Hans-Christoph Steiner [Wed, 18 Oct 2017 12:58:07 +0000 (14:58 +0200)]
tests: make `pip3 install` quieter for shorter CI logs

6 years agotravis-ci: get OSX tests running again...
Hans-Christoph Steiner [Wed, 18 Oct 2017 11:40:32 +0000 (13:40 +0200)]
travis-ci: get OSX tests running again...

Java9 is starting to roll out on some of the Travis CI machines, but
the Android SDK does not yet work on Java9, it throws:

java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema

6 years agoMerge branch '391-fdroid-publish-unknown-execption' into 'master'
Hans-Christoph Steiner [Wed, 18 Oct 2017 13:11:24 +0000 (13:11 +0000)]
Merge branch '391-fdroid-publish-unknown-execption' into 'master'

better error message in publish when repo_key is not set

Closes #391

See merge request fdroid/fdroidserver!352

6 years agobetter error message in publish when repo_key is not set
Michael Pöhn [Mon, 16 Oct 2017 16:11:57 +0000 (18:11 +0200)]
better error message in publish when repo_key is not set

6 years ago`make update` to update all translation files from source code
Hans-Christoph Steiner [Tue, 17 Oct 2017 15:41:20 +0000 (17:41 +0200)]
`make update` to update all translation files from source code

6 years agoMerge branch 'weblate' into 'master'
Hans-Christoph Steiner [Tue, 17 Oct 2017 16:24:26 +0000 (16:24 +0000)]
Merge branch 'weblate' into 'master'

Weblate

See merge request fdroid/fdroidserver!354

6 years agoWeblate
Hans-Christoph Steiner [Tue, 17 Oct 2017 16:24:25 +0000 (16:24 +0000)]
Weblate

6 years agojenkins-build-makebuildserver: use current version for test build
Hans-Christoph Steiner [Tue, 17 Oct 2017 13:53:01 +0000 (15:53 +0200)]
jenkins-build-makebuildserver: use current version for test build

6 years agoMerge branch '1.0-fixes' into 'master'
Torsten Grote [Tue, 17 Oct 2017 14:19:47 +0000 (14:19 +0000)]
Merge branch '1.0-fixes' into 'master'

1.0 fixes

Closes #357

See merge request fdroid/fdroidserver!353

6 years agoinclude all argparse strings in translation template
Hans-Christoph Steiner [Fri, 13 Oct 2017 12:50:22 +0000 (14:50 +0200)]
include all argparse strings in translation template

The Python argparse library has its own strings, which are translatable
via gettext.  This gets those sources strings from the library, and
includes them in this project.  Since gettext is invoked and configured
in fdroidserver, fdroidserver needs to handle the translations for the
libraries it uses.

6 years agoupdate translation template and add file context for each string
Hans-Christoph Steiner [Fri, 13 Oct 2017 12:55:07 +0000 (14:55 +0200)]
update translation template and add file context for each string

The file context lets the translators know which command the string applies
to.  It does not have line numbers, since those are less useful, while
causing lots of merge conflicts.

6 years agoupdate: support Fastlane's official location for screenshots
Hans-Christoph Steiner [Tue, 10 Oct 2017 10:41:49 +0000 (12:41 +0200)]
update: support Fastlane's official location for screenshots

fastlane/android/metadata/locale/images/*Screenshots

https://github.com/fastlane/fastlane/blob/2.61.0/screengrab/lib/screengrab/runner.rb#L324

closes #357

6 years agoupdate: fix detection of Triple-T screenshots
Hans-Christoph Steiner [Tue, 10 Oct 2017 10:29:04 +0000 (12:29 +0200)]
update: fix detection of Triple-T screenshots

* https://github.com/westnordost/StreetComplete/issues/489
* https://forum.f-droid.org/t/screenshots-dont-show-up-in-client-using-gradle-play-publisher/881/2

#357

6 years agoserver: automatically create S3 bucket when using s3cmd
Hans-Christoph Steiner [Fri, 29 Sep 2017 15:50:23 +0000 (17:50 +0200)]
server: automatically create S3 bucket when using s3cmd

6 years agoserver: move strings to be gettext translatable
Hans-Christoph Steiner [Fri, 29 Sep 2017 15:49:48 +0000 (17:49 +0200)]
server: move strings to be gettext translatable

6 years agohandle exceptions that send a tuple for the error message
Hans-Christoph Steiner [Wed, 27 Sep 2017 15:35:51 +0000 (17:35 +0200)]
handle exceptions that send a tuple for the error message

Running `fdroid verify` I was seeing FDroidExceptions from verify.py:98
that had a tuple rather than a string.

Traceback (most recent call last):
  File "/home/hans/code/fdroid/server/fdroid", line 152, in <module>
    main()
  File "/home/hans/code/fdroid/server/fdroid", line 128, in main
    mod.main()
  File "/home/hans/code/fdroid/server/fdroidserver/verify.py", line 98, in main
    logging.info("...NOT verified - {0}".format(e))
  File "/home/hans/code/fdroid/server/fdroidserver/exception.py", line 22, in __str__
    ret += "\n==== detail begin ====\n%s\n==== detail end ====" % ''.join(self.detail).strip()
TypeError: sequence item 1: expected str instance, HTTPError found

6 years agoMerge branch 'error_on_jars' into 'master'
Hans-Christoph Steiner [Thu, 12 Oct 2017 11:46:59 +0000 (11:46 +0000)]
Merge branch 'error_on_jars' into 'master'

RFC: Error on jars

See merge request fdroid/fdroidserver!325

6 years agoMerge branch 'gradle-4.2.1' into 'master'
Hans-Christoph Steiner [Sun, 8 Oct 2017 19:06:09 +0000 (19:06 +0000)]
Merge branch 'gradle-4.2.1' into 'master'

makebuildserver: add Gradle 4.2.1

See merge request fdroid/fdroidserver!351

6 years agomakebuildserver: add Gradle 4.2.1
relan [Sun, 8 Oct 2017 18:10:43 +0000 (21:10 +0300)]
makebuildserver: add Gradle 4.2.1

N.B. Actual address of the distribution server is downloads.gradle.org;
services.gradle.org redirects to it.

6 years agoMerge branch '334-make-index-generation-fully-reproducible' into 'master'
Michael Pöhn [Fri, 6 Oct 2017 17:18:10 +0000 (17:18 +0000)]
Merge branch '334-make-index-generation-fully-reproducible' into 'master'

Resolve "make index generation fully reproducible"

Closes #334

See merge request fdroid/fdroidserver!343

6 years agoMerge branch 'print-vcs-client-version' into 'master'
Hans-Christoph Steiner [Fri, 6 Oct 2017 09:07:13 +0000 (09:07 +0000)]
Merge branch 'print-vcs-client-version' into 'master'

common: print VCS client version

See merge request fdroid/fdroidserver!349

6 years agocommon: print VCS client version
relan [Fri, 6 Oct 2017 06:37:47 +0000 (09:37 +0300)]
common: print VCS client version

This may help to debug issues with too old VCS clients.

6 years agoMerge branch 'fix_bare_except' into 'master'
Hans-Christoph Steiner [Wed, 4 Oct 2017 20:13:46 +0000 (20:13 +0000)]
Merge branch 'fix_bare_except' into 'master'

fix bare except to satisfy newer pycodestyle

See merge request fdroid/fdroidserver!348

6 years agoMerge branch 'build-tools-26-0-2' into 'master'
Hans-Christoph Steiner [Wed, 4 Oct 2017 20:13:33 +0000 (20:13 +0000)]
Merge branch 'build-tools-26-0-2' into 'master'

add build-tools 26.0.2

See merge request fdroid/fdroidserver!347

6 years agofix bare except to satisfy newer pycodestyle
Marcus Hoffmann [Wed, 4 Oct 2017 17:23:53 +0000 (19:23 +0200)]
fix bare except to satisfy newer pycodestyle

6 years agoadd build-tools 26.0.2
Marcus Hoffmann [Wed, 4 Oct 2017 17:03:41 +0000 (19:03 +0200)]
add build-tools 26.0.2

6 years agoimport: fix bitbucket import
Marcus Hoffmann [Wed, 4 Oct 2017 16:18:30 +0000 (18:18 +0200)]
import: fix bitbucket import

repo type can be found on main url, not under /src

6 years agoMerge branch 'fix-dot-gradle-removal' into 'master'
Hans-Christoph Steiner [Tue, 3 Oct 2017 13:19:47 +0000 (13:19 +0000)]
Merge branch 'fix-dot-gradle-removal' into 'master'

build: fix build/ and .gradle/ removal after cleaning

Closes #384

See merge request fdroid/fdroidserver!346

6 years agoMerge branch '291-include-apk-signatures-in-build-metadata-file' into 'master'
Hans-Christoph Steiner [Tue, 3 Oct 2017 12:57:34 +0000 (12:57 +0000)]
Merge branch '291-include-apk-signatures-in-build-metadata-file' into 'master'

include APK signatures in build metadata file

Closes #291

See merge request fdroid/fdroidserver!287

6 years agobuild: fix build/ and .gradle/ removal after cleaning
relan [Sun, 1 Oct 2017 06:57:32 +0000 (09:57 +0300)]
build: fix build/ and .gradle/ removal after cleaning

An app may not have a top-level build.gradle file, while Gradle still
creates top-level .gradle/ directory. When build.gradle is absent,
fdroidserver will not remove .gradle/, scanner will find binaries in it
and fail the whole build.

Fix this by also checking for settings.gradle file (should always exist
in the top-level directory) in addition to build.gradle.

6 years agouse OrderedDict for localization data in index-v1
Michael Pöhn [Mon, 4 Sep 2017 00:23:17 +0000 (02:23 +0200)]
use OrderedDict for localization data in index-v1

6 years agomake sure all timestamps in index-v1 are utc
Michael Pöhn [Sun, 3 Sep 2017 21:07:43 +0000 (23:07 +0200)]
make sure all timestamps in index-v1 are utc

6 years agoconvert apk timestamp from filesystem to utc before storing
Michael Pöhn [Thu, 31 Aug 2017 09:46:12 +0000 (11:46 +0200)]
convert apk timestamp from filesystem to utc before storing

6 years agomake sure apk-added datetime only gets returned rounded to days
Michael Pöhn [Fri, 25 Aug 2017 23:44:02 +0000 (01:44 +0200)]
make sure apk-added datetime only gets returned rounded to days

6 years agoadd test for index-v1.json
Michael Pöhn [Fri, 22 Sep 2017 14:12:41 +0000 (16:12 +0200)]
add test for index-v1.json

6 years agosort antiFeatures list in index-v1.json
Michael Pöhn [Wed, 16 Aug 2017 03:46:32 +0000 (05:46 +0200)]
sort antiFeatures list in index-v1.json

6 years agostore fdroid signing-key-fp-list in stats dir
Michael Pöhn [Tue, 5 Sep 2017 13:17:22 +0000 (15:17 +0200)]
store fdroid signing-key-fp-list in stats dir