Skip to content

Remove OBO Foundry-specific leftovers (prep for 0.1.0)#666

Merged
caufieldjh merged 7 commits into
mainfrom
prep_for_0.1.0
Jul 18, 2026
Merged

Remove OBO Foundry-specific leftovers (prep for 0.1.0)#666
caufieldjh merged 7 commits into
mainfrom
prep_for_0.1.0

Conversation

@caufieldjh

Copy link
Copy Markdown
Collaborator

Summary

Release prep for 0.1.0. Removes infrastructure that was completely OBO
Foundry-specific and left over from the codebase KG-Registry was forked from,
while keeping the legitimate OBO-as-a-source feature (sync_obo_foundry.py,
the obo-foundry collection, org/obo-foundry/, NCIT PURL mappings, and the
OBO sync tests/docs) untouched.

Net effect: ~780 fewer lines and a 95 MB binary removed, with all tests and the
Makefile build graph still intact.

Changes (one commit each)

  • Remove unused ROBOT ontology tool binariestools/robot + the ~95 MB
    tools/robot.jar; never invoked anywhere.
  • Remove dead OBO Foundry dashboard and PURL/SPARQL build machinery
    Makefile build/dashboard/clean-dashboard/reports/dashboard.html,
    reports/robot, the ARQ/SPARQL reports/%.csv rule (no sparql/ dir exists),
    and the valid-purl-report/sparql-consistency-report/integration-test
    targets, plus util/processor.py which backed them (OBO PURL resolution,
    purl.obolibrary.org JSON-LD context, sparql.hegroup.org endpoint).
  • Remove unused OBO Foundry-specific utility scripts
    auto-foundry-check.py, make-shacl-prefixes.py, add_preferred_prefixes.py.
  • Point outputs and docs at KG-Registry instead of OBO Foundry — the
    generated registry/kgs.jsonld @context, the check_schema.py report link,
    registry/README.md, and a dead obo-dash fetch in custom.js.
  • Drop processor.py FTP tests and fixture — kept the live
    retrieve-file-sizes FTP tests.
  • Fix corrupted duplicated block in README-sitedev.md — a prior botched
    edit.

(Also includes the pre-existing "Bump version to 0.1.0" commit already on this branch.)

Verification

  • All 11 unittest-discovered tests pass (matches CI's unittest discover tests).
  • Makefile parses with no dangling targets; all, test, quality-dashboard,
    and the sync-* ingests are unaffected.
  • yaml2json.py emits the corrected KG-Registry @context.

Intentionally left for reviewer decision (not mechanical cleanups)

  • registry/context.jsonld — content is OBO-derived, but the KG visualization
    fetches it live at runtime (with a fallback); rewriting it into a proper
    KG-Registry context is a design task.
  • .github/workflows/ai-agent.yml — uses the third-party run-goose-obo
    action with robot-version; OBO-branded but a functional CI feature.

🤖 Generated with Claude Code

caufieldjh and others added 7 commits July 18, 2026 10:10
ROBOT is the OBO Foundry OWL build/QC tool. The wrapper script and its
~95 MB jar were committed but never invoked anywhere in the repo.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Drops the Makefile targets that only served OBO Foundry's QC pipeline and
were not reachable from 'all', 'test', or CI:

- build/dashboard, clean-dashboard, reports/dashboard.html (copied a
  never-generated reports/robot dir and a nonexistent reports/dashboard-full.csv)
- reports/robot directory target
- reports/%.csv ARQ/SPARQL rule (no sparql/ directory exists)
- valid-purl-report.txt and sparql-consistency-report.txt, plus the
  integration-test target that depended on them

Also deletes util/processor.py, which backed those targets: it resolved OBO
PURLs, built a purl.obolibrary.org JSON-LD context, and queried the OBO
sparql.hegroup.org endpoint. The generic quality-dashboard target and the
sync-* source ingests are unaffected.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
None of these are referenced anywhere in the build or tests:

- auto-foundry-check.py: generated an 'OBO Foundry Criteria Checker' doc page
- make-shacl-prefixes.py: emitted SHACL prefixes for purl.obolibrary.org PURLs
- add_preferred_prefixes.py: added OBO preferredPrefix/resource_purl fields
  that are not part of the KG-Registry schema

Also drops their entries from util/README.md.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- yaml2json.py: the generated registry/kgs.jsonld set its @context to
  obofoundry.github.io/registry/context.jsonld; now points at KG-Registry's
  own served context
- check_schema.py: schema-usage report linked resources to obofoundry.org;
  now links to the KG-Registry resource pages
- registry/README.md: replaced OBO PURL boilerplate (and a stale ../ontology/
  reference) with an accurate description of the derived files
- custom.js: removed a dead function that fetched the OBOFoundry obo-dash
  results into an empty stub

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
These exercised util/processor.py's check_urls over the OBO-specific
resource_purl field. Removes the TestProcessorFTPChecking class, the
test_ftp_resources.yml fixture, and their doc entries, while keeping the
live retrieve-file-sizes FTP tests intact.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
A prior botched edit left a garbled code fence and a duplicated
'Getting Started'/Docker section mid-file. Restores the fence and
removes the duplicate.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@caufieldjh
caufieldjh merged commit 499d528 into main Jul 18, 2026
2 checks passed
@caufieldjh
caufieldjh deleted the prep_for_0.1.0 branch July 18, 2026 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant