watson-ruby icon indicating copy to clipboard operation
watson-ruby copied to clipboard

Better way to identify/compare remote->local issues than md5 [lib/watson/github.rb]

Open nhmood opened this issue 11 years ago • 0 comments

filename : lib/watson/github.rb line # : 290 tag : todo md5 : 7bd6cc5216af437d29db9a6fcc12db9c

    # [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.github_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

nhmood avatar Nov 21 '13 16:11 nhmood