Gregor Düster
b9c7e8f63a
Fix "fdroid --version"
...
Fixes https://gitlab.com/fdroid/fdroidserver/-/issues/1164 .
Helpful resource:
https://packaging.python.org/en/latest/guides/single-sourcing-package-version/
2024-01-25 12:00:05 +00:00
Hans-Christoph Steiner
9749b26baa
pylint: Reenable C0201 consider-iterating-dictionary
...
* C0201: Consider iterating the dictionary directly instead of calling .keys() (consider-iterating-dictionary)
2023-03-20 16:33:16 +01:00
Hans-Christoph Steiner
b8f59097f7
purge all vestiges of the unused `fdroid stats`, closes #839
...
* for f in locale/*/LC_MESSAGES/fdroidserver.po; do msgattrib --set-obsolete --no-wrap --ignore-file=locale/fdroidserver.pot -o $f $f; done
* sed -i 's, \.\./fdroidserver/stats\.py,,' locale/*/LC_MESSAGES/fdroidserver.po
2023-02-19 22:54:38 +01:00
Hans-Christoph Steiner
156b3f91cc
fix pylint W0404: Reimport 're' (imported line 21) (reimported)
2023-02-02 15:49:20 +01:00
FestplattenSchnitzel
7b7f863c65
[import] Rename to import_subcommand internally
...
This enables normal import of the module without the need for
workarounds.
2022-08-24 22:21:35 +02:00
Benedikt Brückmann
01b9fb1549
Fix pep8 whitespace errors
2021-06-25 06:28:47 +02:00
Benedikt Brückmann
1e943a22df
rewrite docstrings to match numpy style guide
2021-06-25 06:28:47 +02:00
linsui
92ec6265a3
checkupdates.py: use pathlib and support Windows
2021-06-07 21:02:03 +08:00
Hans-Christoph Steiner
17f6a778ba
deploy: move server.py to deploy.py and remove aliases
...
closes #832
2020-10-21 11:38:49 +02:00
Jochen Sprickerhof
d8b73dd241
Add timstamp to logs
2020-07-04 18:56:10 +02:00
Michael Pöhn
a97b3ca4dd
implement plugin system review suggestsions
2020-06-10 18:43:23 +02:00
Michael Pöhn
77167e098e
plugin system: regex instead of import bases plugin parsing
2020-06-10 18:43:11 +02:00
Michael Pöhn
b257a3411a
stick to default python sys.path
2020-06-10 12:11:47 +02:00
Michael Pöhn
3a3803ea2d
raise excepten when starting broken plugin
2020-06-10 12:11:47 +02:00
Michael Pöhn
bf815251ec
rough plugin system implementation
2020-06-10 12:11:47 +02:00
Hans-Christoph Steiner
6030445be0
logging.warn() was deprecated in Python 3.3, use logging.warning()
...
sed -i 's,logging\.warn(,logging.warning(,g' fdroid */*.*
https://docs.python.org/3.3/library/logging.html#logging.Logger.warning
2020-05-27 08:35:14 +02:00
Marcus Hoffmann
8961485125
remove dscanner subcommand
...
It's unused and unmaintained. It could potentially be revived as a
plugin at a later point.
2020-01-31 14:17:12 +01:00
Michael Pöhn
69fc38c668
repair fdroid --version
2020-01-28 11:43:09 +01:00
Michael Pöhn
7a4254efa2
make main script pythonic
2020-01-28 11:43:09 +01:00