Skip to content

[doc-sync] docs: note contrib is a git submodule in AGENTS.md - #9194

Merged
timosachsenberg merged 1 commit into
developfrom
doc-sync/contrib-submodule-note-0ab2ee4a8672d061
Apr 21, 2026
Merged

timosachsenberg merged 1 commit into
developfrom
doc-sync/contrib-submodule-note-0ab2ee4a8672d061

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Summary

Recent code change (beae5c3a7f, #9155) converted the contrib/ directory from a plain directory into a git submodule. The CHANGELOG already documents this change:

contrib: the contrib directory is now a git submodule; developers and packagers building from a git clone must run git submodule update --init (or clone with --recurse-submodules) to obtain the vendored third-party libraries (#9155)

However, AGENTS.md — which is the authoritative reference for AI coding agents and contributors — mentioned the contrib tree in the build setup section without noting the submodule requirement.

Source files that triggered this review

  • .gitmodules (contrib now listed as submodule)
  • .github/workflows/openms_ci_matrix_full.yml (updated CI for submodule)
  • beae5c3a7f — contrib: Treat as a submodule so we don't release it separately (#9155)

Documentation files updated

File Change
AGENTS.md Added a bullet under Build and Install noting that contrib is a git submodule and that git submodule update --init contrib must be run before building

Change made

- - Dependencies via distro packages or the contrib tree; set `OPENMS_CONTRIB_LIBS` and `CMAKE_PREFIX_PATH` as needed (Qt, contrib).
+ - Dependencies via distro packages or the contrib tree; set `OPENMS_CONTRIB_LIBS` and `CMAKE_PREFIX_PATH` as needed (Qt, contrib).
+ - **contrib is a git submodule**: run `git submodule update --init contrib` (or clone with `--recurse-submodules`) before building if you need the vendored third-party libraries.

This prevents confusion for developers and AI agents who read AGENTS.md for build instructions, as omitting this step results in an empty contrib/ directory and a broken build.

Other documentation checked (no changes needed)

  • README.md — does not describe build steps in detail; links to external docs
  • CONTRIBUTING.md — does not describe contrib setup; links to external developer guide
  • CLAUDE.md — does not mention contrib tree
  • doc/doxygen/ — no references to contrib submodule setup
  • All LinearResampler references in docs — already updated by the refactor commit (Deleted LinearResampler  #9153)
  • MascotGenericFile.h class docs — already updated in the MGF SEQ= commit (feat(MGF): support SEQ= sequence-query field on read and write #9186)
  • ProSE TOPP tool docs — use @verbinclude/@htmlinclude (auto-generated); prose description still accurate

Generated by Documentation Sync Agent · ◷

The contrib directory was converted to a git submodule (#9155).
Add a note to AGENTS.md so developers know to run
'git submodule update --init contrib' before building.

Co-authored-by: Copilot <[email protected]>
@timosachsenberg
timosachsenberg marked this pull request as ready for review April 21, 2026 07:07
@timosachsenberg
timosachsenberg merged commit 4d76c4c into develop Apr 21, 2026
3 checks passed
@timosachsenberg
timosachsenberg deleted the doc-sync/contrib-submodule-note-0ab2ee4a8672d061 branch April 21, 2026 07:07
timosachsenberg pushed a commit that referenced this pull request Apr 23, 2026
AGENTS.md was updated in #9194 to note that contrib is a git submodule
and requires 'git submodule update --init contrib' before building.
Sync the same note to CLAUDE.md so both AI-assistant guidelines files
carry this important setup step.

Co-authored-by: GitHub Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant