Repository navigation
feat: add an opt-in Galaxy CoDex Provider for tool-execution usage - #86
Merged
Merged
Conversation
Galaxy is the first optional Provider, disabled by default and enabled via --enable-provider/a Manifest's enable_providers: it matches a repo's GitHub URL against Galaxy CoDex's tools.json to report cumulative runs, a max unique-user-account figure, and public-instance availability under a new Usage Category, aggregating correctly across a tool's several Galaxy wrappers. Adds ADR-0011 recording why CoDex was chosen over the live Galaxy Europe dashboard and ToolShed downloads, and a user guide.
Closed
|
Tested it from the branch ( |
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
src/providers/galaxy.rs) reportingruns,user_accounts, andpublic_instancesunder a new Usage Category, matching a repository's GitHub URL against CoDex'stools.jsonand correctly aggregating across a tool's several Galaxy wrappers (sum runs, max users — never summed, to avoid over-counting — union instances).-e/--enable-provider galaxy(unknown name → usage error, exit 2) or a Manifest'senable_providers(explicit CLI selection overrides a Manifest's, matching--topic's existing rule).boast providersnow distinguishes default vs. optional Providers.tools.jsonwas chosen over the live Galaxy Europe Grafana dashboard and ToolShed download counts, and the optional-Provider architecture itself), a user guide, and regenerates the CI-checked reference docs.Closes #79.
Test plan
cargo test— 325 lib tests + all integration suites (including 5 new end-to-end Galaxy tests) passcargo clippy --all-targets --all-features -- -D warningscleancargo fmt --checkcleandocs/site/generate-reference.shregenerated with zero further drift;mdbook buildsucceedsboast about --repo mbhall88/rasusa --enable-provider galaxy): 104 runs / 24 users / available on UseGalaxy.eu, UseGalaxy.fr — matches the numbers discussed in the issue thread/code-review(Standards + Spec) run againstmain; all real findings fixed (tightened a GitHub-homepage match guard that could false-match a look-alike host, renamed a helper shadowing an existing one, reworded theuser_accountscaveat closer to the issue's suggested text plus the lag caveat it was missing, extracted a sharedbuild_providershelper so the CLI/Manifest-enable path is one real tested function, extended CONTEXT.md/ADR-0008 for the new Provider Note use)