Repository navigation
Conversation
gcheval
commented
May 14, 2020
Contributor
- Attempt to create GTFS storage ONLY if allowWrites == true
- Load GTFS feeds as readOnly if dbFile already exists
- Validate dbFile exists when allowWrites is false
Member
|
I even think loading a previously imported DB should never require write access.
|
Member
|
(I have a vague memory that this may not work due to something I did for the GtfsRealtime-part. Maybe I modify the DB there, for technical reasons.... :-/) Existing tests should catch it if that's the case. |
- Load GTFS feeds DBs as readOnly if they already exists. A runtime exception will be thrown if the mapping in transit_schedule DB is not reflected in the folder. - Validate write access (ensureWriteAccess()) before creating GTFS DBs.
gcheval
force-pushed
the
2036-enforce-allowWrites-for-GTFS-files
branch
from
May 19, 2020 12:23
59dfc59 to
d985f03
Compare
Contributor
Author
|
Hi Michaz, Applied your comments on the PR. Thanks for your assistance!
|
michaz
approved these changes
May 19, 2020
Contributor
Author
|
Hey @michaz, What's the remaining actions before getting that PR into a release? Thanks! |
Member
|
None. Thank you for your help, will get to this shortly. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.