Success

User tests: Successful: Unsuccessful:

avatar b2z
b2z
15 Jan 2015

This will fix the issue when comments deleted on GitHub are not deleted on tracker. Ref #586

avatar b2z b2z - open - 15 Jan 2015
avatar elkuku elkuku - close - 16 Jan 2015
avatar elkuku elkuku - reference | - 16 Jan 15
avatar elkuku elkuku - merge - 16 Jan 2015
avatar elkuku elkuku - close - 16 Jan 2015
avatar elkuku elkuku - change - 16 Jan 2015
Status New Closed
Closed_Date 0000-00-00 00:00:00 2015-01-16 15:43:46
avatar elkuku elkuku - head_ref_deleted - 16 Jan 2015
avatar elkuku
elkuku - comment - 16 Jan 2015

Yeah this seems to work :wink:

avatar elkuku
elkuku - comment - 16 Jan 2015

While testing this, I discovered a "thingy" that causes all issues to be processed when our CLI script runs...
04d2943
This has been modified multiple times to fix one bug after another and currently the last modified date is always overwritten...
@todo....

avatar b2z
b2z - comment - 16 Jan 2015

Can you look also on this PR please #592

avatar b2z
b2z - comment - 16 Jan 2015

While testing this, I discovered a "thingy" that causes all issues to be processed when our CLI script runs...

Hmm... How to avoid it? CLI and not CLI are using the same class. Should we pass some kind of parameter or flag to determine who is acting?

avatar elkuku
elkuku - comment - 16 Jan 2015

Should we pass some kind of parameter or flag to determine who is acting?

I think we should not set the last_modified_date in the store method at all... Do you remember the places where it is used by "non CLI" code?...

avatar b2z
b2z - comment - 16 Jan 2015

Exactly not, but think that in issue add, save and edit.

avatar elkuku
elkuku - comment - 16 Jan 2015

@allenzhao added a commit message stating a fix of a modified_date bug in dfbb4a5 when he added a check for a db null date but I can't remember what that bug was :(

avatar elkuku
elkuku - comment - 16 Jan 2015

Also... I feel like something wrong happens here: #427

avatar b2z
b2z - comment - 17 Jan 2015

It seems that we have many places where modified is set :)

avatar elkuku
elkuku - comment - 18 Jan 2015

I think we are using the last_modified_date from GitHub for issue comments and the date/time on our server for the activities, so I believe there might be a wrong time zone setting here that causes #427 - maybe...

avatar b2z
b2z - comment - 29 Jan 2015

@mbabker how often does the cron job run? I've made a comment here more than one hour ago and then deleted it, but still it is not deleted on the tracker.

avatar mbabker
mbabker - comment - 29 Jan 2015

All I'm going to say is it helps when the code is deployed live (that commit was merged on a weekend I was traveling, forgot to sync up when I got back) :blush:

avatar b2z
b2z - comment - 30 Jan 2015

glad that it is working after all :tongue:

avatar brianteeman
brianteeman - comment - 30 Jan 2015

Great stuff
On 30 Jan 2015 13:55, "Dmitry Rekun" notifications@github.com wrote:

glad that it is working after all [image: :tongue:]


Reply to this email directly or view it on GitHub
#595 (comment).

Add a Comment

Login with GitHub to post a comment