From c7b5b9e6dd21adaca8c386ba541fb48734e94e6f Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Mon, 16 Sep 2024 21:40:49 +0300 Subject: [PATCH] Hardcode repository urls to untie templates from the config and simplify migration to rust --- repologyapp/templates/_base.html | 6 +++--- repologyapp/templates/docs/about.html | 6 +++--- repologyapp/templates/docs/bots.html | 10 +++++----- repologyapp/templates/project/report.html | 2 +- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/repologyapp/templates/_base.html b/repologyapp/templates/_base.html index e839cc6b..f55a10b7 100644 --- a/repologyapp/templates/_base.html +++ b/repologyapp/templates/_base.html @@ -91,9 +91,9 @@

{% block header %}{% endblock %}

Copyright (C) 2016-2024 Dmitry Marakasov <>.
diff --git a/repologyapp/templates/docs/about.html b/repologyapp/templates/docs/about.html index 9c61f821..a5e0a5e9 100644 --- a/repologyapp/templates/docs/about.html +++ b/repologyapp/templates/docs/about.html @@ -76,9 +76,9 @@

Development

Repology is developed on GitHub.

Junior tasks include proofreading English texts (README, html templates), finding more mismatched packages and adding name transformation rules for them.

diff --git a/repologyapp/templates/docs/bots.html b/repologyapp/templates/docs/bots.html index 7b20b961..4f3c6160 100644 --- a/repologyapp/templates/docs/bots.html +++ b/repologyapp/templates/docs/bots.html @@ -31,13 +31,13 @@

repology-fetcher

fetches files it needs sequentially (e.g. it never does parallel requests).

You may find metadata on which repositories are fetched -here +here and the fetcher code -here. +here.

If you think the robot creates excess load on your site, feel free to drop an -issue in the GitHub. +issue in the GitHub. If Repology gets information on your repository through web API, we'd greatly appreciate if you provide a regular dump of package information from your repository (data used by Repology include package name, version, one-line summary, list of maintainers, @@ -64,7 +64,7 @@

repology-linkchecker

consecutive requests to a single hostname, to ensure no excess site load is generated.

You may see the link checker source code -here.

+here.

repology-vulnupdater

@@ -77,7 +77,7 @@

repology-vulnupdater

are used to avoid refetching the files if they have not changed since the last request.

You may see the vulnupdater's source code -here.

+here.

robots.txt policy

diff --git a/repologyapp/templates/project/report.html b/repologyapp/templates/project/report.html index e564b0a1..7add9e7e 100644 --- a/repologyapp/templates/project/report.html +++ b/repologyapp/templates/project/report.html @@ -21,7 +21,7 @@
  • Some packages may use incorrect versions (for instance, picking "next" version number which was not released yet when packaging a git snapshot, or using dates and commit hashes instead of version numbers).
  • -

    Repology uses a set of manually edited rules to resolve these cases. You may submit a change to the ruleset directly or use this form to suggest an improvement to the ruleset. Please only use this for problems which may be fixed by the ruleset (which are basically problems listed above).

    +

    Repology uses a set of manually edited rules to resolve these cases. You may submit a change to the ruleset directly or use this form to suggest an improvement to the ruleset. Please only use this for problems which may be fixed by the ruleset (which are basically problems listed above).

    {% else %}{# metapackage and metapackage.num_repos > 0 #}