Skip to content

chore(deps): update gtfs-lib for CSV export fixes. - #662

Merged
binh-dam-ibigroup merged 5 commits into
dev-flexfrom
flex-update-gtfslib-csv
Aug 14, 2026
Merged

chore(deps): update gtfs-lib for CSV export fixes.#662
binh-dam-ibigroup merged 5 commits into
dev-flexfrom
flex-update-gtfslib-csv

Conversation

@binh-dam-ibigroup

@binh-dam-ibigroup binh-dam-ibigroup commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Checklist

  • Appropriate branch selected => This PR is against dev-flex.
  • [na] Any modified or new methods or classes have helpful JavaDoc and code is thoroughly commented
  • [na] 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 brings a fix from ibi-group/gtfs-lib#31.

@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.

Approving assuming the fix will come later?

@miles-grant-ibigroup miles-grant-ibigroup 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.

Thanks for the update!

assertRowCount(r1.fareRules, r2.fareRules, merged.fareRules, "Fare rules");
assertRowCount(r1.frequencies, r2.frequencies, merged.frequencies, "Frequencies");
assertRowCount(r1.locations, r2.locations, merged.locations, "Locations");
// FIXME: Export locations of unsupported types when merging feeds.

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.

What change created this issue?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

r1.locations and r2.locations were returning 2 locations (the 2 others unknown in each were rejected). merged.locations returns 4. With ibi-group/gtfs-lib#28, r1.locations and r2.locations return 4 each, but only the 2 of known types are exported/written to the merged feed.

@binh-dam-ibigroup
binh-dam-ibigroup merged commit d5012aa into dev-flex Aug 14, 2026
2 checks passed
@binh-dam-ibigroup
binh-dam-ibigroup deleted the flex-update-gtfslib-csv branch August 14, 2026 12:26
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