MCPcopy Index your code
hub / github.com/department-for-transport-BODS/bods

github.com/department-for-transport-BODS/bods @v1.54.40

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.54.40 ↗ · + Follow
9,020 symbols 42,778 edges 1,379 files 1,830 documented · 20% updated 3d agov1.54.40 · 2026-06-29★ 621 open issues

Browse by type

Functions 6,272 Types & classes 2,541 Endpoints 207
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

BODS

Bus Open Data Service

Contributing

Please read the CONTRIBUTING.md document if you wish to setup a development environment.

Deployment

We now have 4 environments:

  • dev
  • test
  • uat
  • prod

Your branch should be merged in the following order: Feature_branch -> dev -> test -> main -> tagging (with the relevant version)

  • The dev branch deploys into the dev environment
  • The test branch deploys into the test environment
  • The main branch deploys into the uat environment
  • Tags deploy to the prod environment

When pushing to the dev branch, an image will be built and pushed up the ECR, tagging it with the version specified in 'version.txt' (so make sure you change this when pushing your code up, otherwise the pipeline will not be triggered). The services will then be updated to use this latest version.

When pushing to the other environments (test, uat or prod), it will use the version.txt file to find the image version and update the services accordingly. All deployments are automated other than the prod deployment, which requires an approval from the KPMG infrastructure team.

HotFix Deployment

Step 1

Create a pull request from your branch into test, obtain approval and merge. This will trigger the test pipeline. The test pipeline should fail as the image does not exist.

Step 2

Navigate to the hotfix pipeline and trigger it from the test branch. This will trigger the build and will take around 1:30 minutes to complete.

Core symbols most depended-on inside this repo

Shape

Method 4,293
Class 2,541
Function 1,979
Route 207

Languages

Python98%
TypeScript2%

Modules by API surface

transit_odp/organisation/querysets.py143 symbols
transit_odp/organisation/tests/test_querysets.py88 symbols
transit_odp/browse/tests/test_views.py86 symbols
transit_odp/browse/views/timetable_views.py85 symbols
transit_odp/organisation/views.py82 symbols
transit_odp/publish/tests/test_views.py75 symbols
transit_odp/publish/views/base.py74 symbols
transit_odp/timetables/transxchange.py67 symbols
transit_odp/data_quality/models/querysets.py64 symbols
transit_odp/browse/views/local_authority.py64 symbols
transit_odp/data_quality/models/warnings.py61 symbols
transit_odp/fares_validator/views/functions.py58 symbols

For agents

$ claude mcp add bods \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page