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

6368 Commits

Author SHA1 Message Date
Jennifer Kitts
7086a6ce4f Added translation using Weblate: English (Old) (ang) by Jennifer Kitts <kittsjennifer44@gmail.com>
Co-authored-by: Jennifer Kitts <kittsjennifer44@gmail.com>
2021-01-14 14:52:46 +01:00
Predatorix Phoenix
33d762607a Translated using Weblate: German (de) by Predatorix Phoenix <predatorix@web.de>
Currently translated at 91.4% (524 of 573 strings)

Co-authored-by: Predatorix Phoenix <predatorix@web.de>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/de/
Translation: F-Droid/F-Droid Server
2021-01-14 14:52:46 +01:00
random r
4087990125 Translated using Weblate: Italian (it) by random r <epsilin@yopmail.com>
Currently translated at 62.1% (356 of 573 strings)

Co-authored-by: random r <epsilin@yopmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/it/
Translation: F-Droid/F-Droid Server
2021-01-14 14:52:46 +01:00
fresh
38d368d7df Translated using Weblate: Greek (el) by fresh <fresh190@protonmail.com>
Currently translated at 5.5% (32 of 573 strings)

Translated using Weblate: Greek (el) by fresh <fresh190@protonmail.com>

Currently translated at 5.0% (29 of 573 strings)

Co-authored-by: fresh <fresh190@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/el/
Translation: F-Droid/F-Droid Server
2021-01-14 14:52:46 +01:00
Gontzal Manuel Pujana Onaindia
984f827eb3 Added translation using Weblate: Basque (eu) by Gontzal Manuel Pujana Onaindia <thadahdenyse@gmail.com>
Co-authored-by: Gontzal Manuel Pujana Onaindia <thadahdenyse@gmail.com>
2021-01-14 14:52:46 +01:00
THANOS SIOURDAKIS
02203ce02e Added translation using Weblate: Greek (el) by THANOS SIOURDAKIS <siourdakisthanos@gmail.com>
Co-authored-by: THANOS SIOURDAKIS <siourdakisthanos@gmail.com>
2021-01-14 14:52:46 +01:00
melusine
c4131d4429 Translated using Weblate: German (de) by melusine <melusine@mailbox.org>
Currently translated at 86.9% (498 of 573 strings)

Co-authored-by: melusine <melusine@mailbox.org>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/de/
Translation: F-Droid/F-Droid Server
2021-01-14 14:52:46 +01:00
Eduardo Rodrigues
305ef53ec9 Translated using Weblate: Spanish (Argentina) (es_AR) by Eduardo Rodrigues <edu.rodrigues2580@gmail.com>
Currently translated at 18.3% (105 of 573 strings)

Co-authored-by: Eduardo Rodrigues <edu.rodrigues2580@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/es_AR/
Translation: F-Droid/F-Droid Server
2021-01-14 14:52:45 +01:00
A
84027d6d94 Added translation using Weblate: Finnish (fi) by A <ville.mourujarvi@hostedweblate.mail.kapsi.fi>
Co-authored-by: A <ville.mourujarvi@hostedweblate.mail.kapsi.fi>
2021-01-14 14:52:45 +01:00
Golubev Alexander
3b7736df6c Translated using Weblate: Russian (ru) by Golubev Alexander <fatzer2@gmail.com>
Currently translated at 100.0% (573 of 573 strings)

Translated using Weblate: Russian (ru) by Golubev Alexander <fatzer2@gmail.com>

Currently translated at 93.8% (538 of 573 strings)

Translated using Weblate: Russian (ru) by Golubev Alexander <fatzer2@gmail.com>

Currently translated at 88.6% (508 of 573 strings)

Translated using Weblate: Russian (ru) by Golubev Alexander <fatzer2@gmail.com>

Currently translated at 87.7% (503 of 573 strings)

Translated using Weblate: Russian (ru) by Golubev Alexander <fatzer2@gmail.com>

Currently translated at 84.8% (486 of 573 strings)

Co-authored-by: Golubev Alexander <fatzer2@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/ru/
Translation: F-Droid/F-Droid Server
2021-01-14 14:52:45 +01:00
Ihor Hordiichuk
f3dea070a7 Translated using Weblate: Ukrainian (uk) by Ihor Hordiichuk <igor_ck@outlook.com>
Currently translated at 100.0% (573 of 573 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/uk/
Translation: F-Droid/F-Droid Server
2021-01-14 14:52:45 +01:00
Francesco Saltori
268746896b Translated using Weblate: Italian (it) by Francesco Saltori <francescosaltori@gmail.com>
Currently translated at 60.0% (344 of 573 strings)

Co-authored-by: Francesco Saltori <francescosaltori@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/it/
Translation: F-Droid/F-Droid Server
2021-01-14 14:52:45 +01:00
WaldiS
09c5ac9db5 Translated using Weblate: Polish (pl) by WaldiS <sto@tutanota.de>
Currently translated at 91.2% (523 of 573 strings)

Translated using Weblate: Polish (pl) by WaldiS <sto@tutanota.de>

Currently translated at 90.2% (517 of 573 strings)

Translated using Weblate: Polish (pl) by WaldiS <sto@tutanota.de>

Currently translated at 90.0% (516 of 573 strings)

Co-authored-by: WaldiS <sto@tutanota.de>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/pl/
Translation: F-Droid/F-Droid Server
2021-01-14 14:52:45 +01:00
x
c5abf33210 Translated using Weblate: Italian (it) by x <hardwired1.0@protonmail.com>
Currently translated at 60.0% (344 of 573 strings)

Translated using Weblate: Italian (it) by x <hardwired1.0@protonmail.com>

Currently translated at 42.2% (242 of 573 strings)

Translated using Weblate: Italian (it) by x <hardwired1.0@protonmail.com>

Currently translated at 40.3% (231 of 573 strings)

Co-authored-by: x <hardwired1.0@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/it/
Translation: F-Droid/F-Droid Server
2021-01-14 14:52:45 +01:00
Hans-Christoph Steiner
3ed8f5b505 Translated using Weblate: Italian (it) by Hans-Christoph Steiner <hans@guardianproject.info>
Currently translated at 40.3% (231 of 573 strings)

Co-authored-by: Hans-Christoph Steiner <hans@guardianproject.info>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/it/
Translation: F-Droid/F-Droid Server
2021-01-14 14:52:45 +01:00
x
6dd86c5ec2 Translated using Weblate: Italian (it) by x <hardwired1.0@protonmail.com>
Currently translated at 38.5% (221 of 573 strings)

Co-authored-by: x <hardwired1.0@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/it/
Translation: F-Droid/F-Droid Server
2021-01-14 14:52:45 +01:00
Hakim Oubouali
bfa49e9217 Translated using Weblate: Central Atlas Tamazight (tzm) by Hakim Oubouali <hakim.oubouali.skr@gmail.com>
Currently translated at 0.6% (4 of 573 strings)

Co-authored-by: Hakim Oubouali <hakim.oubouali.skr@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/tzm/
Translation: F-Droid/F-Droid Server
2021-01-14 14:52:45 +01:00
Hans-Christoph Steiner
08a1bd39d6 Merge branch 'fetchsrclibs' into 'master'
make fetchsrclibs plugin work without any Android SDK; add test

See merge request fdroid/fdroidserver!848
2021-01-14 13:52:39 +00:00
Hans-Christoph Steiner
40197295ae gitlab-ci: remove refs: section to hopefully get reliable job starts
"fdroid build" and "plugin_fetchsrclibs" totally failed to run here:
https://gitlab.com/eighthave/fdroidserver/-/pipelines/240160903
2021-01-11 22:13:51 +01:00
Hans-Christoph Steiner
d36f71e048 make config optional when using common.set_FDroidPopen_env()
common.set_FDroidPopen_env() is used to call git and other tools that
are not part of the Android SDK nor require Java, so the items that
are being set from the config are optional.  This lets plugins do
quite a bit without ever setting up a config.
2021-01-11 20:58:50 +01:00
Hans-Christoph Steiner
4b7d29097d gitlab-ci: new job to test plugins API + fdroid fetchsrclibs 2021-01-11 20:58:50 +01:00
Hans-Christoph Steiner
9552d3ed2e Merge branch 'gradle68' into 'master'
Gradle 6.8

See merge request fdroid/fdroidserver!847
2021-01-11 16:08:35 +00:00
Hans-Christoph Steiner
f3a5987677 Merge branch 'scanner' into 'master'
Add androidx.work:work-gcm to non-free dependencies

See merge request fdroid/fdroidserver!846
2021-01-11 12:20:07 +00:00
Licaon_Kter
67ae164293 Gradle 6.8 2021-01-11 14:10:52 +02:00
mimi89999
01699db376
Add androidx.work:work-gcm to non-free dependencies 2021-01-11 10:44:48 +01:00
Hans-Christoph Steiner
d5464fab34
release 2.0a5 2021-01-07 17:12:06 +01:00
Hans-Christoph Steiner
81b55e0d8f
tests: use wc -m to support BSD and macOS 2021-01-07 17:09:44 +01:00
Hans-Christoph Steiner
16d3f89b5c
travis-ci: Calling brew cask install is disabled! Use brew install [--cask] instead 2021-01-06 09:12:03 +01:00
Hans-Christoph Steiner
e878c6f902 Merge branch 'test_strip_path' into 'master'
Ignore src/test only in path_in_build_dir

See merge request fdroid/fdroidserver!845
2021-01-05 06:33:04 +00:00
Jochen Sprickerhof
a9c380b2b8 Ignore src/test only in path_in_build_dir
Found while debugging Debian autopkgtests.
2021-01-04 21:20:31 +01:00
Hans-Christoph Steiner
c1186f1b45 Merge branch 'playcore' into 'master'
add Google Play Core to non-free/proprietary dependencies

See merge request fdroid/fdroidserver!844
2021-01-04 17:35:07 +00:00
Izzy
434a23f822
add Google Play Core to non-free/proprietary dependencies 2021-01-04 17:39:57 +01:00
Hans-Christoph Steiner
1e4697cef9
Merge 'missing_manifest' into master
* origin/missing_manifest:
  add missing test files
  Drop deleted files from MANIFEST.in
  Sort MANIFEST.in
  Add missing test files for scanner

fdroid/fdroidserver!842
2021-01-04 16:45:09 +01:00
Jochen Sprickerhof
0e312a928b add missing test files
sorted using UNIX `sort`

https://gitlab.com/fdroid/fdroidserver/-/merge_requests/842#note_476969121
2021-01-04 16:24:55 +01:00
Jochen Sprickerhof
ffcf9e7a64 Drop deleted files from MANIFEST.in 2021-01-03 09:04:48 +01:00
Jochen Sprickerhof
e789dc4554 Sort MANIFEST.in 2021-01-03 09:04:13 +01:00
Jochen Sprickerhof
30f1f15814 Add missing test files for scanner 2021-01-03 09:04:04 +01:00
Hans-Christoph Steiner
7b94303760 Merge branch 'master' into 'master'
Update NDK to r22 and add buildtools 30.0.3

See merge request fdroid/fdroidserver!840
2020-12-28 15:52:41 +00:00
TacoTheDank
c88a3f56a1 Update NDK to r22 and add buildtools 30.0.3 2020-12-26 19:51:22 -05:00
Hans-Christoph Steiner
330ca2319c
example plugin for fetching srclibs
This is used in _fdroiddata_'s `fdroid build` CI job, and _issuebot_.
This uses @uniqx's awesome new 'plugin' feature to create a 'fetchsrclibs`
command.  The 'fdroid build' gitlab-ci job uses --on-server, which does not
set up the srclibs.  This plugin does the missing setup.

This is moved from _fdroiddata_ where it was _tools/fdroid_fetchsrclibs.py_.
2020-12-22 16:59:02 +01:00
Hans-Christoph Steiner
03aba988b2 Merge branch 'api-fixes' into 'master'
API fixes to work with plain dicts read by any YAML parser

Closes #851

See merge request fdroid/fdroidserver!838
2020-12-15 16:26:36 +00:00
Hans-Christoph Steiner
21b0a6b463 gitlab-ci: update metadata_v0 test for parsing change
`Builds:` is directly in the .yml metadata, and the internal representation
now uses the same "Builds" name.  Reading in .txt metadata files used the
name "builds" for that.  So this test now uses "Builds" as canonical.
2020-12-15 08:55:05 +01:00
Hans-Christoph Steiner
0b879f18e5 use dict syntax for app instances to allow API usage with plain dicts
Since metadata files are now YAML, programs should be able to just read in
the .yml files, then use them with fdroidserver methods without having to
know about the App class.  The App class just provides syntactic sugar by
allowing dict keys to be accessed as attributes.
2020-12-15 08:55:05 +01:00
Hans-Christoph Steiner
e93acf7964 metadata: work with dicts generated by standard YAML parsers
Now that the mismatch between 'builds' and 'Builds' has been fixed, it is
now possible to read metadata/*.yml files with a standard YAML parser like
PyYAML, then output them using `metadata.write_metadata()`.  Other API
functions in fdroidserver should also work in this case.

I did this as I was working on fdroiddata!7860
2020-12-15 08:55:05 +01:00
Hans-Christoph Steiner
bf25b4ca03 eliminate app.builds everywhere, it should be app['Builds']
The .txt format was the last place where the lowercase "builds" was used,
this converts references everywhere to be "Builds".  This makes it possible
to load metadata YAML files with any YAML parser, then have it possible to
use fdroidserver methods on that data, like metadata.write_metadata().

The test files in tests/metadata/dump/*.yaml were manually edited by cutting
the builds: block and putting it the sort order for Builds: so the contents
should be unchanged.

```
sed -i \
 -e 's/app\.builds/app.get('Builds', \[\])/g' \
 -e "s/app\.get(Builds, \[\]) =/app\['Builds'] =/g" \
 -e "s/app\.get(Builds, \[\]) =/app\['Builds'] =/g" \
 -e "s/app\.get(Builds, \[\])/app.get('Builds', \[\])/g" \
 -e "s/app\.get('Builds', \[\])\.append/app\['Builds'\].append/g" \
 -e "s/app\['builds'\]/app.get('Builds', [])/g" \
 */*.*
```
2020-12-15 08:55:05 +01:00
Hans-Christoph Steiner
877779195f Merge branch 'logging-and-two-bug-fixes' into 'master'
Logging and two bug fixes

Closes #851

See merge request fdroid/fdroidserver!837
2020-12-15 07:53:52 +00:00
Hans-Christoph Steiner
cfec25d33a update: tame androguard debug logs when --verbose is set 2020-12-15 08:30:48 +01:00
Hans-Christoph Steiner
40cd51ed59 build: include commit ID in build log 2020-12-15 08:30:48 +01:00
Hans-Christoph Steiner
fb628c2cb2 include modified and untracked files in status JSON
Ideally, an fdroid repo should be running from a clean git repo, so that
all changes are tracked in git.  This change is useful in seeing which
changes and/or files are not in git.  If there are modified files, the
dirty flag will be set, so this info can help debugging that.
2020-12-15 08:30:48 +01:00
Hans-Christoph Steiner
384922118f index: sanitize fingerprint arg, extract_pubkey() returns with spaces
The key fingerprint should be only hex digits, everything else can be
discarded.  That makes it easy to use this function various fingerprint
formats, including the common, human-readable forms spaces between pairs or
quartets.
2020-12-15 08:30:48 +01:00