Skip to content

chore: refactor repository structure and minor improvements#7

Merged
gkostkowski merged 41 commits into
OP-TED:developfrom
meaningfy-ws:develop
Apr 22, 2026
Merged

chore: refactor repository structure and minor improvements#7
gkostkowski merged 41 commits into
OP-TED:developfrom
meaningfy-ws:develop

Conversation

@gkostkowski

@gkostkowski gkostkowski commented Apr 22, 2026

Copy link
Copy Markdown
Contributor

Changes:

  • Refactor repository structure
  • update dependency versions
  • Fix seed_db script
  • Update documentation

twicechild and others added 30 commits April 17, 2026 10:02
fix: correct test directory name in Dockerfile
Moves all Python tooling config and project support files into src/:
config/, resources/, scripts/, Makefile, VERSION, mypy.ini, poetry.lock,
poetry.toml, pyproject.toml, pytest.ini, ruff.toml

infra/ and .github/ remain at repo root (untouchable).
Also ignores .claude/worktrees/ via .gitignore.
- pyproject.toml: use license text instead of file ref (LICENSE stays at root)
- pyproject.toml: remove readme field (README.md stays at root)
- Makefile: add -c pytest.ini to all pytest invocations so rootdir resolves
  to src/ instead of repo root (common ancestor of src/ and ../test/)
Add --rootdir=.. to all pytest invocations so rootdir resolves to the
repo root (ers/) rather than src/. With rootdir=src/ and the test tree
at ../test/, pytest-bdd conftest scoping broke, causing sync fixtures to
appear as coroutines and dict fixture keys to go missing.
…p-delivery

chore: consolidate project under src/ layout with full DevOps alignment
ResolutionRequestRecordFactory.build_for_entity_type() now generates
valid Turtle RDF (content_type="text/turtle") instead of plain JSON,
so re-resolution after seeding no longer fails ERE's content-type check.

Also fixes broken import in seed_db.py (tests.unit → test.unit).
…nfig

Use dct:title and dct:description (with dct: prefix) instead of
epo:hasTitle and epo:hasDescription in _procedure_turtle(), matching
the field mappings in src/config/rdf_mention_config.yaml.
fix: seed_db produces text/turtle content for entity mentions
fix(build): update ers-spec dependency and fix the reference specifier
@gkostkowski gkostkowski requested a review from costezki April 22, 2026 11:45
docs(readme): add application configuration section for rdf_mention_config.yaml
costezki
costezki previously approved these changes Apr 22, 2026
@gkostkowski gkostkowski merged commit 20c1bed into OP-TED:develop Apr 22, 2026
2 checks passed
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.

3 participants