[Issue 3852] New - ccm finduse in synergy plugin does not work for subprojects

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[Issue 3852] New - ccm finduse in synergy plugin does not work for subprojects

swbarry
https://hudson.dev.java.net/issues/show_bug.cgi?id=3852
                 Issue #|3852
                 Summary|ccm finduse in synergy plugin does not work for subpro
                        |jects
               Component|hudson
                 Version|current
                Platform|All
              OS/Version|All
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P4
            Subcomponent|synergy
             Assigned to|jribette
             Reported by|swbarry






------- Additional comments from [hidden email] Tue Jun  9 14:21:31 +0000 2009 -------
I am using the synergy SCM plugin to manage a project hierarchy that contains a
number of subprojects. One of the steps that the plugin takes is to find where
certain objects are being used and in particular it looks for the usage of the
subprojects. However, the plugin is using the wrong form of the 'ccm finduse'
command as the following excerpt from the log illustrates:

[workspace] $ ccm query -u -f %displayname "cvtype='project' and is_member_of
('Server,intc_nsk_09.2')"
bu,intc_nsk_09.2          
fn,intc_nsk_09.2          
if,intc_nsk_09.2          
metadh,intc_nsk_09.2      
sis_x,intc_nsk_09.2      
stlport,intc_nsk_09.2    
system,intc_nsk_09.2      
xml4c_x,nsk_1.01_20061013

[workspace] $ ccm delim
,

[workspace] $ ccm finduse system,intc_nsk_09.2
Referenced object version could not be identified: 'system,intc_nsk_09.2'
Warning: Could not identify object 'system,intc_nsk_09.2'

[workspace] $ ccm finduse stlport,intc_nsk_09.2
Referenced object version could not be identified: 'stlport,intc_nsk_09.2'
Warning: Could not identify object 'stlport,intc_nsk_09.2'

......

When using the ccm finduse command for a project the option '-p' must be
included before the project spec. The form that the plugin currently uses only
works for non-project objects.

It is not clear to me exactly why the plugin is doing the finduse command,
other than to display where newly included objects are being used, so the fact
that the command is failing in this case may not really matter. However, it is
not correct.

Best wishes

Stuart Barry

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Issue 3852] ccm finduse in synergy plugin does not work for subprojects

jribette
https://hudson.dev.java.net/issues/show_bug.cgi?id=3852



User jribette changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|NEW                       |STARTED
--------------------------------------------------------------------------------




------- Additional comments from [hidden email] Tue Jun 30 06:27:10 +0000 2009 -------
Got the issue too. Note that the query is only used to build the path of the
changed files for the update logs.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Issue 3852] ccm finduse in synergy plugin does not work for subprojects

jribette
In reply to this post by swbarry
https://hudson.dev.java.net/issues/show_bug.cgi?id=3852



User jribette changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|STARTED                   |RESOLVED
--------------------------------------------------------------------------------
              Resolution|                          |FIXED
--------------------------------------------------------------------------------




------- Additional comments from [hidden email] Wed Jul 22 06:20:44 +0000 2009 -------
Fixed in the subversion repository

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]