You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Alexis Midon (JIRA)" <ji...@apache.org> on 2009/06/03 02:26:07 UTC
[jira] Created: (BUILDR-283) env variables: misleading
documentation
env variables: misleading documentation
---------------------------------------
Key: BUILDR-283
URL: https://issues.apache.org/jira/browse/BUILDR-283
Project: Buildr
Issue Type: Bug
Components: Site/documentation
Affects Versions: 1.3.4
Reporter: Alexis Midon
Fix For: 1.3.5
The current documentation states that:
"a. For convenience, when you set environment variables on the command line, the variable name is case insensitive (..) b. " Any other way (export, ENV, etc) the variable names are case sensitive."
a. is incorrect because Rake processes env. variables passed on the command line in a case sensitive way. [1]
$buildr MYVAR=foo is different from $buildr myvar=foo
b. is incorrect because TEST and DEBUG are case insensitive even with export and ENV. Some specs already test that case. [2]
The attached patch rephrases this sentence into:
"For convenience, the environment variables @TEST@ and @DEBUG@ are case insensitive, you can use either @test=no@ or @TEST=no@. Any other environment variable names are case sensitive."
[1] http://docs.rubyrake.org/user_guide/chapter02.html
[2] http://github.com/assaf/buildr/blob/1b45697ffb6d2877fc8bc2543be92cb91638e483/spec/core/test_spec.rb#L848
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (BUILDR-283) env variables: misleading
documentation
Posted by "Alexis Midon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexis Midon updated BUILDR-283:
--------------------------------
Attachment: buildr-283.patch.txt
> env variables: misleading documentation
> ---------------------------------------
>
> Key: BUILDR-283
> URL: https://issues.apache.org/jira/browse/BUILDR-283
> Project: Buildr
> Issue Type: Bug
> Components: Site/documentation
> Affects Versions: 1.3.4
> Reporter: Alexis Midon
> Fix For: 1.3.5
>
> Attachments: buildr-283.patch.txt
>
>
> The current documentation states that:
> "a. For convenience, when you set environment variables on the command line, the variable name is case insensitive (..) b. " Any other way (export, ENV, etc) the variable names are case sensitive."
> a. is incorrect because Rake processes env. variables passed on the command line in a case sensitive way. [1]
> $buildr MYVAR=foo is different from $buildr myvar=foo
> b. is incorrect because TEST and DEBUG are case insensitive even with export and ENV. Some specs already test that case. [2]
> The attached patch rephrases this sentence into:
> "For convenience, the environment variables @TEST@ and @DEBUG@ are case insensitive, you can use either @test=no@ or @TEST=no@. Any other environment variable names are case sensitive."
> [1] http://docs.rubyrake.org/user_guide/chapter02.html
> [2] http://github.com/assaf/buildr/blob/1b45697ffb6d2877fc8bc2543be92cb91638e483/spec/core/test_spec.rb#L848
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (BUILDR-283) env variables: misleading
documentation
Posted by "Alex Boisvert (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Boisvert resolved BUILDR-283.
----------------------------------
Resolution: Fixed
Patch applied. Thank you!
boisvert@sixtine:~/svn/buildr-trunk$ svn commit -m "BUILDR-283: Misleading documentation on env. variables (Alexis Midon)"
Sending doc/settings_profiles.textile
Transmitting file data .
Committed revision 816738.
> env variables: misleading documentation
> ---------------------------------------
>
> Key: BUILDR-283
> URL: https://issues.apache.org/jira/browse/BUILDR-283
> Project: Buildr
> Issue Type: Bug
> Components: Site/documentation
> Affects Versions: 1.3.4
> Reporter: Alexis Midon
> Fix For: 1.3.5
>
> Attachments: buildr-283.patch.txt
>
>
> The current documentation states that:
> "a. For convenience, when you set environment variables on the command line, the variable name is case insensitive (..) b. " Any other way (export, ENV, etc) the variable names are case sensitive."
> a. is incorrect because Rake processes env. variables passed on the command line in a case sensitive way. [1]
> $buildr MYVAR=foo is different from $buildr myvar=foo
> b. is incorrect because TEST and DEBUG are case insensitive even with export and ENV. Some specs already test that case. [2]
> The attached patch rephrases this sentence into:
> "For convenience, the environment variables @TEST@ and @DEBUG@ are case insensitive, you can use either @test=no@ or @TEST=no@. Any other environment variable names are case sensitive."
> [1] http://docs.rubyrake.org/user_guide/chapter02.html
> [2] http://github.com/assaf/buildr/blob/1b45697ffb6d2877fc8bc2543be92cb91638e483/spec/core/test_spec.rb#L848
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.