Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IO: Add GTFS protobuf module and Wire plugin #628

Merged
merged 1 commit into from
Feb 28, 2025

Conversation

ksharma-xyz
Copy link
Owner

@ksharma-xyz ksharma-xyz commented Feb 23, 2025

TL;DR

Added Wire Protocol Buffer support for GTFS data processing with initial NSW stop definitions.

What changed?

  • Created new GTFS IO module with Wire Protocol Buffer integration
  • Added NswStop.proto file defining stop data structure
  • Configured Wire plugin for Kotlin code generation from proto files
  • Added necessary dependencies for Wire and Kotlin IO operations

How to test?

  1. Run ./gradlew generateCommonMainProtos
  2. Verify generated Kotlin files appear in build/generated/source/wire/
  3. Confirm the generated code matches the NswStop.proto definitions

Why make this change?

Protocol Buffers provide an efficient, language-neutral mechanism for serializing structured transport data. This implementation will enable better handling of GTFS data across the application while maintaining type safety and reducing data transfer overhead.

@ksharma-xyz ksharma-xyz changed the title Create :io:gtfs module IO: Add GTFS protobuf module and Wire plugin Feb 23, 2025
@ksharma-xyz ksharma-xyz marked this pull request as ready for review February 23, 2025 03:29
@ksharma-xyz ksharma-xyz force-pushed the 02-22-add_wire_plugin_and_proto_files_for_nswstop branch from a3e9539 to dbc47f8 Compare February 26, 2025 21:24
@ksharma-xyz ksharma-xyz force-pushed the 02-22-add_nswstops_table_and_necessary_migrations branch from 73e93e1 to 217afe0 Compare February 26, 2025 21:24
@ksharma-xyz ksharma-xyz force-pushed the 02-22-add_nswstops_table_and_necessary_migrations branch from 217afe0 to a719f07 Compare February 27, 2025 11:26
@ksharma-xyz ksharma-xyz force-pushed the 02-22-add_wire_plugin_and_proto_files_for_nswstop branch from dbc47f8 to 02e3192 Compare February 27, 2025 13:22
@ksharma-xyz ksharma-xyz changed the base branch from 02-22-add_nswstops_table_and_necessary_migrations to graphite-base/628 February 27, 2025 13:31
@ksharma-xyz ksharma-xyz force-pushed the 02-22-add_wire_plugin_and_proto_files_for_nswstop branch from 02e3192 to beb6cbc Compare February 27, 2025 13:31
@ksharma-xyz ksharma-xyz changed the base branch from graphite-base/628 to main February 27, 2025 13:32
@ksharma-xyz ksharma-xyz force-pushed the 02-22-add_wire_plugin_and_proto_files_for_nswstop branch from beb6cbc to 14c3cc8 Compare February 27, 2025 13:32
@ksharma-xyz ksharma-xyz force-pushed the 02-22-add_wire_plugin_and_proto_files_for_nswstop branch from 14c3cc8 to d31c1ad Compare February 28, 2025 05:54
@ksharma-xyz ksharma-xyz enabled auto-merge (squash) February 28, 2025 05:54
@ksharma-xyz ksharma-xyz merged commit 70cfbbb into main Feb 28, 2025
2 checks passed
@ksharma-xyz ksharma-xyz deleted the 02-22-add_wire_plugin_and_proto_files_for_nswstop branch February 28, 2025 06:13
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