Commit Graph

110 Commits

Author SHA1 Message Date
Sigmanificient
4ed71b972d kops: modernize 2026-02-12 22:49:43 +01:00
Sigmanificient
b3168b3fe0 mkKops: use lib.extendMkDerivation 2026-02-12 22:49:42 +01:00
Tom Herbers
e9cfcb3b5d maintainers: drop offline 2026-02-11 11:42:06 +01:00
Ihar Hrachyshka
567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00
Wolfgang Walther
a19c83855a maintainers: drop diegolelis
Inactive since 2024.
2025-12-02 16:34:20 +01:00
NAHO
c8d4dabc43 pkgs: remove optional builtins prefixes from prelude functions
Remove optional builtins prefixes from prelude functions by running:

    builtins=(
      abort
      baseNameOf
      break
      derivation
      derivationStrict
      dirOf
      false
      fetchGit
      fetchMercurial
      fetchTarball
      fetchTree
      fromTOML
      import
      isNull
      map
      null
      placeholder
      removeAttrs
      scopedImport
      throw
      toString
      true
    )

    fd \
      --type file \
      . \
      pkgs \
      --exec-batch sed --in-place --regexp-extended "
        s/\<builtins\.($(
          printf '%s\n' "${builtins[@]}" |
            paste --delimiter '|' --serial -
        ))\>/\1/g
      "

    nix fmt
2025-10-04 19:02:37 +02:00
h7x4
3725337277 treewide: gate command execution for installShellCompletion behind buildPlatform.canExecute hostPlatform (#442353) 2025-09-22 01:09:44 +00:00
Whitespire
1e2cd41324 kops: add 1.31, 1.32, drop 1.27, 1.28, 1.29, set default 1.33 2025-09-19 10:40:23 +03:00
Peder Bergebakken Sundt
8bffdd4ccf treewide: gate command execution for installShellCompletion behind buildPlatform.canExecute hostPlatform
This treewide conditions execution of the built applications for the purpose of generating shell completions behind `stdenv.buildPlatform.canExecute stdenv.hostPlatform`, which helps cross. This is a common issue I spot during review, let's prevent copy-paste errors by fixing it treewide.

Candidates were located with:

```shell
rg 'installShellCompletion' -l -tnix | xargs grep -F 'stdenv.buildPlatform.canExecute stdenv.hostPlatform' -L
```

Then I migrated the obvious cases which would not require a rebuild, as a means of testing.
This diff was not scripted. Should be zero rebuilds.

<details>
<summary>
Alternatives
</summary>

Alternatively I could have use this pattern:

```nix
postInstall = lib.optionalString (stdenv.hostPlatform.emulatorAvailable buildPackages) (
let
    emulator = stdenv.hostPlatform.emulator buildPackages;
in
''
    installShellCompletion --cmd foobar \
    --bash <(${emulator} $out/bin/foobar completion bash) \
    --fish <(${emulator} $out/bin/foobar completion fish) \
    --zsh <(${emulator} $out/bin/foobar completion zsh)
''
);
```

but that would cause rebuilds and will also require testing.

---

An other alternative is to use the binary from the corresponding package in `buildPackages`.
This however would also cause rebuilds and will also require testing.

</details>
2025-09-12 14:08:39 +02:00
Silvan Mosberger
374e6bcc40 treewide: Format all Nix files
Format all Nix files using the officially approved formatter,
making the CI check introduced in the previous commit succeed:

  nix-build ci -A fmt.check

This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153)
of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166).

This commit will lead to merge conflicts for a number of PRs,
up to an estimated ~1100 (~33%) among the PRs with activity in the past 2
months, but that should be lower than what it would be without the previous
[partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537).

Merge conflicts caused by this commit can now automatically be resolved while rebasing using the
[auto-rebase script](8616af08d9/maintainers/scripts/auto-rebase).

If you run into any problems regarding any of this, please reach out to the
[formatting team](https://nixos.org/community/teams/formatting/) by
pinging @NixOS/nix-formatting.
2025-04-01 20:10:43 +02:00
R. Ryantm
4e9ac6f2d0 kops_1_30: 1.30.3 -> 1.30.4 2025-02-19 14:07:59 -06:00
R. Ryantm
fa1f66b704 kops_1_30: 1.30.2 -> 1.30.3 2024-12-12 08:31:59 +00:00
R. Ryantm
b4bb0db86b kops_1_30: 1.30.1 -> 1.30.2 2024-11-27 04:18:27 +00:00
Eric Bailey
5ed3237655 Revert "kops: 1.29.2 -> 1.30.1 (#344817)"
This reverts commit cb710f366b.
2024-10-11 11:17:12 -05:00
R. RyanTM
cb710f366b kops: 1.29.2 -> 1.30.1 (#344817) 2024-10-02 16:49:29 +02:00
Eric Bailey
d71203e97c kops: add 1.30, update 1.28, drop 1.26
- drop kops_1_26
- keep kops_1_27 for now
- kops_1_28: 1.28.5 -> 1.28.7
- keep kops_1_29 as default while 1.30 is in beta
- init kops_1_30 at 1.30.1
2024-09-17 18:17:20 -05:00
R. Ryantm
d4db678fa4 kops: 1.29.0 -> 1.29.2 2024-07-28 12:27:35 +00:00
Michael Adler
5a2622725d kops: add kops_1_29 2024-06-19 11:20:41 +02:00
Michael Adler
78c1c9bd62 kops: update kops_1_28 to 1.28.5
It seems like the bot made a mistake updating kops_1_28 to 1.29.0.
2024-06-19 11:18:13 +02:00
R. Ryantm
346073c3e6 kops: 1.28.4 -> 1.29.0 2024-05-22 06:12:56 +00:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
R. Ryantm
47714978b1 kops: 1.28.3 -> 1.28.4 2024-02-05 12:02:09 -06:00
R. Ryantm
3c4477c32e kops: 1.28.2 -> 1.28.3 2024-01-24 10:04:35 -06:00
R. RyanTM
a82cf5d7c7 kops_1_28: 1.28.1 -> 1.28.2 (#276139) 2023-12-23 18:03:50 +01:00
R. Ryantm
1a83628436 kops: 1.28.0 -> 1.28.1 2023-11-14 13:58:59 -06:00
Eric Bailey
b90ac4c0ec kops: 1.27.1 -> 1.28.0
- Drop kops_1_25
- kops_1_26: 1.26.5 -> 1.26.6
- Update 23.11 release notes
2023-10-04 19:27:49 -05:00
R. Ryantm
65182a9f4f kops_1_27: 1.27.0 -> 1.27.1 2023-09-13 16:36:39 -05:00
Eric Bailey
3e36355e44 kops: 1.26.4 -> 1.27.0 (#245208)
- Drop kops_1_24
- kops_1_26: 1.26.4 -> 1.26.5
- Update 23.11 release notes
2023-07-24 20:07:52 +02:00
Michael Adler
3281d1e749 kops_1_26: 1.26.3 -> 1.26.4 (#238727) 2023-06-20 21:03:46 +02:00
Sandro Jäckel
3ad7d71afe treewide: don't set platforms.unix for buildGoModule 2023-06-13 17:54:26 +03:00
R. Ryantm
ad072fa143 kops_1_26: 1.26.2 -> 1.26.3 2023-05-07 05:29:09 +00:00
Michael Adler
a37accb136 kops: 1.25.4 -> 1.26.2 2023-03-20 10:15:47 +01:00
Michael Adler
c7834ab085 kops: 1.25.3 -> 1.25.4 2023-03-20 10:15:47 +01:00
Michael Adler
1d28868d3d kops: 1.24.3 -> 1.24.5 2023-03-20 10:15:47 +01:00
Michael Adler
cea14e1d8d kops: drop 1.23 2023-03-20 10:15:47 +01:00
R. RyanTM
fd257cf024 kops: 1.25.2 -> 1.25.3 (#203024) 2022-11-26 12:55:46 +01:00
R. Ryantm
36c55f76ff kops: 1.25.1 -> 1.25.2 2022-10-20 15:47:14 -05:00
Eric Bailey
5a35c971bf kops: 1.24.3 -> 1.25.1
- Drop kops_1_22
- kops_1_23: 1.23.2 -> 1.23.4
- Update 22.11 release notes
2022-09-30 21:14:58 -05:00
R. Ryantm
36bd72d1fe kops: 1.24.2 -> 1.24.3 2022-09-16 16:59:11 +00:00
R. Ryantm
79967ca1b0 kops: 1.24.1 -> 1.24.2 2022-09-03 13:09:14 +00:00
Dawid Ciężarkiewicz
f48f608f8f kops: 1.24.0 -> 1.24.1 (#183803)
https://github.com/kubernetes/kops/releases/tag/v1.24.1
2022-08-01 16:44:31 +02:00
Eric Bailey
c7e60ccfd1 kops: drop 1.21 2022-07-08 01:46:30 -05:00
Eric Bailey
28f8307a26 kops: 1.23.2 -> 1.24.0 2022-07-08 01:44:23 -05:00
Aaron Jheng
99aebae94f kops: use buildGoModule (#176050) 2022-06-03 12:54:35 +02:00
Eric Bailey
3798f3c168 kops: 1.23.1 -> 1.23.2 (#174165)
Also update 22.05 release notes, which still mentioned 1.22.4 as the default.
2022-05-24 13:57:45 +02:00
Eric Bailey
3f27c0e57f kops: 1.23.0 -> 1.23.1 (#169805) 2022-04-22 20:26:57 +02:00
Eric Bailey
8e51cb22e9 kops: add me as maintainer 2022-03-22 20:10:07 -05:00
Eric Bailey
2e0663acba kops: 1.22.4 -> 1.23.0
- init kops_1_23 at 1.23.0
- drop kops_1_20
2022-03-22 20:10:07 -05:00
Eric Bailey
2c9c903192 kops: 1.22.2 -> 1.22.4 2022-02-22 11:39:09 -06:00
Eric Bailey
3e58edbf28 kops: 1.21.4 -> 1.22.2 2021-11-23 15:39:06 -06:00