-
-
Notifications
You must be signed in to change notification settings - Fork 5
Fix: Ensure that cache directory exists #21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Please reword the commit message using conventional commits. |
|
@Siedlerchr worked on this. Instead of using |
|
Why change the value? |
Co-authored-by: Christoph <[email protected]>
We had an internal discussion. Was not intended. I updated - force push to keep one commit with conventual commit message. |
|
The thing we needed to change is the access to "project." in the constructor. This breaks the configuration cache and is not allowed. But with this fixes the plugin works now at JabRef |
|
Maybe related: |
|
Oh gees. Windows is the gift that keeps on giving. |
|
A rerun helped here |
|
Is this a problem on Windows at all? |
Maybe not related to this PR. We try to download jbang before. It is only an issue for users having
|
|
@aalmiray We think our patch works. Would it be possible to include it in main and craft a release? Currently we test with a jitpack variant which introduces another variable. |
6b3669c to
29b4737
Compare
|
The latest change (making the property internal) now ensure that it also works inside docker based environment. |
Build says: |
…side docker Co-authored-by: koppor <[email protected]>
29b4737 to
7d25c1f
Compare
|
I am not sure how we can make the install directory configurable with a default value based on the gradle directory layout. Changing it to |
|
@koppor Fixed now. As far as I understand, this internal still allows you to change the value, but it will not be considered for out of date checks which is okay because the other properties are annoated as input. |
|
Then, we accept that changing JBang installations (e.g., down/upgrading versions) don't trigger a rebuild. -- Could be OK, because it is a seldom use case to switch between JBang installations. |
|
Discussion result: This is only the cache directory. the input Thus, I am also fine with the latest update and vote for merge and a release 😅. |
With 94850ed, we get
A simple
createDirectoriesshould do the trick, doesn't it?