From 18b37779cfc2dbca900c2d160a2a42d8513c6730 Mon Sep 17 00:00:00 2001 From: oleole39 <59071673+oleole39@users.noreply.github.com> Date: Fri, 4 Apr 2025 05:49:16 +0200 Subject: [PATCH 1/7] Readme - make logo bigger, center top part, make version text selectable, add CI badge --- readme_generator/README.md.j2 | 13 ++++++++----- readme_generator/tests/README.md | 15 +++++++++------ 2 files changed, 17 insertions(+), 11 deletions(-) diff --git a/readme_generator/README.md.j2 b/readme_generator/README.md.j2 index f03bacdc..17b73dfe 100644 --- a/readme_generator/README.md.j2 +++ b/readme_generator/README.md.j2 @@ -20,18 +20,21 @@ N.B.: This README was automatically generated by -

- Logo of {{manifest.name}} +

{{ manifest.name }}, packaged for YunoHost

+
+Logo of {{manifest.name}} + {{ manifest.description['en'] }} -{% if manifest.upstream.website %}[![🌐 Official app website](https://img.shields.io/badge/Official_app_website-darkgreen?style=for-the-badge)]({{manifest.upstream.website}}) +Version  {{ manifest.version}} + +{% if manifest.upstream.website %}[![🌐 Official app website](https://img.shields.io/badge/Official_app_website-009600?style=for-the-badge)]({{manifest.upstream.website}}) {% endif %}{% if manifest.upstream.demo %}[![App Demo](https://img.shields.io/badge/App_Demo-blue?style=for-the-badge)]({{manifest.upstream.demo}}) -{% endif %}![Version: {{ manifest.version}}](https://img.shields.io/badge/Version-{{manifest.version|replace("-", "--")}}-rgba(0,150,0,1)?style=for-the-badge) +{% endif %} -
diff --git a/readme_generator/tests/README.md b/readme_generator/tests/README.md index 0435fc17..71f1d9b7 100644 --- a/readme_generator/tests/README.md +++ b/readme_generator/tests/README.md @@ -3,17 +3,20 @@ N.B.: This README was automatically generated by -

- Logo of GoToSocial +

GoToSocial, packaged for YunoHost

+
+Logo of GoToSocial + Fast ActivityPub social network server written in Go -[![🌐 Official app website](https://img.shields.io/badge/Official_app_website-darkgreen?style=for-the-badge)](https://gotosocial.org/) -![Version: 0.13.3~ynh1](https://img.shields.io/badge/Version-0.13.3~ynh1-rgba(0,150,0,1)?style=for-the-badge) +Version  0.13.3~ynh1 + +[![🌐 Official app website](https://img.shields.io/badge/Official_app_website-009600?style=for-the-badge)](https://gotosocial.org/) +[![CI: Level 7](https://img.shields.io/badge/Automatic%20test%20results-Level%207-009600?style=for-the-badge)](https://ci-apps.yunohost.org/ci/apps/gotosocial) -
@@ -35,4 +38,4 @@ sudo yunohost app upgrade gotosocial -u https://github.com/YunoHost-Apps/gotosoc ### 📚 App packaging documentation -Please see for more information. \ No newline at end of file +Please see for more information. From e678b63646e7374edd76496abb3e941e9237b25d Mon Sep 17 00:00:00 2001 From: oleole39 <59071673+oleole39@users.noreply.github.com> Date: Fri, 4 Apr 2025 06:01:06 +0200 Subject: [PATCH 2/7] improve version alignment --- readme_generator/tests/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme_generator/tests/README.md b/readme_generator/tests/README.md index 71f1d9b7..d014d690 100644 --- a/readme_generator/tests/README.md +++ b/readme_generator/tests/README.md @@ -12,7 +12,7 @@ It shall NOT be edited by hand. Fast ActivityPub social network server written in Go -Version  0.13.3~ynh1 +Version  0.13.3~ynh1 [![🌐 Official app website](https://img.shields.io/badge/Official_app_website-009600?style=for-the-badge)](https://gotosocial.org/) [![CI: Level 7](https://img.shields.io/badge/Automatic%20test%20results-Level%207-009600?style=for-the-badge)](https://ci-apps.yunohost.org/ci/apps/gotosocial) From 91f92b829d3ecbae159024d851cd19b3af4ed894 Mon Sep 17 00:00:00 2001 From: oleole39 <59071673+oleole39@users.noreply.github.com> Date: Fri, 4 Apr 2025 06:02:32 +0200 Subject: [PATCH 3/7] improve version alignment in template --- readme_generator/README.md.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme_generator/README.md.j2 b/readme_generator/README.md.j2 index 17b73dfe..9e946273 100644 --- a/readme_generator/README.md.j2 +++ b/readme_generator/README.md.j2 @@ -29,7 +29,7 @@ It shall NOT be edited by hand. {{ manifest.description['en'] }} -Version  {{ manifest.version}} +Version  {{ manifest.version}} {% if manifest.upstream.website %}[![🌐 Official app website](https://img.shields.io/badge/Official_app_website-009600?style=for-the-badge)]({{manifest.upstream.website}}) {% endif %}{% if manifest.upstream.demo %}[![App Demo](https://img.shields.io/badge/App_Demo-blue?style=for-the-badge)]({{manifest.upstream.demo}}) From 36f714033e2abda06c530f6aa710c97ab86917a3 Mon Sep 17 00:00:00 2001 From: oleole39 <59071673+oleole39@users.noreply.github.com> Date: Fri, 4 Apr 2025 06:20:32 +0200 Subject: [PATCH 4/7] with CI button --- readme_generator/README.md.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme_generator/README.md.j2 b/readme_generator/README.md.j2 index 9e946273..ba98c7f7 100644 --- a/readme_generator/README.md.j2 +++ b/readme_generator/README.md.j2 @@ -33,7 +33,7 @@ It shall NOT be edited by hand. {% if manifest.upstream.website %}[![🌐 Official app website](https://img.shields.io/badge/Official_app_website-009600?style=for-the-badge)]({{manifest.upstream.website}}) {% endif %}{% if manifest.upstream.demo %}[![App Demo](https://img.shields.io/badge/App_Demo-blue?style=for-the-badge)]({{manifest.upstream.demo}}) -{% endif %} +{% endif %}[![CI level](https://img.shields.io/badge/Automatic%20test%20results-Level%20{{ CI.level }}-009600?style=for-the-badge)](https://ci-apps.yunohost.org/ci/apps/{{ manifest.id }}) From 24d4cd791e9536b80d836058e5ff28a67fe0027d Mon Sep 17 00:00:00 2001 From: oleole39 <59071673+oleole39@users.noreply.github.com> Date: Fri, 4 Apr 2025 06:46:25 +0200 Subject: [PATCH 5/7] CI link requires trailing slash --- readme_generator/README.md.j2 | 2 +- readme_generator/tests/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/readme_generator/README.md.j2 b/readme_generator/README.md.j2 index ba98c7f7..cff3461b 100644 --- a/readme_generator/README.md.j2 +++ b/readme_generator/README.md.j2 @@ -33,7 +33,7 @@ It shall NOT be edited by hand. {% if manifest.upstream.website %}[![🌐 Official app website](https://img.shields.io/badge/Official_app_website-009600?style=for-the-badge)]({{manifest.upstream.website}}) {% endif %}{% if manifest.upstream.demo %}[![App Demo](https://img.shields.io/badge/App_Demo-blue?style=for-the-badge)]({{manifest.upstream.demo}}) -{% endif %}[![CI level](https://img.shields.io/badge/Automatic%20test%20results-Level%20{{ CI.level }}-009600?style=for-the-badge)](https://ci-apps.yunohost.org/ci/apps/{{ manifest.id }}) +{% endif %}[![CI level](https://img.shields.io/badge/Automatic%20test%20results-Level%20{{ CI.level }}-009600?style=for-the-badge)](https://ci-apps.yunohost.org/ci/apps/{{ manifest.id }}/) diff --git a/readme_generator/tests/README.md b/readme_generator/tests/README.md index d014d690..e62fbc08 100644 --- a/readme_generator/tests/README.md +++ b/readme_generator/tests/README.md @@ -15,7 +15,7 @@ Fast ActivityPub social network server written in Go Version  0.13.3~ynh1 [![🌐 Official app website](https://img.shields.io/badge/Official_app_website-009600?style=for-the-badge)](https://gotosocial.org/) -[![CI: Level 7](https://img.shields.io/badge/Automatic%20test%20results-Level%207-009600?style=for-the-badge)](https://ci-apps.yunohost.org/ci/apps/gotosocial) +[![CI: Level 7](https://img.shields.io/badge/Automatic%20test%20results-Level%207-009600?style=for-the-badge)](https://ci-apps.yunohost.org/ci/apps/gotosocial/) From dc0daf425f09c90b654f856f61edcc258a2e22c5 Mon Sep 17 00:00:00 2001 From: oleole39 <59071673+oleole39@users.noreply.github.com> Date: Fri, 4 Apr 2025 14:53:37 +0200 Subject: [PATCH 6/7] remove link from version badge --- readme_generator/README.md.j2 | 2 +- readme_generator/tests/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/readme_generator/README.md.j2 b/readme_generator/README.md.j2 index cff3461b..ab9624b5 100644 --- a/readme_generator/README.md.j2 +++ b/readme_generator/README.md.j2 @@ -29,7 +29,7 @@ It shall NOT be edited by hand. {{ manifest.description['en'] }} -Version  {{ manifest.version}} +Version  {{ manifest.version}} {% if manifest.upstream.website %}[![🌐 Official app website](https://img.shields.io/badge/Official_app_website-009600?style=for-the-badge)]({{manifest.upstream.website}}) {% endif %}{% if manifest.upstream.demo %}[![App Demo](https://img.shields.io/badge/App_Demo-blue?style=for-the-badge)]({{manifest.upstream.demo}}) diff --git a/readme_generator/tests/README.md b/readme_generator/tests/README.md index e62fbc08..2ec01b75 100644 --- a/readme_generator/tests/README.md +++ b/readme_generator/tests/README.md @@ -12,7 +12,7 @@ It shall NOT be edited by hand. Fast ActivityPub social network server written in Go -Version  0.13.3~ynh1 +Version  0.13.3~ynh1 [![🌐 Official app website](https://img.shields.io/badge/Official_app_website-009600?style=for-the-badge)](https://gotosocial.org/) [![CI: Level 7](https://img.shields.io/badge/Automatic%20test%20results-Level%207-009600?style=for-the-badge)](https://ci-apps.yunohost.org/ci/apps/gotosocial/) From 65dd23c7d13a2d4b61d074d8e9f614bcb474636c Mon Sep 17 00:00:00 2001 From: oleole39 <59071673+oleole39@users.noreply.github.com> Date: Mon, 7 Apr 2025 14:55:09 +0200 Subject: [PATCH 7/7] add correct CI badge in dev section --- readme_generator/README.md.j2 | 3 ++- readme_generator/tests/README.md | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/readme_generator/README.md.j2 b/readme_generator/README.md.j2 index ab9624b5..87f93a64 100644 --- a/readme_generator/README.md.j2 +++ b/readme_generator/README.md.j2 @@ -33,7 +33,6 @@ It shall NOT be edited by hand. {% if manifest.upstream.website %}[![🌐 Official app website](https://img.shields.io/badge/Official_app_website-009600?style=for-the-badge)]({{manifest.upstream.website}}) {% endif %}{% if manifest.upstream.demo %}[![App Demo](https://img.shields.io/badge/App_Demo-blue?style=for-the-badge)]({{manifest.upstream.demo}}) -{% endif %}[![CI level](https://img.shields.io/badge/Automatic%20test%20results-Level%20{{ CI.level }}-009600?style=for-the-badge)](https://ci-apps.yunohost.org/ci/apps/{{ manifest.id }}/) @@ -41,6 +40,8 @@ It shall NOT be edited by hand. ## 📦 Developer info +[![Automatic tests level](https://apps.yunohost.org/badge/cilevel/{{ manifest.id }})](https://ci-apps.yunohost.org/ci/apps/{{ manifest.id }}/) + 🛠️ Upstream {{manifest.name}} repository: <{{manifest.upstream.code}}> Pull request are welcome and should target the [`testing` branch](https://github.com/YunoHost-Apps/{{manifest.id}}_ynh/tree/testing). diff --git a/readme_generator/tests/README.md b/readme_generator/tests/README.md index 2ec01b75..f28ca02b 100644 --- a/readme_generator/tests/README.md +++ b/readme_generator/tests/README.md @@ -14,8 +14,7 @@ Fast ActivityPub social network server written in Go Version  0.13.3~ynh1 -[![🌐 Official app website](https://img.shields.io/badge/Official_app_website-009600?style=for-the-badge)](https://gotosocial.org/) -[![CI: Level 7](https://img.shields.io/badge/Automatic%20test%20results-Level%207-009600?style=for-the-badge)](https://ci-apps.yunohost.org/ci/apps/gotosocial/) +[![🌐 Official app website](https://img.shields.io/badge/Official_app_website-009600?style=for-the-badge)](https://gotosocial.org/) @@ -23,6 +22,8 @@ Fast ActivityPub social network server written in Go ## 📦 Developer info +[![Automatic tests level](https://apps.yunohost.org/badge/cilevel/gotosocial)](https://ci-apps.yunohost.org/ci/apps/gotosocial/) + 🛠️ Upstream GoToSocial repository: Pull request are welcome and should target the [`testing` branch](https://github.com/YunoHost-Apps/gotosocial_ynh/tree/testing).