Repository navigation
Add --check: report which pinned Splunkbase apps are outdated (2.3.0) - #6
Merged
Merged
Conversation
Reads SPLUNK_APPS_URL from a .env or compose file, compares each pinned release with the newest release that fits the Splunk version (from --splunk-version, --image or the compose image: line) and reports current, outdated, unsupported or unknown. Exit 3 means a pin is not current, so it works in scheduled jobs. Read-only: it never edits the file. Python only. Co-Authored-By: Claude Code <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--check FILEreads theSPLUNK_APPS_URLline(s) of a.envor compose file (plain,export, quoted,- KEY=value,KEY: value), compares every pinned Splunkbase release with the newest release that fits the Splunk version, and prints a table (or JSON).current;outdated(newer eligible release exists);unsupported(pin is newer than any release that fits the Splunk version or--cloud);unknown(pin not in the release list). Warns when an older pin does not list the Splunk version.--splunk-version,--image, or thesplunk/splunkimage:line of the file, otherwise a note says compatibility was not checked.--partial, same as before.SKILL.mdroutes "is it safe to upgrade" to the lifecycle workflow.SPLUNK_APPS_URLvalues andsplunkbase.splunk.comURLs only. Multi-line values are rejected with a clear message,${VAR}references produce a hint to check the.env, other hosts are counted and noted. Python only; the bash fallback points to it._resolveis shared with the normal path, which is unchanged).SKILL.md(workflow step, exit code 3, boundaries, description/metadata), README, Docker reference, CHANGELOG, version 2.3.0. Two evals added (a trigger and a behaviour eval).Test plan
python3 -m unittest discover -s tests: 149 tests pass, 8 live skippedSPLUNKBASE_LIVE=1live tests pass, including--checkon the real oldest and newest releases of app 7931🤖 Generated with Claude Code