Skip to content

Clean up legacy code and artifacts#41

Merged
DaviddeBest-TNO merged 2 commits into
mainfrom
cleanup/issue-38-legacy
Jun 25, 2026
Merged

Clean up legacy code and artifacts#41
DaviddeBest-TNO merged 2 commits into
mainfrom
cleanup/issue-38-legacy

Conversation

@DaviddeBest-TNO

Copy link
Copy Markdown
Contributor

Closes #38

Removes the pre-overhaul, config-driven mapper implementation and its examples from the repository. Full history is preserved at the mapper-legacy git tag.

Changes

Deleted:

  • src/knowledge_mapper/legacy/ — the old mapper, data sources, auth, wizard, etc.
  • examples/legacy/ — the old Docker-based examples
  • setup.py — build configuration lives in pyproject.toml

Updated:

  • pyproject.toml — dropped the ruff exclude entries for the deleted legacy paths
  • CONTEXT.md — removed the Legacy Code section, removed the legacy entries from the project-layout tree, and dropped the "legacy dirs excluded" note from the ruff line
  • CONTRIBUTING.md — removed the now-stale Legacy Code section that pointed contributors at the deleted directories (tightly coupled to this change)

Per the issue, README references to the legacy overhaul are intentionally left alone — those are scoped to the README rewrite (#36).

Acceptance criteria

  • src/knowledge_mapper/legacy/ deleted
  • examples/legacy/ deleted
  • setup.py deleted
  • pyproject.toml no longer excludes legacy dirs from ruff
  • CONTEXT.md no longer references legacy directories
  • No imports of knowledge_mapper.legacy remain (verified via grep)
  • uv run pytest — 97 passed
  • uv run ruff check . — all checks passed

DaviddeBest-TNO and others added 2 commits June 25, 2026 16:24
Remove the pre-overhaul, config-driven mapper implementation and its
examples from the repository. Full history is preserved at the
`mapper-legacy` git tag.

- Delete `src/knowledge_mapper/legacy/` (old mapper, data sources,
  auth, wizard, etc.)
- Delete `examples/legacy/` (old Docker-based examples)
- Delete `setup.py` — build is configured in `pyproject.toml`
- Remove ruff exclusions for the deleted legacy paths
- Remove the Legacy Code sections from CONTEXT.md and CONTRIBUTING.md
  and drop the legacy entries from CONTEXT.md's project layout

Closes #38

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@DaviddeBest-TNO DaviddeBest-TNO merged commit 1efb227 into main Jun 25, 2026
3 checks passed
@DaviddeBest-TNO DaviddeBest-TNO deleted the cleanup/issue-38-legacy branch June 25, 2026 14:58
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.

Clean up legacy code and artifacts

1 participant