Commit Graph
6401 Commits
Author SHA1 Message Date
Hans-Christoph Steiner b8cd4396f4 Merge branch 'no-error-without-examples-dir' into 'master'
overhaul repo_icon so there is no error if examples/ dir cannot be found, e.g. with `fdroid init`

See merge request fdroid/fdroidserver!854
2021-01-24 08:48:48 +00:00
Hans-Christoph Steiner f527b17715 sync repo examples with defaults and comment out example repo settings
!359
2021-01-24 09:26:11 +01:00
Hans-Christoph Steiner aebf70a763 tests: run pip tests using fdroid that pip installed 2021-01-23 20:13:17 +01:00
Hans-Christoph Steiner f6b5f74ec6 gitlab-ci: drop support for Ubuntu/xenial, test on bionic now
xenial will become obsolete in April
2021-01-23 13:36:23 +01:00
Hans-Christoph Steiner 5ae2703477 init: no error if examples/ dir cannot be found; overhaul repo_icon
There are so many possible installation paths for Python modules, it has
been very hard to even find and test them all.  This adds a fallback option
if the examples dir cannot be found.  A repo can work without an icon or
the example config.py.

This removes the fake assumption that the icon can be a full path in the
config.py.  While the path was being properly passed through to the index
file, the file was never copied properly into place nor rsynced to the web
server.
2021-01-18 14:07:20 +01:00
Hans-Christoph Steiner b655d20d6b locale/pick-complete-translations.py: run sort without shell
Static code analyzers flag such things as security errors.
2021-01-16 22:01:56 +01:00
Hans-Christoph Steiner a304ae95fa version 2.0b1 2.0b1 2021-01-16 21:57:02 +01:00
Hans-Christoph Steiner a8feeee1c5 Merge 'update_manifest' into 'master'
* update_manifest:
  Fix checks in Weblate by Hans-Christoph Steiner <hans@guardianproject.info>
  Translated using Weblate: Albanian (sq) by Besnik Bleta <besnik@programeshqip.org>
  script to set the completed locales based on Weblate data
  Add missing test files

fdroid/fdroidserver!851
2021-01-16 21:53:39 +01:00
Hans-Christoph Steiner 8c9b2d9862 Fix checks in Weblate by Hans-Christoph Steiner <hans@guardianproject.info>
Currently translated at 97.2% (557 of 573 strings)

Co-authored-by: Hans-Christoph Steiner <hans@guardianproject.info>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/sq/
Translation: F-Droid/F-Droid Server
2021-01-16 21:53:09 +01:00
Besnik Bleta d8f32b5c80 Translated using Weblate: Albanian (sq) by Besnik Bleta <besnik@programeshqip.org>
Currently translated at 97.2% (557 of 573 strings)

Co-authored-by: Besnik Bleta <besnik@programeshqip.org>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/sq/
Translation: F-Droid/F-Droid Server
2021-01-16 21:53:09 +01:00
Hans-Christoph Steiner 5837c36219 script to set the completed locales based on Weblate data 2021-01-16 21:53:05 +01:00
Jochen Sprickerhof 527b1caa90 Add missing test files 2021-01-16 10:40:40 +01:00
Hans-Christoph Steiner ca8f19ed99 Merge branch 'test_tar' into 'master'
Run test from sdist source

See merge request fdroid/fdroidserver!852
2021-01-16 09:19:24 +00:00
Jochen Sprickerhof 7cf64ea48f Run test from sdist source 2021-01-15 19:57:32 +01:00
Hans-Christoph Steiner 41709c142f version 2.0b0
(2.0b is not valid)
2.0b0
2021-01-15 16:37:05 +01:00
Hans-Christoph Steiner 776ff8c596 Merge branch 'finalize-2.0b-release' into 'master'
Finalize 2.0b release

See merge request fdroid/fdroidserver!850
2021-01-15 14:53:13 +00:00
Hans-Christoph Steiner c8f21bf0e0 add some example plugins for repo key extraction and migration 2021-01-15 15:25:50 +01:00
Hans-Christoph Steiner d16ccc6d6c version 2.0b 2021-01-15 15:11:50 +01:00
Hans-Christoph Steiner 097b77ee2b update CHANGELOG
https://gitlab.com/fdroid/fdroidserver/-/milestones/10
2021-01-15 15:11:26 +01:00
Hans-Christoph Steiner 94cb19f571 set METADATA_VERSION to 20000 to leave room for 1.1.x changes 2021-01-15 14:33:21 +01:00
Golubev Alexander 5d75d4491f Translated using Weblate: Russian (ru) by Golubev Alexander <fatzer2@gmail.com>
Currently translated at 100.0% (588 of 588 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-15 14:29:27 +01:00
Ihor Hordiichuk 47f4b3509e Translated using Weblate: Ukrainian (uk) by Ihor Hordiichuk <igor_ck@outlook.com>
Currently translated at 100.0% (588 of 588 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-15 14:29:16 +01:00
Rafael Fontenelle d9545973c3 Translated using Weblate: Portuguese (Brazil) (pt_BR) by Rafael Fontenelle <rafaelff@gnome.org>
Currently translated at 100.0% (588 of 588 strings)

Co-authored-by: Rafael Fontenelle <rafaelff@gnome.org>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/pt_BR/
Translation: F-Droid/F-Droid Server
2021-01-15 14:28:52 +01:00
Oğuz Ersen 69dbb83bc3 Translated using Weblate: Turkish (tr) by Oğuz Ersen <oguzersen@protonmail.com>
Currently translated at 100.0% (588 of 588 strings)

Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/tr/
Translation: F-Droid/F-Droid Server
2021-01-15 14:28:37 +01:00
Hans-Christoph Steiner 6ec23388ce Merge branch 'autoname-only-in-checkupdates' into 'master'
AutoName: only in checkupdates

Closes #654

See merge request fdroid/fdroidserver!759
2021-01-15 13:24:19 +00:00
Hans-Christoph Steiner fff59e5197 only use AutoName: in checkupdates
AutoName: is only needed for the commit messages generated by checkupdates,
and it makes the logic for localized names confusing.

closes #654
refs #304
2021-01-14 20:36:09 +01:00
Hans-Christoph Steiner 0f6b638986 common.get_app_display_name() for finding app names 2021-01-14 20:34:15 +01:00
Hans-Christoph Steiner c7fcfe3bfa update: fix setting current_version_file for make_current_version_link
Before, it would never set current_version_file to the current APK since it
first set current_version_code, then tested against CurrentVersionCode. So
if there is only a single APK and its the CurrentVersionCode, then
current_version_file would not get set.

refs #772
2021-01-14 17:09:44 +01:00
Hans-Christoph Steiner 0a1793ab7f update: write out cache as soon as possible
When working or testing with large APK collections, oftentimes it can take
hours to scan all the APKs.  If there is a failure before the apkcache is
written out, then all that work is lost since no cache is written out. This
moves the final cache writing before writing the index and knownapks to
make it more likely that the apkcache is successfully written.
2021-01-14 17:09:44 +01:00
Hans-Christoph Steiner b5c8ecd3da Merge branch 'weblate' into 'master'
Weblate

See merge request fdroid/fdroidserver!849
2021-01-14 14:58:43 +00:00
Hans-Christoph Steiner 4d14179732 make -C locale/ clean update 2021-01-14 14:56:20 +01:00
Besnik Bleta f24eae0f6f Translated using Weblate: Albanian (sq) by Besnik Bleta <besnik@programeshqip.org>
Currently translated at 96.8% (555 of 573 strings)

Co-authored-by: Besnik Bleta <besnik@programeshqip.org>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/sq/
Translation: F-Droid/F-Droid Server
2021-01-14 14:52:46 +01:00
Michal L b0ef3c4006 Translated using Weblate: Polish (pl) by Michal L <michalrmsmi@wp.pl>
Currently translated at 91.6% (525 of 573 strings)

Co-authored-by: Michal L <michalrmsmi@wp.pl>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/pl/
Translation: F-Droid/F-Droid Server
2021-01-14 14:52:46 +01:00
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