Skip to content

Add build-time MT_DEBUG_DEFAULT support for Constants.DEBUG#45

Merged
mmathieum merged 6 commits into
masterfrom
copilot/add-mt-debug-default-env-var
Jul 9, 2026
Merged

Add build-time MT_DEBUG_DEFAULT support for Constants.DEBUG#45
mmathieum merged 6 commits into
masterfrom
copilot/add-mt-debug-default-env-var

Conversation

Copilot AI commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

This change makes Constants.DEBUG configurable from the build environment instead of hardcoded false. Setting MT_DEBUG_DEFAULT=true during Gradle build now propagates into compiled code as the default debug value.

  • Build-time debug config generation

    • Added a Gradle generateBuildConfig task that reads MT_DEBUG_DEFAULT (defaults to false) and generates org.mtransit.commons.BuildConfig.
    • Wired compileKotlin to depend on this task and include the generated sources directory.
  • Runtime constant wiring

    • Updated Constants.DEBUG to read from BuildConfig.DEBUG_DEFAULT rather than a literal.
  • Targeted test coverage

    • Added ConstantsTests to assert Constants.DEBUG matches the expected value derived from MT_DEBUG_DEFAULT (with false fallback when unset).
object Constants {
    @JvmStatic
    val DEBUG = BuildConfig.DEBUG_DEFAULT
}

Copilot AI changed the title [WIP] Add MT_DEBUG_DEFAULT system environment variable to enable debug mode Add build-time MT_DEBUG_DEFAULT support for Constants.DEBUG Jul 9, 2026
Copilot AI requested a review from mmathieum July 9, 2026 13:05
@mmathieum mmathieum marked this pull request as ready for review July 9, 2026 13:35

@gemini-code-assist gemini-code-assist Bot 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 a mechanism to dynamically configure the Constants.DEBUG flag at build time using a generated BuildConfig class based on the MT_DEBUG_DEFAULT environment variable, and adds a unit test to verify this behavior. The review feedback suggests several improvements to the Gradle build configuration, including using providers.environmentVariable and declaring task inputs to support Gradle's Configuration Cache, registering the generated directory in Kotlin source sets for better IDE integration, and replacing the JVM assert keyword with assertEquals in tests to prevent assertions from being silently ignored.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread build.gradle Outdated
Comment thread build.gradle Outdated
Comment thread src/test/java/org/mtransit/commons/ConstantsTests.kt Outdated
@mmathieum

Copy link
Copy Markdown
Member

@copilot address those #45 (comment) #45 (comment) #45 (comment)

Copilot AI commented Jul 9, 2026

Copy link
Copy Markdown
Contributor Author

@copilot address those #45 (comment) #45 (comment) https://github.com/mtrans...

Addressed in commit 1176b2f.

  • Switched MT_DEBUG_DEFAULT reading to providers.environmentVariable(...)
  • Declared mtDebugDefault as an input to generateBuildConfig
  • Registered generated source via kotlin.sourceSets.main.kotlin.srcDir(generateBuildConfig)
  • Updated test assertion to assertEquals(...)

@mmathieum

Copy link
Copy Markdown
Member

/gemini review

@gemini-code-assist gemini-code-assist Bot 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 a dynamic build configuration generation task in build.gradle to set the default debug flag based on the MT_DEBUG_DEFAULT environment variable, which is then used in Constants.kt. The review feedback suggests improving build reproducibility and reliability by cleaning the output directory before generation and explicitly specifying the UTF-8 charset when writing the generated file.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread build.gradle
@mmathieum

Copy link
Copy Markdown
Member

@copilot #45 (comment)

Copilot AI commented Jul 9, 2026

Copy link
Copy Markdown
Contributor Author

@copilot #45 (comment)

Addressed in commit b816afa.

generateBuildConfig now deletes the generated output directory before writing and writes BuildConfig.kt using explicit UTF-8 encoding.

@mmathieum

Copy link
Copy Markdown
Member

/gemini review

@gemini-code-assist gemini-code-assist Bot 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 a Gradle task to dynamically generate a BuildConfig class containing a DEBUG_DEFAULT flag based on the MT_DEBUG_DEFAULT environment variable, and updates Constants.kt to utilize this generated value. The review feedback suggests replacing project.delete(outputDir) with outputDir.deleteDir() inside the task action to ensure compatibility with Gradle's configuration cache.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread build.gradle Outdated
@mmathieum

Copy link
Copy Markdown
Member

@copilot #45 (comment)

montransit added a commit to mtransitapps/ca-prince-george-transit-system-bus-android that referenced this pull request Jul 10, 2026
…parser':

- commons: runall.sh > print current directory on failure
- commons: Build(deps): Bump com.google.android.libraries.places:places from 5.2.0 to 5.3.0 mtransitapps/commons#808
- commons-android: #isAndroidApp cleanup
- commons-java: Add build-time `MT_DEBUG_DEFAULT` support for `Constants.DEBUG` mtransitapps/commons-java#45
- commons-java: Replace `(?U)` (no compat /w Android) with Unicode Property Classes like `\p{L}`.
- commons-java: CRASH fix created 5 hours ago in 478717d
- commons-java: regex scratch++
- commons-java: String cleaner > compat w/ `Les É/Î / Abc`
- commons-java: String cleaner > compat w/ `Les / Abc`
- commons-java: Regex scratch > + expected result
- parser: Use GTFS directions file when provided #lio mtransitapps/parser#77
- parser: `JSON` > + `service_id_avoid_merge`... mtransitapps/parser#76
montransit added a commit to mtransitapps/ca-central-fraser-valley-transit-system-bus-android that referenced this pull request Jul 10, 2026
…parser':

- commons: runall.sh > print current directory on failure
- commons: Build(deps): Bump com.google.android.libraries.places:places from 5.2.0 to 5.3.0 mtransitapps/commons#808
- commons-android: #isAndroidApp cleanup
- commons-java: Add build-time `MT_DEBUG_DEFAULT` support for `Constants.DEBUG` mtransitapps/commons-java#45
- commons-java: Replace `(?U)` (no compat /w Android) with Unicode Property Classes like `\p{L}`.
- commons-java: CRASH fix created 5 hours ago in 478717d
- commons-java: regex scratch++
- commons-java: String cleaner > compat w/ `Les É/Î / Abc`
- commons-java: String cleaner > compat w/ `Les / Abc`
- commons-java: Regex scratch > + expected result
- parser: Use GTFS directions file when provided #lio mtransitapps/parser#77
- parser: `JSON` > + `service_id_avoid_merge`... mtransitapps/parser#76
montransit added a commit to mtransitapps/ca-quebec-traversiers-ferry-android that referenced this pull request Jul 10, 2026
…parser':

- commons: runall.sh > print current directory on failure
- commons: Build(deps): Bump com.google.android.libraries.places:places from 5.2.0 to 5.3.0 mtransitapps/commons#808
- commons-android: #isAndroidApp cleanup
- commons-java: Add build-time `MT_DEBUG_DEFAULT` support for `Constants.DEBUG` mtransitapps/commons-java#45
- commons-java: Replace `(?U)` (no compat /w Android) with Unicode Property Classes like `\p{L}`.
- commons-java: CRASH fix created 5 hours ago in 478717d
- commons-java: regex scratch++
- commons-java: String cleaner > compat w/ `Les É/Î / Abc`
- commons-java: String cleaner > compat w/ `Les / Abc`
- commons-java: Regex scratch > + expected result
- parser: Use GTFS directions file when provided #lio mtransitapps/parser#77
- parser: `JSON` > + `service_id_avoid_merge`... mtransitapps/parser#76
montransit added a commit to mtransitapps/ca-durham-region-transit-bus-android that referenced this pull request Jul 10, 2026
…parser':

- commons: runall.sh > print current directory on failure
- commons: Build(deps): Bump com.google.android.libraries.places:places from 5.2.0 to 5.3.0 mtransitapps/commons#808
- commons: Improve GTFS input logging with optional CSV-aware previews after archive preparation mtransitapps/commons#805
- commons: Try fixing download timeout issue #Brandon mtransitapps/commons#806
- commons: Add conditional retry for flaky GTFS download step in mt-download-data workflow mtransitapps/commons#807
- commons: Update README Twitter link to x.com
- commons: Build(deps): Bump androidx.sqlite:sqlite-ktx from 2.6.2 to 2.7.0 in the androidx group across 1 directory mtransitapps/commons#799
- commons: Build(deps): Bump gradle-wrapper from 9.6.0 to 9.6.1 in /shared mtransitapps/commons#803
- commons: Build(deps): Bump com.gradle.develocity from 4.4.3 to 4.5.0 in /shared mtransitapps/commons#802
- commons: Build(deps): Bump com.google.android.gms:play-services-location from 21.3.0 to 21.4.0 in the gms group across 1 directory mtransitapps/commons#800
- commons: Build(deps): Bump the ads group across 1 directory with 2 updates mtransitapps/commons#801
- commons: Build(deps): Bump mtransitapps/gh-actions from 1.2.1 to 1.3.0 in /shared-overwrite/.github/workflows mtransitapps/commons#798
- commons: Download & prepare GTFS > better error handling mtransitapps/commons#797
- commons: Update workflow paths for mt-store-listing-push
- commons: Generated Store listing full/short desc > compat w/ NextBus
- commons-android: #isAndroidApp cleanup
- commons-android: cleanup
- commons-android: Filter `inFocus` cleanup & POI status `validity` (& `useful`) mtransitapps/commons-android#166
- commons-android: Delete `TimeExt.kt` mtransitapps/commons-android#169
- commons-android: Handle Twitter/X ISO-8601 millisecond timestamps in legacy date parsing mtransitapps/commons-android#167
- commons-android: Update GTFS Real-Time proto mtransitapps/commons-android#168
- commons-android: Code cleanup from other PR mtransitapps/commons-android#165
- commons-java: Add build-time `MT_DEBUG_DEFAULT` support for `Constants.DEBUG` mtransitapps/commons-java#45
- commons-java: Replace `(?U)` (no compat /w Android) with Unicode Property Classes like `\p{L}`.
- commons-java: CRASH fix created 5 hours ago in 478717d
- commons-java: regex scratch++
- commons-java: String cleaner > compat w/ `Les É/Î / Abc`
- commons-java: String cleaner > compat w/ `Les / Abc`
- commons-java: Regex scratch > + expected result
- commons-java: cleanup
- commons-java: Support for custom LC UC words min
montransit added a commit to mtransitapps/ca-williams-lake-transit-bus-android that referenced this pull request Jul 10, 2026
…parser':

- commons: runall.sh > print current directory on failure
- commons: Build(deps): Bump com.google.android.libraries.places:places from 5.2.0 to 5.3.0 mtransitapps/commons#808
- commons-android: #isAndroidApp cleanup
- commons-java: Add build-time `MT_DEBUG_DEFAULT` support for `Constants.DEBUG` mtransitapps/commons-java#45
- commons-java: Replace `(?U)` (no compat /w Android) with Unicode Property Classes like `\p{L}`.
- commons-java: CRASH fix created 5 hours ago in 478717d
- commons-java: regex scratch++
- commons-java: String cleaner > compat w/ `Les É/Î / Abc`
- commons-java: String cleaner > compat w/ `Les / Abc`
- commons-java: Regex scratch > + expected result
- parser: Use GTFS directions file when provided #lio mtransitapps/parser#77
- parser: `JSON` > + `service_id_avoid_merge`... mtransitapps/parser#76
montransit added a commit to mtransitapps/ca-quesnel-transit-bus-android that referenced this pull request Jul 10, 2026
…parser':

- commons: runall.sh > print current directory on failure
- commons: Build(deps): Bump com.google.android.libraries.places:places from 5.2.0 to 5.3.0 mtransitapps/commons#808
- commons-android: #isAndroidApp cleanup
- commons-java: Add build-time `MT_DEBUG_DEFAULT` support for `Constants.DEBUG` mtransitapps/commons-java#45
- commons-java: Replace `(?U)` (no compat /w Android) with Unicode Property Classes like `\p{L}`.
- commons-java: CRASH fix created 5 hours ago in 478717d
- commons-java: regex scratch++
- commons-java: String cleaner > compat w/ `Les É/Î / Abc`
- commons-java: String cleaner > compat w/ `Les / Abc`
- commons-java: Regex scratch > + expected result
- parser: Use GTFS directions file when provided #lio mtransitapps/parser#77
- parser: `JSON` > + `service_id_avoid_merge`... mtransitapps/parser#76
montransit added a commit to mtransitapps/ca-kamloops-transit-system-bus-android that referenced this pull request Jul 10, 2026
…parser':

- commons: runall.sh > print current directory on failure
- commons: Build(deps): Bump com.google.android.libraries.places:places from 5.2.0 to 5.3.0 mtransitapps/commons#808
- commons-android: #isAndroidApp cleanup
- commons-java: Add build-time `MT_DEBUG_DEFAULT` support for `Constants.DEBUG` mtransitapps/commons-java#45
- commons-java: Replace `(?U)` (no compat /w Android) with Unicode Property Classes like `\p{L}`.
- commons-java: CRASH fix created 5 hours ago in 478717d
- commons-java: regex scratch++
- commons-java: String cleaner > compat w/ `Les É/Î / Abc`
- commons-java: String cleaner > compat w/ `Les / Abc`
- commons-java: Regex scratch > + expected result
- parser: Use GTFS directions file when provided #lio mtransitapps/parser#77
- parser: `JSON` > + `service_id_avoid_merge`... mtransitapps/parser#76
montransit added a commit to mtransitapps/fr-perpignan-sankeo-bus-android that referenced this pull request Jul 10, 2026
…parser':

- commons: runall.sh > print current directory on failure
- commons: Build(deps): Bump com.google.android.libraries.places:places from 5.2.0 to 5.3.0 mtransitapps/commons#808
- commons-android: #isAndroidApp cleanup
- commons-java: Add build-time `MT_DEBUG_DEFAULT` support for `Constants.DEBUG` mtransitapps/commons-java#45
- commons-java: Replace `(?U)` (no compat /w Android) with Unicode Property Classes like `\p{L}`.
- commons-java: CRASH fix created 5 hours ago in 478717d
- commons-java: regex scratch++
- commons-java: String cleaner > compat w/ `Les É/Î / Abc`
- commons-java: String cleaner > compat w/ `Les / Abc`
- commons-java: Regex scratch > + expected result
- parser: Use GTFS directions file when provided #lio mtransitapps/parser#77
- parser: `JSON` > + `service_id_avoid_merge`... mtransitapps/parser#76
montransit added a commit to mtransitapps/ca-salt-spring-island-transit-bus-android that referenced this pull request Jul 10, 2026
…parser':

- commons: runall.sh > print current directory on failure
- commons: Build(deps): Bump com.google.android.libraries.places:places from 5.2.0 to 5.3.0 mtransitapps/commons#808
- commons-android: #isAndroidApp cleanup
- commons-java: Add build-time `MT_DEBUG_DEFAULT` support for `Constants.DEBUG` mtransitapps/commons-java#45
- commons-java: Replace `(?U)` (no compat /w Android) with Unicode Property Classes like `\p{L}`.
- commons-java: CRASH fix created 5 hours ago in 478717d
- commons-java: regex scratch++
- commons-java: String cleaner > compat w/ `Les É/Î / Abc`
- commons-java: String cleaner > compat w/ `Les / Abc`
- commons-java: Regex scratch > + expected result
- parser: Use GTFS directions file when provided #lio mtransitapps/parser#77
- parser: `JSON` > + `service_id_avoid_merge`... mtransitapps/parser#76
montransit added a commit to mtransitapps/ca-yellowknife-transit-bus-android that referenced this pull request Jul 10, 2026
…parser':

- commons: runall.sh > print current directory on failure
- commons: Build(deps): Bump com.google.android.libraries.places:places from 5.2.0 to 5.3.0 mtransitapps/commons#808
- commons-android: #isAndroidApp cleanup
- commons-java: Add build-time `MT_DEBUG_DEFAULT` support for `Constants.DEBUG` mtransitapps/commons-java#45
- commons-java: Replace `(?U)` (no compat /w Android) with Unicode Property Classes like `\p{L}`.
- commons-java: CRASH fix created 5 hours ago in 478717d
- commons-java: regex scratch++
- commons-java: String cleaner > compat w/ `Les É/Î / Abc`
- commons-java: String cleaner > compat w/ `Les / Abc`
- commons-java: Regex scratch > + expected result
- parser: Use GTFS directions file when provided #lio mtransitapps/parser#77
- parser: `JSON` > + `service_id_avoid_merge`... mtransitapps/parser#76
montransit added a commit to mtransitapps/ca-gtha-go-transit-bus-android that referenced this pull request Jul 10, 2026
…parser':

- commons: runall.sh > print current directory on failure
- commons: Build(deps): Bump com.google.android.libraries.places:places from 5.2.0 to 5.3.0 mtransitapps/commons#808
- commons: Improve GTFS input logging with optional CSV-aware previews after archive preparation mtransitapps/commons#805
- commons: Try fixing download timeout issue #Brandon mtransitapps/commons#806
- commons: Add conditional retry for flaky GTFS download step in mt-download-data workflow mtransitapps/commons#807
- commons-android: #isAndroidApp cleanup
- commons-android: cleanup
- commons-android: Filter `inFocus` cleanup & POI status `validity` (& `useful`) mtransitapps/commons-android#166
- commons-android: Delete `TimeExt.kt` mtransitapps/commons-android#169
- commons-android: Handle Twitter/X ISO-8601 millisecond timestamps in legacy date parsing mtransitapps/commons-android#167
- commons-android: Update GTFS Real-Time proto mtransitapps/commons-android#168
- commons-java: Add build-time `MT_DEBUG_DEFAULT` support for `Constants.DEBUG` mtransitapps/commons-java#45
- commons-java: Replace `(?U)` (no compat /w Android) with Unicode Property Classes like `\p{L}`.
- commons-java: CRASH fix created 5 hours ago in 478717d
- commons-java: regex scratch++
- commons-java: String cleaner > compat w/ `Les É/Î / Abc`
- commons-java: String cleaner > compat w/ `Les / Abc`
- commons-java: Regex scratch > + expected result
- commons-java: cleanup
- parser: Use GTFS directions file when provided #lio mtransitapps/parser#77
- parser: `JSON` > + `service_id_avoid_merge`... mtransitapps/parser#76
montransit added a commit to mtransitapps/ca-south-okanagan-similkameen-transit-system-bus-android that referenced this pull request Jul 10, 2026
…parser':

- commons: runall.sh > print current directory on failure
- commons: Build(deps): Bump com.google.android.libraries.places:places from 5.2.0 to 5.3.0 mtransitapps/commons#808
- commons-android: #isAndroidApp cleanup
- commons-java: Add build-time `MT_DEBUG_DEFAULT` support for `Constants.DEBUG` mtransitapps/commons-java#45
- commons-java: Replace `(?U)` (no compat /w Android) with Unicode Property Classes like `\p{L}`.
- commons-java: CRASH fix created 5 hours ago in 478717d
- commons-java: regex scratch++
- commons-java: String cleaner > compat w/ `Les É/Î / Abc`
- commons-java: String cleaner > compat w/ `Les / Abc`
- commons-java: Regex scratch > + expected result
- parser: Use GTFS directions file when provided #lio mtransitapps/parser#77
- parser: `JSON` > + `service_id_avoid_merge`... mtransitapps/parser#76
montransit added a commit to mtransitapps/ca-st-albert-transit-bus-android that referenced this pull request Jul 10, 2026
…parser':

- commons: runall.sh > print current directory on failure
- commons: Build(deps): Bump com.google.android.libraries.places:places from 5.2.0 to 5.3.0 mtransitapps/commons#808
- commons: Improve GTFS input logging with optional CSV-aware previews after archive preparation mtransitapps/commons#805
- commons: Try fixing download timeout issue #Brandon mtransitapps/commons#806
- commons: Add conditional retry for flaky GTFS download step in mt-download-data workflow mtransitapps/commons#807
- commons: Update README Twitter link to x.com
- commons: Build(deps): Bump androidx.sqlite:sqlite-ktx from 2.6.2 to 2.7.0 in the androidx group across 1 directory mtransitapps/commons#799
- commons: Build(deps): Bump gradle-wrapper from 9.6.0 to 9.6.1 in /shared mtransitapps/commons#803
- commons: Build(deps): Bump com.gradle.develocity from 4.4.3 to 4.5.0 in /shared mtransitapps/commons#802
- commons: Build(deps): Bump com.google.android.gms:play-services-location from 21.3.0 to 21.4.0 in the gms group across 1 directory mtransitapps/commons#800
- commons: Build(deps): Bump the ads group across 1 directory with 2 updates mtransitapps/commons#801
- commons: Build(deps): Bump mtransitapps/gh-actions from 1.2.1 to 1.3.0 in /shared-overwrite/.github/workflows mtransitapps/commons#798
- commons: Download & prepare GTFS > better error handling mtransitapps/commons#797
- commons: Update workflow paths for mt-store-listing-push
- commons: Generated Store listing full/short desc > compat w/ NextBus
- commons: Fix "archive" script > compat with space in headers "service_id, monday, ..." mtransitapps/commons#796
- commons-android: #isAndroidApp cleanup
- commons-android: cleanup
- commons-android: Filter `inFocus` cleanup & POI status `validity` (& `useful`) mtransitapps/commons-android#166
- commons-android: Delete `TimeExt.kt` mtransitapps/commons-android#169
- commons-android: Handle Twitter/X ISO-8601 millisecond timestamps in legacy date parsing mtransitapps/commons-android#167
- commons-android: Update GTFS Real-Time proto mtransitapps/commons-android#168
- commons-android: Code cleanup from other PR mtransitapps/commons-android#165
- commons-android: `ProviderContract.Filter` > shared filter params mtransitapps/commons-android#164
- commons-java: Add build-time `MT_DEBUG_DEFAULT` support for `Constants.DEBUG` mtransitapps/commons-java#45
- commons-java: Replace `(?U)` (no compat /w Android) with Unicode Property Classes like `\p{L}`.
- commons-java: CRASH fix created 5 hours ago in 478717d
- commons-java: regex scratch++
- commons-java: String cleaner > compat w/ `Les É/Î / Abc`
- commons-java: String cleaner > compat w/ `Les / Abc`
- commons-java: Regex scratch > + expected result
- commons-java: cleanup
- commons-java: Support for custom LC UC words min
montransit added a commit to mtransitapps/ca-clearwater-regional-transit-bus-android that referenced this pull request Jul 10, 2026
…parser':

- commons: runall.sh > print current directory on failure
- commons: Build(deps): Bump com.google.android.libraries.places:places from 5.2.0 to 5.3.0 mtransitapps/commons#808
- commons-android: #isAndroidApp cleanup
- commons-java: Add build-time `MT_DEBUG_DEFAULT` support for `Constants.DEBUG` mtransitapps/commons-java#45
- commons-java: Replace `(?U)` (no compat /w Android) with Unicode Property Classes like `\p{L}`.
- commons-java: CRASH fix created 5 hours ago in 478717d
- commons-java: regex scratch++
- commons-java: String cleaner > compat w/ `Les É/Î / Abc`
- commons-java: String cleaner > compat w/ `Les / Abc`
- commons-java: Regex scratch > + expected result
- parser: Use GTFS directions file when provided #lio mtransitapps/parser#77
- parser: `JSON` > + `service_id_avoid_merge`... mtransitapps/parser#76
montransit added a commit to mtransitapps/ca-dawson-creek-transit-system-bus-android that referenced this pull request Jul 10, 2026
…parser':

- commons: runall.sh > print current directory on failure
- commons: Build(deps): Bump com.google.android.libraries.places:places from 5.2.0 to 5.3.0 mtransitapps/commons#808
- commons-android: #isAndroidApp cleanup
- commons-java: Add build-time `MT_DEBUG_DEFAULT` support for `Constants.DEBUG` mtransitapps/commons-java#45
- commons-java: Replace `(?U)` (no compat /w Android) with Unicode Property Classes like `\p{L}`.
- commons-java: CRASH fix created 5 hours ago in 478717d
- commons-java: regex scratch++
- commons-java: String cleaner > compat w/ `Les É/Î / Abc`
- commons-java: String cleaner > compat w/ `Les / Abc`
- commons-java: Regex scratch > + expected result
- parser: Use GTFS directions file when provided #lio mtransitapps/parser#77
- parser: `JSON` > + `service_id_avoid_merge`... mtransitapps/parser#76
montransit added a commit to mtransitapps/ca-smithers-district-transit-bus-android that referenced this pull request Jul 10, 2026
…parser':

- commons: runall.sh > print current directory on failure
- commons: Build(deps): Bump com.google.android.libraries.places:places from 5.2.0 to 5.3.0 mtransitapps/commons#808
- commons-android: #isAndroidApp cleanup
- commons-java: Add build-time `MT_DEBUG_DEFAULT` support for `Constants.DEBUG` mtransitapps/commons-java#45
- commons-java: Replace `(?U)` (no compat /w Android) with Unicode Property Classes like `\p{L}`.
- commons-java: CRASH fix created 5 hours ago in 478717d
- commons-java: regex scratch++
- commons-java: String cleaner > compat w/ `Les É/Î / Abc`
- commons-java: String cleaner > compat w/ `Les / Abc`
- commons-java: Regex scratch > + expected result
- parser: Use GTFS directions file when provided #lio mtransitapps/parser#77
- parser: `JSON` > + `service_id_avoid_merge`... mtransitapps/parser#76
montransit added a commit to mtransitapps/ca-west-kootenay-transit-system-bus-android that referenced this pull request Jul 10, 2026
…parser':

- commons: runall.sh > print current directory on failure
- commons: Build(deps): Bump com.google.android.libraries.places:places from 5.2.0 to 5.3.0 mtransitapps/commons#808
- commons-android: #isAndroidApp cleanup
- commons-java: Add build-time `MT_DEBUG_DEFAULT` support for `Constants.DEBUG` mtransitapps/commons-java#45
- commons-java: Replace `(?U)` (no compat /w Android) with Unicode Property Classes like `\p{L}`.
- commons-java: CRASH fix created 5 hours ago in 478717d
- commons-java: regex scratch++
- commons-java: String cleaner > compat w/ `Les É/Î / Abc`
- commons-java: String cleaner > compat w/ `Les / Abc`
- commons-java: Regex scratch > + expected result
- parser: Use GTFS directions file when provided #lio mtransitapps/parser#77
- parser: `JSON` > + `service_id_avoid_merge`... mtransitapps/parser#76
montransit added a commit to mtransitapps/ca-quebec-rtc-bus-android that referenced this pull request Jul 10, 2026
…parser':

- commons: runall.sh > print current directory on failure
- commons: Build(deps): Bump com.google.android.libraries.places:places from 5.2.0 to 5.3.0 mtransitapps/commons#808
- commons-android: #isAndroidApp cleanup
- commons-java: Add build-time `MT_DEBUG_DEFAULT` support for `Constants.DEBUG` mtransitapps/commons-java#45
- commons-java: Replace `(?U)` (no compat /w Android) with Unicode Property Classes like `\p{L}`.
- commons-java: CRASH fix created 5 hours ago in 478717d
- commons-java: regex scratch++
- commons-java: String cleaner > compat w/ `Les É/Î / Abc`
- commons-java: String cleaner > compat w/ `Les / Abc`
- commons-java: Regex scratch > + expected result
- parser: Use GTFS directions file when provided #lio mtransitapps/parser#77
- parser: `JSON` > + `service_id_avoid_merge`... mtransitapps/parser#76
montransit added a commit to mtransitapps/ca-mont-tremblant-bus-android that referenced this pull request Jul 10, 2026
…parser':

- commons: runall.sh > print current directory on failure
- commons: Build(deps): Bump com.google.android.libraries.places:places from 5.2.0 to 5.3.0 mtransitapps/commons#808
- commons-android: #isAndroidApp cleanup
- commons-java: Add build-time `MT_DEBUG_DEFAULT` support for `Constants.DEBUG` mtransitapps/commons-java#45
- commons-java: Replace `(?U)` (no compat /w Android) with Unicode Property Classes like `\p{L}`.
- commons-java: CRASH fix created 5 hours ago in 478717d
- commons-java: regex scratch++
- commons-java: String cleaner > compat w/ `Les É/Î / Abc`
- commons-java: String cleaner > compat w/ `Les / Abc`
- commons-java: Regex scratch > + expected result
- parser: Use GTFS directions file when provided #lio mtransitapps/parser#77
- parser: `JSON` > + `service_id_avoid_merge`... mtransitapps/parser#76
montransit added a commit to mtransitapps/ca-gtha-go-transit-train-android that referenced this pull request Jul 10, 2026
…parser':

- commons: runall.sh > print current directory on failure
- commons: Build(deps): Bump com.google.android.libraries.places:places from 5.2.0 to 5.3.0 mtransitapps/commons#808
- commons: Improve GTFS input logging with optional CSV-aware previews after archive preparation mtransitapps/commons#805
- commons: Try fixing download timeout issue #Brandon mtransitapps/commons#806
- commons: Add conditional retry for flaky GTFS download step in mt-download-data workflow mtransitapps/commons#807
- commons-android: #isAndroidApp cleanup
- commons-android: cleanup
- commons-android: Filter `inFocus` cleanup & POI status `validity` (& `useful`) mtransitapps/commons-android#166
- commons-android: Delete `TimeExt.kt` mtransitapps/commons-android#169
- commons-android: Handle Twitter/X ISO-8601 millisecond timestamps in legacy date parsing mtransitapps/commons-android#167
- commons-android: Update GTFS Real-Time proto mtransitapps/commons-android#168
- commons-java: Add build-time `MT_DEBUG_DEFAULT` support for `Constants.DEBUG` mtransitapps/commons-java#45
- commons-java: Replace `(?U)` (no compat /w Android) with Unicode Property Classes like `\p{L}`.
- commons-java: CRASH fix created 5 hours ago in 478717d
- commons-java: regex scratch++
- commons-java: String cleaner > compat w/ `Les É/Î / Abc`
- commons-java: String cleaner > compat w/ `Les / Abc`
- commons-java: Regex scratch > + expected result
- commons-java: cleanup
- parser: Use GTFS directions file when provided #lio mtransitapps/parser#77
- parser: `JSON` > + `service_id_avoid_merge`... mtransitapps/parser#76
montransit added a commit to mtransitapps/ca-quebec-plumobile-bus-android that referenced this pull request Jul 10, 2026
…parser':

- commons: runall.sh > print current directory on failure
- commons: Build(deps): Bump com.google.android.libraries.places:places from 5.2.0 to 5.3.0 mtransitapps/commons#808
- commons-android: #isAndroidApp cleanup
- commons-java: Add build-time `MT_DEBUG_DEFAULT` support for `Constants.DEBUG` mtransitapps/commons-java#45
- commons-java: Replace `(?U)` (no compat /w Android) with Unicode Property Classes like `\p{L}`.
- commons-java: CRASH fix created 5 hours ago in 478717d
- commons-java: regex scratch++
- commons-java: String cleaner > compat w/ `Les É/Î / Abc`
- commons-java: String cleaner > compat w/ `Les / Abc`
- commons-java: Regex scratch > + expected result
- parser: Use GTFS directions file when provided #lio mtransitapps/parser#77
- parser: `JSON` > + `service_id_avoid_merge`... mtransitapps/parser#76
montransit added a commit to mtransitapps/ca-mrc-montcalm-transport-collectif-bus-android that referenced this pull request Jul 10, 2026
…parser':

- commons: runall.sh > print current directory on failure
- commons: Build(deps): Bump com.google.android.libraries.places:places from 5.2.0 to 5.3.0 mtransitapps/commons#808
- commons-android: #isAndroidApp cleanup
- commons-java: Add build-time `MT_DEBUG_DEFAULT` support for `Constants.DEBUG` mtransitapps/commons-java#45
- commons-java: Replace `(?U)` (no compat /w Android) with Unicode Property Classes like `\p{L}`.
- commons-java: CRASH fix created 5 hours ago in 478717d
- commons-java: regex scratch++
- commons-java: String cleaner > compat w/ `Les É/Î / Abc`
- commons-java: String cleaner > compat w/ `Les / Abc`
- commons-java: Regex scratch > + expected result
- parser: Use GTFS directions file when provided #lio mtransitapps/parser#77
- parser: `JSON` > + `service_id_avoid_merge`... mtransitapps/parser#76
montransit added a commit to mtransitapps/ca-merritt-transit-bus-android that referenced this pull request Jul 10, 2026
…parser':

- commons: runall.sh > print current directory on failure
- commons: Build(deps): Bump com.google.android.libraries.places:places from 5.2.0 to 5.3.0 mtransitapps/commons#808
- commons-android: #isAndroidApp cleanup
- commons-java: Add build-time `MT_DEBUG_DEFAULT` support for `Constants.DEBUG` mtransitapps/commons-java#45
- commons-java: Replace `(?U)` (no compat /w Android) with Unicode Property Classes like `\p{L}`.
- commons-java: CRASH fix created 5 hours ago in 478717d
- commons-java: regex scratch++
- commons-java: String cleaner > compat w/ `Les É/Î / Abc`
- commons-java: String cleaner > compat w/ `Les / Abc`
- commons-java: Regex scratch > + expected result
- parser: Use GTFS directions file when provided #lio mtransitapps/parser#77
- parser: `JSON` > + `service_id_avoid_merge`... mtransitapps/parser#76
montransit added a commit to mtransitapps/ca-west-coast-transit-bus-android that referenced this pull request Jul 10, 2026
…parser':

- commons: runall.sh > print current directory on failure
- commons: Build(deps): Bump com.google.android.libraries.places:places from 5.2.0 to 5.3.0 mtransitapps/commons#808
- commons-android: #isAndroidApp cleanup
- commons-java: Add build-time `MT_DEBUG_DEFAULT` support for `Constants.DEBUG` mtransitapps/commons-java#45
- commons-java: Replace `(?U)` (no compat /w Android) with Unicode Property Classes like `\p{L}`.
- commons-java: CRASH fix created 5 hours ago in 478717d
- commons-java: regex scratch++
- commons-java: String cleaner > compat w/ `Les É/Î / Abc`
- commons-java: String cleaner > compat w/ `Les / Abc`
- commons-java: Regex scratch > + expected result
- parser: Use GTFS directions file when provided #lio mtransitapps/parser#77
- parser: `JSON` > + `service_id_avoid_merge`... mtransitapps/parser#76
montransit added a commit to mtransitapps/ca-kelowna-regional-transit-system-bus-android that referenced this pull request Jul 10, 2026
…parser':

- commons: runall.sh > print current directory on failure
- commons: Build(deps): Bump com.google.android.libraries.places:places from 5.2.0 to 5.3.0 mtransitapps/commons#808
- commons-android: #isAndroidApp cleanup
- commons-java: Add build-time `MT_DEBUG_DEFAULT` support for `Constants.DEBUG` mtransitapps/commons-java#45
- commons-java: Replace `(?U)` (no compat /w Android) with Unicode Property Classes like `\p{L}`.
- commons-java: CRASH fix created 5 hours ago in 478717d
- commons-java: regex scratch++
- commons-java: String cleaner > compat w/ `Les É/Î / Abc`
- commons-java: String cleaner > compat w/ `Les / Abc`
- commons-java: Regex scratch > + expected result
- parser: Use GTFS directions file when provided #lio mtransitapps/parser#77
- parser: `JSON` > + `service_id_avoid_merge`... mtransitapps/parser#76
montransit added a commit to mtransitapps/ca-edmonton-ets-bus-android that referenced this pull request Jul 10, 2026
…parser':

- commons: runall.sh > print current directory on failure
- commons: Build(deps): Bump com.google.android.libraries.places:places from 5.2.0 to 5.3.0 mtransitapps/commons#808
- commons: Improve GTFS input logging with optional CSV-aware previews after archive preparation mtransitapps/commons#805
- commons: Try fixing download timeout issue #Brandon mtransitapps/commons#806
- commons: Add conditional retry for flaky GTFS download step in mt-download-data workflow mtransitapps/commons#807
- commons: Update README Twitter link to x.com
- commons: Build(deps): Bump androidx.sqlite:sqlite-ktx from 2.6.2 to 2.7.0 in the androidx group across 1 directory mtransitapps/commons#799
- commons: Build(deps): Bump gradle-wrapper from 9.6.0 to 9.6.1 in /shared mtransitapps/commons#803
- commons: Build(deps): Bump com.gradle.develocity from 4.4.3 to 4.5.0 in /shared mtransitapps/commons#802
- commons: Build(deps): Bump com.google.android.gms:play-services-location from 21.3.0 to 21.4.0 in the gms group across 1 directory mtransitapps/commons#800
- commons: Build(deps): Bump the ads group across 1 directory with 2 updates mtransitapps/commons#801
- commons: Build(deps): Bump mtransitapps/gh-actions from 1.2.1 to 1.3.0 in /shared-overwrite/.github/workflows mtransitapps/commons#798
- commons: Download & prepare GTFS > better error handling mtransitapps/commons#797
- commons: Update workflow paths for mt-store-listing-push
- commons: Generated Store listing full/short desc > compat w/ NextBus
- commons: Fix "archive" script > compat with space in headers "service_id, monday, ..." mtransitapps/commons#796
- commons-android: #isAndroidApp cleanup
- commons-android: cleanup
- commons-android: Filter `inFocus` cleanup & POI status `validity` (& `useful`) mtransitapps/commons-android#166
- commons-android: Delete `TimeExt.kt` mtransitapps/commons-android#169
- commons-android: Handle Twitter/X ISO-8601 millisecond timestamps in legacy date parsing mtransitapps/commons-android#167
- commons-android: Update GTFS Real-Time proto mtransitapps/commons-android#168
- commons-android: Code cleanup from other PR mtransitapps/commons-android#165
- commons-android: `ProviderContract.Filter` > shared filter params mtransitapps/commons-android#164
- commons-java: Add build-time `MT_DEBUG_DEFAULT` support for `Constants.DEBUG` mtransitapps/commons-java#45
- commons-java: Replace `(?U)` (no compat /w Android) with Unicode Property Classes like `\p{L}`.
- commons-java: CRASH fix created 5 hours ago in 478717d
- commons-java: regex scratch++
- commons-java: String cleaner > compat w/ `Les É/Î / Abc`
- commons-java: String cleaner > compat w/ `Les / Abc`
- commons-java: Regex scratch > + expected result
- commons-java: cleanup
- commons-java: Support for custom LC UC words min
montransit added a commit to mtransitapps/ca-whistler-transit-system-bus-android that referenced this pull request Jul 10, 2026
…parser':

- commons: runall.sh > print current directory on failure
- commons: Build(deps): Bump com.google.android.libraries.places:places from 5.2.0 to 5.3.0 mtransitapps/commons#808
- commons-android: #isAndroidApp cleanup
- commons-java: Add build-time `MT_DEBUG_DEFAULT` support for `Constants.DEBUG` mtransitapps/commons-java#45
- commons-java: Replace `(?U)` (no compat /w Android) with Unicode Property Classes like `\p{L}`.
- commons-java: CRASH fix created 5 hours ago in 478717d
- commons-java: regex scratch++
- commons-java: String cleaner > compat w/ `Les É/Î / Abc`
- commons-java: String cleaner > compat w/ `Les / Abc`
- commons-java: Regex scratch > + expected result
- parser: Use GTFS directions file when provided #lio mtransitapps/parser#77
- parser: `JSON` > + `service_id_avoid_merge`... mtransitapps/parser#76
montransit added a commit to mtransitapps/ca-powell-river-regional-transit-system-bus-android that referenced this pull request Jul 10, 2026
…parser':

- commons: runall.sh > print current directory on failure
- commons: Build(deps): Bump com.google.android.libraries.places:places from 5.2.0 to 5.3.0 mtransitapps/commons#808
- commons-android: #isAndroidApp cleanup
- commons-java: Add build-time `MT_DEBUG_DEFAULT` support for `Constants.DEBUG` mtransitapps/commons-java#45
- commons-java: Replace `(?U)` (no compat /w Android) with Unicode Property Classes like `\p{L}`.
- commons-java: CRASH fix created 5 hours ago in 478717d
- commons-java: regex scratch++
- commons-java: String cleaner > compat w/ `Les É/Î / Abc`
- commons-java: String cleaner > compat w/ `Les / Abc`
- commons-java: Regex scratch > + expected result
- parser: Use GTFS directions file when provided #lio mtransitapps/parser#77
- parser: `JSON` > + `service_id_avoid_merge`... mtransitapps/parser#76
montransit added a commit to mtransitapps/ca-fort-st-john-transit-system-bus-android that referenced this pull request Jul 10, 2026
…parser':

- commons: runall.sh > print current directory on failure
- commons: Build(deps): Bump com.google.android.libraries.places:places from 5.2.0 to 5.3.0 mtransitapps/commons#808
- commons-android: #isAndroidApp cleanup
- commons-java: Add build-time `MT_DEBUG_DEFAULT` support for `Constants.DEBUG` mtransitapps/commons-java#45
- commons-java: Replace `(?U)` (no compat /w Android) with Unicode Property Classes like `\p{L}`.
- commons-java: CRASH fix created 5 hours ago in 478717d
- commons-java: regex scratch++
- commons-java: String cleaner > compat w/ `Les É/Î / Abc`
- commons-java: String cleaner > compat w/ `Les / Abc`
- commons-java: Regex scratch > + expected result
- parser: Use GTFS directions file when provided #lio mtransitapps/parser#77
- parser: `JSON` > + `service_id_avoid_merge`... mtransitapps/parser#76
montransit added a commit to mtransitapps/ca-gatineau-sto-bus-android that referenced this pull request Jul 10, 2026
…parser':

- commons: runall.sh > print current directory on failure
- commons: Build(deps): Bump com.google.android.libraries.places:places from 5.2.0 to 5.3.0 mtransitapps/commons#808
- commons-android: #isAndroidApp cleanup
- commons-java: Add build-time `MT_DEBUG_DEFAULT` support for `Constants.DEBUG` mtransitapps/commons-java#45
- commons-java: Replace `(?U)` (no compat /w Android) with Unicode Property Classes like `\p{L}`.
- commons-java: CRASH fix created 5 hours ago in 478717d
- commons-java: regex scratch++
- commons-java: String cleaner > compat w/ `Les É/Î / Abc`
- commons-java: String cleaner > compat w/ `Les / Abc`
- commons-java: Regex scratch > + expected result
- parser: Use GTFS directions file when provided #lio mtransitapps/parser#77
- parser: `JSON` > + `service_id_avoid_merge`... mtransitapps/parser#76
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.

Add MT_DEBUG_DEFAULT system environment variable that turn on DEBUG by default

2 participants