Commit Graph

148 Commits (cf06c6d418c109dcbfd23e4e9ebda2c3655210b5)

Author SHA1 Message Date
Scott Rigby 069b525332
Merge pull request #13586 from jessesimpson36/cleaner-stacktraces
7 months ago
yetyear 03448d1d79 refactor: use maps.Copy for cleaner map handling
8 months ago
Jesse Simpson d10c5f6429
style: trim space from formatted error messages
8 months ago
Jesse Simpson 0e0a8cc765
fix: address no-template-associated type of error
8 months ago
Jesse Simpson 013f27c294
fix: use errors.New instead of fmt.Errorf
8 months ago
Jesse Simpson 868cdc261f
refactor: reduce flow-control operations
8 months ago
Jesse Simpson 48922e21d1
refactor: use struct equality instead of comparing each composition
8 months ago
Jesse Simpson ac98e977c3
refactor: switch to while loop instead of for to reduce unnecessary variables
8 months ago
Jesse Simpson 65084371c9
refactor: replace if MatchString with FindStringSubMatch
8 months ago
Jesse Simpson 782f6c6409
refactor: shorten regex subexp syntax
8 months ago
Jesse Simpson 4b9a9ecaf6
refactor: rename function and add doc-string
8 months ago
Jesse Simpson 4f63c73353
refactor: remove impractical safety check
8 months ago
Jesse Simpson 5202820f2f
refactor: define regexs at package scope
8 months ago
Jesse Simpson cbdc22128e
refactor: use strings.Builder instead of string concatenation
8 months ago
Jesse Simpson cdcf1bc601
style: remove unnecessary break
8 months ago
Jesse Simpson 3cc4cb60ba
refactor: prevent duplicates being inserted rather than post-filtering
8 months ago
Jesse Simpson deea4a0d0e
refactor: remove more unnecessary format calls
8 months ago
Jesse Simpson 13b232e061
refactor: make use of regexs for err parsing
8 months ago
Jesse Simpson daf4c34879
fix: use originalErr instead of formatting original error
8 months ago
Jesse Simpson 98da3e28b6
fix: add some index checking and fixed a test that relied on type-checking
8 months ago
Jesse Simpson 487f72b822
fix: added protection against while-true condition in unbounded for loop
8 months ago
Jesse Simpson 6bb836374b
test: adjusted to make it more meaningful and to pass
8 months ago
Jesse Simpson 383a758aec
fix: add quality checks to ensure formatted error doesnt remove important info
8 months ago
Jesse Simpson d8bec4e30f
fix: remove comparison from old error message to new
8 months ago
Jesse Simpson c481470985
style: renamed i variable for consistency
8 months ago
Jesse Simpson 2e3f6dce28
fix: save to fileLocation rather than fileLocations[i] which gets overwritten
8 months ago
Jesse Simpson f09bbb8ab8
style: consolidate for loops
8 months ago
Jesse Simpson 1357db4db1
style: removed variable only used once
8 months ago
Jesse Simpson a56daca82b
style: use interface functions instead of inline logic
8 months ago
Jesse Simpson 87f9e2dc45
style: create String function for TraceableError representing one chunk of a stacktrace
8 months ago
Jesse Simpson 6cd0c0082a
fix: split up the multiline errors to be more vertical
8 months ago
Jesse Simpson cc477e9f79
fix: adjust test to not require external chart
8 months ago
Jesse Simpson 14f902c245
wip: draft at making cleaner stacktraces
8 months ago
Justen Stall 280a9ddbdb
Merge branch 'main' into stdlib-errors-2
8 months ago
Stepan Paksashvili b54349d9b2 fix(pkg/engine): allow to override all functions
8 months ago
Stepan Paksashvili 8982b57e5e feat(pkg/engine): and custom funcs overriding test
8 months ago
Stepan Paksashvili 9073bcf53e feat(pkg/engine): add support for custom template funcs
8 months ago
Robert Sirchia c5991028e0
fixing matts changes
9 months ago
Robert Sirchia 4422000330
fixing case issues with the logging of my errors
10 months ago
Robert Sirchia 848c134e0c
fixing error messages
10 months ago
Robert Sirchia c2e6ed8ae5
fixing build error
10 months ago
Robert Sirchia 8887d01791
fixing issues with my PR
10 months ago
Robert Sirchia c36bc25fb1
fixing missing attributes
10 months ago
Robert Sirchia 1ad79a2bb7
converting inline log to slog
10 months ago
Matt Farina 61d3eca55c
Move pkg/chart to pkg/chart/v2 to prepare for v3 charts
10 months ago
Matt Farina 5c0deec327
Moving chartutil to chart/util
10 months ago
Matt Farina 2236294119 Updating to helm.sh/helm/v4
1 year ago
Matt Farina 5727f56a96
Update to Go 1.23
1 year ago
Justen Stall 63cf42a843
fix: replace "github.com/pkg/errors" with stdlib "errors" package
1 year ago
Nathan Baulch ff9dd262e3
Fix typos
1 year ago