iotdb / scripts
AGENTS.md6.4k starsChanged 4 years agoApache-2.0View on GitHub
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License…
We split this AGENTS.md into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 62
Run bash -n on each edited Bash script.
- Distinctive: line 71
Keep new cases similarly isolated.
≈ “Common” is an estimate: at least 1 in 5 of the 36,368 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->Script Guidelines
These instructions apply to scripts/ and supplement the
repository instructions.
Shared sources and platform behavior
conf/holds environment setup and shared helpers,sbin/holds launchers, andtools/holds operational utilities. Their Windows counterparts live in the respectivewindows/directories. Review the counterpart when changing shared behavior and keep arguments, configuration handling, and exit status consistent where applicable.- Scripts are copied into several distributions. Read
distribution/AGENTS.md before changing packaged file names,
locations, or dependencies. Update original sources here rather than copies under
target/. - Resolve installation paths relative to the script or the supported environment override,
not the caller's working directory. Preserve
IOTDB_HOME,IOTDB_CONF, data/log directory, andJAVA_HOMEhandling. Quote paths and forwarded arguments, including paths with spaces. - Reuse
conf/iotdb-common.shandconf/windows/iotdb-common.batfor shared behavior. Preserve Maven-filtered placeholders such as@tsfile.locale.opt@; inspect the packaged result when changing them. Keep supported Linux/macOS branches and explicitly guard platform-specific operations such as systemd integration.
Edge lifecycle and cleanup
- Edge startup must use the configuration-aware ConfigNode and DataNode port checks in the shared helpers. Preserve custom configuration paths and fail before launching when required validation fails; do not substitute hardcoded default-port checks.
- Edge stop logic must match both the
org.apache.iotdb.edge.EdgeNodemain class and the exact installationIOTDB_HOME, including when recovering from a missing/stale PID file. Validate ownership again before forced termination; never fall back to a global process-name kill. - Preserve Edge daemon tracking of the forked JVM through
edge.pid. During cleanup, stop only the matching installation's systemd service before stopping the process so it cannot restart while its data is being removed. Propagate stop/service failures instead of continuing. - Preserve cleanup confirmation and force-option behavior. Read effective configured data paths, including legacy configuration and multiple data tiers, and validate every target before deleting any. Retain protection for filesystem/home roots, parent directories, and symlink aliases. Report deletion failures instead of printing a success message.
Verification
- Run
bash -non each edited Bash script. This checks syntax only; exercise changed argument, path, process, and failure behavior with an isolated installation or the existing harness. For Edge operational scripts or their assembly selection, run from the repository root:
python3 .github/scripts/test-edge-ops.pyThe harness covers cleanup, daemon behavior, and assembly selection with temporary fixtures. Keep new cases similarly isolated; do not use an existing installation or real system service as a cleanup fixture.
For Windows Edge launchers, also run on Windows from the repository root:
powershell -NoProfile -File .github/scripts/test-edge-windows.ps1These checks are wired into Edge IT. Report platform-specific checks that could not run; Unix results do not establish Windows behavior.
- For packaged launcher or environment changes, rebuild the affected distribution and smoke-test its extracted scripts. Verify custom configuration, an unrelated working directory, occupied ports, and isolation from another installation when those behaviors are affected. Follow distribution verification for archive checks and Edge IT instructions for Tree/Table read-write verification.
Trending
More talk lately.about the whole repository
Who's talking about apache/iotdb
- A Hacker News story“Apache IoTDB”Hacker News · Feb 5, 2022 · 3 points
- @bearstech.com“Apache IoTDB : une base de données spécialement conçue pour les time series avec une intégration fluide …”Bluesky · Sep 16, 2024 · 2 likes
- OpenAPITools/openapi-generator“[BUG] openapi-generator-maven-plugin generates incorrect package import for go-server”GitHub · Jan 14, 2021 · 1 reactions
- ePlus-DEV/free-tier-hub“[catalog-candidate] apache-iotdb-self-hosted”GitHub · Oct 28, 2026
- apache/nifi“NIFI-16340 - Bump Netty to 4.2.18.Final, Bouncycastle to 1.86, and others”GitHub · Sep 14, 2026
The biggest 5 of 28 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 28
Talked about on GitHub, Bluesky and Hacker News (28 times).
On GitHub · 23
- Jan 14, 2021[BUG] openapi-generator-maven-plugin generates incorrect package import for go-server — OpenAPITools/openapi-generator1 reaction · 2 comments
- Oct 28, 2026[catalog-candidate] apache-iotdb-self-hosted — ePlus-DEV/free-tier-hub0 reactions · 3 comments
- Sep 14, 2026NIFI-16340 - Bump Netty to 4.2.18.Final, Bouncycastle to 1.86, and others — apache/nifi0 reactions
- Jul 8, 2026NIFI-16095 - Bump Jetty to 12.1.11, Jackson to 2.22.1, and others — apache/nifi0 reactions
- Apr 13, 2026NIFI-15832 - Bump AWS SDK to 2.42.33, Azure SDK to 1.3.6, LZ4 Java to 1.11.0, and others — apache/nifi0 reactions
18 more on GitHub
- Apr 13, 2026Update Cluster UDF in UDF-Libraries — apache/iotdb-docs0 reactions
- Mar 4, 2026NIFI-15672 - Bump AWS SDK to 2.42.6, GCP SDK to 26.77, Fabric8 k8s to 7.6.0, and others — apache/nifi0 reactions
- Feb 6, 2026Fix SessionPool client leak on reconnection and query failures, and preserve server error messages — apache/iotdb-client-csharp0 reactions
- Sep 3, 2025An OOM problem reported by DisposableServer — reactor/reactor-netty0 reactions · 11 comments
- Jun 29, 2025在 Apache IoTDB 中实现 Camel 算法 — yoyo185644/camel0 reactions
- Apr 25, 2025docker:支持在docker-compose文件中使用环境变量配置JVM内存参数 — apache/iotdb-docs0 reactions
- Jan 5, 2025Cannot read field "nextClass" — tsantalis/RefactoringMiner0 reactions · 2 comments
- Oct 9, 2024Support new data types STRING, BLOB, DATE and TIMESTAMP — apache/iotdb-client-csharp0 reactions · 1 comment
- Sep 30, 2024Fix tablet isNull method not correct — apache/tsfile0 reactions · 1 comment
- Sep 19, 2023[pixels CI] Implement github CI for pixels — pixelsdb/pixels0 reactions · 1 comment
- Feb 10, 2023Add IoTDB — TrivadisPF/platys-modern-data-platform0 reactions
- Sep 22, 2022Bump iotdb-server from 0.9.1 to 0.13.1 — ColinWilcoxen/pc10 reactions
- Sep 22, 2022Bump iotdb-server from 0.12.0-SNAPSHOT to 0.13.1 in /khkw_iotdb/No9udf — sunjincheng121/know_how_know_why0 reactions
- Sep 22, 2022build(deps): bump iotdb.version from 0.13.0 to 0.14.0-preview2 — TheOneandOnlyJakfrost/plc4x0 reactions
- Aug 21, 2022build(deps): bump iotdb.version from 0.13.0 to 0.14.0-preview1 — unsun/plc4x0 reactions · 2 comments
- Jun 24, 2022build(deps): bump iotdb.version from 0.12.4 to 0.13.0 — ChinaOpenClaw/plc4x0 reactions · 1 comment
- May 23, 2022build(deps): bump iotdb.version from 0.12.4 to 0.13.0 — RalfBarkow/plc4x0 reactions
- May 12, 2022Apache IoTDB贡献指南 — weopenprojects/WeOpen-Star0 reactions
On Bluesky · 4
- Sep 16, 2024Apache IoTDB : une base de données spécialement conçue pour les time series avec une intégration fluide dans les écosystèmes Hadoop et… — @bearstech.com2 likes and reposts
- Sep 16, 2024今日のGitHubトレンド apache/iotdb IoTDBはApache Software Foundationが開発した時系列データベースです。 IoTデータの保存、クエリ、分析に最適化されており、様々なアプリケーションに利用できます。… — @dailygithubtrends.bsky.social0 likes and reposts · 1 reply
- Sep 15, 2024🚀 Skyrocketing! 🚀 (200+ new stars) 📦 apache / iotdb ⭐ 5,382 (+267) 🗒 Java Apache IoTDB — @github-trending.bsky.social0 likes and reposts · 1 reply
- Sep 16, 2023🚀 Skyrocketing! 🚀 (200+ new stars) 📦 apache / iotdb ⭐ 3,873 (+277) 🗒 Java Apache IoTDB — @github-trending.bsky.social0 likes and reposts · 1 reply
On Hacker News · 1
- Feb 5, 2022Apache IoTDB3 points
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 28,693 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository3 other files it gives its agents.
- AGENTS.mdAGENTS.md
- distribution/AGENTS.mdAGENTS.md
- integration-test/AGENTS.mdAGENTS.md
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

