From 4bee6c7ca474bf426a8a1f7041ed3158c780f9f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Thu, 15 Feb 2024 14:56:55 +0100 Subject: [PATCH 1/2] Reorganize the gitignore --- .gitignore | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 1dc3852..a007ae5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,18 +1,24 @@ +# Temporary files *.swp +*.log *~ .DS_Store +.vscode/ +# Python files +venv/ +__pycache__/ +.mypy_cache/ + +# Github authentication files +/.github_* + +# yunohost specific cache/output dirs .apps_cache -builds -tools/README-generator/venv/ +builds* + tools/bot-repo-cleanup/.github_token tools/autoupdater-upgrader/.* tools/autopatches/login tools/autopatches/token - -.github_token - -__pycache__ -app_list_auto_update.log -venv From e02e54dc5f166786dd3586325d2b399476360fa4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Thu, 15 Feb 2024 14:57:57 +0100 Subject: [PATCH 2/2] =?UTF-8?q?Rename=20README-generator=20->=20readme=5Fg?= =?UTF-8?q?enerator=20because=20python=20tools=20hate=20caps=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- {README-generator => readme_generator}/README.md | 0 {README-generator => readme_generator}/__init__.py | 0 {README-generator => readme_generator}/make_readme.py | 0 {README-generator => readme_generator}/nginx.conf | 0 {README-generator => readme_generator}/requirements.txt | 0 .../templates/README.md.j2 | 5 ++--- .../templates/README_fr.md.j2 | 2 +- {README-generator => readme_generator}/webhook.py | 0 {README-generator => readme_generator}/webhook.service | 0 9 files changed, 3 insertions(+), 4 deletions(-) rename {README-generator => readme_generator}/README.md (100%) rename {README-generator => readme_generator}/__init__.py (100%) rename {README-generator => readme_generator}/make_readme.py (100%) rename {README-generator => readme_generator}/nginx.conf (100%) rename {README-generator => readme_generator}/requirements.txt (100%) rename {README-generator => readme_generator}/templates/README.md.j2 (96%) rename {README-generator => readme_generator}/templates/README_fr.md.j2 (98%) rename {README-generator => readme_generator}/webhook.py (100%) rename {README-generator => readme_generator}/webhook.service (100%) diff --git a/README-generator/README.md b/readme_generator/README.md similarity index 100% rename from README-generator/README.md rename to readme_generator/README.md diff --git a/README-generator/__init__.py b/readme_generator/__init__.py similarity index 100% rename from README-generator/__init__.py rename to readme_generator/__init__.py diff --git a/README-generator/make_readme.py b/readme_generator/make_readme.py similarity index 100% rename from README-generator/make_readme.py rename to readme_generator/make_readme.py diff --git a/README-generator/nginx.conf b/readme_generator/nginx.conf similarity index 100% rename from README-generator/nginx.conf rename to readme_generator/nginx.conf diff --git a/README-generator/requirements.txt b/readme_generator/requirements.txt similarity index 100% rename from README-generator/requirements.txt rename to readme_generator/requirements.txt diff --git a/README-generator/templates/README.md.j2 b/readme_generator/templates/README.md.j2 similarity index 96% rename from README-generator/templates/README.md.j2 rename to readme_generator/templates/README.md.j2 index 6786d70..d1988c2 100644 --- a/README-generator/templates/README.md.j2 +++ b/readme_generator/templates/README.md.j2 @@ -7,13 +7,13 @@ * Using the [script helpers documentation.](https://yunohost.org/packaging_apps_helpers) * Add a `LICENSE` file for the package. * Edit `doc/DISCLAIMER*.md` -* The `README.md` files are to be automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator +* The `README.md` files are to be automatically generated by https://github.com/YunoHost/apps/tree/master/tools/readme_generator --- {% endif -%} @@ -88,4 +88,3 @@ sudo yunohost app upgrade {{manifest.id}} -u https://github.com/YunoHost-Apps/{{ ``` **More info regarding app packaging:** - diff --git a/README-generator/templates/README_fr.md.j2 b/readme_generator/templates/README_fr.md.j2 similarity index 98% rename from README-generator/templates/README_fr.md.j2 rename to readme_generator/templates/README_fr.md.j2 index bd36dae..6fa53b6 100644 --- a/README-generator/templates/README_fr.md.j2 +++ b/readme_generator/templates/README_fr.md.j2 @@ -1,5 +1,5 @@ diff --git a/README-generator/webhook.py b/readme_generator/webhook.py similarity index 100% rename from README-generator/webhook.py rename to readme_generator/webhook.py diff --git a/README-generator/webhook.service b/readme_generator/webhook.service similarity index 100% rename from README-generator/webhook.service rename to readme_generator/webhook.service