Jochen Sprickerhof
cb2c3a34bb
remove hack to disable GNOME.Accessibility for minimal deps
...
This is commented out by default on all OpenJDK packages since Java 8.
https://gitlab.com/fdroid/fdroidserver/-/merge_requests/1012?diff_id=263085985#note_726457435
root@sid:/# grep Accessibility /etc/java-*-openjdk/accessibility.properties
/etc/java-11-openjdk/accessibility.properties:#assistive_technologies=org.GNOME.Accessibility.AtkWrapper
/etc/java-17-openjdk/accessibility.properties:#assistive_technologies=org.GNOME.Accessibility.AtkWrapper
/etc/java-18-openjdk/accessibility.properties:#assistive_technologies=org.GNOME.Accessibility.AtkWrapper
/etc/java-8-openjdk/accessibility.properties:assistive_technologies=org.GNOME.Accessibility.AtkWrapper
2022-10-10 21:22:59 +02:00
FestplattenSchnitzel
be5aefd3ee
Install required packages for fdroidserver automatically
2022-10-10 21:22:59 +02:00
FestplattenSchnitzel
cc641b5470
Stop adding i386 architecture to dpkg
2022-10-10 21:22:59 +02:00
FestplattenSchnitzel
df46eb86c3
Upgrade Buildserver VM
...
Use Vagrant boxes built with cloud-team/debian-vagrant-images instead of fdroid/basebox,
Use Debian Bullseye (11) instead of Debian Stretch (9)
2022-10-10 21:22:59 +02:00
Hans-Christoph Steiner
7accb96b9e
Merge branch 'unified-scanner-signatures' into 'master'
...
cached scanner signatures
Closes #1008
See merge request fdroid/fdroidserver!1198
2022-10-06 14:09:49 +00:00
Hans-Christoph Steiner
9ccf583061
Apply 3 suggestion(s) to 2 file(s)
2022-10-06 13:55:38 +00:00
Michael Pöhn
e967fc61cf
scanner: add regression tests for signautre load logic
2022-10-06 14:50:30 +02:00
Michael Pöhn
d815a64fdb
scanner: filter urlopen schemes, mute bandit
2022-10-06 12:09:07 +02:00
Michael Pöhn
b7233dfb2e
ignore cache write test case on older python versions
2022-10-06 12:09:07 +02:00
Michael Pöhn
59b1899d79
scanner: switch form iso8601 to unix timestamp for python3.5 support
2022-10-06 12:09:07 +02:00
Michael Pöhn
9560ed955c
avoid running into native-date object issue
...
Seem I ran into this issue: https://bugs.python.org/issue47228 This
change tries to fix it by using utcnow insteas of astimezone.
2022-10-06 12:09:07 +02:00
Michael Pöhn
7933623e93
fix pydocstyle lint errors
2022-10-06 12:09:07 +02:00
Michael Pöhn
036b788424
move suss defaults into scanner.py
...
As discussed with _hc, we're going to keep the default values for
SUSS inside the python code for now. To avoid compilcated packaging
issues. Once fdroidserver does not have to support python verison older
than 3.7 we can utilize to `importlib.resources` for shipping these
defaults as separate file.
2022-10-06 12:09:07 +02:00
Michael Pöhn
0921863fa6
scanner: update suss defaults after removal of allowlisted feature
2022-10-06 12:09:07 +02:00
Michael Pöhn
6899c22f48
scanner: remove allowlisted from scan_source
2022-10-06 12:09:06 +02:00
Michael Pöhn
a8bcaa3d70
scanner: implement caching rules for suss
2022-10-06 12:09:06 +02:00
Michael Pöhn
bfcc30b854
add --refresh to scanner
2022-10-06 12:09:06 +02:00
Michael Pöhn
4a38908bd7
make cachedir subdirectories pick their place correctly based on parent folder
2022-10-06 12:09:06 +02:00
Michael Pöhn
1e6694112a
rename to suss
2022-10-06 12:09:06 +02:00
Michael Pöhn
dc1a2db3f4
scanner: use Path.resovle instead of undocumented absolute()
2022-10-06 12:09:06 +02:00
Michael Pöhn
c9b59b525d
fix timestamp check; remove dead code
2022-10-06 12:09:05 +02:00
Michael Pöhn
c10633eac5
convert fdroid scanner --exodus to SignatureDataController
2022-10-06 12:08:26 +02:00
Michael Pöhn
d5ef1b2e95
add --clear-cache option to scanner
2022-10-06 12:08:26 +02:00
Michael Pöhn
e4b54fe4a7
move NON_FREE_GRADLE_LINES to signature definition files
2022-10-06 12:08:26 +02:00
Michael Pöhn
9c5b35742d
use ScannerTool for basic cacheing and scanning
2022-10-06 12:08:26 +02:00
Michael Pöhn
f56b1f3012
basic downloading for scan_binary signatures
2022-10-06 12:08:23 +02:00
Jochen Sprickerhof
82355b8559
Merge branch 'linsui-master-patch-90027' into 'master'
...
fix typo
See merge request fdroid/fdroidserver!1201
2022-10-05 06:15:53 +00:00
linsui
5354661fb4
fix typo
2022-10-05 06:15:53 +00:00
Hans-Christoph Steiner
cfd426cc1f
Merge branch 'scan_more_binary' into 'master'
...
Support more file types in get_embedded_classes
Closes #999
See merge request fdroid/fdroidserver!1123
2022-09-30 18:09:32 +00:00
Hans-Christoph Steiner
3de6063a01
scanner: open DEX/ZIP by file magic; throw errors on bad filenames
2022-09-30 17:56:15 +00:00
Hans-Christoph Steiner
aa190d532f
scanner.TestCase: manually convert to black code format
...
I manually changed some code structures to give a decent code format.
2022-09-30 17:56:15 +00:00
Jochen Sprickerhof
4197455436
Support more file types in get_embedded_classes
...
Closes : #999
2022-09-30 17:56:15 +00:00
Hans-Christoph Steiner
6a4b7ba4c1
Merge branch 'pyproject.toml' into 'master'
...
Move lint tools configuration to pyproject.toml
See merge request fdroid/fdroidserver!1196
2022-09-30 17:55:42 +00:00
FestplattenSchnitzel
e4d16ec1e8
Move lint tools configuration to pyproject.toml
...
This commit removes the mypy CI job, since there are no or few type
hints in the codebase and it failed on unrelated changes in the past.
It might be reintroduced when type hints get added.
2022-09-30 17:53:31 +00:00
Hans-Christoph Steiner
42cb31039e
Merge branch 'fix_status_deploy' into 'master'
...
Sync all status files
See merge request fdroid/fdroidserver!1199
2022-09-29 17:54:22 +00:00
Jochen Sprickerhof
96f8284a50
Sync all status files
2022-09-29 19:41:12 +02:00
Hans-Christoph Steiner
244273e58e
Merge branch 'clojars' into 'master'
...
scanner: allow repo.clojars.org
See merge request fdroid/fdroidserver!1197
2022-09-26 18:58:28 +00:00
linsui
ec69be04ce
scanner: allow repo.clojars.org
2022-09-26 18:58:15 +00:00
Hans-Christoph Steiner
bd6689a75d
Merge branch 'editorconfig' into 'master'
...
Add .editorconfig
See merge request fdroid/fdroidserver!1194
2022-09-20 15:12:15 +00:00
FestplattenSchnitzel
ecc9ad0e8c
Add .editorconfig
...
See https://editorconfig.org/
2022-09-20 14:08:04 +00:00
Hans-Christoph Steiner
e239a600a3
Merge branch 'fix_v4_signing' into 'master'
...
Work around old apksigner on f-droid.org publish server
See merge request fdroid/fdroidserver!1192
2022-09-20 13:58:42 +00:00
Jochen Sprickerhof
cf228d35a3
Work around old apksigner on f-droid.org publish server
2022-09-20 13:58:41 +00:00
Michael Pöhn
2b5ac31bf8
Merge branch 'test_getref' into 'master'
...
Add test for git getref
Closes #1040
See merge request fdroid/fdroidserver!1191
2022-09-15 11:48:00 +00:00
Jochen Sprickerhof
f96f247095
Add test for git getref
2022-09-15 13:32:11 +02:00
Michael Pöhn
603c8c5cd4
Merge branch 'fix_getref' into 'master'
...
Use old python-git exception API for getref
See merge request fdroid/fdroidserver!1190
2022-09-15 08:35:10 +00:00
Jochen Sprickerhof
0f48294a6e
Use old python-git exception API for getref
...
The is_valid_object method is not even in Debian bullseye.
2022-09-15 07:44:02 +02:00
Michael Pöhn
2aebc48a65
Merge branch 'linsui-master-patch-61703' into 'master'
...
scanner: add some rules
See merge request fdroid/fdroidserver!1150
2022-09-14 15:02:38 +00:00
linsui
ac96e43e13
scanner: add some rules
2022-09-14 15:02:37 +00:00
Jochen Sprickerhof
0a157d3f17
Merge branch 'fix_check_updates_expected' into 'master'
...
[lint] Fix comparisons in check_updates_expected
See merge request fdroid/fdroidserver!1188
2022-09-14 10:10:34 +00:00
FestplattenSchnitzel
580ce85412
[lint] Fix comparisons in check_updates_expected
2022-09-14 10:10:20 +00:00