Commit graph

8401 commits

Author SHA1 Message Date
Matt Farina
ab56ac62ba
Merge pull request #30866 from mmorel-35/thelper
chore: enable thelper linter
2025-05-20 14:47:54 +01:00
Robert Sirchia
b4bc0f1d88
Merge pull request #30872 from benoittgt/fix-30838
Bump golangci-lint version to match last golangci-lint-action
2025-05-20 07:14:48 -04:00
Benoit Tigeot
a418064a3d
Bump golangci lint to match golangci-lint Github Action version
Signed-off-by: Benoit Tigeot <benoit.tigeot@lifen.fr>
2025-05-19 23:09:30 +02:00
Robert Sirchia
46e79be5eb
Merge pull request #30869 from helm/dependabot/go_modules/main/k8s-io-d6f802ad31
build(deps): bump the k8s-io group with 7 updates
2025-05-19 09:33:48 -04:00
dependabot[bot]
e4a4855871
build(deps): bump the k8s-io group with 7 updates
Bumps the k8s-io group with 7 updates:

| Package | From | To |
| --- | --- | --- |
| [k8s.io/api](https://github.com/kubernetes/api) | `0.33.0` | `0.33.1` |
| [k8s.io/apiextensions-apiserver](https://github.com/kubernetes/apiextensions-apiserver) | `0.33.0` | `0.33.1` |
| [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery) | `0.33.0` | `0.33.1` |
| [k8s.io/apiserver](https://github.com/kubernetes/apiserver) | `0.33.0` | `0.33.1` |
| [k8s.io/cli-runtime](https://github.com/kubernetes/cli-runtime) | `0.33.0` | `0.33.1` |
| [k8s.io/client-go](https://github.com/kubernetes/client-go) | `0.33.0` | `0.33.1` |
| [k8s.io/kubectl](https://github.com/kubernetes/kubectl) | `0.33.0` | `0.33.1` |


Updates `k8s.io/api` from 0.33.0 to 0.33.1
- [Commits](https://github.com/kubernetes/api/compare/v0.33.0...v0.33.1)

Updates `k8s.io/apiextensions-apiserver` from 0.33.0 to 0.33.1
- [Release notes](https://github.com/kubernetes/apiextensions-apiserver/releases)
- [Commits](https://github.com/kubernetes/apiextensions-apiserver/compare/v0.33.0...v0.33.1)

Updates `k8s.io/apimachinery` from 0.33.0 to 0.33.1
- [Commits](https://github.com/kubernetes/apimachinery/compare/v0.33.0...v0.33.1)

Updates `k8s.io/apiserver` from 0.33.0 to 0.33.1
- [Commits](https://github.com/kubernetes/apiserver/compare/v0.33.0...v0.33.1)

Updates `k8s.io/cli-runtime` from 0.33.0 to 0.33.1
- [Commits](https://github.com/kubernetes/cli-runtime/compare/v0.33.0...v0.33.1)

Updates `k8s.io/client-go` from 0.33.0 to 0.33.1
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kubernetes/client-go/compare/v0.33.0...v0.33.1)

Updates `k8s.io/kubectl` from 0.33.0 to 0.33.1
- [Commits](https://github.com/kubernetes/kubectl/compare/v0.33.0...v0.33.1)

---
updated-dependencies:
- dependency-name: k8s.io/api
  dependency-version: 0.33.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: k8s-io
- dependency-name: k8s.io/apiextensions-apiserver
  dependency-version: 0.33.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: k8s-io
- dependency-name: k8s.io/apimachinery
  dependency-version: 0.33.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: k8s-io
- dependency-name: k8s.io/apiserver
  dependency-version: 0.33.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: k8s-io
- dependency-name: k8s.io/cli-runtime
  dependency-version: 0.33.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: k8s-io
- dependency-name: k8s.io/client-go
  dependency-version: 0.33.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: k8s-io
- dependency-name: k8s.io/kubectl
  dependency-version: 0.33.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: k8s-io
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-16 21:16:29 +00:00
Matt Farina
fbc153460f
Merge pull request #30863 from mattfarina/list-tests
Adding test for list command
2025-05-16 20:39:34 +01:00
Robert Sirchia
b0da8a2eb9
Merge pull request #30864 from jessesimpson36/remove-redundant-debug-line
fix: remove duplicate error message
2025-05-16 09:21:23 -04:00
Matthieu MOREL
157f0ba10a chore: enable thelper
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2025-05-16 10:25:08 +02:00
Jesse Simpson
098486d221
fix: remove duplicate error message
closes #30857

There are 2 ways the error message from any subcommand is printed:
1. through the debug log line that this PR removes
2. through the spf13/cobra package before the error type is returned to
   the caller.

Since the spf13/cobra package already prints out the error, there is no
use in redundantly printing out the error again within the debug log
line.

Signed-off-by: Jesse Simpson <jesse.simpson36@gmail.com>
2025-05-15 20:38:11 -04:00
Matt Farina
b5a4781099
Adding test for list command
Signed-off-by: Matt Farina <matt.farina@suse.com>
2025-05-15 15:23:13 -04:00
Matt Farina
dd40316660
Merge pull request #30842 from ayushontop/main
Fix : No repository is not an error,use the helm repo list command ,if there is no repository,it should not be an error #30606
2025-05-15 19:38:00 +01:00
Matt Farina
9aefd2b328
Merge pull request #30849 from helm/dependabot/github_actions/main/actions/setup-go-5.5.0
build(deps): bump actions/setup-go from 5.4.0 to 5.5.0
2025-05-14 16:47:56 +01:00
Ayush Tiwari
56b688145f
added cmd in repo_list.go for pipeline
Co-authored-by: Terry Howe <terrylhowe@gmail.com>
Signed-off-by: Ayush Tiwari <55987406+ayushontop@users.noreply.github.com>
2025-05-13 18:22:11 +05:30
Robert Sirchia
b2456202ae
Merge pull request #30850 from yetyear/main
refactor: use maps.Copy for cleaner map handling
2025-05-12 13:29:49 -04:00
Robert Sirchia
b25a51b291
Merge pull request #30848 from helm/dependabot/go_modules/main/oras.land/oras-go/v2-2.6.0
build(deps): bump oras.land/oras-go/v2 from 2.5.0 to 2.6.0
2025-05-09 11:46:21 -04:00
George Jenkins
2c1257537c
Merge pull request #30829 from TerryHowe/increase-time-pkg-test-coverage
Increase pkg/time test coverage
2025-05-09 07:54:22 -07:00
yetyear
03448d1d79 refactor: use maps.Copy for cleaner map handling
Signed-off-by: yetyear <flite@outlook.com>
2025-05-09 14:33:25 +08:00
dependabot[bot]
7ab768abc0
build(deps): bump actions/setup-go from 5.4.0 to 5.5.0
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.4.0 to 5.5.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](0aaccfd150...d35c59abb0)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-version: 5.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-08 21:48:01 +00:00
dependabot[bot]
9bfc58f225
build(deps): bump oras.land/oras-go/v2 from 2.5.0 to 2.6.0
Bumps [oras.land/oras-go/v2](https://github.com/oras-project/oras-go) from 2.5.0 to 2.6.0.
- [Release notes](https://github.com/oras-project/oras-go/releases)
- [Commits](https://github.com/oras-project/oras-go/compare/v2.5.0...v2.6.0)

---
updated-dependencies:
- dependency-name: oras.land/oras-go/v2
  dependency-version: 2.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-08 21:45:48 +00:00
Robert Sirchia
4d580c6b95
Merge pull request #30810 from mmorel-35/usestdlibvars
chore: enable usestdlibvars linter
2025-05-08 10:35:10 -04:00
Matt Farina
12ae4a2759
Merge pull request #30844 from TerryHowe/rename-slave-replica
fix: rename slave replica
2025-05-08 14:28:40 +01:00
Terry Howe
71787cca60 fix: rename slave replica
Signed-off-by: Terry Howe <terrylhowe@gmail.com>
2025-05-07 13:55:45 -06:00
George Jenkins
a1f8802de9
Merge pull request #30553 from Zhanweelee/add_mustToYaml_support
feat: Add mustToYaml and mustToJson template functions
2025-05-06 20:56:40 -07:00
Ayush Tiwari
e63cbae886
added cmd.ErrOrStderr()
Signed-off-by: Ayush Tiwari <55987406+ayushontop@users.noreply.github.com>
2025-05-07 02:46:58 +05:30
Ayush Tiwari
95328ea0a6
removed error import
Signed-off-by: Ayush Tiwari <55987406+ayushontop@users.noreply.github.com>
2025-05-07 02:11:46 +05:30
Ayush Tiwari
058bc083a8
changed Error to print
Signed-off-by: Ayush Tiwari <55987406+ayushontop@users.noreply.github.com>
2025-05-07 00:38:13 +05:30
Robert Sirchia
ed475f286e
Merge pull request #30835 from helm/dependabot/go_modules/main/golang.org/x/crypto-0.38.0
build(deps): bump golang.org/x/crypto from 0.37.0 to 0.38.0
2025-05-06 20:57:51 +02:00
dependabot[bot]
01c049c106
build(deps): bump golang.org/x/crypto from 0.37.0 to 0.38.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.37.0 to 0.38.0.
- [Commits](https://github.com/golang/crypto/compare/v0.37.0...v0.38.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-version: 0.38.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-06 18:52:48 +00:00
Robert Sirchia
76fbba2de8
Merge pull request #30836 from helm/dependabot/go_modules/main/golang.org/x/text-0.25.0
build(deps): bump golang.org/x/text from 0.24.0 to 0.25.0
2025-05-06 20:51:36 +02:00
George Jenkins
bff04b9606
Merge pull request #30827 from findnature/main
refactor: use slices.Contains to simplify code
2025-05-06 10:59:16 -07:00
dependabot[bot]
c3b83c3c40
build(deps): bump golangci/golangci-lint-action from 7.0.0 to 8.0.0
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 7.0.0 to 8.0.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](1481404843...4afd733a84)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-version: 8.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-05 22:29:26 +00:00
dependabot[bot]
19997805a2
build(deps): bump golang.org/x/text from 0.24.0 to 0.25.0
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.24.0 to 0.25.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.24.0...v0.25.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-version: 0.25.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-05 22:13:10 +00:00
Matt Farina
6128122714
Merge pull request #30824 from adharsh277/fix-bug
Fix bug in .golangci.yml configuration
2025-05-05 18:29:59 +01:00
Adharsh
7801588957 Fix bug in .golangci.yml configuration
The initial configuration was missing rules that caused the linter to skip
certain important checks. This update adds the missing rules to ensure the
code quality checks are correctly enforced across the repository.
Signed-off-by: Adharsh <adharshunni0007@gmail.com>
2025-05-04 01:53:01 +05:30
Terry Howe
da579a7aa6 chore: add test coverage for time package
Signed-off-by: Terry Howe <terrylhowe@gmail.com>
2025-05-03 04:59:28 -06:00
findnature
ac8d2f9aed refactor: use slices.Contains to simplify code
Signed-off-by: findnature <cricis@aliyun.com>
2025-05-02 09:43:25 +08:00
Terry Howe
f754e6a23b chore: increase test coverage of time pkg
Signed-off-by: Terry Howe <terrylhowe@gmail.com>
2025-04-29 15:36:01 -04:00
Matthieu MOREL
77a267dacf chore: enable usestdlibvars linter
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2025-04-27 22:44:46 +02:00
George Jenkins
31e22b9866
Merge pull request #30800 from mmorel-35/fix-dep-fs
fix: dep fs errors
2025-04-25 16:54:07 -07:00
Matthieu MOREL
15b83a9959 fix: dep fs errors
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2025-04-25 21:58:19 +02:00
Matt Farina
ab15810701
Merge pull request #30786 from mmorel-35/clean-up
refactor: reorganize .golangci.yml for better clarity and structure
2025-04-25 20:49:24 +01:00
Robert Sirchia
4161d77aba
Merge pull request #30803 from mattfarina/fix-errors-windows
Fixing windows build
2025-04-25 15:47:14 -04:00
Matt Farina
ed356cfca8
Fixing windows build
The package github.com/pkg/errors was removed via the pull request #13460.
This change did not correctly handle the case in the windows code and CI
did not exercise this to find the error.

Signed-off-by: Matt Farina <matt.farina@suse.com>
2025-04-25 15:34:05 -04:00
George Jenkins
e865a0f540
Merge pull request #30801 from helm/dependabot/go_modules/main/github.com/fluxcd/cli-utils-0.36.0-flux.13
build(deps): bump github.com/fluxcd/cli-utils from 0.36.0-flux.12 to 0.36.0-flux.13
2025-04-25 10:14:15 -07:00
dependabot[bot]
ef64468187
build(deps): bump github.com/fluxcd/cli-utils
Bumps [github.com/fluxcd/cli-utils](https://github.com/fluxcd/cli-utils) from 0.36.0-flux.12 to 0.36.0-flux.13.
- [Commits](https://github.com/fluxcd/cli-utils/compare/v0.36.0-flux.12...v0.36.0-flux.13)

---
updated-dependencies:
- dependency-name: github.com/fluxcd/cli-utils
  dependency-version: 0.36.0-flux.13
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-24 21:28:19 +00:00
Matthieu MOREL
3270d35d3f refactor: reorganize .golangci.yml for better clarity and structure
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2025-04-24 07:15:21 +02:00
George Jenkins
ecf1730689
Merge pull request #13460 from justenstall/stdlib-errors-2
fix: replace "github.com/pkg/errors" with stdlib "errors" package
2025-04-23 15:47:35 -07:00
Justen Stall
4905a61026
Merge branch 'main' into stdlib-errors-2
Signed-off-by: Justen Stall <39888103+justenstall@users.noreply.github.com>
2025-04-23 15:58:33 -04:00
Matt Farina
fcd37bcea7
Merge pull request #30783 from rpolishchuk/investigate-TestValidateChartIconPresence
fix: chart icon presence test
2025-04-23 20:58:14 +01:00
Robert Sirchia
d9bc0a948c
Merge pull request #30777 from ryanhockstad/merge-fix
fix: null merge. closes #30587
2025-04-23 15:07:54 -04:00