watson-ruby
watson-ruby copied to clipboard
Better way to identify/compare remote->local issues than md5 [lib/watson/bitbucket.rb]
filename : lib/watson/bitbucket.rb line # : 267 tag : todo md5 : c6b521f8a16501ae7813caf8da1e5b1a
# [todo] - Better way to identify/compare remote->local issues than md5
# Current md5 based on some things that easily can change, need better ident
# Identify method entry
debug_print "#{self.class} : #{__method__}\n"
# Only attempt to get issues if API is specified
if config.bitbucket_api.empty?
debug_print "No API found, this shouldn't be called...\n"
return false
end
# Check that issue hasn't been posted already by comparing md5s
# Go through all open issues, if there is a match in md5, return out of method
# [todo] - Play with idea of making body of GitHub issue hash format to be exec'd
# Store pieces in text as :md5 => "whatever" so when we get issues we can