Uploaded image for project: 'Skara'
  1. Skara
  2. SKARA-2418

Scratch dir clash in notifier

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.0
    • None
    • bots
    • None

      The notifier RepositoryWorkItem and PullRequestWorkItem have a clash between directory location for the history repos. In RepositoryWorkItem we store the tags and branches history in these directories:

      <scratch>/notify/history/tags
      <scratch>/notify/history/branches

      While in the PullRequestWorkItem, the history is stored in:

      <scratch>/notify/history

      Having repositories nested inside each other like this is causing inefficiencies at the very least, but could also potentially be harmful. As a quick fix, I propose we move the pr history to

       <scratch>/notify/history/pr

            erikj Erik Joelsson
            erikj Erik Joelsson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: