mirror of
https://github.com/xddxdd/nix-cachyos-kernel.git
synced 2026-07-03 19:18:07 +02:00
Add binary cache miss issue template to guide diagnosis, remove old build failure template no longer applicable
This commit is contained in:
parent
bf587031e6
commit
26f7d3345e
45
.github/ISSUE_TEMPLATE/binary-cache-miss.yml
vendored
Normal file
45
.github/ISSUE_TEMPLATE/binary-cache-miss.yml
vendored
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
name: Binary Cache Miss Report
|
||||||
|
description: Report a binary cache miss issue
|
||||||
|
title: '[Binary Cache Miss] '
|
||||||
|
labels: ['binary-cache-miss']
|
||||||
|
body:
|
||||||
|
- type: markdown
|
||||||
|
attributes:
|
||||||
|
value: |
|
||||||
|
## ⚠️ Before You Submit
|
||||||
|
|
||||||
|
If you run into an issue with my provided binary cache, it's often caused by the kernel evaluated differently than what is in this repository.
|
||||||
|
|
||||||
|
Here are some common steps you can try to fix the issue:
|
||||||
|
|
||||||
|
- Use the `release` branch instead of `master` branch. `release` branch contains kernels that are built by my CI and cached.
|
||||||
|
- Use the `nix-cachyos-kernel.overlays.pinned` overlay instead of `default`. The `pinned` overlay uses nixpkgs from this repo.
|
||||||
|
- Make sure you are not overriding the `nixpkgs` input of this flake, such as `inputs.nixpkgs.follows = "..."`.
|
||||||
|
|
||||||
|
This flake should be imported exactly as:
|
||||||
|
|
||||||
|
```nix
|
||||||
|
inputs = {
|
||||||
|
nix-cachyos-kernel.url = "github:xddxdd/nix-cachyos-kernel/release";
|
||||||
|
};
|
||||||
|
```
|
||||||
|
|
||||||
|
- type: checkboxes
|
||||||
|
id: confirmation
|
||||||
|
attributes:
|
||||||
|
label: Please confirm the following before submitting an issue
|
||||||
|
options:
|
||||||
|
- label: I am using the `release` branch (`github:xddxdd/nix-cachyos-kernel/release`)
|
||||||
|
required: true
|
||||||
|
- label: I am using `nix-cachyos-kernel.overlays.pinned` (not `overlays.default`)
|
||||||
|
required: true
|
||||||
|
- label: I am not overriding inputs of this flake
|
||||||
|
required: true
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
id: description
|
||||||
|
attributes:
|
||||||
|
label: Issue Description
|
||||||
|
description: Describe the issue you are running into.
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
46
.github/ISSUE_TEMPLATE/build-failure.yml
vendored
46
.github/ISSUE_TEMPLATE/build-failure.yml
vendored
@ -1,46 +0,0 @@
|
|||||||
name: Build Failure Report
|
|
||||||
description: Report a kernel build failure (please read carefully before submitting)
|
|
||||||
title: '[Build Failure] '
|
|
||||||
labels: ['build-failure']
|
|
||||||
body:
|
|
||||||
- type: markdown
|
|
||||||
attributes:
|
|
||||||
value: |
|
|
||||||
## ⚠️ Before You Submit
|
|
||||||
|
|
||||||
Most kernel build failures are caused by version mismatch between CachyOS patches and nixpkgs kernel version.
|
|
||||||
|
|
||||||
If this is the case, the build will be automatically fixed once the versions to be in sync again.
|
|
||||||
|
|
||||||
Please consider using the `release` branch as it contains the last successful build:
|
|
||||||
|
|
||||||
```nix
|
|
||||||
{
|
|
||||||
inputs = {
|
|
||||||
nix-cachyos-kernel.url = "github:xddxdd/nix-cachyos-kernel/release";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
- type: checkboxes
|
|
||||||
id: confirmation
|
|
||||||
attributes:
|
|
||||||
label: Please confirm the following before submitting an issue
|
|
||||||
description: |
|
|
||||||
Only submit an issue if the build has been failing for multiple consecutive days, or if it's failing on the `release` branch.
|
|
||||||
|
|
||||||
options:
|
|
||||||
- label: I understand that most build failures are caused by version mismatch between CachyOS patches and nixpkgs kernel version
|
|
||||||
required: true
|
|
||||||
- label: I understand that in most cases, the build will be automatically fixed once the versions to be in sync again
|
|
||||||
required: true
|
|
||||||
- label: The build has been failing for multiple consecutive days, OR it is failing on the `release` branch
|
|
||||||
required: true
|
|
||||||
|
|
||||||
- type: textarea
|
|
||||||
id: description
|
|
||||||
attributes:
|
|
||||||
label: Issue Description
|
|
||||||
description: Describe the build failure (kernel variant, duration, error summary, etc.)
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
Loading…
Reference in New Issue
Block a user