From 09b33ed3c0951cd0fb18765163b89db44bf73e5f Mon Sep 17 00:00:00 2001 From: Nikita Krasnov Date: Fri, 6 Jun 2025 13:23:13 +0300 Subject: [PATCH 1/3] ISSUE_TEMPLATE: fix missing image --- .github/ISSUE_TEMPLATE/01_bug_report.yml | 6 +++--- .github/ISSUE_TEMPLATE/02_bug_report_darwin.yml | 6 +++--- .github/ISSUE_TEMPLATE/03_bug_report_nixos.yml | 6 +++--- .github/ISSUE_TEMPLATE/04_build_failure.yml | 6 +++--- .github/ISSUE_TEMPLATE/05_update_request.yml | 6 +++--- .github/ISSUE_TEMPLATE/06_module_request.yml | 6 +++--- .github/ISSUE_TEMPLATE/07_backport_request.yml | 6 +++--- .github/ISSUE_TEMPLATE/08_documentation_request.yml | 6 +++--- .github/ISSUE_TEMPLATE/09_unreproducible_package.yml | 6 +++--- 9 files changed, 27 insertions(+), 27 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/01_bug_report.yml b/.github/ISSUE_TEMPLATE/01_bug_report.yml index 504ff9573d77..1e37bdfc77b7 100644 --- a/.github/ISSUE_TEMPLATE/01_bug_report.yml +++ b/.github/ISSUE_TEMPLATE/01_bug_report.yml @@ -9,9 +9,9 @@ body:

- - - NixOS logo + + + NixOS logo

diff --git a/.github/ISSUE_TEMPLATE/02_bug_report_darwin.yml b/.github/ISSUE_TEMPLATE/02_bug_report_darwin.yml index e99882bb3bcc..4e301bfd7c5b 100644 --- a/.github/ISSUE_TEMPLATE/02_bug_report_darwin.yml +++ b/.github/ISSUE_TEMPLATE/02_bug_report_darwin.yml @@ -9,9 +9,9 @@ body:

- - - NixOS logo + + + NixOS logo

diff --git a/.github/ISSUE_TEMPLATE/03_bug_report_nixos.yml b/.github/ISSUE_TEMPLATE/03_bug_report_nixos.yml index d22e9fa7a897..1e7583cfde46 100644 --- a/.github/ISSUE_TEMPLATE/03_bug_report_nixos.yml +++ b/.github/ISSUE_TEMPLATE/03_bug_report_nixos.yml @@ -9,9 +9,9 @@ body:

- - - NixOS logo + + + NixOS logo

diff --git a/.github/ISSUE_TEMPLATE/04_build_failure.yml b/.github/ISSUE_TEMPLATE/04_build_failure.yml index 03b4065b2389..4f9c3b74bf76 100644 --- a/.github/ISSUE_TEMPLATE/04_build_failure.yml +++ b/.github/ISSUE_TEMPLATE/04_build_failure.yml @@ -9,9 +9,9 @@ body:

- - - NixOS logo + + + NixOS logo

diff --git a/.github/ISSUE_TEMPLATE/05_update_request.yml b/.github/ISSUE_TEMPLATE/05_update_request.yml index 0fc3c0cd2362..56c58a87eea4 100644 --- a/.github/ISSUE_TEMPLATE/05_update_request.yml +++ b/.github/ISSUE_TEMPLATE/05_update_request.yml @@ -9,9 +9,9 @@ body:

- - - NixOS logo + + + NixOS logo

diff --git a/.github/ISSUE_TEMPLATE/06_module_request.yml b/.github/ISSUE_TEMPLATE/06_module_request.yml index bb800bc0e087..99bc038f4853 100644 --- a/.github/ISSUE_TEMPLATE/06_module_request.yml +++ b/.github/ISSUE_TEMPLATE/06_module_request.yml @@ -9,9 +9,9 @@ body:

- - - NixOS logo + + + NixOS logo

diff --git a/.github/ISSUE_TEMPLATE/07_backport_request.yml b/.github/ISSUE_TEMPLATE/07_backport_request.yml index b0c5deba3247..b7e887bd60d1 100644 --- a/.github/ISSUE_TEMPLATE/07_backport_request.yml +++ b/.github/ISSUE_TEMPLATE/07_backport_request.yml @@ -9,9 +9,9 @@ body:

- - - NixOS logo + + + NixOS logo

diff --git a/.github/ISSUE_TEMPLATE/08_documentation_request.yml b/.github/ISSUE_TEMPLATE/08_documentation_request.yml index cfa3df26acf8..7ba486590770 100644 --- a/.github/ISSUE_TEMPLATE/08_documentation_request.yml +++ b/.github/ISSUE_TEMPLATE/08_documentation_request.yml @@ -9,9 +9,9 @@ body:

- - - NixOS logo + + + NixOS logo

diff --git a/.github/ISSUE_TEMPLATE/09_unreproducible_package.yml b/.github/ISSUE_TEMPLATE/09_unreproducible_package.yml index b554f6f48ef9..052c54e928ae 100644 --- a/.github/ISSUE_TEMPLATE/09_unreproducible_package.yml +++ b/.github/ISSUE_TEMPLATE/09_unreproducible_package.yml @@ -9,9 +9,9 @@ body:

- - - NixOS logo + + + NixOS logo

From 5fc3dd02d83d123357048bd33846fe691c6bed91 Mon Sep 17 00:00:00 2001 From: Nikita Krasnov Date: Fri, 6 Jun 2025 16:20:22 +0300 Subject: [PATCH 2/3] ISSUE_TEMPLATE: remove alert blocks that don't render Markdown alert blocks are not rendered inside dropdown description. --- .github/ISSUE_TEMPLATE/01_bug_report.yml | 3 +-- .github/ISSUE_TEMPLATE/02_bug_report_darwin.yml | 3 +-- .github/ISSUE_TEMPLATE/03_bug_report_nixos.yml | 3 +-- .github/ISSUE_TEMPLATE/04_build_failure.yml | 6 +++--- .github/ISSUE_TEMPLATE/05_update_request.yml | 6 +++--- .github/ISSUE_TEMPLATE/06_module_request.yml | 3 +-- 6 files changed, 10 insertions(+), 14 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/01_bug_report.yml b/.github/ISSUE_TEMPLATE/01_bug_report.yml index 1e37bdfc77b7..60caafa8cdd9 100644 --- a/.github/ISSUE_TEMPLATE/01_bug_report.yml +++ b/.github/ISSUE_TEMPLATE/01_bug_report.yml @@ -30,8 +30,7 @@ body: description: | What version of Nixpkgs are you using? - > [!IMPORTANT] - > If you are using an older version, please update to the latest stable version and check if the issue persists before continuing this bug report. + If you are using an older version, please update to the latest stable version and check if the issue persists before continuing this bug report. options: - "Please select a version." - "- Unstable (25.11)" diff --git a/.github/ISSUE_TEMPLATE/02_bug_report_darwin.yml b/.github/ISSUE_TEMPLATE/02_bug_report_darwin.yml index 4e301bfd7c5b..0fdc999af63f 100644 --- a/.github/ISSUE_TEMPLATE/02_bug_report_darwin.yml +++ b/.github/ISSUE_TEMPLATE/02_bug_report_darwin.yml @@ -30,8 +30,7 @@ body: description: | What version of Nixpkgs are you using? - > [!IMPORTANT] - > If you are using an older version, please update to the latest stable version and check if the issue persists before continuing this bug report. + If you are using an older version, please update to the latest stable version and check if the issue persists before continuing this bug report. options: - "Please select a version." - "- Unstable (25.11)" diff --git a/.github/ISSUE_TEMPLATE/03_bug_report_nixos.yml b/.github/ISSUE_TEMPLATE/03_bug_report_nixos.yml index 1e7583cfde46..17f4bd340f59 100644 --- a/.github/ISSUE_TEMPLATE/03_bug_report_nixos.yml +++ b/.github/ISSUE_TEMPLATE/03_bug_report_nixos.yml @@ -30,8 +30,7 @@ body: description: | What version of Nixpkgs are you using? - > [!IMPORTANT] - > If you are using an older version, please [update to the latest stable version](https://nixos.org/download) and check if the issue persists before continuing this bug report. + If you are using an older version, please update to the latest stable version and check if the issue persists before continuing this bug report. options: - "Please select a version." - "- Unstable (25.11)" diff --git a/.github/ISSUE_TEMPLATE/04_build_failure.yml b/.github/ISSUE_TEMPLATE/04_build_failure.yml index 4f9c3b74bf76..085928f4f6a1 100644 --- a/.github/ISSUE_TEMPLATE/04_build_failure.yml +++ b/.github/ISSUE_TEMPLATE/04_build_failure.yml @@ -30,9 +30,9 @@ body: description: | In what version of Nixpkgs did the build failure occur? - > [!IMPORTANT] - > If you are using an older version, please update to the latest stable version and check if the build failure persists before continuing this report. - > If you are purposefully trying to build an ancient version of a package in an older Nixpkgs, please coordinate with the [NixOS Archivists](https://matrix.to/#/#archivists:nixos.org). + If you are using an older version, please update to the latest stable version and check if the build failure persists before continuing this report. + + If you are purposefully trying to build an ancient version of a package in an older Nixpkgs, please coordinate with the [NixOS Archivists](https://matrix.to/#/#archivists:nixos.org). options: - "Please select a version." - "- Unstable (25.11)" diff --git a/.github/ISSUE_TEMPLATE/05_update_request.yml b/.github/ISSUE_TEMPLATE/05_update_request.yml index 56c58a87eea4..0c4d6f8b4ef0 100644 --- a/.github/ISSUE_TEMPLATE/05_update_request.yml +++ b/.github/ISSUE_TEMPLATE/05_update_request.yml @@ -30,9 +30,9 @@ body: description: | What version of Nixpkgs are you using? - > [!IMPORTANT] - > If you are using an older or stable version, please update to the latest **unstable** version and check if the package is still out of date. - > If the package has been updated in unstable, but you believe the update should be backported to the stable release of Nixpkgs, please file the '**Request: backport to stable**' form instead. + If you are using an older or stable version, please update to the latest **unstable** version and check if the package is still out of date. + + If the package has been updated in unstable, but you believe the update should be backported to the stable release of Nixpkgs, please file the '**Request: backport to stable**' form instead. options: - "Please select a version." - "- Unstable (25.11)" diff --git a/.github/ISSUE_TEMPLATE/06_module_request.yml b/.github/ISSUE_TEMPLATE/06_module_request.yml index 99bc038f4853..02683a81a812 100644 --- a/.github/ISSUE_TEMPLATE/06_module_request.yml +++ b/.github/ISSUE_TEMPLATE/06_module_request.yml @@ -30,8 +30,7 @@ body: description: | What version of Nixpkgs are you using? - > [!IMPORTANT] - > If you are using an older or stable version, please update to the latest **unstable** version and check if the module still does not exist before continuing this request. + If you are using an older or stable version, please update to the latest **unstable** version and check if the module still does not exist before continuing this request. options: - "Please select a version." - "- Unstable (25.11)" From 28bc042c2fbd95ad844f3d3b883cd3cabfed1552 Mon Sep 17 00:00:00 2001 From: Nikita Krasnov Date: Fri, 6 Jun 2025 15:49:50 +0300 Subject: [PATCH 3/3] ISSUE_TEMPLATE: add missing line breaks --- .github/ISSUE_TEMPLATE/01_bug_report.yml | 4 +++- .github/ISSUE_TEMPLATE/02_bug_report_darwin.yml | 4 +++- .github/ISSUE_TEMPLATE/03_bug_report_nixos.yml | 4 +++- .github/ISSUE_TEMPLATE/04_build_failure.yml | 4 +++- .github/ISSUE_TEMPLATE/05_update_request.yml | 4 +++- .github/ISSUE_TEMPLATE/06_module_request.yml | 4 +++- .github/ISSUE_TEMPLATE/07_backport_request.yml | 8 ++++++-- .github/ISSUE_TEMPLATE/08_documentation_request.yml | 4 +++- .github/ISSUE_TEMPLATE/09_unreproducible_package.yml | 1 + 9 files changed, 28 insertions(+), 9 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/01_bug_report.yml b/.github/ISSUE_TEMPLATE/01_bug_report.yml index 60caafa8cdd9..c44935ceaf25 100644 --- a/.github/ISSUE_TEMPLATE/01_bug_report.yml +++ b/.github/ISSUE_TEMPLATE/01_bug_report.yml @@ -20,7 +20,9 @@ body: > [!TIP] > For instance, if you were filing a bug against the [`hello`](https://search.nixos.org/packages?channel=unstable&from=0&size=1&buckets=%7B%22package_attr_set%22%3A%5B%22No%20package%20set%22%5D%2C%22package_license_set%22%3A%5B%22GNU%20General%20Public%20License%20v3.0%20or%20later%22%5D%2C%22package_maintainers_set%22%3A%5B%5D%2C%22package_platforms%22%3A%5B%5D%7D&sort=relevance&type=packages&query=hello) package about it failing to launch on ARM Linux, your title would be as follows: - > `hello: fails to launch on aarch64-linux` + > ``` + > hello: fails to launch on aarch64-linux + > ``` --- - type: "dropdown" diff --git a/.github/ISSUE_TEMPLATE/02_bug_report_darwin.yml b/.github/ISSUE_TEMPLATE/02_bug_report_darwin.yml index 0fdc999af63f..5389f6b5108c 100644 --- a/.github/ISSUE_TEMPLATE/02_bug_report_darwin.yml +++ b/.github/ISSUE_TEMPLATE/02_bug_report_darwin.yml @@ -20,7 +20,9 @@ body: > [!TIP] > For instance, if you were filing a bug against the [`hello`](https://search.nixos.org/packages?channel=unstable&from=0&size=1&buckets=%7B%22package_attr_set%22%3A%5B%22No%20package%20set%22%5D%2C%22package_license_set%22%3A%5B%22GNU%20General%20Public%20License%20v3.0%20or%20later%22%5D%2C%22package_maintainers_set%22%3A%5B%5D%2C%22package_platforms%22%3A%5B%5D%7D&sort=relevance&type=packages&query=hello) package about it failing to launch on Apple Silicon, your title would be as follows: - > `hello: fails to launch on aarch64-darwin` + > ``` + > hello: fails to launch on aarch64-darwin + > ``` --- - type: "dropdown" diff --git a/.github/ISSUE_TEMPLATE/03_bug_report_nixos.yml b/.github/ISSUE_TEMPLATE/03_bug_report_nixos.yml index 17f4bd340f59..2e8c3db66047 100644 --- a/.github/ISSUE_TEMPLATE/03_bug_report_nixos.yml +++ b/.github/ISSUE_TEMPLATE/03_bug_report_nixos.yml @@ -20,7 +20,9 @@ body: > [!TIP] > For instance, if you were filing a bug against the [`systemd-boot`](https://search.nixos.org/options?channel=unstable&show=boot.loader.systemd-boot.enable&from=0&size=1) module about it failing to install [`memtest86`](https://search.nixos.org/options?channel=unstable&show=boot.loader.systemd-boot.memtest86.enable&from=0&size=1), your title would be as follows: - > `nixos/systemd-boot: fails to install memtest86` + > ``` + > nixos/systemd-boot: fails to install memtest86 + > ``` --- - type: "dropdown" diff --git a/.github/ISSUE_TEMPLATE/04_build_failure.yml b/.github/ISSUE_TEMPLATE/04_build_failure.yml index 085928f4f6a1..806a22b93061 100644 --- a/.github/ISSUE_TEMPLATE/04_build_failure.yml +++ b/.github/ISSUE_TEMPLATE/04_build_failure.yml @@ -20,7 +20,9 @@ body: > [!TIP] > For instance, if you were filing a build failure against the [`hello`](https://search.nixos.org/packages?channel=unstable&from=0&size=1&buckets=%7B%22package_attr_set%22%3A%5B%22No%20package%20set%22%5D%2C%22package_license_set%22%3A%5B%22GNU%20General%20Public%20License%20v3.0%20or%20later%22%5D%2C%22package_maintainers_set%22%3A%5B%5D%2C%22package_platforms%22%3A%5B%5D%7D&sort=relevance&type=packages&query=hello) package, your title would be as follows: - > `Build failure: hello` + > ``` + > Build failure: hello + > ``` --- - type: "dropdown" diff --git a/.github/ISSUE_TEMPLATE/05_update_request.yml b/.github/ISSUE_TEMPLATE/05_update_request.yml index 0c4d6f8b4ef0..6500aa2605c4 100644 --- a/.github/ISSUE_TEMPLATE/05_update_request.yml +++ b/.github/ISSUE_TEMPLATE/05_update_request.yml @@ -20,7 +20,9 @@ body: > [!TIP] > For instance, if you were filing a request against the out of date `hello` package, where the current version in Nixpkgs is 1.0.0, but the latest version upstream is 1.0.1, your title would be as follows: - > `Update Request: hello 1.0.0 → 1.0.1` + > ``` + > Update Request: hello 1.0.0 → 1.0.1 + > ``` --- - type: "dropdown" diff --git a/.github/ISSUE_TEMPLATE/06_module_request.yml b/.github/ISSUE_TEMPLATE/06_module_request.yml index 02683a81a812..b794d18c673a 100644 --- a/.github/ISSUE_TEMPLATE/06_module_request.yml +++ b/.github/ISSUE_TEMPLATE/06_module_request.yml @@ -20,7 +20,9 @@ body: > [!TIP] > For instance, if you were filing a request against the missing `hello` module, your title would be as follows: - > `Module Request: nixos/hello` + > ``` + > Module Request: nixos/hello + > ``` --- - type: "dropdown" diff --git a/.github/ISSUE_TEMPLATE/07_backport_request.yml b/.github/ISSUE_TEMPLATE/07_backport_request.yml index b7e887bd60d1..238d75084b98 100644 --- a/.github/ISSUE_TEMPLATE/07_backport_request.yml +++ b/.github/ISSUE_TEMPLATE/07_backport_request.yml @@ -18,14 +18,18 @@ body: > [!CAUTION] > **Before you begin:** Be advised that backports are subject to the [release suitability guidelines](https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md#changes-acceptable-for-releases). - > Stable releases of Nixpkgs do not receive breaking changes, which include major package updates that have incompatible API changes and break backwards compatibility. In the [Semantic Versioning standard](https://semver.org/), this is the first version number. (1.X.X) + > + > Stable releases of Nixpkgs do not receive breaking changes, which include major package updates that have incompatible API changes and break backwards compatibility. In the [Semantic Versioning standard](https://semver.org/), this is the first version number (1.X.X). + > > Generally, only minor package updates, such as security patches, bug fixes and feature additions (but not removals!) will be considered for backporting. Please read the rules above carefully before filing this backport request. Welcome to Nixpkgs. Please replace the **`Backport to Stable: PACKAGENAME OLDVERSION → NEWVERSION`** template above with the correct package name (As seen in the [NixOS Package Search](https://search.nixos.org/packages)), the current version of the package in Nixpkgs Stable and the current version of the package in Nixpkgs Unstable. > [!TIP] > For instance, if you were filing a request against the out of date `hello` package, where the current version in Nixpkgs Unstable is 1.0.1, but the current version in Nixpkgs Stable is 1.0.0, your title would be as follows: - > `Backport to Stable: hello 1.0.0 → 1.0.1` + > ``` + > Backport to Stable: hello 1.0.0 → 1.0.1 + > ``` --- - type: "input" diff --git a/.github/ISSUE_TEMPLATE/08_documentation_request.yml b/.github/ISSUE_TEMPLATE/08_documentation_request.yml index 7ba486590770..92eb86739f64 100644 --- a/.github/ISSUE_TEMPLATE/08_documentation_request.yml +++ b/.github/ISSUE_TEMPLATE/08_documentation_request.yml @@ -20,7 +20,9 @@ body: > [!TIP] > For instance, if you were filing an issue against the [`hello`](https://search.nixos.org/packages?channel=unstable&from=0&size=1&buckets=%7B%22package_attr_set%22%3A%5B%22No%20package%20set%22%5D%2C%22package_license_set%22%3A%5B%22GNU%20General%20Public%20License%20v3.0%20or%20later%22%5D%2C%22package_maintainers_set%22%3A%5B%5D%2C%22package_platforms%22%3A%5B%5D%7D&sort=relevance&type=packages&query=hello) package about it not having any NixOS-specific documentation, your title would be as follows: - > `Missing Documentation: hello` + > ``` + > Missing Documentation: hello + > ``` --- - type: "textarea" diff --git a/.github/ISSUE_TEMPLATE/09_unreproducible_package.yml b/.github/ISSUE_TEMPLATE/09_unreproducible_package.yml index 052c54e928ae..0542e74fa17b 100644 --- a/.github/ISSUE_TEMPLATE/09_unreproducible_package.yml +++ b/.github/ISSUE_TEMPLATE/09_unreproducible_package.yml @@ -20,6 +20,7 @@ body: > [!NOTE] > This form is for reporting unreproducible packages. For more information, see the [Reproducible Builds Status](https://reproducible.nixos.org/) page. + > > To report a package that fails to build entirely, please use the "Build Failure" form instead. ---