Commit Graph

62 Commits

Author SHA1 Message Date
R. Ryantm
c630f6dd8d kustomize: 5.8.0 -> 5.8.1 2026-02-10 00:59:32 +00:00
Michael Daniels
fa9a1e0bd4 maintainers: remove periklis
No nixpkgs activity in the past year.

Has not responded in issues they were pinged in for two years, per Aleksanaa
(I have not verified this myself):
https://github.com/NixOS/nixpkgs/issues?q=sort%3Acreated-desc%20is%3Aissue%20involves%3Aperiklis.

I also removed "with lib;" from meta where I saw it.
2025-12-11 17:34:01 -05:00
R. Ryantm
a4d1255756 kustomize: 5.7.1 -> 5.8.0 2025-11-10 01:00:21 +00: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
Ihar Hrachyshka
a4303e0d63 kustomize: add test case to check returned version 2025-08-29 20:49:43 -04:00
Ihar Hrachyshka
da4b067723 kustomize: modernize 2025-08-29 20:39:59 -04:00
Ihar Hrachyshka
6a5cb7d8d6 kustomize: return same version as official releases
Some scripts may decide to compare version with an expected one, and
they may assume the version string has the same format as returned by
upstream releases. (I actually hit this scenario in the field.)

Upstream releases use git tag names (with v prefix) [1], so mimicking it
in nixpkgs.

[1]: cd30471046/releasing/create-release.sh (L91)
2025-08-29 20:39:25 -04:00
R. Ryantm
577bdf0383 kustomize: 5.7.0 -> 5.7.1 2025-07-24 01:24:49 +00:00
R. Ryantm
a0328dd6d8 kustomize: 5.6.0 -> 5.7.0 2025-06-28 12:49:09 +00:00
R. Ryantm
6d32447bfc kustomize: 5.5.0 -> 5.6.0 2025-01-15 00:51:32 +00:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
R. Ryantm
c47e49b79d kustomize: 5.4.3 -> 5.5.0 2024-10-15 23:26:34 +00:00
R. Ryantm
9946cc142a kustomize: 5.4.2 -> 5.4.3 2024-07-20 01:26:42 +00:00
R. Ryantm
ca06a4ab76 kustomize: 5.4.1 -> 5.4.2 2024-06-04 08:28:24 +00:00
R. Ryantm
95f2351586 kustomize: 5.3.0 -> 5.4.1 2024-04-29 05:23:58 +00:00
Yongun Seong
66bad658c9 kustomize: fix vendorHash for go1.22 2024-04-14 14:27:51 +09: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
8938a19d67 kustomize: 5.2.1 -> 5.3.0 2023-12-08 11:45:54 +00:00
R. Ryantm
7534c5dbba kustomize: 5.1.1 -> 5.2.1 2023-10-20 09:57:34 +00:00
R. Ryantm
c3846468c7 kustomize: 5.1.0 -> 5.1.1 2023-08-12 08:22:20 +00:00
R. Ryantm
e9e7adffe8 kustomize: 5.0.3 -> 5.1.0 2023-06-24 18:22:21 +08:00
R. Ryantm
da35f6a56f kustomize: 5.0.2 -> 5.0.3 2023-05-19 10:06:30 +00:00
Alexandre Badez
86a6243b98 kustomize: 4.5.4 -> 5.0.2 2023-05-09 09:12:17 +02:00
zowoq
deee095133 kustomize: various
- install completion
- use `src.rev` instead of git commit
- use `modRoot` instead of `sourceRoot`
- drop redundant `doCheck = true`
2022-04-07 11:30:59 +10:00
R. Ryantm
1d26e3984d kustomize: 4.5.3 -> 4.5.4 2022-04-05 23:44:27 +08:00
R. Ryantm
693e3b95f0 kustomize: 4.5.2 -> 4.5.3 2022-03-27 02:36:32 +00:00
R. Ryantm
9a288424d9 kustomize: 4.4.1 -> 4.5.2 2022-02-12 20:19:04 -08:00
R. Ryantm
d2007e001f kustomize: 4.4.0 -> 4.4.1 2021-12-11 13:02:23 +08:00
Tristan Gosselin-Hane
0335855bc6 kustomize: 4.3.0 -> 4.4.0 2021-10-26 18:19:39 -04:00
zowoq
13ea123c74 treewide: buildFlagsArray -> ldflags 2021-08-26 21:35:06 +10:00
R. RyanTM
6ee577f994 kustomize: 4.2.0 -> 4.3.0 2021-08-25 07:22:14 +00:00
R. RyanTM
eb690444cf kustomize: 4.1.3 -> 4.2.0 2021-07-03 21:07:40 +00:00
R. RyanTM
79f5741e1c kustomize: 4.1.2 -> 4.1.3 2021-05-22 06:32:04 +00:00
R. RyanTM
55c9975f46 kustomize: 4.0.5 -> 4.1.2 2021-04-27 05:21:03 +00:00
Sascha Grunert
1cab04a177 kustomize: 3.10.0 -> 4.0.5
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-03-09 10:06:41 +01:00
Sascha Grunert
f294808d54 kustomize: 3.9.3 -> 3.10.0
Signed-off-by: Sascha Grunert <mail@saschagrunert.de>
2021-02-10 09:19:03 +01:00
Sascha Grunert
fb92b0b196 kustomize: 3.9.2 -> 3.9.3
Signed-off-by: Sascha Grunert <mail@saschagrunert.de>
2021-02-08 10:18:23 +01:00
Yurii Matsiuk
7dc3284d4c kustomize: 3.9.1 -> 3.9.2 2021-01-18 14:40:00 +01:00
Diego Rodriguez
1d7a4ea45f kustomize: 3.8.7 -> 3.9.1 2021-01-06 18:49:39 -07:00
Sascha Grunert
897ce96ba7 kustomize: 3.8.1 -> 3.8.7
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-11-13 09:23:42 +01:00
zowoq
ffc53f66dc kustomize: remove deleteVendor, enable checks 2020-08-12 20:16:31 +10:00
zowoq
cea7cd902e buildGoModule packages: set doCheck = false 2020-08-10 16:02:30 +10:00
R. RyanTM
28300eb82b kustomize: 3.8.0 -> 3.8.1 2020-08-06 07:08:03 +00:00
José Luis Lafuente
e9d928ad3a kustomize: 3.3.1 -> 3.8.0
tree removed, since doesn't look necessary
buildDate flag removed. If unset, the default date is 1/1/1970, which is
common practice when building nix packages
2020-07-08 10:56:05 +02:00
Colin L Rice
d6162dab50 go-modules: Update files to use vendorSha256 2020-05-14 07:22:21 +01:00
Michael Reilly
84cf00f980 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Jörg Thalheim
066db11215 Revert "Merge pull request #83099 from marsam/fix-buildGoModule-packages-darwin"
This reverts commit 4e6bf03504, reversing
changes made to afd997aab6.

Instead we propagate those frameworks from the compiler again
2020-03-27 07:33:21 +00:00
Mario Rodas
e52210e014 kustomize: fix build on darwin 2020-03-21 05:38:00 -05:00
Jonathan Ringer
8298ecc8a0 kustomize: 3.1.0 -> 3.3.1 2019-10-20 13:43:18 -07:00
Atkins
82d9988eb8 kustomize: fix variable interpolation for version info 2019-08-02 14:51:34 +08:00