Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(25)

Issue 75063: Adding validation for uniqueness of service_id X date in calendar_dates

Can't Edit
Can't Publish+Mail
Start Review
Created:
4 months, 3 weeks ago by jirka
Modified:
1 week, 4 days ago
Reviewers:
googletransitdatafeed, Tom
CC:
SVN Base:
http://googletransitdatafeed.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Adding two values with identical service_id and date into calendar_dates.txt
does not make sense and the result is undefined. However, it is not prohibited
by GTFS. This adds a warning if the duplicity on those two keys is found.

Patch Set 1

Total comments: 2

Patch Set 2 : Changing single column name into tuple, adding test data.

Patch Set 3 : Moving error handling into SetDateHasService.

Patch Set 4 : Adding unit test

Patch Set 5 : Adding unit test (from the right directory)

Total comments: 5

Patch Set 6 : Review turnaround

Total comments: 8

Patch Set 7 : Setting context of warning

Patch Set 8 : Formatting

Total comments: 4

Patch Set 9 : Adding ClearContext()

Total comments: 2

Patch Set 10 : Removing unnecessary linebreak

Unified diffs Side-by-side diffs Delta from patch set Stats Patch
M python/test/testtransitfeed.py View 3 5 7 1 chunk 26 lines 0 comments Download
M python/transitfeed.py View 1 2 3 5 7 8 9 5 chunks 77 lines 0 comments Download

Messages

Total messages: 13
jirka
4 months, 3 weeks ago
Tom
I'm fine waiting until we have settled on an implemention before you add a test, ...
4 months, 3 weeks ago
jirka
Sorry, I didn't get to it for some time. > I'm fine waiting until we ...
4 months, 1 week ago
Tom
Sorry for letting this slip through the cracks. I think it is still relevant. > ...
2 weeks, 4 days ago
jirka
> I'm not so keen on the huge directory tree for test data because it ...
2 weeks, 2 days ago
jirka
http://codereview.appspot.com/75063/diff/1/2 File python/transitfeed.py (right): http://codereview.appspot.com/75063/diff/1/2#newcode3822 Line 3822: service_id+' X '+row[1], On 2009/06/18 22:17:33, Tom wrote: ...
2 weeks, 2 days ago
Tom
On 2009/10/22 22:25:58, jirka wrote: > http://codereview.appspot.com/75063/diff/7019/6021#newcode366 > Line 366: > The only issue is ...
2 weeks, 2 days ago
jirka
On 2009/10/23 01:01:22, Tom wrote: > On 2009/10/22 22:25:58, jirka wrote: > > http://codereview.appspot.com/75063/diff/7019/6021#newcode366 > ...
1 week, 5 days ago
Tom
http://codereview.appspot.com/75063/diff/11001/12001 File test/testtransitfeed.py (right): http://codereview.appspot.com/75063/diff/11001/12001#newcode3217 Line 3217: # Two lines with the same value of ...
1 week, 5 days ago
jirka
Sorry, last time I replied without publishing the comments. http://codereview.appspot.com/75063/diff/11001/12001 File test/testtransitfeed.py (right): http://codereview.appspot.com/75063/diff/11001/12001#newcode3217 Line ...
1 week, 5 days ago
jirka
http://codereview.appspot.com/75063/diff/14006/13007 File python/transitfeed.py (right): http://codereview.appspot.com/75063/diff/14006/13007#newcode3993 Line 3993: continue On 2009/10/26 19:34:20, Tom wrote: > else: ...
1 week, 5 days ago
Tom
One minor comment and this is good to submit. Please make sure CL refers to ...
1 week, 5 days ago
jirka
1 week, 4 days ago
http://codereview.appspot.com/75063/diff/13011/14010
File python/transitfeed.py (right):

http://codereview.appspot.com/75063/diff/13011/14010#newcode2456
Line 2456: problems=None):
On 2009/10/26 23:30:33, Tom wrote:
> looks like it fits on previous line

Done.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld r483