Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Beeminder integration bugfix for when TT is being run on multiple machines #35

Merged
merged 3 commits into from Jan 16, 2014

Conversation

pmyteh
Copy link
Contributor

@pmyteh pmyteh commented Jan 15, 2014

This is a bugfix, coupled with a FIXME on ttlogmerge which was the subject of my last merge request. It is part of an ongoing effort to make TagTime co-operate seamlessly when run on multiple machines at once.

Tom Nicholls and others added 3 commits December 30, 2013 22:04
…ver.

For TT there should be only one datapoint per day on the beeminder server.
The way things were being handled, duplicates were being deleted from the
data fetched from the server, but the resulting empty entry in the array
was sometimes causing a (different) duplicate to be re-created later in the
script. This bug would only normally show up under circumstances where two
copies of TagTime were writing to the same graph, for example when it is being
run on two machines simultaneously.

This commit changes the deletion method to result in no duplicate entries
being created.
dreeves added a commit that referenced this pull request Jan 16, 2014
Beeminder integration bugfix for when TT is being run on multiple machines
@dreeves dreeves merged commit 6aeaa6b into tagtime:master Jan 16, 2014
@pmyteh pmyteh deleted the beeminder branch January 16, 2014 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants