Merge lp:~dhavlicek/awn-extras/dhavlicek into lp:awn-extras

Proposed by Dave Havlicek
Status: Rejected
Rejected by: Mark Lee
Proposed branch: lp:~dhavlicek/awn-extras/dhavlicek
Merge into: lp:awn-extras
To merge this branch: bzr merge lp:~dhavlicek/awn-extras/dhavlicek
Reviewer Review Type Date Requested Status
Mark Lee Needs Resubmitting
Michael Rooney (community) Needs Fixing
Awn Extras Developers Pending
Review via email: mp+3267@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Mark Lee (malept) wrote :

From a high level POV, you shouldn't leave commented out code in files which are version controlled.

review: Needs Fixing
Revision history for this message
Dave Havlicek (dhavlicek) wrote :

"From a high level POV, you shouldn't leave commented out code in files which are version controlled."

i agree - however i wasnt sure what to do with that code.. it seems like it is trying to pre-load a few year's worth of events on startup. is this the desired behavior? it severely slows things down, and i cant think of any reason to do it when clicking on a date loads the event anyway.

if that behavior is desired, you can ignore my changes to calthread.py. if not, ill remove the commented code.

Revision history for this message
Michael Rooney (mrooney) wrote :

I agree with Mark, if fetch() isn't needed, then just remove the function completely and remove calls to it. Why isn't that needed?

review: Needs Fixing
Revision history for this message
Michael Rooney (mrooney) wrote :

""From a high level POV, you shouldn't leave commented out code in files which are version controlled."

i agree - however i wasnt sure what to do with that code.. it seems like it is trying to pre-load a few year's worth of events on startup. is this the desired behavior? it severely slows things down, and i cant think of any reason to do it when clicking on a date loads the event anyway.

if that behavior is desired, you can ignore my changes to calthread.py. if not, ill remove the commented code."

I think it will be easier to review if you just stick to directly fixing the two bugs you filed in this branch, then we can merge, and then file new bugs for other others.

lp:~dhavlicek/awn-extras/dhavlicek updated
4. By Dave Havlicek

return calthread.py to original state

Revision history for this message
Dave Havlicek (dhavlicek) wrote :

"""From a high level POV, you shouldn't leave commented out code in files which are version controlled."

i agree - however i wasnt sure what to do with that code.. it seems like it is trying to pre-load a few year's worth of events on startup. is this the desired behavior? it severely slows things down, and i cant think of any reason to do it when clicking on a date loads the event anyway.

if that behavior is desired, you can ignore my changes to calthread.py. if not, ill remove the commented code."

I think it will be easier to review if you just stick to directly fixing the two bugs you filed in this branch, then we can merge, and then file new bugs for other others."

ok i have removed all changes in calthread.py - it should be at its original state now.

Revision history for this message
Mark Lee (malept) wrote :

I tried to view your changes via `bzr diff --new=<LP URL>` and found that it seems that you didn't branch trunk properly. The proper way to do this is the following:

bzr branch lp:awn-extras
[add modifications]
bzr commit
bzr push lp:~dhavlicek/awn-extras/calendar-evolution

review: Needs Resubmitting
Revision history for this message
Dave Havlicek (dhavlicek) wrote :

"I tried to view your changes via `bzr diff --new=<LP URL>` and found that it seems that you didn't branch trunk properly. The proper way to do this is the following:

bzr branch lp:awn-extras
[add modifications]
bzr commit
bzr push lp:~dhavlicek/awn-extras/calendar-evolution"

sorry, im new to the whole "contributing" thing :)

i just did what you suggested and that just created an empty branch.. if i navigate through the lp:~dhavlicek/awn-extras/dhavlicek though i do see my changes in there.

Revision history for this message
Mark Lee (malept) wrote :

"sorry, im new to the whole "contributing" thing :)

i just did what you suggested and that just created an empty branch.. if i navigate through the lp:~dhavlicek/awn-extras/dhavlicek though i do see my changes in there."

Much better. The reason why we ask to do it that way is that this way, we can run `bzr merge` to merge your changes into trunk. Please request a merge of your new branch.

Unmerged revisions

4. By Dave Havlicek

return calthread.py to original state

3. By Dave Havlicek

remove unnecessary imports in evocal.py

2. By Dave Havlicek

enable webcals in evolution calendar and enable recurring event support

1. By Dave Havlicek

dhavlicek bugfix branch

Subscribers

People subscribed via source and target branches