linsui
58f167b7e5
Add build.binary
2023-02-16 20:16:52 +08:00
linsui
33def096f5
Add postbuild
2023-02-16 12:11:26 +00:00
Jochen Sprickerhof
ecfbdef60f
Fix pathlib usage
...
Regression from 4a581bdf .
2023-02-16 09:23:07 +01:00
Simon Brand
4a581bdfb6
Remove path workarounds for old python versions
2023-02-15 19:25:48 +00:00
Jochen Sprickerhof
4a6ccae71a
install_ndk: cleanup tempdir
2023-02-06 14:52:32 +01:00
Jochen Sprickerhof
a6700e65ed
build: close ssh_channel upon timeout
...
The build can get stuck when running into the timeout and paramiko not
noticing it. This can be reproduced by setting a small build timeout for
an app. I tried setting set_keepalive() but it did not help. This
forcefully closes the ssh channel to the VM so the fdroid build will
continue. As we destroy the VM in the next step anyhow I think this is
fine.
2023-02-04 10:14:03 +00:00
Jochen Sprickerhof
5e08187567
build: Rename chan to ssh_channel
2023-02-04 10:14:03 +00:00
Hans-Christoph Steiner
b152916b49
fix pylint: C1803: 'local_metadata_files != []' can be simplified to 'local_metadata_files' as an empty list is falsey (use-implicit-booleaness-not-comparison)
2023-02-02 16:02:49 +01:00
Hans-Christoph Steiner
75bf953c80
fix pylint: C0104: Disallowed name "bar" (disallowed-name)
2023-02-02 16:02:49 +01:00
Hans-Christoph Steiner
176301d831
fix pylint W0715: Exception arguments suggest string formatting might be intended (raising-format-tuple)
2023-02-02 15:49:20 +01:00
Hans-Christoph Steiner
156b3f91cc
fix pylint W0404: Reimport 're' (imported line 21) (reimported)
2023-02-02 15:49:20 +01:00
fdroid-bot
e71afa1299
Android NDK None (None)
2023-02-02 13:35:29 +00:00
Jochen Sprickerhof
f8e3356365
Distroy VM when running into timeout ( Closes : #1094 )
...
halt results in an Traceback.
2023-02-02 10:03:34 +01:00
linsui
5858d8fcb4
remove liberapayID
2023-01-16 17:02:56 +00:00
linsui
a3f760f849
Add codeberg.org
2023-01-16 09:36:05 +00:00
FestplattenSchnitzel
671a264dfe
Use ruamel.yaml in metadata.py and metadata.TestCase
...
This is to read metadata based on YAML 1.2 rather than 1.1.
2023-01-15 12:52:41 +01:00
FC Stegerman
fc8820ff8e
index.make_v0: ensure name is a str
2023-01-10 19:40:52 +01:00
FC Stegerman
cefcf432c3
checkupdates: only use bullseye_blocklist when openjdk-11 is mentioned
2022-12-07 03:37:55 +01:00
Jochen Sprickerhof
a739a262f2
checkupdates: Block one more openjdk-11
...
See:
e397da7962 (note_1197704481)
2022-12-06 10:06:47 +01:00
FC Stegerman
c81ad4485c
verify_apks(): compare to unsigned APK if copying fails
2022-11-30 10:39:46 +00:00
Hans-Christoph Steiner
1a30766c24
deploy: GIT_DEPTH=1 so GitLab Pages job runs as quick as possible
...
* https://docs.gitlab.com/ee/ci/large_repositories/index.html#shallow-cloning
2022-11-16 20:16:34 +01:00
Hans-Christoph Steiner
947d94e0a9
deploy: support GitLab Job Artifacts as a mirror
2022-11-16 20:16:32 +01:00
Hans-Christoph Steiner
d0976a3684
deploy: check repo size before enabling GitLab Pages
2022-11-16 20:16:30 +01:00
Hans-Christoph Steiner
cdce0958f8
deploy: convert .gitlab-ci.yml generation to dict + yaml.dump()
2022-11-16 20:16:27 +01:00
Hans-Christoph Steiner
f24613b701
index: fix git-mirror size check for GitLab Pages
...
The test case had the wrong folder setup, this was confirmed on a production
repo setup.
2022-11-16 20:16:25 +01:00
Hans-Christoph Steiner
83335437b9
nightly: if repo is too large, set archive_older to 3
...
If the user has not manually set --archive-older, then this will auto-switch
it from 20 to 3 to shrink the repo down so it fits into GitLab Pages.
2022-11-16 20:16:23 +01:00
Hans-Christoph Steiner
c2567d71d1
nightly: fail if *-nightly git repo is not publicly available
2022-11-16 20:16:21 +01:00
Hans-Christoph Steiner
15bd7057f0
nightly: add tests
2022-11-16 16:50:14 +01:00
Hans-Christoph Steiner
9c0eaac121
nightly: convert to config.yml
2022-11-16 14:40:08 +01:00
Hans-Christoph Steiner
1c5506ae05
nightly: support OpenSSL 3.0 with Paramiko
...
OpenSSL 3.0 changed the default output format from PKCS#1 to PKCS#8,
which paramiko does not support.
https://www.openssl.org/docs/man3.0/man1/openssl-rsa.html#traditional
https://github.com/paramiko/paramiko/issues/1015
2022-11-16 14:40:08 +01:00
Hans-Christoph Steiner
bf945a3062
nightly: only write SSH key files if ~/.ssh exists on dev's machine
2022-11-16 14:40:08 +01:00
Jochen Sprickerhof
3eea5f7c09
Don't get_android_tools_version_log for non builds
2022-11-16 10:56:27 +00:00
Jochen Sprickerhof
2cbb5576c7
Drop VCS version check on every build
...
This was introduced in
https://gitlab.com/fdroid/fdroidserver/-/merge_requests/391
I don't think it is needed anymore.
Also log appid:versionCode
2022-11-16 10:56:27 +00:00
FC Stegerman
e58637374c
verify_deprecated_jar_signature(): use temp dir instead of $PWD/.java.security
2022-11-15 19:10:38 +01:00
Hans-Christoph Steiner
01f7dfd0b3
index-v2.jar is not a valid file, remove references
...
entry.jar is the signed file, it references index-v2.json.
2022-11-15 13:22:09 +00:00
linsui
d25995c084
Set ArchivePolicy based on VercodeOperation/signature
2022-11-15 18:50:16 +08:00
Michael Pöhn
4ce2f291e3
remove --exodus cli option from scanner.py
2022-11-15 09:20:26 +00:00
Michael Pöhn
24d88705fa
🔍 add scanner_signature_sources config option
...
This adds the option to configure which set of signatures `fdroid
scanner` should use, by configuring it in `config.yml`. It allows
fetching signatures in our custom json format. It also adds 3 additional
sources: 'suss', 'exodus', 'etip'
2022-11-15 09:20:26 +00:00
Jochen Sprickerhof
e0fa38bab3
status.json: drop logs of failed builds
...
Those are uploaded separately.
2022-11-15 08:12:51 +00:00
Hans-Christoph Steiner
bd51b2e99f
build: read VM CPUs/RAM from builder/Vagrantfile
...
makebuildserver.config.py is no more, builder/Vagrantfile is now where the
CPU and memory is configured for the buildserver VM. In fact, that was
always the actual place, the makebuildserver.config.py thing was just
confused.
This should have been part of !1222
2022-11-15 08:57:41 +01:00
Jochen Sprickerhof
0549535bab
signindex: fix buster workaround
...
Don't try to remove arg if the old args where used.
2022-11-14 17:59:56 +01:00
Jochen Sprickerhof
1bb963d768
jarsigner: allow weak signatures
...
openjdk-11 11.0.17 in Debian unstable fails to verify weak signatures:
jarsigner -verbose -strict -verify tests/signindex/guardianproject.jar
131 Fri Dec 02 20:10:00 CET 2016 META-INF/MANIFEST.MF
252 Fri Dec 02 20:10:04 CET 2016 META-INF/1.SF
2299 Fri Dec 02 20:10:04 CET 2016 META-INF/1.RSA
0 Fri Dec 02 20:09:58 CET 2016 META-INF/
m ? 48743 Fri Dec 02 20:09:58 CET 2016 index.xml
s = signature was verified
m = entry is listed in manifest
k = at least one certificate was found in keystore
? = unsigned entry
- Signed by "EMAILADDRESS=root@guardianproject.info, CN=guardianproject.info, O=Guardian Project, OU=FDroid Repo, L=New York, ST=New York, C=US"
Digest algorithm: SHA1 (disabled)
Signature algorithm: SHA1withRSA (disabled), 4096-bit key
WARNING: The jar will be treated as unsigned, because it is signed with a weak algorithm that is now disabled by the security property:
jdk.jar.disabledAlgorithms=MD2, MD5, RSA keySize < 1024, DSA keySize < 1024, SHA1 denyAfter 2019-01-01, include jdk.disabled.namedCurves
2022-11-14 17:59:56 +01:00
Jochen Sprickerhof
d4b6e95c4e
init: use provided keyalias
2022-11-14 17:58:37 +01:00
Jochen Sprickerhof
beed746740
Replace custom code by verify_jar_signature()
2022-11-14 17:58:35 +01:00
FC Stegerman
ae23175a6b
f-droid modifications: rm do_compare(), main(), ...
2022-11-09 21:42:24 +00:00
FC Stegerman
038697cba5
copy apksigcopier v1.1.0
2022-11-09 21:42:24 +00:00
Jochen Sprickerhof
b73c4b9214
Drop successfulBuilds from build.json
...
This should reduce the file size from 34MB to 1MB and it is not used by
the monitor.
2022-11-07 07:30:45 +00:00
Jochen Sprickerhof
dedce2f236
lint: AUM with UCM: HTTP must have a pattern
...
Closes : #1029
2022-11-05 21:15:00 +01:00
Jochen Sprickerhof
551fca21b3
lint: UpdateCheckData regex must match integers
2022-11-05 21:15:00 +01:00
Jochen Sprickerhof
b8ea90f252
Drop JDK 11 on checkupdates
2022-11-04 15:38:41 +00:00