You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Antoine Toulme (JIRA)" <ji...@apache.org> on 2010/03/17 08:14:27 UTC

[jira] Created: (BUILDR-402) Enable using a regexp to get subprojects

Enable using a regexp to get subprojects
----------------------------------------

                 Key: BUILDR-402
                 URL: https://issues.apache.org/jira/browse/BUILDR-402
             Project: Buildr
          Issue Type: New Feature
          Components: Core features
    Affects Versions: 1.3.5
            Reporter: Antoine Toulme
             Fix For: 1.4


project.projects return all the projects defined under the project.

That may cause some issues when you want to call that method without invoking everyone.

One way to work around the problem is to call the project you want by name. This enhancement targets making it possible to return a list of project with a regexp matching their name.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (BUILDR-402) Enable using a regexp to get subprojects

Posted by "Alex Boisvert (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BUILDR-402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12846523#action_12846523 ] 

Alex Boisvert commented on BUILDR-402:
--------------------------------------

I think we should separate two things here:

1) enhancing projects() to accept a regex to retrieve projects;
2) preventing (matching) projects from being invoked;

I've never had need for either so I think we should start by identifying use-cases.  There may be better ways of approaching the problems.

> Enable using a regexp to get subprojects
> ----------------------------------------
>
>                 Key: BUILDR-402
>                 URL: https://issues.apache.org/jira/browse/BUILDR-402
>             Project: Buildr
>          Issue Type: New Feature
>          Components: Core features
>    Affects Versions: 1.3.5
>            Reporter: Antoine Toulme
>             Fix For: 1.4
>
>
> project.projects return all the projects defined under the project.
> That may cause some issues when you want to call that method without invoking everyone.
> One way to work around the problem is to call the project you want by name. This enhancement targets making it possible to return a list of project with a regexp matching their name.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (BUILDR-402) Enable using a regexp to get subprojects

Posted by "Antoine Toulme (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BUILDR-402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12846603#action_12846603 ] 

Antoine Toulme commented on BUILDR-402:
---------------------------------------

For 2), I think the goal was to make sure they were invoked before they were returned, otherwise you can't access their contents.

We could have a method to get the projects without invoking them for internal use. That would help for sure. That might create more lifecycle issues too.

> Enable using a regexp to get subprojects
> ----------------------------------------
>
>                 Key: BUILDR-402
>                 URL: https://issues.apache.org/jira/browse/BUILDR-402
>             Project: Buildr
>          Issue Type: New Feature
>          Components: Core features
>    Affects Versions: 1.3.5
>            Reporter: Antoine Toulme
>             Fix For: 1.4
>
>
> project.projects return all the projects defined under the project.
> That may cause some issues when you want to call that method without invoking everyone.
> One way to work around the problem is to call the project you want by name. This enhancement targets making it possible to return a list of project with a regexp matching their name.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (BUILDR-402) Enable using a regexp to get subprojects

Posted by "Antoine Toulme (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antoine Toulme updated BUILDR-402:
----------------------------------

    Fix Version/s:     (was: 1.4)
                   Wish List

Moving to wishlist. This is not important right now.

> Enable using a regexp to get subprojects
> ----------------------------------------
>
>                 Key: BUILDR-402
>                 URL: https://issues.apache.org/jira/browse/BUILDR-402
>             Project: Buildr
>          Issue Type: New Feature
>          Components: Core features
>    Affects Versions: 1.3.5
>            Reporter: Antoine Toulme
>             Fix For: Wish List
>
>
> project.projects return all the projects defined under the project.
> That may cause some issues when you want to call that method without invoking everyone.
> One way to work around the problem is to call the project you want by name. This enhancement targets making it possible to return a list of project with a regexp matching their name.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.