lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-3328) executable bits of shellscripts in solr source release
Date Thu, 05 Apr 2012 22:38:25 GMT

    [ https://issues.apache.org/jira/browse/SOLR-3328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13247783#comment-13247783
] 

Hoss Man commented on SOLR-3328:
--------------------------------

bq. I don't believe that.

and to be clear:
* these *.sh files are executable if you "unzip" the solr.zip on a unix box
* these *.sh files are executable if you "tar -xzf" the solr.tgz on a unix box
* it is only if you "tar -xzf" the solr-src.txt thta these files are not executable

bq. I don't know if we can improve this? Maybe its an svn prop?

these files already have the svn:executable property set...

{noformat}
hossman@bester:~/lucene/3x_dev/solr/example/exampledocs$ svn propget svn:executable post.sh
test_utf8.sh
post.sh - *
test_utf8.sh - *
{noformat}

...so it must either be something about how we do the export, or we are not telling the tar
task to track the perms properly (i'm guessing the later)
                
> executable bits of shellscripts in solr source release
> ------------------------------------------------------
>
>                 Key: SOLR-3328
>                 URL: https://issues.apache.org/jira/browse/SOLR-3328
>             Project: Solr
>          Issue Type: Improvement
>          Components: Build
>            Reporter: Robert Muir
>             Fix For: 4.0
>
>
> HossmanSays: in the solr src releases, some shell scripts are not executable by default.
> I don't know if we can improve this? Maybe its an svn prop?
> Maybe something needs to be specified to the tar/zip process?
> Currently the 'source release' is really an svn export...
> Personally i always do 'sh foo.sh' rather than './foo.sh',
> but if it makes it more user-friendly we should figure it out
> Just opening the issue since we don't forget about it, I think solr cloud
> adds some more shell scripts so we should at least figure out what we want to do.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message