[ https://issues.apache.org/jira/browse/LUCENE-10457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17503608#comment-17503608 ]
Uwe Schindler commented on LUCENE-10457: ---------------------------------------- No symlinks please. The symlinks in the git checkout of Solr for the refguide already causes heavy issues on Windows (see my complaints). On Windows you need admin rights or need to set the computer or Jenkins server into "Win10 developer mode" to create them (which is debatable, but the reasons for Microsoft doing this are legit because of malware). E.g. Git on Windows can't handle symlinks unless you set a specific option on checking out. In Solr's repo I get just text files with the target of symlink as contents when checking out the refguide of Solr! Better sometimes add a whitespace into the temporary directory. Much more efficient to find bugs! :D > LuceneTestCase.createTempDir could randomly return symbolic links > ----------------------------------------------------------------- > > Key: LUCENE-10457 > URL: https://issues.apache.org/jira/browse/LUCENE-10457 > Project: Lucene - Core > Issue Type: Task > Components: general/test > Reporter: Mike Drob > Priority: Major > > When we are creating temporary directories to use for other Lucene functions, > we could occasionally provide symbolic links instead of direct references to > directories. If the system running tests doesn't support symbolic links, then > we should ignore this option. > Providing links would be useful to test scenarios for example where users > have a symbolic link for the "current" index directory and then rotate that > over time but applications still use the same link. -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org