mbien commented on code in PR #4999:
URL: https://github.com/apache/netbeans/pull/4999#discussion_r1179972882
##########
java/maven.indexer/src/org/netbeans/modules/maven/indexer/NexusRepositoryIndexerImpl.java:
##########
@@ -534,12 +532,22 @@ private void indexLoadedRepo(final RepositoryInfo repo,
boolean updateLocal) thr
httpwagon.setHttpHeaders(p);
}
- Path tmpStorage =
Files.createTempDirectory("index-extraction");
+ Path tmpStorage =
Files.createTempDirectory(getIndexDirectory(), "extractor-");
Review Comment:
note to self: this is extracting directly into cache right now. I am not
convinced that this is a good idea since this requires the cleanup on
failure/cancel/system.exit to work reliably.
The advantage of this approach is that only the compressed archive will land
in tmp - which should fit even into the smallest tmp folders.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists