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
<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
- relates to
-
SKARA-2419 Rewrite HostedRepositoryStorage to use direct file read/write API
- Open
- links to
-
Commit(master) openjdk/skara/49dd2200
-
Review(master) openjdk/skara/1700