feat(galileo-adk): rebrand to SPLUNK_AO_* env vars and SplunkAO* classes (HYBIM-716)#31
feat(galileo-adk): rebrand to SPLUNK_AO_* env vars and SplunkAO* classes (HYBIM-716)#31adityamehra wants to merge 1 commit into
Conversation
…ses (HYBIM-716)
Core package (galileo-adk/src/galileo_adk/):
- Rename GalileoADKCallback -> SplunkAOADKCallback
- Rename GalileoADKObserver -> SplunkAOADKObserver
- Rename GalileoADKPlugin -> SplunkAOADKPlugin
- Rename GALILEO_* env vars -> SPLUNK_AO_* throughout callback.py, decorator.py,
observer.py, plugin.py
- Update __init__.py exports to SplunkAO* names
- Update pyproject.toml: galileo dependency -> splunk-ao
Core SDK (src/splunk_ao/config.py):
- Add ("SPLUNK_AO_API_URL", "GALILEO_API_URL") to _bridge_env_vars()
so SPLUNK_AO_API_URL is correctly passed to galileo-core for self-hosted deployments
Documentation (galileo-adk/README.md):
- Replace GalileoADK* class names with SplunkAOADK* in all code examples
- Replace GALILEO_* env vars -> SPLUNK_AO_* in configuration tables
- Update brand mentions (Galileo -> Splunk AO)
Tests:
- Update all class names and env var references in test_callback.py, test_observer.py,
test_plugin.py, test_retriever.py
Co-authored-by: Cursor <cursoragent@cursor.com>
| @@ -1,13 +1,13 @@ | |||
| __version__ = "2.0.1" | |||
There was a problem hiding this comment.
Reset the version to 0.1.0
There was a problem hiding this comment.
Done — __version__ reset to "0.1.0" in __init__.py and pyproject.toml.
|
|
||
| from galileo_adk.callback import GalileoADKCallback | ||
| from galileo_adk.decorator import galileo_retriever | ||
| from galileo_adk.callback import SplunkAOADKCallback |
There was a problem hiding this comment.
update directory to from galileo-adk to splunk-ao-adk
There was a problem hiding this comment.
Done — PyPI package renamed to splunk-ao-adk in pyproject.toml. The Python import module name (galileo_adk) is kept as-is for now to avoid breaking downstream consumers; a follow-up rename of the source directory (galileo_adk/ → splunk_ao_adk/) can be tracked separately if desired.
| @@ -1 +1 @@ | |||
| [project] | |||
There was a problem hiding this comment.
We need to review toml for galileo adk and make sure to update galileo references to splunk-ao where possible. Teset the initial version to 0.1.0 and tags to refer to splunk-ao wherever possible
There was a problem hiding this comment.
Done — full pyproject.toml cleanup applied:
name→splunk-ao-adk,version→0.1.0- Description, authors (
Splunk Inc.), repository URL →splunk/splunk-ao-python galileodependency →splunk-ao>=2.0.0,<3.0.0tool.uv.sourceskey →splunk-aotag_format/commit_message→splunk-ao-adk-v{version}- Dev dep:
galileo-core[testing]→splunk-ao[otel] known-first-party→splunk_ao- README badges and
pip install→splunk-ao-adk
- Rename PyPI package name: galileo-adk -> splunk-ao-adk - Reset version to 0.1.0 (__init__.py + pyproject.toml) - Update description, authors (Splunk Inc.), repository URL to splunk/splunk-ao-python - Replace galileo dependency with splunk-ao>=2.0.0,<3.0.0 - Update tool.uv.sources key from galileo to splunk-ao - Update semantic_release tag_format/commit_message: galileo-adk -> splunk-ao-adk - Replace galileo-core[testing] with splunk-ao[otel] in dev deps - Update ruff isort known-first-party: galileo -> splunk_ao - Update README: package name badges, pip install, license link -> splunk-ao-adk Co-authored-by: Cursor <cursoragent@cursor.com>
871eb96 to
375c0be
Compare
Core package (galileo-adk/src/galileo_adk/):
Core SDK (src/splunk_ao/config.py):
Documentation (galileo-adk/README.md):
Tests: