mirror of
https://github.com/sudoxnym/fdroiddata.git
synced 2026-04-14 19:46:54 +00:00
gitlab-ci: add job to check repo/index.html
This commit is contained in:
parent
3ccb619087
commit
55c0f1cd2b
2 changed files with 32 additions and 6 deletions
|
|
@ -544,3 +544,29 @@ strip EXIF:
|
|||
echo "https://beinset.medium.com/exif-metadata-a-hidden-door-to-cyber-vulnerabilities-52b0dd2ff4de";
|
||||
exit 1;
|
||||
}
|
||||
|
||||
repo/index.html:
|
||||
stage: test
|
||||
needs: []
|
||||
image: debian:bookworm-slim
|
||||
rules:
|
||||
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
||||
changes:
|
||||
paths:
|
||||
- .gitlab-ci.yml
|
||||
- repo/index.*
|
||||
# only check pushes to fdroids own repo
|
||||
- if: $CI_PIPELINE_SOURCE == "push" && $CI_PROJECT_PATH == "fdroid/fdroiddata"
|
||||
changes:
|
||||
compare_to: 'refs/heads/master'
|
||||
paths:
|
||||
- .gitlab-ci.yml
|
||||
- repo/index.*
|
||||
script:
|
||||
- apt-get -qy update
|
||||
- apt-get -qy install --no-install-recommends linkchecker tidy
|
||||
- export EXITVALUE=0
|
||||
- function set_error() { export EXITVALUE=1; printf "\x1b[31mERROR `history|tail -2|head -1|cut -b 6-500`\x1b[0m\n"; }
|
||||
- linkchecker repo/index.html || set_error
|
||||
- tidy repo/index.html || set_error
|
||||
- exit $EXITVALUE
|
||||
|
|
|
|||
|
|
@ -19,10 +19,10 @@
|
|||
<div class="translated lang-en col-12 order-1">
|
||||
<h1 class="main-heading">mirror of f-droid.org</h1>
|
||||
<p>
|
||||
This is a mirror of the <tt>f-droid.org</tt> collection of free software for Android. You can use it by sharing
|
||||
This is a mirror of the <span style="font-family: monospace;">f-droid.org</span> collection of free software for Android. You can use it by sharing
|
||||
<a href="?fingerprint=43238D512C1E5EB2D6569F4A3AFBF5523418B82E0A3ED1552770ABB9A9C9CCAB">
|
||||
this link
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#5f6368"><path d="M680-80q-50 0-85-35t-35-85q0-6 3-28L282-392q-16 15-37 23.5t-45 8.5q-50 0-85-35t-35-85q0-50 35-85t85-35q24 0 45 8.5t37 23.5l281-164q-2-7-2.5-13.5T560-760q0-50 35-85t85-35q50 0 85 35t35 85q0 50-35 85t-85 35q-24 0-45-8.5T598-672L317-508q2 7 2.5 13.5t.5 14.5q0 8-.5 14.5T317-452l281 164q16-15 37-23.5t45-8.5q50 0 85 35t35 85q0 50-35 85t-85 35Zm0-80q17 0 28.5-11.5T720-200q0-17-11.5-28.5T680-240q-17 0-28.5 11.5T640-200q0 17 11.5 28.5T680-160ZM200-440q17 0 28.5-11.5T240-480q0-17-11.5-28.5T200-520q-17 0-28.5 11.5T160-480q0 17 11.5 28.5T200-440Zm480-280q17 0 28.5-11.5T720-760q0-17-11.5-28.5T680-800q-17 0-28.5 11.5T640-760q0 17 11.5 28.5T680-720Zm0 520ZM200-480Zm480-280Z"/></svg>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path d="M680-80q-50 0-85-35t-35-85q0-6 3-28L282-392q-16 15-37 23.5t-45 8.5q-50 0-85-35t-35-85q0-50 35-85t85-35q24 0 45 8.5t37 23.5l281-164q-2-7-2.5-13.5T560-760q0-50 35-85t85-35q50 0 85 35t35 85q0 50-35 85t-85 35q-24 0-45-8.5T598-672L317-508q2 7 2.5 13.5t.5 14.5q0 8-.5 14.5T317-452l281 164q16-15 37-23.5t45-8.5q50 0 85 35t35 85q0 50-35 85t-85 35Zm0-80q17 0 28.5-11.5T720-200q0-17-11.5-28.5T680-240q-17 0-28.5 11.5T640-200q0 17 11.5 28.5T680-160ZM200-440q17 0 28.5-11.5T240-480q0-17-11.5-28.5T200-520q-17 0-28.5 11.5T160-480q0 17 11.5 28.5T200-440Zm480-280q17 0 28.5-11.5T720-760q0-17-11.5-28.5T680-800q-17 0-28.5 11.5T640-760q0 17 11.5 28.5T680-720Zm0 520ZM200-480Zm480-280Z"/></svg>
|
||||
</a>
|
||||
to your F-Droid client app.
|
||||
</p>
|
||||
|
|
@ -53,17 +53,17 @@
|
|||
<div class="translated lang-zh col-12 order-1">
|
||||
<h1 class="main-heading">f-droid.org 的镜像</h1>
|
||||
<p>
|
||||
这是 Android 自由软件目录 <tt>f-droid.org</tt> 的镜像。您可以点击
|
||||
这是 Android 自由软件目录 <span style="font-family: monospace;">f-droid.org</span> 的镜像。您可以点击
|
||||
<a href="?fingerprint=43238D512C1E5EB2D6569F4A3AFBF5523418B82E0A3ED1552770ABB9A9C9CCAB">
|
||||
此链接
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#5f6368"><path d="M680-80q-50 0-85-35t-35-85q0-6 3-28L282-392q-16 15-37 23.5t-45 8.5q-50 0-85-35t-35-85q0-50 35-85t85-35q24 0 45 8.5t37 23.5l281-164q-2-7-2.5-13.5T560-760q0-50 35-85t85-35q50 0 85 35t35 85q0 50-35 85t-85 35q-24 0-45-8.5T598-672L317-508q2 7 2.5 13.5t.5 14.5q0 8-.5 14.5T317-452l281 164q16-15 37-23.5t45-8.5q50 0 85 35t35 85q0 50-35 85t-85 35Zm0-80q17 0 28.5-11.5T720-200q0-17-11.5-28.5T680-240q-17 0-28.5 11.5T640-200q0 17 11.5 28.5T680-160ZM200-440q17 0 28.5-11.5T240-480q0-17-11.5-28.5T200-520q-17 0-28.5 11.5T160-480q0 17 11.5 28.5T200-440Zm480-280q17 0 28.5-11.5T720-760q0-17-11.5-28.5T680-800q-17 0-28.5 11.5T640-760q0 17 11.5 28.5T680-720Zm0 520ZM200-480Zm480-280Z"/></svg>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path d="M680-80q-50 0-85-35t-35-85q0-6 3-28L282-392q-16 15-37 23.5t-45 8.5q-50 0-85-35t-35-85q0-50 35-85t85-35q24 0 45 8.5t37 23.5l281-164q-2-7-2.5-13.5T560-760q0-50 35-85t85-35q50 0 85 35t35 85q0 50-35 85t-85 35q-24 0-45-8.5T598-672L317-508q2 7 2.5 13.5t.5 14.5q0 8-.5 14.5T317-452l281 164q16-15 37-23.5t45-8.5q50 0 85 35t35 85q0 50-35 85t-85 35Zm0-80q17 0 28.5-11.5T720-200q0-17-11.5-28.5T680-240q-17 0-28.5 11.5T640-200q0 17 11.5 28.5T680-160ZM200-440q17 0 28.5-11.5T240-480q0-17-11.5-28.5T200-520q-17 0-28.5 11.5T160-480q0 17 11.5 28.5T200-440Zm480-280q17 0 28.5-11.5T720-760q0-17-11.5-28.5T680-800q-17 0-28.5 11.5T640-760q0 17 11.5 28.5T680-720Zm0 520ZM200-480Zm480-280Z"/></svg>
|
||||
</a>
|
||||
将其添加到您的 F-Droid 客户端。
|
||||
</p>
|
||||
<p>如果你尚未安装 F-Droid 客户端,你可以直接从 <a href="https://f-droid.org">https://f-droid.org</a> 下载。</p>
|
||||
<details>
|
||||
<summary>我无法访问 <tt>f-droid.org</tt></summary>
|
||||
<p>对于首次安装的用户,<tt>f-droid.org</tt> 是官方下载地址,也应当始终是你的首选。如果你无法访问此网站,那么下方有其他选项。你将需要格外谨慎,确保使用你信任的来源。恶意行为者可能会将你带到有伪造及潜在恶意的 F-Droid 客户端。</p>
|
||||
<summary>我无法访问 <span style="font-family: monospace;">f-droid.org</span></summary>
|
||||
<p>对于首次安装的用户,<span style="font-family: monospace;">f-droid.org</span> 是官方下载地址,也应当始终是你的首选。如果你无法访问此网站,那么下方有其他选项。你将需要格外谨慎,确保使用你信任的来源。恶意行为者可能会将你带到有伪造及潜在恶意的 F-Droid 客户端。</p>
|
||||
<details>
|
||||
<summary>是的,我真的需要从其他来源下载。</summary>
|
||||
<p>这些替代来源由 F-Droid 团队提供,请验证它们正确:</p>
|
||||
|
|
|
|||
Loading…
Reference in a new issue