You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Jens Seidel <je...@users.sourceforge.net> on 2008/05/26 06:55:12 UTC
Many missing executable flags for scripts
Hi,
I noticed that many Python scripts (and probably others as well) are
missing the svn:executable property. One example is
tools/po/l10n-report.py
but there are many more ...
Does this mean all people are working in Win* instead of Unix?
$ tools/po/l10n-report.py
bash: tools/po/l10n-report.py: Permission denied
$ svn propset svn:executable 1 tools/po/l10n-report.py
property 'svn:executable' set on 'tools/po/l10n-report.py'
$ tools/po/l10n-report.py
Translation status report for branches/1.5.x r31448
[snipped, will be send in another mail]
Jens
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Many missing executable flags for scripts
Posted by Jens Seidel <je...@users.sourceforge.net>.
On Mon, May 26, 2008 at 10:28:35AM +0300, Daniel Shahaf wrote:
> Jens Seidel wrote on Mon, 26 May 2008 at 08:55 +0200:
> > I noticed that many Python scripts (and probably others as well) are
> > missing the svn:executable property. One example is
> > tools/po/l10n-report.py
> > but there are many more ...
> >
> > Does this mean all people are working in Win* instead of Unix?
> >
> > $ tools/po/l10n-report.py
> > bash: tools/po/l10n-report.py: Permission denied
> >
> > $ svn propset svn:executable 1 tools/po/l10n-report.py
>
> +1 to add this property anywhere it's missing (and expected to work on
> unix; win-tests.py doesn't have the property, IIRC). I think it qualifies
> as an "obvious fix".
I fixed this for all Python (*.py) and Shell (*.sh) files in trunk with
a proper Shebang (such as #!/usr/bin/python). See
http://en.wikipedia.org/wiki/Shebang_(Unix).
There are still many files without a Shebang. If these are not
Win* specific one should be added so that such scripts can be started
directly.
Jens
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Many missing executable flags for scripts
Posted by Daniel Shahaf <d....@daniel.shahaf.co.il>.
Jens Seidel wrote on Mon, 26 May 2008 at 08:55 +0200:
> Hi,
>
> I noticed that many Python scripts (and probably others as well) are
> missing the svn:executable property. One example is
> tools/po/l10n-report.py
> but there are many more ...
>
> Does this mean all people are working in Win* instead of Unix?
>
> $ tools/po/l10n-report.py
> bash: tools/po/l10n-report.py: Permission denied
>
> $ svn propset svn:executable 1 tools/po/l10n-report.py
+1 to add this property anywhere it's missing (and expected to work on
unix; win-tests.py doesn't have the property, IIRC). I think it qualifies
as an "obvious fix".
Thanks,
Daniel
> property 'svn:executable' set on 'tools/po/l10n-report.py'
>
> $ tools/po/l10n-report.py
>
> Translation status report for branches/1.5.x r31448
>
> [snipped, will be send in another mail]
>
> Jens
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Many missing executable flags for scripts
Posted by Karl Fogel <kf...@red-bean.com>.
Branko Čibej <br...@xbc.nu> writes:
> 's what I said. :) It's easier to type almost anything but * in a shell.
> Actually /any/ value should be changed to *.
That's what we do: svn_wc_canonicalize_svn_prop()
-K
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Many missing executable flags for scripts
Posted by Branko Čibej <br...@xbc.nu>.
Jens Seidel wrote:
> On Mon, May 26, 2008 at 11:43:37AM +0200, Branko Čibej wrote:
>
>> Arfrever Frehtes Taifersar Arahesis wrote:
>>
>>> 2008-05-26 08:55 Jens Seidel <je...@users.sf.net> napisał(a):
>>>
>>>> I noticed that many Python scripts (and probably others as well) are
>>>> missing the svn:executable property. One example is
>>>> tools/po/l10n-report.py
>>>> but there are many more ...
>>>>
>>>> Does this mean all people are working in Win* instead of Unix?
>>>>
>>>> $ tools/po/l10n-report.py
>>>> bash: tools/po/l10n-report.py: Permission denied
>>>>
>>>> $ svn propset svn:executable 1 tools/po/l10n-report.py
>>>> property 'svn:executable' set on 'tools/po/l10n-report.py'
>>>>
>>>>
>>> But please use '*' as the value of svn:executable...
>>>
>> He did.
>>
>
> I used "1" but any non empty value should be changed to "*" is I
> remember correctly.
>
's what I said. :) It's easier to type almost anything but * in a shell.
Actually /any/ value should be changed to *.
-- Brane
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Many missing executable flags for scripts
Posted by Jens Seidel <je...@users.sourceforge.net>.
On Mon, May 26, 2008 at 11:43:37AM +0200, Branko Čibej wrote:
> Arfrever Frehtes Taifersar Arahesis wrote:
> >2008-05-26 08:55 Jens Seidel <je...@users.sf.net> napisał(a):
> >>I noticed that many Python scripts (and probably others as well) are
> >>missing the svn:executable property. One example is
> >>tools/po/l10n-report.py
> >>but there are many more ...
> >>
> >>Does this mean all people are working in Win* instead of Unix?
> >>
> >>$ tools/po/l10n-report.py
> >>bash: tools/po/l10n-report.py: Permission denied
> >>
> >>$ svn propset svn:executable 1 tools/po/l10n-report.py
> >>property 'svn:executable' set on 'tools/po/l10n-report.py'
> >>
> >
> >But please use '*' as the value of svn:executable...
>
> He did.
I used "1" but any non empty value should be changed to "*" is I
remember correctly.
Nevertheless it would be nice if someone else would commit it. I got my
commit access only short time ago and I'm still not very familiar with
hacking.html (good log writing), whether this should be merged into 1.5.x
(using a svn snapshot so that merge tracking works?), ...
I will nevertheless check the results :-)
Jens
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Many missing executable flags for scripts
Posted by Branko Čibej <br...@xbc.nu>.
Arfrever Frehtes Taifersar Arahesis wrote:
> 2008-05-26 08:55 Jens Seidel <je...@users.sf.net> napisał(a):
>
>> Hi,
>>
>> I noticed that many Python scripts (and probably others as well) are
>> missing the svn:executable property. One example is
>> tools/po/l10n-report.py
>> but there are many more ...
>>
>> Does this mean all people are working in Win* instead of Unix?
>>
>> $ tools/po/l10n-report.py
>> bash: tools/po/l10n-report.py: Permission denied
>>
>> $ svn propset svn:executable 1 tools/po/l10n-report.py
>> property 'svn:executable' set on 'tools/po/l10n-report.py'
>>
>
> But please use '*' as the value of svn:executable...
>
He did.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Many missing executable flags for scripts
Posted by Arfrever Frehtes Taifersar Arahesis <ar...@gmail.com>.
2008-05-26 08:55 Jens Seidel <je...@users.sf.net> napisał(a):
> Hi,
>
> I noticed that many Python scripts (and probably others as well) are
> missing the svn:executable property. One example is
> tools/po/l10n-report.py
> but there are many more ...
>
> Does this mean all people are working in Win* instead of Unix?
>
> $ tools/po/l10n-report.py
> bash: tools/po/l10n-report.py: Permission denied
>
> $ svn propset svn:executable 1 tools/po/l10n-report.py
> property 'svn:executable' set on 'tools/po/l10n-report.py'
But please use '*' as the value of svn:executable...