RFR: 2064: Create jsonLocalStorage and htmlLocalStorage in separate directories
Erik Joelsson
erikj at openjdk.org
Fri Oct 13 19:43:28 UTC 2023
On Fri, 13 Oct 2023 18:20:30 GMT, Zhao Song <zsong at openjdk.org> wrote:
> In [SKARA-2063](https://bugs.openjdk.org/browse/SKARA-2063), I tried to let WebrevStorage to use HostedRepositoryPool, but I made a mistake. When the bot is trying to create a local clone, it will try to create jsonLocalStorage and htmlLocalStorage in the same directory. And previously, the bot will only create jsonLocalStorage when generateJson is true and create htmlLocalStorage when generateHtml is true. Now, the bot will create both clones when webrevGenerator#generate is called.
>
> To solve this problem, I think the bot should create jsonLocalStorage and htmlLocalStorage in separate directories and the bot should only create the local clone when it's necessary.
Marked as reviewed by erikj (Lead).
-------------
PR Review: https://git.openjdk.org/skara/pull/1570#pullrequestreview-1677247704
More information about the skara-dev
mailing list