Izzy
54a646bd93
have fallback for XML icons also consider res/mipmap*
...
several apps (e.g.
[FastHub](http://apt.qumran.org/fdroid/index/apk/com.fastaccess.github )
and [Monety](http://apt.qumran.org/fdroid/index/apk/open.currency )) have
their ic_launcher.png files not in res/drawable*dpi/, but in
res/mipmap*/ -- so the regex has been adjusted by this patch.
Additionally: if the only icon for a given resolution was an XML without
existing fallback-PNG, it should be considered "non existent" (ie.
"empty_density").
2017-07-17 00:54:33 +02:00
Hans-Christoph Steiner
6940f9da43
Merge branch 'metadata' into 'master'
...
adding example metadata template (closes #345 )
Closes #345
See merge request !306
2017-07-16 14:21:46 +00:00
Izzy
fc114dfd63
using a "real category" as example
2017-07-15 17:22:18 +02:00
Izzy
c644d0c3c8
adding example metadata template ( closes #345 )
2017-07-15 16:52:08 +02:00
Hans-Christoph Steiner
830e788401
Merge branch 'metadata' into 'master'
...
--create-metadata: use yaml.dump() and (if exists) template.yml
See merge request !305
2017-07-10 09:08:45 +00:00
Izzy
dd69490821
--create-metadata: only set default empty values if not using template.py
2017-07-08 14:41:19 +02:00
Izzy
4d375a585d
enable user to have presets for metadata by using a template.yml (see #345 )
2017-07-08 14:21:49 +02:00
Izzy
732de91aa7
make --create-metadata use yaml.dump instead of ruamel (solves #345 )
2017-07-08 14:07:11 +02:00
Hans-Christoph Steiner
25f96e1911
ensure that mirror URLs always include the repodir
...
Since the mirror URLs are per repo section (repo/archive), the mirror URLs
must include the repodir at the end. This was missing for servergitmirrors
found by @cde when working on fdroidclient#35
2017-07-07 15:50:11 +02:00
Hans-Christoph Steiner
70858bb104
Merge branch 'master' into 'master'
...
Also search for apk in build/outputs/apk/release
See merge request !303
2017-07-07 11:02:32 +00:00
mimi89999
a427bb7b56
Also search for apk in build/outputs/apk/release
2017-07-07 12:21:09 +02:00
Hans-Christoph Steiner
b0a8d4163d
Merge branch 'metadata' into 'master'
...
--create-metadata: make sure apk[name] is not empty
See merge request !302
2017-07-06 22:49:26 +00:00
Izzy
8ea06ce83e
--create-metadata: make sure apk[name] is not empty
2017-07-07 00:18:08 +02:00
Hans-Christoph Steiner
7ec0656dbb
Merge branch 'sudo' into 'master'
...
add new 'sudo=' Build field
Closes #317
See merge request !297
2017-07-06 21:53:31 +00:00
Hans-Christoph Steiner
dfb07808d3
support configing buildserver VM per-build with sudo=
...
This adds the 'sudo' build field, which is just a script that is run as
root. For more info, see the issue that this closes:
refs #318
closes #317
2017-07-06 17:29:23 +02:00
Michael Pöhn
747ac52a62
Merge branch 'yaml-template' into 'master'
...
update: remove ruamel requirement, and improve '--create-metadata'
Closes #343
See merge request !300
2017-07-06 15:29:19 +00:00
Hans-Christoph Steiner
abe422fd7a
handle App instance with no Builds when writing YAML
2017-07-06 16:00:44 +02:00
Hans-Christoph Steiner
4a15208b84
update: update openssl KnownVuln scan to handle all recent versions
...
Thanks to @bubu for reporting!
2017-07-06 13:31:42 +02:00
Hans-Christoph Steiner
3e6b7062b6
update: remove ruamel requirement, and improve '--create-metadata'
...
If ruamel.yaml is not available, this will fallback to using PyYAML. This
also adds some blank fields to the newly created template to make it easy
for human editors to fill in.
closes #343
2017-07-06 13:31:42 +02:00
Hans-Christoph Steiner
928633ddba
Merge branch 'some-data-related-fixed' into 'master'
...
support manually adding per-Build Anti-Features in metadata, and other fixes
Closes #322 and #331
See merge request !296
2017-07-06 11:29:36 +00:00
Hans-Christoph Steiner
10a607ede3
update: find PNG when recommended icon is an XML file
...
APKs can now use XML files for vector graphics like the app icon. `aapt`
returns the XML file by default, and perhaps also androguard. This
checks if the icon is an XML file, and if so, it tries to find a PNG in
the APK with the same name and density to use instead
closes #322
This should also ultimately make the XML file available as an icon source
as well fdroidclient#1091
2017-07-06 12:25:48 +02:00
Hans-Christoph Steiner
c14cbeb0a5
update: normalize var name to apkzip
2017-07-06 12:25:48 +02:00
Hans-Christoph Steiner
2548d71600
jenkins: document build/sign test flow
2017-07-06 12:25:48 +02:00
Hans-Christoph Steiner
9a90a5071d
buildserver: support any recent NDK version, with stable filenames
...
Now that the download file name and type seems to have stabilized, I
think we no longer need to manually specify each new added release in
this script to unpack.
closes #331
2017-07-06 12:25:48 +02:00
Hans-Christoph Steiner
df99c85ca6
support manually adding per-build antiFeatures in metadata
...
For cases like the OpenVPN vuln that was recently announced, it is useful
for fdroiddata maintainers to be able to mark builds that have known
vulnerabilities.
2017-07-06 12:25:48 +02:00
Michael Pöhn
20afa0e861
lint: check all build fields against accepted list
...
This makes sure there are no typoed or wrong build fields in all metadata
files.
2017-07-06 12:25:48 +02:00
Hans-Christoph Steiner
b34d5c83b9
Merge branch '343-ruamel-yaml-version-check' into 'master'
...
check version of ruamel.yaml and raise according error message
See merge request !301
2017-07-06 08:10:14 +00:00
Michael Pöhn
4ca57ebfbb
check version of ruamel.yaml and raise according error message
2017-07-06 09:07:54 +02:00
Hans-Christoph Steiner
ebef1ae57d
Merge branch 'antifeature' into 'master'
...
added new AntiFeature: ApplicationDebuggable
See merge request !298
2017-07-05 20:34:35 +00:00
Hans-Christoph Steiner
d28cc7337a
Merge branch 'metadata' into 'master'
...
create_metadata: do not skip APK files having no name
See merge request !299
2017-07-05 20:31:23 +00:00
Izzy
2c8bacde42
create_metadata: do not skip APK files having no name
2017-07-05 20:31:21 +00:00
Izzy
4d9c60d352
added new AntiFeature: ApplicationDebuggable
...
Useful e.g. for "test repositories" to indicate an app was compiled with
"application-debuggable"
2017-07-04 21:15:04 +02:00
Hans-Christoph Steiner
b29fcde16b
gitlab-ci: remove hacks need to support Debian/jessie
2017-07-04 14:53:21 +02:00
Hans-Christoph Steiner
6d7fd5f07c
Merge branch 'ndk' into 'master'
...
NDK r14b and r15b
See merge request !293
2017-07-04 14:34:42 +02:00
Hans-Christoph Steiner
2508393884
Merge branch '290-make-rewrite-metadata-respect-key-word-sort-order' into 'master'
...
Resolve "make `fdroid rewritemeta` respect key-word sort order for YAML files"
Closes #290
See merge request !295
2017-07-04 12:24:17 +00:00
Michael Pöhn
6ab8551915
Merge branch '290-make-rewrite-metadata-respect-key-word-sort-order' into 'master'
...
rewritemeta: respect key-word sort order for YAML files
Closes #290
See merge request !263
2017-07-04 11:51:59 +00:00
Michael Pöhn
071ad46b55
moved some yaml test files into a separate forlder to avoid conflicts with other test cases
2017-07-04 13:35:05 +02:00
Michael Pöhn
1b362c2183
correct yaml-rewriting for buildozer flag
2017-07-04 13:27:45 +02:00
Michael Pöhn
0980fb4df8
import ruamel.ymal only when re-writing yaml metadata
2017-07-04 11:51:08 +02:00
Michael Pöhn
19d422da86
rewritemeta yaml: fixed boolen mapping for build flags
2017-07-04 11:51:08 +02:00
Michael Pöhn
cfd3e84250
use stored metadatapath instead of guessing it
2017-07-04 11:51:08 +02:00
Michael Pöhn
056a28f897
fix indentation
2017-07-04 11:51:08 +02:00
Hans-Christoph Steiner
3cb936ae92
fdroid update --create-metadata
now outputs YAML format
...
As part of the push towards using YAML as the main metadata format, this
makes the blank template be a .yml file.
2017-07-04 11:51:08 +02:00
Michael Pöhn
75ebb6e8cc
fix building with yml metadata
2017-07-04 11:51:08 +02:00
Michael Pöhn
54963506a0
set required minimum ruamel.yaml version
2017-07-04 11:51:08 +02:00
Michael Pöhn
fc070ee657
refactored yaml tests into metadata test case; fixed typo
2017-07-04 11:51:08 +02:00
Michael Pöhn
cdec1a5b80
add ruamel yaml to buildserver depenencies
2017-07-04 11:51:08 +02:00
Michael Pöhn
7ab197be2e
completed ordered yaml field list
2017-07-04 11:51:08 +02:00
Michael Pöhn
f1e0089931
prettify write_yaml metadata
2017-07-04 11:51:08 +02:00
Michael Pöhn
7aa92abebc
yaml rewrite version code as int
2017-07-04 11:51:08 +02:00