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

8370 Commits

Author SHA1 Message Date
hilariousperson
059e298e97 Translated using Weblate: French (fr) by hilariousperson <gobelpepite+github@gmail.com>
Currently translated at 81.4% (479 of 588 strings)

Co-authored-by: hilariousperson <gobelpepite+github@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/fr/
Translation: F-Droid/F-Droid Server
2021-01-29 12:44:14 +01:00
Éfrit
7885c2a2c9 Translated using Weblate: French (fr) by Éfrit <efrit@posteo.net>
Currently translated at 81.4% (479 of 588 strings)

Co-authored-by: Éfrit <efrit@posteo.net>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/fr/
Translation: F-Droid/F-Droid Server
2021-01-29 12:44:14 +01:00
Hosted Weblate
c10918c1e3
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/
Translation: F-Droid/F-Droid Server
2021-01-29 11:51:59 +01:00
Coding Otaku
165ceaa345
Translated using Weblate: Malayalam (ml) by Coding Otaku <contact@codingotaku.com>
Currently translated at 0.0% (0 of 573 strings)

Co-authored-by: Coding Otaku <contact@codingotaku.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/ml/
Translation: F-Droid/F-Droid Server
2021-01-29 11:51:59 +01:00
mondstern
f7480316df
Translated using Weblate: Polish (pl) by mondstern <mondstern@snopyta.org>
Currently translated at 95.6% (548 of 573 strings)

Co-authored-by: mondstern <mondstern@snopyta.org>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/pl/
Translation: F-Droid/F-Droid Server
2021-01-29 11:51:58 +01:00
Hans-Christoph Steiner
5cd9a8e396
tests: make init apksigner test use existing test keystore
This test does not need to generate a keystore, so using the existing one
reduces the run time from 4 seconds to 0.040 seconds.  Also, if makes this
mystery error on macOS go away:

```
Traceback (most recent call last):
  File "/Users/travis/build/fdroidtravis/fdroidserver/tests/init.TestCase", line 66, in test_main_in_empty_dir
    fdroidserver.init.main()
  File "/Users/travis/build/fdroidtravis/fdroidserver/fdroidserver/init.py", line 231, in main
    common.genkeystore(c)
  File "/Users/travis/build/fdroidtravis/fdroidserver/fdroidserver/common.py", line 3434, in genkeystore
    cmd = [config['keytool'], '-genkey',
KeyError: 'keytool'

```
2021-01-29 09:06:21 +01:00
Hans-Christoph Steiner
5edb5d354a Merge branch 'two-fixes' into 'master'
two fixes around the signing process

See merge request fdroid/fdroidserver!863
2021-01-28 21:45:14 +00:00
Hans-Christoph Steiner
e4087f1798 gitlab-ci: hide massively verbose messages from sdkmanager 2021-01-28 22:25:33 +01:00
Hans-Christoph Steiner
32a0c61010 init: enable apksigner by default if it is found 2021-01-28 22:25:33 +01:00
Hans-Christoph Steiner
197ca7e36f update: warn with --nosign if keystore/repo_pubkey are not present
This should also make it easier to use index.make() as an API function
since this changes whether the instance var exists before checking the
value.
2021-01-28 22:25:33 +01:00
Hans-Christoph Steiner
303c6aa247 Merge branch 'gradle-release-checksums.py' into 'master'
update to gradle v6.8.1

See merge request fdroid/fdroidserver!861
2021-01-28 21:24:38 +00:00
fdroid-bot
d89dea63c3 gradle v6.8.1 2021-01-25 10:36:37 +00:00
Hans-Christoph Steiner
dedc47a3a8 Merge branch 'fixup-gradle-release-checksums' into 'master'
Fixup gradle release checksums

See merge request fdroid/fdroidserver!860
2021-01-25 10:35:34 +00:00
Hans-Christoph Steiner
87477cd910
gitlab-ci: gradle job needs git history to find what changed 2021-01-25 11:05:22 +01:00
Hans-Christoph Steiner
0af157244a
gradle-release-checksums: runs after commits push to fdroid/fdroidserver 2021-01-25 11:05:20 +01:00
Hans-Christoph Steiner
669ce10d9a
enable complete lint/CI checking on gradle-release-checksums.py 2021-01-25 11:05:16 +01:00
Hans-Christoph Steiner
2efab0f8ec Merge branch 'gradle-fdroid-bot' into 'master'
fdroid-bot creates merge requests for gradle updates

See merge request fdroid/fdroidserver!859
2021-01-24 23:46:35 +00:00
Hans-Christoph Steiner
d133b38f22 fdroid-bot creates merge request when new gradle versions are found 2021-01-25 00:26:14 +01:00
Hans-Christoph Steiner
eec0d3a336 gitlab-ci: gradle job generates required changes for new versions 2021-01-24 16:58:38 +01:00
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 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)
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