Commit Graph

37 Commits

Author SHA1 Message Date
Hakan Tunc
ca245981f5
influxdb2-cli: install shell completion
The influx command can generate completion scripts. This PR adds a
post-intall script to install these completions for bash & zsh.

Tested the functionality for aarch64-darwin with zsh.

`influx completion --help`

> NAME:
>     completion - Generates completion scripts
>
> USAGE:
>     completion [bash|zsh|powershell]
2024-07-04 09:10:22 -07:00
Mitchell Skaggs
d7aecd3cb0
{influxdb, influxdb2}: fix build on aarch64-linux
An inadvertent reliance on `char` being signed crept into `libflux`;
this patch specifies a signed 8-bit type for the literal and then
explicitly casts to the appropriate platform `c_char` type.
2024-06-16 00:00:32 -05:00
Mitchell Skaggs
541458b464
influxdb2: 2.7.1 -> 2.7.6
New patch addresses issues with Rust 1.78 until `influxdb2` updates `flux >= v0.195.0`. Removes `no-deny-warnings.patch` and previous Rust version patch as they are not needed anymore.

Co-authored-by: éclairevoyant <848000+eclairevoyant@users.noreply.github.com>
2024-06-16 00:00:32 -05:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Dave Anderson
308cb342c9 maintainers: drop danderson 2024-04-26 11:36:50 -07:00
R. Ryantm
c5bdaa8253 influxdb2-cli: 2.7.4 -> 2.7.5 2024-04-22 14:09:11 +00:00
R. Ryantm
1ddb4d1831 influxdb2-cli: 2.7.3 -> 2.7.4 2024-04-16 02:49:50 +00:00
Paul Meyer
7ebd5b81b7 influxdb2-cli: remove unused buildGoPackage 2023-12-26 09:57:33 +01:00
Fabián Heredia Montiel
ff323ed355 treewide: vendorSha256 → vendorHash
via: `find pkgs/ -type f -exec sed -i 's/vendorSha256 = "sha256/vendorHash = "sha256/' {};`
2023-09-13 01:03:44 -06:00
Charlotte Van Petegem
ca5e5519f0
influxdb2: 2.5.1 -> 2.7.1
https://github.com/influxdata/influxdb/releases/tag/v2.6.0
https://github.com/influxdata/influxdb/releases/tag/v2.6.1
https://github.com/influxdata/influxdb/releases/tag/v2.7.0
https://github.com/influxdata/influxdb/releases/tag/v2.7.1
2023-09-10 14:29:08 +02:00
oddlama
192a8b8ee0
influxdb2-provision: init at 1.0.0 2023-08-23 14:46:52 +02:00
oddlama
d035a550f2
influxdb2-token-manipulator: init at 1.0.0 2023-08-23 14:46:50 +02:00
oddlama
b4d718f14a
nixos/influxdb2: add initial setup automation and nixos tests 2023-08-16 14:31:49 +02:00
oddlama
c3519508e0
influxdb2-cli: specify meta.mainProgram to allow nix run 2023-08-13 13:38:10 +02:00
Jan Malakhovski
5852f26bdc treewide: noop: refer to src.name or similar in sourceRoot where appropriate, part 1: trivial cases 2023-08-03 16:32:03 +00:00
Weijia Wang
2e290f5676 influxdb2: migrate to bindgenHook 2023-05-27 20:05:57 +03:00
R. Ryantm
d14dcc4937 influxdb2-cli: 2.7.1 -> 2.7.3 2023-04-29 15:44:36 +00:00
R. Ryantm
1fefeb759e influxdb2-cli: 2.5.0 -> 2.7.1 2023-04-11 05:27:23 +00:00
Alyssa Ross
12d2821bf5
treewide: remove -ldl linker flags
With all libcs I'm aware of, libdl is now either empty (Glibc, musl,
uclibc, illumos), a symlink to libc or equivalent (Apple), or does not
exist (FreeBSD, NetBSD).  So explicitly linking libdl now does nothing
for the former platforms, and breaks the build for the latter
platforms.

With this patch I've removed -ldl from all overridden linker flags for
all free packages in Nixpkgs.  Everything still seems to build.
2023-01-23 15:34:53 +00:00
happysalada
92ad187a93 influxdb2: 2.4.0 -> 2.5.1 2022-11-13 20:58:42 -05:00
Christian Kögler
9b206e6e32 influxdb2-server: fix cross compilation 2022-10-12 21:08:18 +02:00
Yureka
58cb56ee9c
influxdb2: fix build with rust 1.54 (#195534) 2022-10-12 20:10:33 +02:00
David Anderson
0b0b187d12 influxdb2-server: 2.1.1 -> 2.4.0
influxdb2-cli: 2.3.0 -> 2.4.0

Signed-off-by: David Anderson <dave@natulte.net>
2022-09-18 10:15:09 -07:00
R. Ryantm
1716daf786 influxdb2-cli: 2.2.1 -> 2.3.0 2022-07-31 13:49:46 +00:00
David Anderson
ec3133d46e influxdb2: split CLI and server, add compat buildEnv. 2021-12-16 11:58:30 -08:00
David Anderson
cc6af52e9b influxdb2: remove unused UI dependency tracking files. 2021-12-16 11:25:56 -08:00
David Anderson
8888330a9d influxdb2: 2.0.8 -> 2.1.1
* libflux: 0.124.0 -> 0.139.0; as specified in influxdb 2.1's release notes

* UI: 2.0.8 -> 2.1.2; matching what influxdb 2.1.1 requires

* Add checks in influxdb2's build to verify that libflux and the UI are at
  the version specified by upstream.

* The CLI got split into a separate repository for reasons to do with influx's
  cloud service, and its version has also been decoupled from the main influxdb
  repository. Link it back into the influxdb2 derivation, for compatibility
  with the previous derivation versions.
2021-12-16 11:25:56 -08:00
Claudio Bley
b23d8aa39c influxdb2: 2.0.6 -> 2.0.8
* libflux: 0.115.0 -> 0.124.0; which fixes build errors for libflux on
  hydra (unused vars in Rust)

* the UI (chronograf) is now in embeded as a static asset from its GitHub
  repository
2021-09-20 13:22:08 +02:00
Robert Hensing
a201246bac treewide: runCommandNoCC -> runCommand in generated code
This has been synonymous for ~5y.

Note that many of these runCommand bindings are unused, but that's
ok for generated code.
2021-08-15 17:36:41 +02:00
zowoq
0e50afedc1 influxdb2: buildFlagsArray -> ldflags, tags 2021-08-07 12:28:40 +10:00
Stéphan Kochen
f37710e94e influxdb2: fix darwin build 2021-05-16 23:53:00 -07:00
Claudio Bley
329ec3d17c influxdb2: 2.0.2 -> 2.0.6
* update libflux to version 0.115.0
* chronograf-ui has been renamed to influxdb-ui
2021-05-16 23:53:00 -07:00
Andrew Childs
7869d16545 llvmPackages: Multuple outputs for everythting
Also begin to start work on cross compilation, though that will have to
be finished later.

The patches are based on the first version of
https://reviews.llvm.org/D99484. It's very annoying to do the
back-porting but the review has uncovered nothing super major so I'm
fine sticking with what I've got.

Beyond making the outputs work, I also strove to re-sync the packages,
as they have been drifting pointlessly apart for some time.

----

Other misc notes, highly incomplete

- lvm-config-native and llvm-config are put in `dev` because they are
  tools just for build time.

- Clang no longer has an lld dep. That was introduced in
  db29857eb3, but if clang needs help
  finding lld when it is used we should just pass it flags / put in the
  resource dir. Providing it at build time increases critical path
  length for no good reason.

----

A note on `nativeCC`:

`stdenv` takes tools from the previous stage, so:

1. `pkgsBuildBuild`: `(?1, x, x)`
2. `pkgsBuildBuild.stdenv.cc`: `(?0, ?1, x)`

while:

1. `pkgsBuildBuild`: `(?1, x, x)`
2. `pkgsBuildBuild.targetPackages`: `(x, x, ?2)`
3. `pkgsBuildBuild.targetPackages.stdenv.cc`: `(?1, x, x)`
2021-04-30 05:41:00 +00:00
06kellyjac
a66639068b influxdb2: use now maintained go-bindata 2021-02-06 16:14:45 +00:00
Dave Anderson
4de5d2b081
influxdb2: init at v2.0.2 (#104717)
Signed-off-by: David Anderson <dave@natulte.net>
2020-11-24 16:06:39 +01:00
Graham Christensen
fbc4af5725 Revert "influxdb2: init at v2.0.2 (#104484)"
This reverts commit ecbe92e576.
2020-11-23 14:55:26 -05:00
Dave Anderson
ecbe92e576
influxdb2: init at v2.0.2 (#104484)
Signed-off-by: David Anderson <dave@natulte.net>
2020-11-23 20:40:42 +01:00