Skip to content

JSON config > + agency_id_cleanup_regex - #63

Merged
mmathieum merged 4 commits into
masterfrom
mm/agency_id_etc
Apr 27, 2026
Merged

mmathieum merged 4 commits into
masterfrom
mm/agency_id_etc

Conversation

@mmathieum

Copy link
Copy Markdown
Member

No description provided.

@mmathieum mmathieum self-assigned this Apr 27, 2026
mmathieum added a commit to mtransitapps/commons-android that referenced this pull request Apr 27, 2026
@mmathieum
mmathieum marked this pull request as ready for review April 27, 2026 13:49

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

Code Review

This pull request introduces support for cleaning agency IDs via regex, updating the configuration, interface, and data export logic accordingly. It also refactors headsign merging by changing the separator from " / " to "/" and modifies the visibility of internal ID conversion methods. Feedback identifies a regression in GenerateMObjectsTask where headsign cleaning was removed during refactoring, as well as a typo and thread-safety issue in the lazy initialization of the agency ID cleanup pattern in DefaultAgencyTools.

@mmathieum
mmathieum merged commit 6182906 into master Apr 27, 2026
@mmathieum
mmathieum deleted the mm/agency_id_etc branch April 27, 2026 14:24
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