430 Commits

Author SHA1 Message Date
George Jenkins
addbab2e64 refactor(internal): convert tests to testify assert/require
Convert internal/urlutil, internal/cli/output, internal/monocular,
and internal/sympath test files from native Go testing patterns
(t.Errorf, t.Fatalf, t.Error, t.Fatal) to github.com/stretchr/testify
equivalents (assert.X, require.X).

Signed-off-by: George Jenkins <gvjenkins@gmail.com>
2026-06-23 14:23:35 +12:00
Terry Howe
dd31a27000 Merge pull request #32256 from gjenkins8/refactor/testify-internal-util
refactor(internal): convert tests to testify assert/require
2026-06-22 08:22:04 -06:00
George Jenkins
7ab295fcfc refactor(internal/release): convert tests to testify assert/require
Replace native Go testing patterns (t.Errorf, t.Fatalf, t.Error,
t.Fatal) with github.com/stretchr/testify equivalents (assert.X,
require.X) for improved test readability and error messages.

Signed-off-by: George Jenkins <gvjenkins@gmail.com>
2026-06-22 21:01:24 +12:00
George Jenkins
3ce02c585a refactor(internal): convert tests to testify assert/require
Convert internal/fileutil, internal/tlsutil, and internal/resolver
test files from native Go testing patterns (t.Errorf, t.Fatalf,
t.Error, t.Fatal) to github.com/stretchr/testify equivalents
(assert.X, require.X).

Signed-off-by: George Jenkins <gvjenkins@gmail.com>
2026-06-22 16:01:04 +12:00
Matthieu MOREL
34cfdfdbe5 chore: enable contextcheck, fatcontext and noctx linters
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2026-06-19 08:37:48 +00:00
Terry Howe
a092a1bd09 Merge pull request #31859 from biagiopietro/feature/rollback-revision-history
feat(history): add rollback revision column to helm history output
2026-06-18 15:04:51 -06:00
George Jenkins
253da5106a Merge pull request #32171 from mmorel-35/empty-len
Fix empty and len testifylint violations across test files
2026-06-18 19:57:07 +12:00
George Jenkins
81d6f04c82 Merge pull request #30867 from mmorel-35/gocritic
chore: fix deprecatedComment issues from gocritic
2026-06-13 11:34:16 +12:00
MrJack
1b360574a9 Merge branch 'helm:main' into feature/rollback-revision-history 2026-06-01 15:16:32 +02:00
Terry Howe
59b57c5c31 Merge pull request #31885 from mmorel-35/whitespace
chore: fix whitespace linter
2026-05-30 05:19:51 -06:00
Matthieu MOREL
488c4a805d Fix empty and len testifylint violations across test files
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2026-05-29 08:02:24 +02:00
Evans Mungai
d374e823b2 Merge pull request #32086 from mmorel-35/error-is-as
testifylint: enable error-is-as and error-nil rules
2026-05-28 17:53:03 +01:00
MrJack
8250ba6152 Merge branch 'helm:main' into feature/rollback-revision-history 2026-05-26 08:33:03 +02:00
Aleksei Sviridkin
979e68fbbd internal/plugin: remove zero-width spaces from plugin name comment
The comment describing allowed plugin name characters contained three
U+200B (zero-width space) characters around the '_' and '-' literals.
The rendered comment is identical without them; the ZWSP were likely
copy-pasted from a rich-text source.

Downstream impact: every project that vendors helm.sh/helm/v4 and runs
Renovate gets a repo-wide warning on its Dependency Dashboard about
hidden Unicode characters. Renovate scans the whole tree (including
vendor/) for ZWSP/bidi-override codepoints and cannot be told to skip
a path for this specific check. Removing the characters here clears
the warning everywhere downstream.

Signed-off-by: Aleksei Sviridkin <f@lex.la>
2026-05-20 13:24:39 +03:00
Robert Sirchia
6c3f397d2c Merge pull request #32122 from quyentonndbs/chore/lint-deprecations-comment-typo
docs: fix typo in deprecated API godoc
2026-05-19 15:11:17 -04:00
MrJack
291a1a3b26 Merge branch 'helm:main' into feature/rollback-revision-history 2026-05-19 19:14:11 +02:00
Kai Tanaka
2032ec5cba docs: fix 'than'->'that' typo in deprecatedAPIError godoc
Signed-off-by: Kai Tanaka <275430420+quyentonndbs@users.noreply.github.com>
2026-05-12 14:12:03 +00:00
box4wangjing
432fc8a217 refactor: use slices.Backward to simplify the code
Signed-off-by: box4wangjing <box4wangjing@outlook.com>
2026-05-12 01:22:24 +08:00
MrJack
38336f84ec Merge branch 'helm:main' into feature/rollback-revision-history 2026-05-09 08:49:10 +02:00
George Jenkins
19b3656306 Bump to version v4.2 (#32102)
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
2026-05-06 13:35:57 -04:00
MrJack
dc04059ea3 Merge branch 'helm:main' into feature/rollback-revision-history 2026-04-28 10:08:42 +02:00
Matthieu MOREL
f8ba28bb17 testifylint: enable error-is-as and error-nil rules
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2026-04-27 20:04:39 +02:00
Matheus Pimenta
a4a9cc7a31 Upgrade Go to 1.26, Kubernetes to 1.36, kstatus to 1.1
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2026-04-25 17:06:10 +01:00
George Jenkins
4bd9e90aa0 Merge pull request #30811 from mmorel-35/testifylint
chore: fix bool-compare issues from testifylint
2026-04-24 21:35:35 -07:00
MrJack
3838d2d2dd Merge branch 'helm:main' into feature/rollback-revision-history 2026-04-21 10:22:53 +02:00
Matheus Pimenta
265c5eb530 fix(templating): SplitManifests must preserve line endings for downstream YAML parsers (#31952)
* fix(templating): SplitManifests must preserve line endings for downstream YAML parsers

Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>

* Address copilot comment about skipping empty docs

Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>

* Port fix to release v2

Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>

* Address copilot comments

Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>

---------

Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2026-04-15 14:33:27 +01:00
MrJack
41ba370236 Merge branch 'helm:main' into feature/rollback-revision-history 2026-04-10 09:05:15 +02:00
George Jenkins
087736b66e fix: unnecessary-format lint issues from merge
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
2026-04-08 22:00:58 -07:00
George Jenkins
586eb57338 fix: Plugin missing provenance bypass
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
2026-04-08 21:31:08 -07:00
George Jenkins
f7c4d75574 Merge commit from fork
fix: Chart dot-name path bug
2026-04-08 21:23:52 -07:00
George Jenkins
f8afb35f4e Merge commit from fork
fix: Plugin version path traversal
2026-04-08 21:22:47 -07:00
Anmol Virdi
de58531ca7 Minor nit: fix import instructions to comply with canonical import paths
Signed-off-by: Anmol Virdi <anmolvirdi2000@gmail.com>
2026-04-07 01:23:50 +05:30
MrJack
42db90d9e8 Merge branch 'helm:main' into feature/rollback-revision-history 2026-04-03 09:54:56 +02:00
Matthieu MOREL
7edfff33eb chore: fix unnecessary-format issues from revive
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2026-03-23 07:07:27 +01:00
Matthieu MOREL
071558d69f chore: fix bool-compare issues from testifylint
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2026-03-14 09:40:34 +01:00
Matthieu MOREL
83a0138172 chore: fix deprecatedComment issues from gocritic
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2026-03-14 09:39:49 +01:00
Matthieu MOREL
1e0f702f00 chore: fix whitespace linter
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2026-03-14 08:47:43 +01:00
MrJack
a753caca76 Merge branch 'helm:main' into feature/rollback-revision-history 2026-03-13 14:20:02 +01:00
George Jenkins
47a084091e ignore error plugin loads (cli, getter)
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
2026-03-12 17:56:01 -07:00
George Jenkins
36dcc27ca3 fix: Plugin version path traversal
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
2026-03-11 17:43:13 -07:00
tsinglua
259f181808 chore: fix some minor issues in the comments
Signed-off-by: tsinglua <tsinglua@outlook.com>
2026-03-11 16:55:34 +08:00
George Jenkins
60184996e5 fix: Chart dot-name path bug
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
2026-03-10 22:58:26 -07:00
MrJack
6927cde3f9 fix: address Copilot review feedback on rollback revision PR
- Clarify --show-rollback flag help text to specify it only affects table output
- Add RollbackRevision JSON round-trip tests for pkg/release/v1 and internal/release/v2
- Add omitempty behavior verification for zero rollback_revision

Signed-off-by: MrJack <36191829+biagiopietro@users.noreply.github.com>
2026-03-09 15:43:27 +01:00
MrJack
643e6d581d Merge branch 'helm:main' into feature/rollback-revision-history 2026-03-05 09:01:22 +01:00
George Jenkins
c4392033cc Merge pull request #31853 from atombrella/feature/fmt_unneeded
Replace non-format use of t.Fatalf with t.Fatal
2026-03-01 21:24:21 -08:00
Terry Howe
c0f6b13e0e Merge pull request #31877 from mmorel-35/perfsprint-internal-3-dda677a
chore(internal): fix perfsprint linter issues part 3
2026-02-28 07:52:11 -07:00
Matthieu MOREL
d4f6193a7e chore(internal): enable perfsprint linter (#31871)
#### Description

enable perfsprint linter in internal/plugin

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2026-02-27 12:41:41 +00:00
Matthieu MOREL
6524162a0e chore(internal): enable perfsprint linter
#### Description

enable perfsprint linter in internal/tlsutil

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2026-02-26 18:55:55 +01:00
Matthieu MOREL
9409226e15 chore(internal): enable perfsprint linter
#### Description

enable perfsprint linter in internal/plugin/installer

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2026-02-26 18:55:55 +01:00
Mads Jensen
36cb3a2fe9 Replace unneeded use of t.Fatalf with t.Fatal
Signed-off-by: Mads Jensen <atombrella@users.noreply.github.com>
2026-02-26 18:18:57 +01:00