GothenburgBitFactory / bugwarrior

Pull github, bitbucket, and trac issues into taskwarrior
http://pypi.python.org/pypi/bugwarrior
GNU General Public License v3.0
736 stars 209 forks source link

Fix duplicate completed task exception. #797

Closed ryneeverett closed 3 years ago

ryneeverett commented 3 years ago

I was trying for a more readable alternative to #796 but I'm not sure I was successful.

ryneeverett commented 3 years ago

I'd say this loses on readability but wins on performance by avoiding an extra taskwarrior query (which is ultimately an additional subprocess).

ryneeverett commented 3 years ago

Another tactic would be to do deduplication and store the status of whether this has been done in the BugwarriorData file. However this would be less conservative and inappropriate for the point release I'm hoping to push once this is fixed.