From 0cc4b85df4cabe1c8163f5182fd48090cf2080ba Mon Sep 17 00:00:00 2001 From: ShadowDara <128976697+ShadowDara@users.noreply.github.com> Date: Sun, 13 Sep 2026 22:31:51 +0200 Subject: [PATCH 01/62] Improve changelog generation Use execFileSync for safer git command execution and wrap generated changelog output in a collapsible details block. This avoids shell quoting issues, keeps the output cleaner, and makes recent commit history easier to read in the generated changelog. --- generate-changelog.js | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/generate-changelog.js b/generate-changelog.js index c2225c08..6e18cc49 100644 --- a/generate-changelog.js +++ b/generate-changelog.js @@ -1,22 +1,30 @@ -const { execSync } = require("node:child_process"); +const { execFileSync } = require("node:child_process"); const { writeFileSync } = require("node:fs"); try { - const lastTag = execSync("git describe --tags --abbrev=0", { + const lastTag = execFileSync("git", ["describe", "--tags", "--abbrev=0"], { encoding: "utf8", }).trim(); - const command = `git log ${lastTag}..HEAD --no-merges --pretty=format:"- _[%h](https://github.com/shadowdara/finder/tree/%H)_ %s%n%b"`; + const format = + "- _[%h](https://github.com/shadowdara/finder/tree/%H)_ %s%n%b"; + + const commits = execFileSync( + "git", + ["log", `${lastTag}..HEAD`, "--no-merges", `--pretty=format:${format}`], + { encoding: "utf8" }, + ).trim(); const output = - "# Newest Changes \n\n" + - execSync(command, { - encoding: "utf8", - }).trim(); + "# Newest Changes\n\n" + + "
\n" + + "Commits\n\n" + + commits + + "\n\n
\n"; - writeFileSync("Newest_Changes.md", output + "\n", "utf8"); + writeFileSync("Newest_Changes.md", output, "utf8"); - console.log(`Changelog erstellt: Newest_Changes.md`); + console.log("Changelog erstellt: Newest_Changes.md"); console.log(`Seit Tag: ${lastTag}`); } catch (error) { console.error("Fehler beim Erstellen des Changelogs:"); From 3d4c3d0cb2144ae0e559a83538a7ffaa1d0f1821 Mon Sep 17 00:00:00 2001 From: ShadowDara <128976697+ShadowDara@users.noreply.github.com> Date: Sun, 13 Sep 2026 23:08:46 +0200 Subject: [PATCH 02/62] Add template issue and build updates Refreshes the repo's GitHub issue and PR templates to cover bug reports, feature requests, and new Finder templates with clearer validation guidance. It also adds a dedicated template issue form, updates the language metadata in .gitattributes, and extends the Windows build script to compile and report the CSF binary. --- .gitattributes | 8 +- .github/ISSUE_TEMPLATE/bug_report.yml | 46 +++++++++-- .github/ISSUE_TEMPLATE/feature_request.yml | 14 +++- .github/ISSUE_TEMPLATE/new_template.yml | 91 ++++++++++++++++++++++ .github/PULL_REQUEST_TEMPLATE.md | 44 ++++++++++- build.bat | 9 ++- 6 files changed, 192 insertions(+), 20 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/new_template.yml diff --git a/.gitattributes b/.gitattributes index b53d643a..0d68cdfd 100644 --- a/.gitattributes +++ b/.gitattributes @@ -9,9 +9,9 @@ # mark samfile as shell samfile linguist-language=Shell -go.work linguist-language=go -go.mod linguist-language=go -go.sum linguist-language=go +go.work linguist-language=Go +go.mod linguist-language=Go +go.sum linguist-language=Go docker-compose.yml linguist-language=Dockerfile @@ -29,3 +29,5 @@ docker-compose.yml linguist-language=Dockerfile /npm/site/src/templates.js linguist-vendored /.obsidian/** linguist-vendored + +/install2.sh linguist-vendored diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index dba7baf5..20f81cff 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -6,29 +6,61 @@ body: - type: markdown attributes: value: | - Thanks for taking the time to file a bug report! Please answer the questions below. - - type: input + Thanks for taking the time to file a bug report! Please fill in as much detail as you can. + + - type: textarea id: description attributes: label: Describe the bug description: What did you expect to happen? What happened instead? placeholder: "Detailed bug description" + validations: required: true - - type: input + + - type: textarea id: steps attributes: label: Steps to Reproduce description: Provide step-by-step instructions to reproduce the bug placeholder: | - 1. … - 2. … + 1. Run `./finder