You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Yanko Ivanov (JIRA)" <ji...@apache.org> on 2007/12/16 11:20:43 UTC
[jira] Created: (BUILDR-6) Build profiles
Build profiles
--------------
Key: BUILDR-6
URL: https://issues.apache.org/jira/browse/BUILDR-6
Project: Buildr
Issue Type: New Feature
Reporter: Yanko Ivanov
Build profiles to provide different set of properties in respect to the current Buildr.environment and include them automatically when
filtering resources.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (BUILDR-6) Build profiles
Posted by "Yanko Ivanov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-6?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yanko Ivanov updated BUILDR-6:
------------------------------
Attachment: profiles.patch
This patch adds profile support to Buildr. The patch was made against revision 604892
> Build profiles
> --------------
>
> Key: BUILDR-6
> URL: https://issues.apache.org/jira/browse/BUILDR-6
> Project: Buildr
> Issue Type: New Feature
> Reporter: Yanko Ivanov
> Attachments: profiles.patch
>
>
> Build profiles to provide different set of properties in respect to the current Buildr.environment and include them automatically when
> filtering resources.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (BUILDR-6) Build profiles
Posted by "Assaf Arkin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-6?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Assaf Arkin updated BUILDR-6:
-----------------------------
Fix Version/s: 1.3
Assignee: Assaf Arkin
In Buildr 1.3 this will show up under lib/core/environment.rb, which covers all things related to the runtime environment.
> Build profiles
> --------------
>
> Key: BUILDR-6
> URL: https://issues.apache.org/jira/browse/BUILDR-6
> Project: Buildr
> Issue Type: New Feature
> Reporter: Yanko Ivanov
> Assignee: Assaf Arkin
> Fix For: 1.3
>
> Attachments: profiles-r605291.patch
>
>
> Build profiles to provide different set of properties in respect to the current Buildr.environment and include them automatically when
> filtering resources.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Work started: (BUILDR-6) Build profiles
Posted by "Assaf Arkin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-6?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on BUILDR-6 started by Assaf Arkin.
> Build profiles
> --------------
>
> Key: BUILDR-6
> URL: https://issues.apache.org/jira/browse/BUILDR-6
> Project: Buildr
> Issue Type: New Feature
> Reporter: Yanko Ivanov
> Assignee: Assaf Arkin
> Fix For: 1.3
>
> Attachments: profiles-r605291.patch
>
>
> Build profiles to provide different set of properties in respect to the current Buildr.environment and include them automatically when
> filtering resources.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (BUILDR-6) Build profiles
Posted by "Assaf Arkin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-6?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12559404#action_12559404 ]
Assaf Arkin commented on BUILDR-6:
----------------------------------
I added profiles support based on your idea, slightly simpler, where Buildr.profiles just returns a hash of all the profiles, and Buildr.profile returns the current one. It's undocumented at the moment. The code structure has changed (major refactoring), you can find it in lib/core/environment.rb.
> Build profiles
> --------------
>
> Key: BUILDR-6
> URL: https://issues.apache.org/jira/browse/BUILDR-6
> Project: Buildr
> Issue Type: New Feature
> Reporter: Yanko Ivanov
> Assignee: Assaf Arkin
> Fix For: 1.3
>
> Attachments: profiles-r605291.patch
>
>
> Build profiles to provide different set of properties in respect to the current Buildr.environment and include them automatically when
> filtering resources.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (BUILDR-6) Build profiles
Posted by "Assaf Arkin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-6?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Assaf Arkin updated BUILDR-6:
-----------------------------
Component/s: Core features
> Build profiles
> --------------
>
> Key: BUILDR-6
> URL: https://issues.apache.org/jira/browse/BUILDR-6
> Project: Buildr
> Issue Type: New Feature
> Components: Core features
> Reporter: Yanko Ivanov
> Assignee: Assaf Arkin
> Fix For: 1.3
>
> Attachments: profiles-r605291.patch
>
>
> Build profiles to provide different set of properties in respect to the current Buildr.environment and include them automatically when
> filtering resources.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (BUILDR-6) Build profiles
Posted by "Assaf Arkin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-6?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12587012#action_12587012 ]
Assaf Arkin commented on BUILDR-6:
----------------------------------
In latest commit we got:
1. One global YAML file for project (build.yaml, Buildr.settings.build)
2. One user specific YAML file (~/.buildr/settings.yaml, Buildr.settings.user)
3. One profiles YAML file for project (profiles.yaml, Buildr.settings.profile/profiles)
Moving profiles.yaml into build.yaml added too much noise, it forced everything to be nested, making the YAML harder to edit. And you're right about splitting the profile file, not a good idea after all, so let's just keep it the way it is.
> Build profiles
> --------------
>
> Key: BUILDR-6
> URL: https://issues.apache.org/jira/browse/BUILDR-6
> Project: Buildr
> Issue Type: New Feature
> Components: Core features
> Reporter: Yanko Ivanov
> Assignee: Assaf Arkin
> Fix For: 1.3
>
> Attachments: profiles-r605291.patch
>
>
> Build profiles to provide different set of properties in respect to the current Buildr.environment and include them automatically when
> filtering resources.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (BUILDR-6) Build profiles
Posted by "Yanko Ivanov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-6?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12584546#action_12584546 ]
Yanko Ivanov commented on BUILDR-6:
-----------------------------------
Consider this simple example of "profile inheritance":
development: &development
host: localhost
log4j.logger.root: DEBUG
test:
<<: *development
host: staging-machine
production:
<<: *development
host: production-machine
log4j.logger.root: INFO
I believe separate YAML files for each profile ("profile" meant as Maven build profile) will not make this easier.
Regards
> Build profiles
> --------------
>
> Key: BUILDR-6
> URL: https://issues.apache.org/jira/browse/BUILDR-6
> Project: Buildr
> Issue Type: New Feature
> Components: Core features
> Reporter: Yanko Ivanov
> Assignee: Assaf Arkin
> Fix For: 1.3
>
> Attachments: profiles-r605291.patch
>
>
> Build profiles to provide different set of properties in respect to the current Buildr.environment and include them automatically when
> filtering resources.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (BUILDR-6) Build profiles
Posted by "Assaf Arkin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-6?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Assaf Arkin resolved BUILDR-6.
------------------------------
Resolution: Fixed
> Build profiles
> --------------
>
> Key: BUILDR-6
> URL: https://issues.apache.org/jira/browse/BUILDR-6
> Project: Buildr
> Issue Type: New Feature
> Components: Core features
> Reporter: Yanko Ivanov
> Assignee: Assaf Arkin
> Fix For: 1.3
>
> Attachments: profiles-r605291.patch
>
>
> Build profiles to provide different set of properties in respect to the current Buildr.environment and include them automatically when
> filtering resources.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (BUILDR-6) Build profiles
Posted by "Assaf Arkin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-6?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Assaf Arkin resolved BUILDR-6.
------------------------------
Resolution: Fixed
> Build profiles
> --------------
>
> Key: BUILDR-6
> URL: https://issues.apache.org/jira/browse/BUILDR-6
> Project: Buildr
> Issue Type: New Feature
> Components: Core features
> Reporter: Yanko Ivanov
> Assignee: Assaf Arkin
> Fix For: 1.3
>
> Attachments: profiles-r605291.patch
>
>
> Build profiles to provide different set of properties in respect to the current Buildr.environment and include them automatically when
> filtering resources.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (BUILDR-6) Build profiles
Posted by "Yanko Ivanov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-6?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yanko Ivanov updated BUILDR-6:
------------------------------
Attachment: profiles-r605291.patch
Changes:
profile => always returns the current profile
profiles => return a hash of profiles
> Build profiles
> --------------
>
> Key: BUILDR-6
> URL: https://issues.apache.org/jira/browse/BUILDR-6
> Project: Buildr
> Issue Type: New Feature
> Reporter: Yanko Ivanov
> Attachments: profiles-r605291.patch
>
>
> Build profiles to provide different set of properties in respect to the current Buildr.environment and include them automatically when
> filtering resources.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Issue Comment Edited: (BUILDR-6) Build profiles
Posted by "Yanko Ivanov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-6?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12552850 ]
lunohodov edited comment on BUILDR-6 at 12/18/07 10:53 AM:
--------------------------------------------------------------
Patch made against revision 605291. Changes:
profile => always returns the current profile
profiles => return a hash of profiles
was (Author: lunohodov):
Changes:
profile => always returns the current profile
profiles => return a hash of profiles
> Build profiles
> --------------
>
> Key: BUILDR-6
> URL: https://issues.apache.org/jira/browse/BUILDR-6
> Project: Buildr
> Issue Type: New Feature
> Reporter: Yanko Ivanov
> Attachments: profiles-r605291.patch
>
>
> Build profiles to provide different set of properties in respect to the current Buildr.environment and include them automatically when
> filtering resources.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (BUILDR-6) Build profiles
Posted by "Yanko Ivanov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-6?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yanko Ivanov updated BUILDR-6:
------------------------------
Attachment: (was: profiles.patch)
> Build profiles
> --------------
>
> Key: BUILDR-6
> URL: https://issues.apache.org/jira/browse/BUILDR-6
> Project: Buildr
> Issue Type: New Feature
> Reporter: Yanko Ivanov
>
> Build profiles to provide different set of properties in respect to the current Buildr.environment and include them automatically when
> filtering resources.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Reopened: (BUILDR-6) Build profiles
Posted by "Assaf Arkin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-6?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Assaf Arkin reopened BUILDR-6:
------------------------------
Profiles was a good start, but we could use YAML files for other things (see for example, BUILDR-4), so this needs to be settled before making a release.
1. One global YAML file for the project, could hold things like remote repositories, artifact specifications, gem usage, etc.
2. One user specific YAML file (credentials, local repository, etc).
3. Somehow tack profiles on to this, either in the global YAML, separate profiles.yaml (as today), or one YAML per profile.
> Build profiles
> --------------
>
> Key: BUILDR-6
> URL: https://issues.apache.org/jira/browse/BUILDR-6
> Project: Buildr
> Issue Type: New Feature
> Components: Core features
> Reporter: Yanko Ivanov
> Assignee: Assaf Arkin
> Fix For: 1.3
>
> Attachments: profiles-r605291.patch
>
>
> Build profiles to provide different set of properties in respect to the current Buildr.environment and include them automatically when
> filtering resources.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (BUILDR-6) Build profiles
Posted by "Yanko Ivanov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-6?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12559505#action_12559505 ]
Yanko Ivanov commented on BUILDR-6:
-----------------------------------
Hehe, when I compare your code structure with mine, I feel bad and good at the same time. Bad that my Ruby is so lame and good because Ruby is such a beautiful language.
Regards!
Yanko
> Build profiles
> --------------
>
> Key: BUILDR-6
> URL: https://issues.apache.org/jira/browse/BUILDR-6
> Project: Buildr
> Issue Type: New Feature
> Reporter: Yanko Ivanov
> Assignee: Assaf Arkin
> Fix For: 1.3
>
> Attachments: profiles-r605291.patch
>
>
> Build profiles to provide different set of properties in respect to the current Buildr.environment and include them automatically when
> filtering resources.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.