You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm-dev@maven.apache.org by "mike perham (JIRA)" <ji...@codehaus.org> on 2005/11/29 18:16:06 UTC

[jira] Created: (SCM-88) Add transparent support for locking providers

Add transparent support for locking providers
---------------------------------------------

         Key: SCM-88
         URL: http://jira.codehaus.org/browse/SCM-88
     Project: Maven SCM
        Type: Improvement
  Components: maven-scm-api  
    Versions: 1.0-beta-2    
    Reporter: mike perham
     Fix For: 1.0-beta-2


Currently the release plugin requires a command line parameter "useEditMode" to work with the Clearcase and Perforce providers.  Please integrate the notion of locking vs non-locking providers into the SCM API so this does not need to be passed on the command line.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Re: [jira] Commented: (SCM-88) Add transparent support for locking providers

Posted by Emmanuel Venisse <em...@venisse.net>.
ok, we keep it. By default, we look at requireEditMode method, if it's false, we look at editMode 
property

Emmanuel

dan tran a écrit :
>  
> Depending on system policy, admin can configure starteam to force user 
> to lock file before any
> checkin.  ( equivavent of issuing scm:edit ).  So we still need the 
> editMode in release plugin
>  
> -Dan
> 
> 
>  
> On 11/30/05, *Emmanuel Venisse (JIRA)* <jira@codehaus.org 
> <ma...@codehaus.org>> wrote:
> 
>        [
>     http://jira.codehaus.org/browse/SCM-88?page=comments#action_52391
>     <http://jira.codehaus.org/browse/SCM-88?page=comments#action_52391> ]
> 
>     Emmanuel Venisse commented on SCM-88:
>     -------------------------------------
> 
>     I prefer to remove editMode form release plugin.
> 
>     We can add a simple method in ScmProvider ( boolean
>     requireEditMode() ) with a default implementation in
>     AbstractScmProvider that return false. release plugin will use this
>     method.
> 
>      > Add transparent support for locking providers
>      > ---------------------------------------------
>      >
>      >          Key: SCM-88
>      >          URL: http://jira.codehaus.org/browse/SCM-88
>      >      Project: Maven SCM
>      >         Type: Improvement
>      >   Components: maven-scm-api
>      >     Versions: 1.0-beta-2
>      >     Reporter: mike perham
>      >      Fix For: 1.0-beta-2
> 
>      >
>      >
>      > Currently the release plugin requires a command line parameter
>     "useEditMode" to work with the Clearcase and Perforce
>     providers.  Please integrate the notion of locking vs non-locking
>     providers into the SCM API so this does not need to be passed on the
>     command line.
> 
>     --
>     This message is automatically generated by JIRA.
>     -
>     If you think it was sent incorrectly contact one of the administrators:
>       http://jira.codehaus.org/secure/Administrators.jspa
>     <http://jira.codehaus.org/secure/Administrators.jspa>
>     -
>     For more information on JIRA, see:
>       http://www.atlassian.com/software/jira
> 
> 


Re: [jira] Commented: (SCM-88) Add transparent support for locking providers

Posted by dan tran <da...@gmail.com>.
Depending on system policy, admin can configure starteam to force user to
lock file before any
checkin.  ( equivavent of issuing scm:edit ).  So we still need the editMode
in release plugin

-Dan



On 11/30/05, Emmanuel Venisse (JIRA) <ji...@codehaus.org> wrote:
>
>    [ http://jira.codehaus.org/browse/SCM-88?page=comments#action_52391 ]
>
> Emmanuel Venisse commented on SCM-88:
> -------------------------------------
>
> I prefer to remove editMode form release plugin.
>
> We can add a simple method in ScmProvider ( boolean requireEditMode() )
> with a default implementation in AbstractScmProvider that return false.
> release plugin will use this method.
>
> > Add transparent support for locking providers
> > ---------------------------------------------
> >
> >          Key: SCM-88
> >          URL: http://jira.codehaus.org/browse/SCM-88
> >      Project: Maven SCM
> >         Type: Improvement
> >   Components: maven-scm-api
> >     Versions: 1.0-beta-2
> >     Reporter: mike perham
> >      Fix For: 1.0-beta-2
>
> >
> >
> > Currently the release plugin requires a command line parameter
> "useEditMode" to work with the Clearcase and Perforce providers.  Please
> integrate the notion of locking vs non-locking providers into the SCM API so
> this does not need to be passed on the command line.
>
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators:
>   http://jira.codehaus.org/secure/Administrators.jspa
> -
> For more information on JIRA, see:
>   http://www.atlassian.com/software/jira
>
>

[jira] Closed: (SCM-88) Add transparent support for locking providers

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/SCM-88?page=all ]
     
Emmanuel Venisse closed SCM-88:
-------------------------------

     Assign To: Emmanuel Venisse
    Resolution: Fixed

Applied.

> Add transparent support for locking providers
> ---------------------------------------------
>
>          Key: SCM-88
>          URL: http://jira.codehaus.org/browse/SCM-88
>      Project: Maven SCM
>         Type: Improvement
>   Components: maven-scm-api
>     Versions: 1.0-beta-2
>     Reporter: mike perham
>     Assignee: Emmanuel Venisse
>      Fix For: 1.0-beta-2
>  Attachments: release-plugin.txt, scm.txt
>
>
> Currently the release plugin requires a command line parameter "useEditMode" to work with the Clearcase and Perforce providers.  Please integrate the notion of locking vs non-locking providers into the SCM API so this does not need to be passed on the command line.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (SCM-88) Add transparent support for locking providers

Posted by "mike perham (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/SCM-88?page=all ]

mike perham updated SCM-88:
---------------------------

    Attachment: release-plugin.txt

maven-release-plugin patch

> Add transparent support for locking providers
> ---------------------------------------------
>
>          Key: SCM-88
>          URL: http://jira.codehaus.org/browse/SCM-88
>      Project: Maven SCM
>         Type: Improvement
>   Components: maven-scm-api
>     Versions: 1.0-beta-2
>     Reporter: mike perham
>      Fix For: 1.0-beta-2
>  Attachments: release-plugin.txt, scm.txt
>
>
> Currently the release plugin requires a command line parameter "useEditMode" to work with the Clearcase and Perforce providers.  Please integrate the notion of locking vs non-locking providers into the SCM API so this does not need to be passed on the command line.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Re: [CLEARCASE] Re: [jira] Commented: (SCM-88) Add transparent support for locking providers

Posted by Wim Deblauwe <wi...@gmail.com>.
If you search on reporter you should find it, but it is
http://jira.codehaus.org/browse/SCM-96

regards,

Wim

2005/12/5, Emmanuel Venisse <em...@venisse.net>:
>
> where?
>
> Wim Deblauwe a écrit :
> > Created a patch and submitted to jira
> >
> > 2005/12/2, Wim Deblauwe <wim.deblauwe@gmail.com
> > <ma...@gmail.com>>:
> >
> >     sure, I'll do that!
> >
> >     regards,
> >
> >     Wim
> >
> >     2005/12/2, Emmanuel Venisse < emmanuel@venisse.net
> >     <ma...@venisse.net>>:
> >
> >         Wim,
> >
> >         can you patch your clearcase provider?
> >
> >         Emmanuel
> >
> >         mike perham (JIRA) a écrit :
> >>     [
> >
> http://jira.codehaus.org/browse/SCM-88?page=comments#action_52577
> >         <
> http://jira.codehaus.org/browse/SCM-88?page=comments#action_52577>
> >         ]
> >>
> >>  mike perham commented on SCM-88:
> >>  --------------------------------
> >>
> >>  I would suggest also adding the override to the ClearCase
> >         provider but I did not do it.  I verified it works as expected
> >         with the Peforce provider.
> >>
> >>
> >> >Add transparent support for locking providers
> >> >---------------------------------------------
> >> >
> >> >         Key: SCM-88
> >> >         URL: http://jira.codehaus.org/browse/SCM-88
> >> >     Project: Maven SCM
> >> >        Type: Improvement
> >> >  Components: maven-scm-api
> >> >    Versions: 1.0-beta-2
> >> >    Reporter: mike perham
> >> >     Fix For: 1.0-beta-2
> >> > Attachments: release-plugin.txt, scm.txt
> >> >
> >> >
> >> >Currently the release plugin requires a command line parameter
> >         "useEditMode" to work with the Clearcase and Perforce
> >         providers.  Please integrate the notion of locking vs
> >         non-locking providers into the SCM API so this does not need to
> >         be passed on the command line.
> >>
> >>
> >
> >
> >
>
>

Re: [CLEARCASE] Re: [jira] Commented: (SCM-88) Add transparent support for locking providers

Posted by Emmanuel Venisse <em...@venisse.net>.
where?

Wim Deblauwe a écrit :
> Created a patch and submitted to jira
> 
> 2005/12/2, Wim Deblauwe <wim.deblauwe@gmail.com 
> <ma...@gmail.com>>:
> 
>     sure, I'll do that!
> 
>     regards,
> 
>     Wim
> 
>     2005/12/2, Emmanuel Venisse < emmanuel@venisse.net
>     <ma...@venisse.net>>:
> 
>         Wim,
> 
>         can you patch your clearcase provider?
> 
>         Emmanuel
> 
>         mike perham (JIRA) a écrit :
>>     [
>         http://jira.codehaus.org/browse/SCM-88?page=comments#action_52577
>         <http://jira.codehaus.org/browse/SCM-88?page=comments#action_52577>
>         ]
>>
>>  mike perham commented on SCM-88:
>>  --------------------------------
>>
>>  I would suggest also adding the override to the ClearCase
>         provider but I did not do it.  I verified it works as expected
>         with the Peforce provider.
>>
>>
>> >Add transparent support for locking providers
>> >---------------------------------------------
>> >
>> >         Key: SCM-88
>> >         URL: http://jira.codehaus.org/browse/SCM-88
>> >     Project: Maven SCM
>> >        Type: Improvement
>> >  Components: maven-scm-api
>> >    Versions: 1.0-beta-2
>> >    Reporter: mike perham
>> >     Fix For: 1.0-beta-2
>> > Attachments: release-plugin.txt, scm.txt
>> >
>> >
>> >Currently the release plugin requires a command line parameter
>         "useEditMode" to work with the Clearcase and Perforce
>         providers.  Please integrate the notion of locking vs
>         non-locking providers into the SCM API so this does not need to
>         be passed on the command line.
>>
>>
> 
> 
> 


Re: [CLEARCASE] Re: [jira] Commented: (SCM-88) Add transparent support for locking providers

Posted by Wim Deblauwe <wi...@gmail.com>.
Created a patch and submitted to jira

2005/12/2, Wim Deblauwe <wi...@gmail.com>:
>
> sure, I'll do that!
>
> regards,
>
> Wim
>
> 2005/12/2, Emmanuel Venisse <em...@venisse.net>:
> >
> > Wim,
> >
> > can you patch your clearcase provider?
> >
> > Emmanuel
> >
> > mike perham (JIRA) a écrit :
> > >     [ http://jira.codehaus.org/browse/SCM-88?page=comments#action_52577
> > ]
> > >
> > > mike perham commented on SCM-88:
> > > --------------------------------
> > >
> > > I would suggest also adding the override to the ClearCase provider but
> > I did not do it.  I verified it works as expected with the Peforce provider.
> >
> > >
> > >
> > >>Add transparent support for locking providers
> > >>---------------------------------------------
> > >>
> > >>         Key: SCM-88
> > >>         URL: http://jira.codehaus.org/browse/SCM-88
> > >>     Project: Maven SCM
> > >>        Type: Improvement
> > >>  Components: maven-scm-api
> > >>    Versions: 1.0-beta-2
> > >>    Reporter: mike perham
> > >>     Fix For: 1.0-beta-2
> > >> Attachments: release-plugin.txt, scm.txt
> > >>
> > >>
> > >>Currently the release plugin requires a command line parameter
> > "useEditMode" to work with the Clearcase and Perforce providers.  Please
> > integrate the notion of locking vs non-locking providers into the SCM API so
> > this does not need to be passed on the command line.
> > >
> > >
> >
> >
>

Re: [CLEARCASE] Re: [jira] Commented: (SCM-88) Add transparent support for locking providers

Posted by Wim Deblauwe <wi...@gmail.com>.
sure, I'll do that!

regards,

Wim

2005/12/2, Emmanuel Venisse <em...@venisse.net>:
>
> Wim,
>
> can you patch your clearcase provider?
>
> Emmanuel
>
> mike perham (JIRA) a écrit :
> >     [ http://jira.codehaus.org/browse/SCM-88?page=comments#action_52577]
> >
> > mike perham commented on SCM-88:
> > --------------------------------
> >
> > I would suggest also adding the override to the ClearCase provider but I
> did not do it.  I verified it works as expected with the Peforce provider.
> >
> >
> >>Add transparent support for locking providers
> >>---------------------------------------------
> >>
> >>         Key: SCM-88
> >>         URL: http://jira.codehaus.org/browse/SCM-88
> >>     Project: Maven SCM
> >>        Type: Improvement
> >>  Components: maven-scm-api
> >>    Versions: 1.0-beta-2
> >>    Reporter: mike perham
> >>     Fix For: 1.0-beta-2
> >> Attachments: release-plugin.txt, scm.txt
> >>
> >>
> >>Currently the release plugin requires a command line parameter
> "useEditMode" to work with the Clearcase and Perforce providers.  Please
> integrate the notion of locking vs non-locking providers into the SCM API so
> this does not need to be passed on the command line.
> >
> >
>
>

[CLEARCASE] Re: [jira] Commented: (SCM-88) Add transparent support for locking providers

Posted by Emmanuel Venisse <em...@venisse.net>.
Wim,

can you patch your clearcase provider?

Emmanuel

mike perham (JIRA) a écrit :
>     [ http://jira.codehaus.org/browse/SCM-88?page=comments#action_52577 ] 
> 
> mike perham commented on SCM-88:
> --------------------------------
> 
> I would suggest also adding the override to the ClearCase provider but I did not do it.  I verified it works as expected with the Peforce provider.
> 
> 
>>Add transparent support for locking providers
>>---------------------------------------------
>>
>>         Key: SCM-88
>>         URL: http://jira.codehaus.org/browse/SCM-88
>>     Project: Maven SCM
>>        Type: Improvement
>>  Components: maven-scm-api
>>    Versions: 1.0-beta-2
>>    Reporter: mike perham
>>     Fix For: 1.0-beta-2
>> Attachments: release-plugin.txt, scm.txt
>>
>>
>>Currently the release plugin requires a command line parameter "useEditMode" to work with the Clearcase and Perforce providers.  Please integrate the notion of locking vs non-locking providers into the SCM API so this does not need to be passed on the command line.
> 
> 


[jira] Commented: (SCM-88) Add transparent support for locking providers

Posted by "mike perham (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SCM-88?page=comments#action_52577 ] 

mike perham commented on SCM-88:
--------------------------------

I would suggest also adding the override to the ClearCase provider but I did not do it.  I verified it works as expected with the Peforce provider.

> Add transparent support for locking providers
> ---------------------------------------------
>
>          Key: SCM-88
>          URL: http://jira.codehaus.org/browse/SCM-88
>      Project: Maven SCM
>         Type: Improvement
>   Components: maven-scm-api
>     Versions: 1.0-beta-2
>     Reporter: mike perham
>      Fix For: 1.0-beta-2
>  Attachments: release-plugin.txt, scm.txt
>
>
> Currently the release plugin requires a command line parameter "useEditMode" to work with the Clearcase and Perforce providers.  Please integrate the notion of locking vs non-locking providers into the SCM API so this does not need to be passed on the command line.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (SCM-88) Add transparent support for locking providers

Posted by "mike perham (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SCM-88?page=comments#action_52573 ] 

mike perham commented on SCM-88:
--------------------------------

I'm working on adding this right now.

> Add transparent support for locking providers
> ---------------------------------------------
>
>          Key: SCM-88
>          URL: http://jira.codehaus.org/browse/SCM-88
>      Project: Maven SCM
>         Type: Improvement
>   Components: maven-scm-api
>     Versions: 1.0-beta-2
>     Reporter: mike perham
>      Fix For: 1.0-beta-2

>
>
> Currently the release plugin requires a command line parameter "useEditMode" to work with the Clearcase and Perforce providers.  Please integrate the notion of locking vs non-locking providers into the SCM API so this does not need to be passed on the command line.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (SCM-88) Add transparent support for locking providers

Posted by "mike perham (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/SCM-88?page=all ]

mike perham updated SCM-88:
---------------------------

    Attachment: scm.txt

maven-scm patch

> Add transparent support for locking providers
> ---------------------------------------------
>
>          Key: SCM-88
>          URL: http://jira.codehaus.org/browse/SCM-88
>      Project: Maven SCM
>         Type: Improvement
>   Components: maven-scm-api
>     Versions: 1.0-beta-2
>     Reporter: mike perham
>      Fix For: 1.0-beta-2
>  Attachments: release-plugin.txt, scm.txt
>
>
> Currently the release plugin requires a command line parameter "useEditMode" to work with the Clearcase and Perforce providers.  Please integrate the notion of locking vs non-locking providers into the SCM API so this does not need to be passed on the command line.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (SCM-88) Add transparent support for locking providers

Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SCM-88?page=comments#action_52389 ] 

Dan Tran commented on SCM-88:
-----------------------------

Another option is You could configure maven-release-plugin in your root pom to set "useEditMode" this way you dont have to enter this param from commandline. 

> Add transparent support for locking providers
> ---------------------------------------------
>
>          Key: SCM-88
>          URL: http://jira.codehaus.org/browse/SCM-88
>      Project: Maven SCM
>         Type: Improvement
>   Components: maven-scm-api
>     Versions: 1.0-beta-2
>     Reporter: mike perham
>      Fix For: 1.0-beta-2

>
>
> Currently the release plugin requires a command line parameter "useEditMode" to work with the Clearcase and Perforce providers.  Please integrate the notion of locking vs non-locking providers into the SCM API so this does not need to be passed on the command line.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (SCM-88) Add transparent support for locking providers

Posted by "Wim Deblauwe (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SCM-88?page=comments#action_52387 ] 

Wim Deblauwe commented on SCM-88:
---------------------------------

I voted for this, because you don't release every day, and I found out how easy I forgot to pass that option, so this improvement would be very welcome.

> Add transparent support for locking providers
> ---------------------------------------------
>
>          Key: SCM-88
>          URL: http://jira.codehaus.org/browse/SCM-88
>      Project: Maven SCM
>         Type: Improvement
>   Components: maven-scm-api
>     Versions: 1.0-beta-2
>     Reporter: mike perham
>      Fix For: 1.0-beta-2

>
>
> Currently the release plugin requires a command line parameter "useEditMode" to work with the Clearcase and Perforce providers.  Please integrate the notion of locking vs non-locking providers into the SCM API so this does not need to be passed on the command line.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (SCM-88) Add transparent support for locking providers

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SCM-88?page=comments#action_52391 ] 

Emmanuel Venisse commented on SCM-88:
-------------------------------------

I prefer to remove editMode form release plugin.

We can add a simple method in ScmProvider ( boolean requireEditMode() ) with a default implementation in AbstractScmProvider that return false. release plugin will use this method.

> Add transparent support for locking providers
> ---------------------------------------------
>
>          Key: SCM-88
>          URL: http://jira.codehaus.org/browse/SCM-88
>      Project: Maven SCM
>         Type: Improvement
>   Components: maven-scm-api
>     Versions: 1.0-beta-2
>     Reporter: mike perham
>      Fix For: 1.0-beta-2

>
>
> Currently the release plugin requires a command line parameter "useEditMode" to work with the Clearcase and Perforce providers.  Please integrate the notion of locking vs non-locking providers into the SCM API so this does not need to be passed on the command line.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira