diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-04-02 14:46:44 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-04-02 14:46:44 +0200 |
commit | 62608badf7230afa5e4ebe72da5cb2522bfb33a4 (patch) | |
tree | 0031a7058e53c34dfd764d4c1615463d8e3ddf63 | |
parent | fix(templates/latex/flake.nix): Keep the PDF file extensions when building (diff) | |
download | flake-templates-62608badf7230afa5e4ebe72da5cb2522bfb33a4.tar.gz flake-templates-62608badf7230afa5e4ebe72da5cb2522bfb33a4.zip |
chore(version): v0.6.1
-rw-r--r-- | NEWS.md | 10 | ||||
-rw-r--r-- | templates/awk/.licensure.yml | 4 | ||||
-rw-r--r-- | templates/awk/docs/%INIT_APPLICATION_NAME.1.md | 2 | ||||
-rwxr-xr-x | templates/awk/init | 4 | ||||
-rw-r--r-- | templates/awk/treefmt.nix | 1 | ||||
-rw-r--r-- | templates/c/.licensure.yml | 4 | ||||
-rw-r--r-- | templates/c/docs/%INIT_APPLICATION_NAME.1.md | 2 | ||||
-rwxr-xr-x | templates/c/init | 4 | ||||
-rw-r--r-- | templates/c/treefmt.nix | 1 | ||||
-rw-r--r-- | templates/latex/.licensure.yml | 4 | ||||
-rwxr-xr-x | templates/latex/init | 4 | ||||
-rw-r--r-- | templates/latex/treefmt.nix | 1 | ||||
-rw-r--r-- | templates/rust/.licensure.yml | 4 | ||||
-rw-r--r-- | templates/rust/docs/%INIT_APPLICATION_NAME.1.md | 2 | ||||
-rwxr-xr-x | templates/rust/init | 4 | ||||
-rw-r--r-- | templates/rust/treefmt.nix | 1 | ||||
-rw-r--r-- | templates/shell/.licensure.yml | 4 | ||||
-rw-r--r-- | templates/shell/docs/%INIT_APPLICATION_NAME.1.md | 2 | ||||
-rwxr-xr-x | templates/shell/init | 4 | ||||
-rw-r--r-- | templates/shell/treefmt.nix | 1 |
20 files changed, 34 insertions, 29 deletions
diff --git a/NEWS.md b/NEWS.md index 8271fe7..a61b1da 100644 --- a/NEWS.md +++ b/NEWS.md @@ -2,6 +2,16 @@ All notable changes to this project will be documented in this file. See [conventional commits](https://www.conventionalcommits.org/) for commit guidelines. - - - +## [v0.6.1](https://codeberg.org/soispha/flake-templates/compare/69c3dcc9d2bd5b506b44f2837e5be25e76b4e7c9..v0.6.1) - 2024-04-02 +#### Bug Fixes +- **(common/files/.licensure.yml)** Correct typos for init variables - ([69c3dcc](https://codeberg.org/soispha/flake-templates/commit/69c3dcc9d2bd5b506b44f2837e5be25e76b4e7c9)) - [@bpeetz](https://codeberg.org/bpeetz) +- **(common/files/docs/)** Also correct a typo in the manual template - ([dd98a3a](https://codeberg.org/soispha/flake-templates/commit/dd98a3a4ea298dea3b07d9ba9e1fcf83c82c1868)) - [@bpeetz](https://codeberg.org/bpeetz) +- **(common/files/init)** Replace the variables globally - ([8007666](https://codeberg.org/soispha/flake-templates/commit/80076665c1bc3f8bf28f36ba779f4dfb8a341a78)) - [@bpeetz](https://codeberg.org/bpeetz) +- **(templates/latex/flake.nix)** Keep the PDF file extensions when building - ([91a3fbd](https://codeberg.org/soispha/flake-templates/commit/91a3fbda6b2496d5b6220c7309548cf30bdc7fcf)) - [@bpeetz](https://codeberg.org/bpeetz) +- **(treefmt.nix)** Only ignore the manual template in this repo - ([05454c0](https://codeberg.org/soispha/flake-templates/commit/05454c0a228c81b37f4718433bbd57578a2a44a6)) - [@bpeetz](https://codeberg.org/bpeetz) + +- - - + ## [v0.6.0](https://codeberg.org/soispha/flake-templates/compare/7a366a44cf7f0aa2cb3471b9b03a83acba157707..v0.6.0) - 2024-04-02 #### Bug Fixes - **(common)** Remove the last occurrences of hard coded values - ([c800a8a](https://codeberg.org/soispha/flake-templates/commit/c800a8a50092df687f338fe8c48fb158ffd15210)) - [@bpeetz](https://codeberg.org/bpeetz) diff --git a/templates/awk/.licensure.yml b/templates/awk/.licensure.yml index 60ef45c..639d750 100644 --- a/templates/awk/.licensure.yml +++ b/templates/awk/.licensure.yml @@ -22,10 +22,10 @@ licenses: email: "%INIT_AUTHOR_EMAIL" template: | - %INIT_APPLIACATION_NAME_STYLIZED %INIT_YEAR - [year] (C) by [name of author] + %INIT_APPLICATION_NAME_STYLIZED %INIT_YEAR - [year] (C) by [name of author] SPDX-License-Identifier: CC-BY-SA-4.0 - %INIT_APPLIACATION_NAME_STYLIZED is licensed under a + %INIT_APPLICATION_NAME_STYLIZED is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. You should have received a copy of the license along with this diff --git a/templates/awk/docs/%INIT_APPLICATION_NAME.1.md b/templates/awk/docs/%INIT_APPLICATION_NAME.1.md index 0a7ec9d..e044647 100644 --- a/templates/awk/docs/%INIT_APPLICATION_NAME.1.md +++ b/templates/awk/docs/%INIT_APPLICATION_NAME.1.md @@ -38,7 +38,7 @@ Report bugs to <https://%INIT_REMOTE/%INIT_OWNER/%INIT_REPOSITORY/issues>. # COPYRIGHT -Copyright (C) %INIT_YEAR %INIT_AUTOHR_NAME +Copyright (C) %INIT_YEAR %INIT_AUTHOR_NAME This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/templates/awk/init b/templates/awk/init index df0b4c5..e7414d6 100755 --- a/templates/awk/init +++ b/templates/awk/init @@ -78,11 +78,11 @@ while read -r var; do var_value="${var#*=\"}" var_value="${var_value%\"}" - fd . --hidden --type file --exec sed --in-place "s|%\bINIT_$var_name\b|$var_value|" + fd . --hidden --type file --exec sed --in-place "s|%\bINIT_$var_name\b|$var_value|g" # Replace the variable in file paths fd "%INIT_$var_name" . --hidden | while read -r file_path; do - new_file_path="$(echo "$file_path" | sed "s|%INIT_$var_name|$var_value|")"; + new_file_path="$(echo "$file_path" | sed "s|%INIT_$var_name|$var_value|g")"; mv "$file_path" "$new_file_path" done done < "$replacement_file" diff --git a/templates/awk/treefmt.nix b/templates/awk/treefmt.nix index 540a6ca..1cbab40 100644 --- a/templates/awk/treefmt.nix +++ b/templates/awk/treefmt.nix @@ -59,7 +59,6 @@ treefmt-nix.lib.evalModule pkgs ( global.excludes = [ "CHANGELOG.md" "NEWS.md" - "%INIT_APPLICATION_NAME.1.md" ]; formatter = { clang-format = { diff --git a/templates/c/.licensure.yml b/templates/c/.licensure.yml index 60ef45c..639d750 100644 --- a/templates/c/.licensure.yml +++ b/templates/c/.licensure.yml @@ -22,10 +22,10 @@ licenses: email: "%INIT_AUTHOR_EMAIL" template: | - %INIT_APPLIACATION_NAME_STYLIZED %INIT_YEAR - [year] (C) by [name of author] + %INIT_APPLICATION_NAME_STYLIZED %INIT_YEAR - [year] (C) by [name of author] SPDX-License-Identifier: CC-BY-SA-4.0 - %INIT_APPLIACATION_NAME_STYLIZED is licensed under a + %INIT_APPLICATION_NAME_STYLIZED is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. You should have received a copy of the license along with this diff --git a/templates/c/docs/%INIT_APPLICATION_NAME.1.md b/templates/c/docs/%INIT_APPLICATION_NAME.1.md index 0a7ec9d..e044647 100644 --- a/templates/c/docs/%INIT_APPLICATION_NAME.1.md +++ b/templates/c/docs/%INIT_APPLICATION_NAME.1.md @@ -38,7 +38,7 @@ Report bugs to <https://%INIT_REMOTE/%INIT_OWNER/%INIT_REPOSITORY/issues>. # COPYRIGHT -Copyright (C) %INIT_YEAR %INIT_AUTOHR_NAME +Copyright (C) %INIT_YEAR %INIT_AUTHOR_NAME This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/templates/c/init b/templates/c/init index df0b4c5..e7414d6 100755 --- a/templates/c/init +++ b/templates/c/init @@ -78,11 +78,11 @@ while read -r var; do var_value="${var#*=\"}" var_value="${var_value%\"}" - fd . --hidden --type file --exec sed --in-place "s|%\bINIT_$var_name\b|$var_value|" + fd . --hidden --type file --exec sed --in-place "s|%\bINIT_$var_name\b|$var_value|g" # Replace the variable in file paths fd "%INIT_$var_name" . --hidden | while read -r file_path; do - new_file_path="$(echo "$file_path" | sed "s|%INIT_$var_name|$var_value|")"; + new_file_path="$(echo "$file_path" | sed "s|%INIT_$var_name|$var_value|g")"; mv "$file_path" "$new_file_path" done done < "$replacement_file" diff --git a/templates/c/treefmt.nix b/templates/c/treefmt.nix index 540a6ca..1cbab40 100644 --- a/templates/c/treefmt.nix +++ b/templates/c/treefmt.nix @@ -59,7 +59,6 @@ treefmt-nix.lib.evalModule pkgs ( global.excludes = [ "CHANGELOG.md" "NEWS.md" - "%INIT_APPLICATION_NAME.1.md" ]; formatter = { clang-format = { diff --git a/templates/latex/.licensure.yml b/templates/latex/.licensure.yml index 60ef45c..639d750 100644 --- a/templates/latex/.licensure.yml +++ b/templates/latex/.licensure.yml @@ -22,10 +22,10 @@ licenses: email: "%INIT_AUTHOR_EMAIL" template: | - %INIT_APPLIACATION_NAME_STYLIZED %INIT_YEAR - [year] (C) by [name of author] + %INIT_APPLICATION_NAME_STYLIZED %INIT_YEAR - [year] (C) by [name of author] SPDX-License-Identifier: CC-BY-SA-4.0 - %INIT_APPLIACATION_NAME_STYLIZED is licensed under a + %INIT_APPLICATION_NAME_STYLIZED is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. You should have received a copy of the license along with this diff --git a/templates/latex/init b/templates/latex/init index df0b4c5..e7414d6 100755 --- a/templates/latex/init +++ b/templates/latex/init @@ -78,11 +78,11 @@ while read -r var; do var_value="${var#*=\"}" var_value="${var_value%\"}" - fd . --hidden --type file --exec sed --in-place "s|%\bINIT_$var_name\b|$var_value|" + fd . --hidden --type file --exec sed --in-place "s|%\bINIT_$var_name\b|$var_value|g" # Replace the variable in file paths fd "%INIT_$var_name" . --hidden | while read -r file_path; do - new_file_path="$(echo "$file_path" | sed "s|%INIT_$var_name|$var_value|")"; + new_file_path="$(echo "$file_path" | sed "s|%INIT_$var_name|$var_value|g")"; mv "$file_path" "$new_file_path" done done < "$replacement_file" diff --git a/templates/latex/treefmt.nix b/templates/latex/treefmt.nix index 540a6ca..1cbab40 100644 --- a/templates/latex/treefmt.nix +++ b/templates/latex/treefmt.nix @@ -59,7 +59,6 @@ treefmt-nix.lib.evalModule pkgs ( global.excludes = [ "CHANGELOG.md" "NEWS.md" - "%INIT_APPLICATION_NAME.1.md" ]; formatter = { clang-format = { diff --git a/templates/rust/.licensure.yml b/templates/rust/.licensure.yml index 60ef45c..639d750 100644 --- a/templates/rust/.licensure.yml +++ b/templates/rust/.licensure.yml @@ -22,10 +22,10 @@ licenses: email: "%INIT_AUTHOR_EMAIL" template: | - %INIT_APPLIACATION_NAME_STYLIZED %INIT_YEAR - [year] (C) by [name of author] + %INIT_APPLICATION_NAME_STYLIZED %INIT_YEAR - [year] (C) by [name of author] SPDX-License-Identifier: CC-BY-SA-4.0 - %INIT_APPLIACATION_NAME_STYLIZED is licensed under a + %INIT_APPLICATION_NAME_STYLIZED is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. You should have received a copy of the license along with this diff --git a/templates/rust/docs/%INIT_APPLICATION_NAME.1.md b/templates/rust/docs/%INIT_APPLICATION_NAME.1.md index 0a7ec9d..e044647 100644 --- a/templates/rust/docs/%INIT_APPLICATION_NAME.1.md +++ b/templates/rust/docs/%INIT_APPLICATION_NAME.1.md @@ -38,7 +38,7 @@ Report bugs to <https://%INIT_REMOTE/%INIT_OWNER/%INIT_REPOSITORY/issues>. # COPYRIGHT -Copyright (C) %INIT_YEAR %INIT_AUTOHR_NAME +Copyright (C) %INIT_YEAR %INIT_AUTHOR_NAME This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/templates/rust/init b/templates/rust/init index df0b4c5..e7414d6 100755 --- a/templates/rust/init +++ b/templates/rust/init @@ -78,11 +78,11 @@ while read -r var; do var_value="${var#*=\"}" var_value="${var_value%\"}" - fd . --hidden --type file --exec sed --in-place "s|%\bINIT_$var_name\b|$var_value|" + fd . --hidden --type file --exec sed --in-place "s|%\bINIT_$var_name\b|$var_value|g" # Replace the variable in file paths fd "%INIT_$var_name" . --hidden | while read -r file_path; do - new_file_path="$(echo "$file_path" | sed "s|%INIT_$var_name|$var_value|")"; + new_file_path="$(echo "$file_path" | sed "s|%INIT_$var_name|$var_value|g")"; mv "$file_path" "$new_file_path" done done < "$replacement_file" diff --git a/templates/rust/treefmt.nix b/templates/rust/treefmt.nix index 540a6ca..1cbab40 100644 --- a/templates/rust/treefmt.nix +++ b/templates/rust/treefmt.nix @@ -59,7 +59,6 @@ treefmt-nix.lib.evalModule pkgs ( global.excludes = [ "CHANGELOG.md" "NEWS.md" - "%INIT_APPLICATION_NAME.1.md" ]; formatter = { clang-format = { diff --git a/templates/shell/.licensure.yml b/templates/shell/.licensure.yml index 60ef45c..639d750 100644 --- a/templates/shell/.licensure.yml +++ b/templates/shell/.licensure.yml @@ -22,10 +22,10 @@ licenses: email: "%INIT_AUTHOR_EMAIL" template: | - %INIT_APPLIACATION_NAME_STYLIZED %INIT_YEAR - [year] (C) by [name of author] + %INIT_APPLICATION_NAME_STYLIZED %INIT_YEAR - [year] (C) by [name of author] SPDX-License-Identifier: CC-BY-SA-4.0 - %INIT_APPLIACATION_NAME_STYLIZED is licensed under a + %INIT_APPLICATION_NAME_STYLIZED is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. You should have received a copy of the license along with this diff --git a/templates/shell/docs/%INIT_APPLICATION_NAME.1.md b/templates/shell/docs/%INIT_APPLICATION_NAME.1.md index 0a7ec9d..e044647 100644 --- a/templates/shell/docs/%INIT_APPLICATION_NAME.1.md +++ b/templates/shell/docs/%INIT_APPLICATION_NAME.1.md @@ -38,7 +38,7 @@ Report bugs to <https://%INIT_REMOTE/%INIT_OWNER/%INIT_REPOSITORY/issues>. # COPYRIGHT -Copyright (C) %INIT_YEAR %INIT_AUTOHR_NAME +Copyright (C) %INIT_YEAR %INIT_AUTHOR_NAME This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/templates/shell/init b/templates/shell/init index df0b4c5..e7414d6 100755 --- a/templates/shell/init +++ b/templates/shell/init @@ -78,11 +78,11 @@ while read -r var; do var_value="${var#*=\"}" var_value="${var_value%\"}" - fd . --hidden --type file --exec sed --in-place "s|%\bINIT_$var_name\b|$var_value|" + fd . --hidden --type file --exec sed --in-place "s|%\bINIT_$var_name\b|$var_value|g" # Replace the variable in file paths fd "%INIT_$var_name" . --hidden | while read -r file_path; do - new_file_path="$(echo "$file_path" | sed "s|%INIT_$var_name|$var_value|")"; + new_file_path="$(echo "$file_path" | sed "s|%INIT_$var_name|$var_value|g")"; mv "$file_path" "$new_file_path" done done < "$replacement_file" diff --git a/templates/shell/treefmt.nix b/templates/shell/treefmt.nix index 540a6ca..1cbab40 100644 --- a/templates/shell/treefmt.nix +++ b/templates/shell/treefmt.nix @@ -59,7 +59,6 @@ treefmt-nix.lib.evalModule pkgs ( global.excludes = [ "CHANGELOG.md" "NEWS.md" - "%INIT_APPLICATION_NAME.1.md" ]; formatter = { clang-format = { |