Example #1
0
    def __init__(self, args):
        self.date = "{:%Y-%m-%d}".format(args.date)
        self.abs_data_file = os.path.join(POSTMORTEMS_PATH, "{}.json".format(self.date))
        self.abs_wiki_file = os.path.join(POSTMORTEMS_PATH, "{}.md".format(self.date))
        self.wiki_template_file = WIKI_TEMPLATES["postmortem"]
        self.completed_releases = get_complete_releases()
        self.incomplete_releases = get_incomplete_releases()
        self.commit_msg = "updating postmortem. updated {} wiki".format(
            os.path.basename(self.abs_wiki_file)
        )

        self.pre_run_check()
Example #2
0
    def __init__(self, args):
        self.date = "{:%Y-%m-%d}".format(args.date)
        self.abs_data_file = os.path.join(POSTMORTEMS_PATH,
                                          "{}.json".format(self.date))
        self.abs_wiki_file = os.path.join(POSTMORTEMS_PATH,
                                          "{}.md".format(self.date))
        self.wiki_template_file = WIKI_TEMPLATES["postmortem"]
        self.completed_releases = get_complete_releases()
        self.incomplete_releases = get_incomplete_releases()
        self.commit_msg = "updating postmortem. updated {} wiki".format(
            os.path.basename(self.abs_wiki_file))

        self.pre_run_check()
Example #3
0
 def __init__(self, args):
     self.pattern = args.pattern
     self.incomplete_releases = get_incomplete_releases()
     self.pre_run_check()
Example #4
0
 def __init__(self, args):
     self.incomplete_releases = get_incomplete_releases()
     self.pre_run_check()