Selene
68f1bfa471
Chore: Update ast to dst ( #61469 )
...
* Update ast to dst
* Sort imports
* Update thema
* Update pkg/codegen/util_go.go
Co-authored-by: sam boyer <sdboyer@grafana.com >
* Move DecoderCompactor into ApplyFuncs
* Remove unnecessary file
* Use dst decorator
* Downgrade parca-dev library
Co-authored-by: sam boyer <sdboyer@grafana.com >
2023-01-17 11:58:08 +01:00
Jack Baldry
410b23c3d9
Use preferred package header for generated code ( #61059 )
...
* Use preferred package header for generated code
> To convey to humans and machine tools that code is generated, generated source should have a line that matches the following regular expression (in Go syntax):
> `^// Code generated .* DO NOT EDIT\.$`
https://pkg.go.dev/cmd/go#hdr-Generate_Go_files_by_processing_source
Co-authored-by: sam boyer <sdboyer@grafana.com >
Signed-off-by: Jack Baldry <jack.baldry@grafana.com >
* Regenerate files with updated header
Signed-off-by: Jack Baldry <jack.baldry@grafana.com >
Signed-off-by: Jack Baldry <jack.baldry@grafana.com >
Co-authored-by: sam boyer <sdboyer@grafana.com >
2023-01-06 04:57:45 -05:00
sam boyer
b8253ac3b9
deps: Update thema, use CUE fork ( #60496 )
...
* deps: Update thema, use CUE fork
* Remove superfluous openapi-codegen output
* Update thema again to catch cuetsy changes
* Rerun codegen with latest
* Latest thema, removes cuetsy update
* Latest of cuetsy
* Update type usage
* One last cuetsy rollback
* Update playlist summary tests
* More lint fixes
* Remove TS veneer changes for VariableHide
Co-authored-by: Clarity-89 <homes89@ukr.net >
2022-12-22 07:20:02 -05:00
sam boyer
78f0340031
plugindef: Move pluginmeta out of coremodels as standalone thema lineage ( #56765 )
...
* Get pluginmeta mostly moved over to pkg/plugins/plugindef
* Remove dead func
* Fix up pfs, use sync.Once in plugindef
* Update to latest thema
* Chase Endec->Codec conversion in Thema
* Comments on slash header gen; use ToSlash
* Also generate JSON schema for plugindef
* Generate JSON Schema as well
* Fix slot loading from kindsys cue decls
* Remove unused vars
* skip generating plugin.schema.json for now
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com >
2022-11-15 14:48:31 +01:00