Skip to content

Commit 74a1391

Browse files
authored
Merge branch 'master' into fix/from-unixtime-doc-return-type-26637
2 parents 138c393 + 8b1b107 commit 74a1391

File tree

70 files changed

+4762
-552
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+4762
-552
lines changed

.github/workflows/pr-link-validation.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,16 @@ on:
1313
- 'layouts/**/*.html'
1414

1515
jobs:
16+
# TEMPORARILY DISABLED - Remove this condition to re-enable link validation
17+
disabled-check:
18+
if: false # Set to true to re-enable the workflow
19+
runs-on: ubuntu-latest
20+
steps:
21+
- run: echo "Link validation is temporarily disabled"
1622
setup:
1723
name: Setup and Strategy Detection
1824
runs-on: ubuntu-latest
25+
if: false # TEMPORARILY DISABLED - Remove this condition to re-enable
1926
outputs:
2027
strategy: ${{ steps.determine-strategy.outputs.strategy }}
2128
has-changes: ${{ steps.determine-strategy.outputs.has-changes }}
@@ -99,7 +106,7 @@ jobs:
99106
validate:
100107
name: ${{ matrix.name }}
101108
needs: setup
102-
if: needs.setup.outputs.has-changes == 'true'
109+
if: false # TEMPORARILY DISABLED - Original condition: needs.setup.outputs.has-changes == 'true'
103110
runs-on: ubuntu-latest
104111
strategy:
105112
fail-fast: false
@@ -125,7 +132,7 @@ jobs:
125132
report:
126133
name: Report Results
127134
needs: [setup, validate]
128-
if: always() && needs.setup.outputs.has-changes == 'true'
135+
if: false # TEMPORARILY DISABLED - Original condition: always() && needs.setup.outputs.has-changes == 'true'
129136
runs-on: ubuntu-latest
130137
steps:
131138
- name: Checkout

.husky/_/pre-commit

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ call_lefthook()
3333
then
3434
"$dir/node_modules/lefthook/bin/index.js" "$@"
3535

36+
elif go tool lefthook -h >/dev/null 2>&1
37+
then
38+
go tool lefthook "$@"
3639
elif bundle exec lefthook -h >/dev/null 2>&1
3740
then
3841
bundle exec lefthook "$@"
@@ -42,12 +45,21 @@ call_lefthook()
4245
elif pnpm lefthook -h >/dev/null 2>&1
4346
then
4447
pnpm lefthook "$@"
45-
elif swift package plugin lefthook >/dev/null 2>&1
48+
elif swift package lefthook >/dev/null 2>&1
4649
then
47-
swift package --disable-sandbox plugin lefthook "$@"
50+
swift package --build-path .build/lefthook --disable-sandbox lefthook "$@"
4851
elif command -v mint >/dev/null 2>&1
4952
then
5053
mint run csjones/lefthook-plugin "$@"
54+
elif uv run lefthook -h >/dev/null 2>&1
55+
then
56+
uv run lefthook "$@"
57+
elif mise exec -- lefthook -h >/dev/null 2>&1
58+
then
59+
mise exec -- lefthook "$@"
60+
elif devbox run lefthook -h >/dev/null 2>&1
61+
then
62+
devbox run lefthook "$@"
5163
else
5264
echo "Can't find lefthook in PATH"
5365
fi

.husky/_/pre-push

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ call_lefthook()
3333
then
3434
"$dir/node_modules/lefthook/bin/index.js" "$@"
3535

36+
elif go tool lefthook -h >/dev/null 2>&1
37+
then
38+
go tool lefthook "$@"
3639
elif bundle exec lefthook -h >/dev/null 2>&1
3740
then
3841
bundle exec lefthook "$@"
@@ -42,12 +45,21 @@ call_lefthook()
4245
elif pnpm lefthook -h >/dev/null 2>&1
4346
then
4447
pnpm lefthook "$@"
45-
elif swift package plugin lefthook >/dev/null 2>&1
48+
elif swift package lefthook >/dev/null 2>&1
4649
then
47-
swift package --disable-sandbox plugin lefthook "$@"
50+
swift package --build-path .build/lefthook --disable-sandbox lefthook "$@"
4851
elif command -v mint >/dev/null 2>&1
4952
then
5053
mint run csjones/lefthook-plugin "$@"
54+
elif uv run lefthook -h >/dev/null 2>&1
55+
then
56+
uv run lefthook "$@"
57+
elif mise exec -- lefthook -h >/dev/null 2>&1
58+
then
59+
mise exec -- lefthook "$@"
60+
elif devbox run lefthook -h >/dev/null 2>&1
61+
then
62+
devbox run lefthook "$@"
5163
else
5264
echo "Can't find lefthook in PATH"
5365
fi

.husky/_/pre-push.old

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
#!/bin/sh
2+
3+
if [ "$LEFTHOOK_VERBOSE" = "1" -o "$LEFTHOOK_VERBOSE" = "true" ]; then
4+
set -x
5+
fi
6+
7+
if [ "$LEFTHOOK" = "0" ]; then
8+
exit 0
9+
fi
10+
11+
call_lefthook()
12+
{
13+
if test -n "$LEFTHOOK_BIN"
14+
then
15+
"$LEFTHOOK_BIN" "$@"
16+
elif lefthook -h >/dev/null 2>&1
17+
then
18+
lefthook "$@"
19+
else
20+
dir="$(git rev-parse --show-toplevel)"
21+
osArch=$(uname | tr '[:upper:]' '[:lower:]')
22+
cpuArch=$(uname -m | sed 's/aarch64/arm64/;s/x86_64/x64/')
23+
if test -f "$dir/node_modules/lefthook-${osArch}-${cpuArch}/bin/lefthook"
24+
then
25+
"$dir/node_modules/lefthook-${osArch}-${cpuArch}/bin/lefthook" "$@"
26+
elif test -f "$dir/node_modules/@evilmartians/lefthook/bin/lefthook-${osArch}-${cpuArch}/lefthook"
27+
then
28+
"$dir/node_modules/@evilmartians/lefthook/bin/lefthook-${osArch}-${cpuArch}/lefthook" "$@"
29+
elif test -f "$dir/node_modules/@evilmartians/lefthook-installer/bin/lefthook"
30+
then
31+
"$dir/node_modules/@evilmartians/lefthook-installer/bin/lefthook" "$@"
32+
elif test -f "$dir/node_modules/lefthook/bin/index.js"
33+
then
34+
"$dir/node_modules/lefthook/bin/index.js" "$@"
35+
36+
elif bundle exec lefthook -h >/dev/null 2>&1
37+
then
38+
bundle exec lefthook "$@"
39+
elif yarn lefthook -h >/dev/null 2>&1
40+
then
41+
yarn lefthook "$@"
42+
elif pnpm lefthook -h >/dev/null 2>&1
43+
then
44+
pnpm lefthook "$@"
45+
elif swift package plugin lefthook >/dev/null 2>&1
46+
then
47+
swift package --disable-sandbox plugin lefthook "$@"
48+
elif command -v mint >/dev/null 2>&1
49+
then
50+
mint run csjones/lefthook-plugin "$@"
51+
else
52+
echo "Can't find lefthook in PATH"
53+
fi
54+
fi
55+
}
56+
57+
call_lefthook run "pre-push" "$@"

.husky/_/prepare-commit-msg

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ call_lefthook()
3333
then
3434
"$dir/node_modules/lefthook/bin/index.js" "$@"
3535

36+
elif go tool lefthook -h >/dev/null 2>&1
37+
then
38+
go tool lefthook "$@"
3639
elif bundle exec lefthook -h >/dev/null 2>&1
3740
then
3841
bundle exec lefthook "$@"
@@ -42,12 +45,21 @@ call_lefthook()
4245
elif pnpm lefthook -h >/dev/null 2>&1
4346
then
4447
pnpm lefthook "$@"
45-
elif swift package plugin lefthook >/dev/null 2>&1
48+
elif swift package lefthook >/dev/null 2>&1
4649
then
47-
swift package --disable-sandbox plugin lefthook "$@"
50+
swift package --build-path .build/lefthook --disable-sandbox lefthook "$@"
4851
elif command -v mint >/dev/null 2>&1
4952
then
5053
mint run csjones/lefthook-plugin "$@"
54+
elif uv run lefthook -h >/dev/null 2>&1
55+
then
56+
uv run lefthook "$@"
57+
elif mise exec -- lefthook -h >/dev/null 2>&1
58+
then
59+
mise exec -- lefthook "$@"
60+
elif devbox run lefthook -h >/dev/null 2>&1
61+
then
62+
devbox run lefthook "$@"
5163
else
5264
echo "Can't find lefthook in PATH"
5365
fi

content/influxdb3/core/plugins.md renamed to content/influxdb3/core/plugins/_index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ influxdb3/core/tags: [processing engine, python]
1111
related:
1212
- /influxdb3/core/reference/cli/influxdb3/test/wal_plugin/
1313
- /influxdb3/core/reference/cli/influxdb3/create/trigger/
14-
source: /shared/v3-core-plugins/_index.md
14+
source: /shared/influxdb3-plugins/_index.md
1515
---
1616

1717
<!--
18-
//SOURCE - content/shared/v3-core-plugins/_index.md
18+
//SOURCE - content/shared/influxdb3-plugins/_index.md
1919
-->

content/influxdb3/core/extend-plugin.md renamed to content/influxdb3/core/plugins/extend-plugin.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,14 @@ menu:
88
parent: Processing engine and Python plugins
99
weight: 4
1010
influxdb3/core/tags: [processing engine, plugins, API, python]
11-
source: /shared/extended-plugin-api.md
11+
aliases:
12+
- /influxdb3/core/extend-plugin/
13+
related:
14+
- /influxdb3/core/reference/cli/influxdb3/create/trigger/
15+
- /influxdb3/core/reference/cli/influxdb3/test/
16+
- /influxdb3/core/reference/processing-engine/
17+
source: /shared/influxdb3-plugins/extended-plugin-api.md
1218
---
1319

14-
<!--
15-
// SOURCE content/shared/extended-plugin-api.md
16-
-->
20+
<!-- //SOURCE content/shared/influxdb3-plugins/extended-plugin-api.md -->
1721

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
title: Plugin library
3+
description: Browse available plugins for {{% product-name %}} to extend your database functionality with custom Python code.
4+
menu:
5+
influxdb3_core:
6+
name: Plugin library
7+
parent: Processing engine and Python plugins
8+
weight: 5
9+
influxdb3/core/tags: [plugins, processing engine, python]
10+
source: /shared/influxdb3-plugins/plugins-library/_index.md
11+
---
12+
13+
<!-- //SOURCE - content/shared/influxdb3-plugins/plugins-library/_index.md -->
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
title: Example plugins
3+
description: Start with example plugins that demonstrate common use cases.
4+
menu:
5+
influxdb3_core:
6+
name: Example plugins
7+
parent: Plugin library
8+
weight: 1
9+
influxdb3/core/tags: [plugins, processing engine, python, examples]
10+
source: /shared/influxdb3-plugins/plugins-library/examples/_index.md
11+
---
12+
13+
<!-- //SOURCE - content/shared/influxdb3-plugins/plugins-library/examples/_index.md -->
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: WAL plugin
3+
description: Example Write-Ahead Log (WAL) plugin that demonstrates processing data as it's written to the database.
4+
menu:
5+
influxdb3_core:
6+
name: WAL plugin
7+
parent: Example plugins
8+
weight: 100
9+
influxdb3/core/tags: [plugins, processing engine, python, wal, data-write]
10+
related:
11+
- https://github.com/influxdata/influxdb3_plugins/tree/main/examples/wal-plugin, WAL plugin on GitHub
12+
source: /shared/influxdb3-plugins/plugins-library/examples/wal-plugin.md
13+
---
14+
15+
<!-- //SOURCE - content/shared/influxdb3-plugins/plugins-library/examples/wal-plugin.md -->

0 commit comments

Comments
 (0)