Skip to content

Rider Categories Merging - #668

Open
binh-dam-ibigroup wants to merge 11 commits into
devfrom
rider-categories-conflict
Open

Rider Categories Merging#668
binh-dam-ibigroup wants to merge 11 commits into
devfrom
rider-categories-conflict

Conversation

@binh-dam-ibigroup

@binh-dam-ibigroup binh-dam-ibigroup commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Checklist

  • Appropriate branch selected (all PRs must first be merged to dev before they can be merged to master)
  • Any modified or new methods or classes have helpful JavaDoc and code is thoroughly commented
  • The description lists all applicable issues this PR seeks to resolve
  • [na] The description lists any configuration setting(s) that differ from the default settings
  • All tests and CI builds passing

Description

This PR attempts to resolve merging of the rider_categories.txt, whether it is from the Fares V2 spec or the GTFS+ spec. The minimal set of fields found in rider_categories.txt from the feed versions to merge will be used, and values merged, regardless of whether rider_categories.txt is from GTFS+ or Fares V2. (Merging of whole Fares V2 feeds is out of scope).

@binh-dam-ibigroup binh-dam-ibigroup changed the title Rider Categories Conflict Rider Categories Merging Sep 3, 2026

@br648 br648 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One minor comment. Tests all pass. All good.

.filter(f -> containsField(allFields, f.name))
.collect(Collectors.toList());
if (table == Table.RIDER_CATEGORIES) {
sharedSpecFields = List.copyOf(allFields);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would benefit from a comment explaining why it is different from all other tables.

@br648 br648 assigned binh-dam-ibigroup and unassigned br648 Sep 7, 2026
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