Commit Graph

233 Commits (db63923bedff9b0645007b979d1a65e13de69d55)

Author SHA1 Message Date
Matthieu MOREL 111d4e6e0e chore(pkg): fix modernize linter
8 months ago
Mads Jensen a18e59e465 Enable the sloglint linter
10 months ago
Mads Jensen 6cceead399 Use modernize to use newer Golang features.
11 months ago
Matt Farina ca8eae9361
Reproducible chart archive builds
11 months ago
wyrapeseed b9eadd3186 chore: fix some comment format
12 months ago
Matt Farina 90a91e097f
Merge pull request #31198 from TerryHowe/fix-pkg-engine-error-parsing
1 year ago
reddaisyy 1c67fbf108 refactor: use strings.builder
1 year ago
Terry Howe b2870379c8
Update pkg/engine/engine.go
1 year ago
Terry Howe 91a65234ac
Update pkg/engine/engine.go
1 year ago
Terry Howe 9112687a7e
Update pkg/engine/engine.go
1 year ago
bennsimon db50c37eda
remove metadata output on helm template
1 year ago
Jesse Simpson 712cde4624
test: passes now
1 year ago
Jesse Simpson b060911075
refactor: break out into functions and draft tests
1 year ago
Matt Farina 9dcc49cbd5 Move lint pkg to be part of each chart version
1 year ago
Terry Howe 284bd980b6
fix: replace pkg/engine regular expressions with parser
1 year ago
Scott Rigby 069b525332
Merge pull request #13586 from jessesimpson36/cleaner-stacktraces
1 year ago
yetyear 03448d1d79 refactor: use maps.Copy for cleaner map handling
1 year ago
George Jenkins a1f8802de9
Merge pull request #30553 from Zhanweelee/add_mustToYaml_support
1 year ago
Jesse Simpson e0a67b1028
test: use more realistic unit-test scenario by not relying on Release.Name
1 year ago
Jesse Simpson d10c5f6429
style: trim space from formatted error messages
1 year ago
Jesse Simpson 0e0a8cc765
fix: address no-template-associated type of error
1 year ago
Jesse Simpson 013f27c294
fix: use errors.New instead of fmt.Errorf
1 year ago
Jesse Simpson 868cdc261f
refactor: reduce flow-control operations
1 year ago
Jesse Simpson 48922e21d1
refactor: use struct equality instead of comparing each composition
1 year ago
Jesse Simpson ac98e977c3
refactor: switch to while loop instead of for to reduce unnecessary variables
1 year ago
Jesse Simpson 65084371c9
refactor: replace if MatchString with FindStringSubMatch
1 year ago
Jesse Simpson 782f6c6409
refactor: shorten regex subexp syntax
1 year ago
Jesse Simpson 4b9a9ecaf6
refactor: rename function and add doc-string
1 year ago
Jesse Simpson 4f63c73353
refactor: remove impractical safety check
1 year ago
Jesse Simpson 5202820f2f
refactor: define regexs at package scope
1 year ago
Jesse Simpson cbdc22128e
refactor: use strings.Builder instead of string concatenation
1 year ago
Jesse Simpson cdcf1bc601
style: remove unnecessary break
1 year ago
Jesse Simpson 3cc4cb60ba
refactor: prevent duplicates being inserted rather than post-filtering
1 year ago
Jesse Simpson deea4a0d0e
refactor: remove more unnecessary format calls
1 year ago
Jesse Simpson 13b232e061
refactor: make use of regexs for err parsing
1 year ago
Jesse Simpson daf4c34879
fix: use originalErr instead of formatting original error
1 year ago
Jesse Simpson 98da3e28b6
fix: add some index checking and fixed a test that relied on type-checking
1 year ago
Jesse Simpson 80d7a1b33f
style: make format
1 year ago
Jesse Simpson 487f72b822
fix: added protection against while-true condition in unbounded for loop
1 year ago
Jesse Simpson 6bb836374b
test: adjusted to make it more meaningful and to pass
1 year ago
Jesse Simpson 383a758aec
fix: add quality checks to ensure formatted error doesnt remove important info
1 year ago
Jesse Simpson d8bec4e30f
fix: remove comparison from old error message to new
1 year ago
Jesse Simpson c481470985
style: renamed i variable for consistency
1 year ago
Jesse Simpson 2e3f6dce28
fix: save to fileLocation rather than fileLocations[i] which gets overwritten
1 year ago
Jesse Simpson f09bbb8ab8
style: consolidate for loops
1 year ago
Jesse Simpson 1357db4db1
style: removed variable only used once
1 year ago
Jesse Simpson a56daca82b
style: use interface functions instead of inline logic
1 year ago
Jesse Simpson 87f9e2dc45
style: create String function for TraceableError representing one chunk of a stacktrace
1 year ago
Jesse Simpson 6cd0c0082a
fix: split up the multiline errors to be more vertical
1 year ago
Jesse Simpson cc477e9f79
fix: adjust test to not require external chart
1 year ago