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

Issue 1135041: Importing the trip.shape_id into table trips if it's empty when exporting GTFS feeds

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 12 months ago by quguangfan
Modified:
7 years, 4 months ago
Reviewers:
calidion, wliu.sjtu, baiming, leio.chen, wLiu.sjtu, heian911
Base URL:
http://scheduleeditor.googlecode.com/svn/trunk/
Visibility:
Public.

Patch Set 1 : Importing the trip.shape_id into table trips if it's empty when exporting GTFS feeds #

Total comments: 4

Patch Set 2 : Add testcase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -5 lines) Patch
M python/test/testtransitfeed_editor.py View 1 chunk +54 lines, -0 lines 0 comments Download
M python/transitfeed_editor.py View 1 4 chunks +19 lines, -5 lines 0 comments Download

Messages

Total messages: 6
quguangfan
Hi, Please help review. This patch fixed a bug. When we initialize the feed, we ...
13 years, 12 months ago (2010-05-06 07:46:34 UTC) #1
wLiu.sjtu
Add unittest to check whether shape_id has been set properly? http://codereview.appspot.com/1135041/diff/4001/5001 File python/transitfeed_editor.py (right): http://codereview.appspot.com/1135041/diff/4001/5001#newcode372 ...
13 years, 12 months ago (2010-05-06 07:57:13 UTC) #2
quguangfan
Hi, I've added the unit test. Please help review. Thanks. http://codereview.appspot.com/1135041/diff/4001/5001 File python/transitfeed_editor.py (right): http://codereview.appspot.com/1135041/diff/4001/5001#newcode372 ...
13 years, 11 months ago (2010-05-13 14:05:50 UTC) #3
wLiu.sjtu
LGTM
13 years, 11 months ago (2010-05-13 14:36:09 UTC) #4
calidion
LGTM 2010/5/13 <quguangfan@gmail.com> > Hi, > > I've added the unit test. > > Please ...
13 years, 11 months ago (2010-05-13 15:32:18 UTC) #5
quguangfan
13 years, 11 months ago (2010-05-14 01:34:15 UTC) #6
done.

在 2010年5月13日 下午11:31,李白,字一日 <calidion@gmail.com>写道:

> LGTM
>
> 2010/5/13 <quguangfan@gmail.com>
>
> Hi,
>>
>> I've added the unit test.
>>
>> Please help review.
>>
>> Thanks.
>>
>>
>> http://codereview.appspot.com/1135041/diff/4001/5001
>> File python/transitfeed_editor.py (right):
>>
>> http://codereview.appspot.com/1135041/diff/4001/5001#newcode372
>> python/transitfeed_editor.py:372: (name, ''.join(fields), name,
>> ','.join(fields)))
>> On 2010/05/06 07:57:13, wLiu.sjtu wrote:
>>
>>> Why adding a duplicate name here?
>>>
>>
>> In sqlite we can generate two index which are the same name. Because we
>> need to create trip_id in table trips and table stop_times, we create
>> index with using table_name, field_name.
>>
>> http://codereview.appspot.com/1135041/diff/4001/5001#newcode408
>> python/transitfeed_editor.py:408: 'trip_id = "%s";' % (trip.shape_id,
>> trip.trip_id))
>> On 2010/05/06 07:57:13, wLiu.sjtu wrote:
>>
>>> Indent
>>>
>>
>> Done.
>>
>> http://codereview.appspot.com/1135041/show
>>
>
>
Sign in to reply to this message.

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