to generate the message for MD in case of no changes:
-- repository_type: Github or Mercurial
-- main_markdown == True: returns the proper message for changelog.md
-- repo_markdown == True: returns the proper message for the individual GIT or HG repo
Fixed the issues from lines: 102 and 129.
if len(local_json_data) > 0: -> pass even if we have only one element (element 0 -> last_checked)
if len(local_json_data) > 1: -> pass only if we have more than one element
This PR will fix the issue #466
Added the following methods:
def _generate_repo_url(self, repository_type):
def no_data_for_md(self, repository_type, main_markdown=False, repo_markdown=False):
Fixed the issues from lines: 102 and 129. if len(local_json_data) > 0: -> pass even if we have only one element (element 0 -> last_checked) if len(local_json_data) > 1: -> pass only if we have more than one element