1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-19 21:30:10 +01:00
Commit Graph

30 Commits

Author SHA1 Message Date
Hans-Christoph Steiner
55980a45cc ignore test files from d06f05e9c8 2017-06-15 17:21:35 +02:00
Hans-Christoph Steiner
c348186ad6 update: fix fastlane scraping, it uses a subdir called 'images'
https://commons.wikimedia.org/wiki/File:GetChromium_FeatureGraphic_1024x500.png
2017-05-18 16:13:17 +02:00
Hans-Christoph Steiner
c9aa26d89e add index V1 format, a direct translation of internal dict
Python encode/decode libs work directly with dicts, so the internal dict
can just be passed directly to any of these libs (pyyaml, pyjson, msgpack,
simplejson, etc).  This still generates the exact same index.xml as before.

This converts the internal format for the repo timestamp to a datetime
instance, which can be easily converted to UNIX time in seconds for XML
and UNIX time in milliseconds for the new index formats.  UNIX time in
milliseconds is directly serialized into a java.util.Date instance by
Jackson.
2017-03-17 13:55:40 +01:00
Hans-Christoph Steiner
56ef716a4e test for original "v0" index XML compatibility
The original index.xml format needs to stay around for backwards
compatibility, but we shouldn't touch it anymore once the new format is in
place.  This is a test to make sure `fdroid update` can still generate the
correct XML.

install_list and uninstall_list should be tuples or lists in order to
ensure that the order is preserved.

These tests also check that the added and lastupdated dates are
working correct, based on the dates in tests/stats/known_apks.txt. I
could see no useful way to test the timestamp, it is just hardcoded
using a regexp search-and-replace.  Running these tests manually might
require deleting tmp/apkcache.
2017-02-24 11:01:01 +01:00
Hans-Christoph Steiner
c41daf1e7e ignore files created by tests 2016-11-16 23:28:03 +01:00
Hans-Christoph Steiner
82e2689246 ignore commonly used files for testing in place 2016-06-27 14:00:49 +02:00
Hans-Christoph Steiner
1b7a8f85fc parse targetSdkVersion from APKs
The default targetSdkVersion is minSdkVersion, according to the docs:
https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#target

https://gitlab.com/fdroid/fdroidclient/issues/682
2016-06-14 11:43:07 +02:00
Daniel Martí
b786c6de20 gitignore: ignore all test-generated tmp dirs 2016-03-11 13:27:01 +00:00
Hans-Christoph Steiner
d53a5af715 build: improve regsub pattern for setting buildToolsVersion
This addresses the discussion in !64
https://gitlab.com/fdroid/fdroidserver/merge_requests/64

Sometimes, buildToolsVersion is a kind of gradle macro call, and other
times it is a variable assignment.  This regsub pattern now handles both of
those cases.
2015-08-19 17:55:17 +02:00
Hans-Christoph Steiner
6db6433e97 fix syntax error in manual generation and add ./gendocs.sh to the tests 2015-08-19 17:51:29 +02:00
Hans-Christoph Steiner
64a9c93ce7 test new common.regsub_file() method that replaces sed calls 2015-08-01 00:38:41 +02:00
Hans-Christoph Steiner
66df02d5f8 init: --android-home for forcing the path to the Android SDK
This allows the user to set the path to their Android SDK from the command
line. This option is named after the standard env var ANDROID_HOME, as used
in the build.xml generated by `android update project`.  --android-home
takes precendence over the ANDROID_HOME env var if it is set.
2014-04-23 19:33:10 -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
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í
a33fddce07 Fix makebuildserver after rename, tidy gitignores 2013-12-30 17:18:45 +01:00
Hans-Christoph Steiner
85d32576eb ignore egg-info and docs build products 2013-11-04 12:22:58 -05:00
Daniel Martí
1a59f063b9 Absolute paths in some gitignore fields, ignore all boxes 2013-10-25 20:57:16 +02:00
Daniel Martí
ceb4b20ede Externalise makebuildserver config variables 2013-06-06 11:33:44 +02:00
Ciaran Gultnieks
550c7e0151 Shouldn't need to .gitignore those any more 2012-03-11 12:03:45 +00:00
Ciaran Gultnieks
4b211ded22 Forgot to gitignore unsigned directory 2012-02-04 09:48:25 +00:00
Ciaran Gultnieks
498e7d3c5f Work in progress on integrating build server 2012-02-03 16:01:35 +00:00
Ciaran Gultnieks
66566555a6 A better way of dealing with external libraries 2012-01-27 22:10:08 +00:00
Nicolas Raoul
1458cfb04f Ignore logs directory 2012-01-10 13:21:36 +00:00
Ciaran Gultnieks
b882e2cceb Add .gitignore for new build directory 2011-06-17 08:41:40 +01:00
Henrik Tunedal
a26c3ca507 Make metadata.py a proper module (renamed to common.py) 2011-02-17 21:16:26 +01:00
Henrik Tunedal
29b49afd53 Tell git to ignore backup files. 2011-01-26 23:47:15 +01:00
Ciaran Gultnieks
385d0c3ecb Some more build data 2011-01-04 23:59:33 +00:00
Ciaran Gultnieks
25057c119e An experiment in automated building from source (git only, HEAD only) 2010-11-11 00:03:39 +00:00
Ciaran Gultnieks
52e9c929a7 Initial files 2010-10-21 23:26:38 +01:00