This configuration has been in use in .gitlab-ci.yml scripts for a while
now and has proven reliable. This is a "low hanging fruit" improvement.
It provides an extra layer of protection for when their are apt vulns. And
it makes it much harder to profile what a server/laptop is doing based on
the internet traffic. The network observer will no longer be able to see
which packages are being downloaded since apt uses HTTP pipelining so size
attacks are not really possible. And HTTPS hides the URLs, filenames,
download contents, etc.
Fixes this error:
> Unable to create pipeline
>
> 'pages' job needs 'Build documentation' job, but 'Build documentation'
> does not exist in the pipeline. This might be because of the only,
> except, or rules keywords. To need a job that sometimes does not exist
> in the pipeline, use needs:optional.
Currently translated at 100.0% (579 of 579 strings)
Added translation using Weblate: Bashkir (ba) by Zulfar <mzulfar20@gmail.com>
Co-authored-by: Zulfar <mzulfar20@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/ba/
Translation: F-Droid/F-Droid Server
dash rarely changes and is reliably run on Debian in the hooks/pre-commit
job. So remove it from the macOS job, where it is flaky and hard to
troubleshoot (who has macOS? ;-)
https://gitlab.com/fdroid/fdroidserver/-/jobs/10454622138
```
==============================================================================
run commit hooks
+ echo_header 'run commit hooks'
+ test -x ./hooks/pre-commit
+ ./hooks/pre-commit
WARNING: pydocstyle is not installed, using dummy placeholder!
WARNING: pyflakes is not installed, using dummy placeholder!
WARNING: pycodestyle is not installed, using dummy placeholder!
./hooks/pre-commit: line 111: 20320 Segmentation fault: 11 $DASH -n $f
ERROR: dash tests failed!
```
Currently translated at 100.0% (579 of 579 strings)
Translated using Weblate: Polish (pl) by WaldiS <sto@tutanota.de>
Currently translated at 98.4% (570 of 579 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
Currently translated at 98.2% (569 of 579 strings)
Translated using Weblate: Spanish (es) by Swyter <swyterzone@gmail.com>
Currently translated at 98.2% (569 of 579 strings)
Co-authored-by: Swyter <swyterzone@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/es/
Translation: F-Droid/F-Droid Server
The *-nightly git repo always uses the _master_ branch. The `index_only:`
support maintains a separate local branch since its git repo should be as
small as possible. The full repo should be maintained for mirrors not
using `index_only:` so that when it force-pushes, it does not need to always
push all the files, only the updated ones. So the full repo should be
maintained in the _master_ branch, and only the `index_only` mirrors should
have their own branch.
This adds a test case to reproduce this error:
https://gitlab.com/fdroid/fdroidclient/-/jobs/10347168516
This case also applies to any setup that used `servergitmirrors:` before the
`index_only:` feature was added. This also applies to cases if the repo
maintainer manually clones the *-nightly repo into _fdroid/git-mirror/_