note: going to make this evolution in two steps so that we have a simple
rollback to get back to a working state. We'll be maintaining both packages
and the new templates and stacks endpoints for a while as users start to
move onto a newer CLI version. Sunsetting by end of July.
references: #18580
Goreleaser was causing conflict issues with our dependencies. The
version we relied on used an old go module that we needed to update, but
the module had been split in a backwards incompatible way so we needed
to update goreleaser at the same time.
The update then upgraded our protobuf dependency which we don't want at
the moment.
Since goreleaser is used as a tool rather than a formal dependency,
resolving these conflicts isn't really needed. We also do not use the
version listed in the go.mod file as we do not use `go run` to execute
goreleaser so this removes that dependency from `go.mod` since it is
unused.
Helps #18528
This change bumps a couple of dependencies to prepare for something like #17814 which
updates many dependencies at once. Turns out that change is based on an
old commit, so several things have already been updated.
After this, we should do a separate commit to update prometheus per #18528
Storage should not have a dependency on libflux. This commit removes
some constants that were used from the flux universe package and
replaces them with local copies so that storage no longer has a
dependecy on the universe package.
* feat: create data source cell behind feature flag
* fix: prettier
* fix: remove rogue comment
* feat: adding in bucket context
* fix: prettier
* refactor: display buckets list in loading state until context returns buckets
* refactor: use loading to determine loading state
* refactor: give variable more descriptive name
Co-authored-by: drdelambre <drdelambre>
* fix(query-builder): added function call to editActiveQueryWithBuilder to change redux state to queryBuilder
* fix(query-Builder): resets query builder state after switching to script editor and navigating to another page
* fix(query-Builder): added tests to ensure navigating from the buckets list leads to the data explorer page with query builder
* fix(query-Builder): updated change log
* fix(query-Builder): fixed prettier issue)
* fix(query-Builder): fixed formatting in queryBuilder.ts and simplified test in explorer.test.ts
Co-authored-by: Russ Savage <russorat@users.noreply.github.com>
the Export behavior (renamed from CreatePkg) now provides for stackID as
another input. With this we are able to remove the additional endpoint
/api/v2/packages/stacks/:stack_id/export. It now fits into the
/api/v2/packages/export endpoint as another req body parameter. This also
makes all export functionality in teh same space, encapsulated both in the
endpoint and within the service layer :-).
references: #18646
many spots in the CLI that global flags show up cause confusion or just
add overhead with no value. This cleans that up. Other commands may
have token removed if it does not pertain.
commands that do not have global flags:
* influx
* influx completion
* influx config (all sub commands as well)
* influx template
* influx template validate
* influx transpile
* influx version
* all root commands that have no actions, aka influx organization