Re: The best approach to extend ScmProvider

2006-04-05 Thread Emmanuel Venisse

What is the role of a task?

Zsolt a écrit :

I'm not sure what you exactly mean. CM-Synergy task is created BEFORE you
checkout.

Zsolt



-Original Message-
From: Torbjorn Smorgrav [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 04, 2006 4:41 PM
To: scm-dev@maven.apache.org
Subject: RE: The best approach to extend ScmProvider

Is it the same as a change set?
A change set you can append to?

Torbjorn



-Original Message-
From: Zsolt [mailto:[EMAIL PROTECTED]
Sent: 4. april 2006 16:00
To: scm-dev@maven.apache.org
Subject: RE: The best approach to extend ScmProvider


In Cm-Synergy (ClearCase has that also) you can checkin with a task created
and maintained by CM-Synergy, and I would like to browse the tasks created
in CM-Synergy.

Zsolt



-Original Message-
From: Torbjorn Smorgrav [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 04, 2006 9:31 AM
To: scm-dev@maven.apache.org
Subject: RE: The best approach to extend ScmProvider

What is a task in this context?

Torbjorn

-Original Message-
From: Zsolt [mailto:[EMAIL PROTECTED]
Sent: 3. april 2006 19:31
To: scm-dev@maven.apache.org
Subject: RE: The best approach to extend ScmProvider


Thank you Carlos,

I will also need a merthod: listTasks (or something like that) that


returns


the tasks of the version control system.

Can (should) I use commit to the repository?

Zsolt



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos
Sanchez
Sent: Monday, April 03, 2006 6:26 PM
To: scm-dev@maven.apache.org
Subject: Re: The best approach to extend ScmProvider

I'd create a new list method. Providers that don't support a list
operation can explain in the javadocs that they don't support it or
that the operation is not efficient because it requires checkout.

On 4/1/06, Zsolt [EMAIL PROTECTED] wrote:


From the source code:

   public interface ScmProvider


I'm very under time pressure:

We have our own (limited scm support) and have to decide until Monday
whether we join to scm-maven (of course we would make all modifications
available) or extend our scm implementation.

For us it is a must that we can get the list of files of a directory
directly from the repository and we must also support huge projects


(thus


an


entire checkout is not an option).

svn list -v does exactly what we need. For CVS we could execute:
  cvs checkout -l  DIRECTORY
into a temporary directory read the contents of CVS/* files (to get
revision, modification date etc.) and remove the temporary directors.

I don't know ClearCase but I guess it has also a list command.

If we join to scm-maven we will very probably implement CM-Synergy


because


one of our customers uses only Cm-Synergy it.

Please give me hints as soon as possible.

Zsolt



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of


Carlos


Sanchez
Sent: Saturday, April 01, 2006 10:24 AM
To: scm-dev@maven.apache.org
Subject: Re: The best approach to extend ScmProvider

Not sure if ScmProvider is an interface but if it is we better add the
method to it before 1.0 and implement in the providers throwing a not
implemented exception, because if not we'll need to create another
interface to avoid breaking backwards compatibility in 1.x

On 4/1/06, Zsolt [EMAIL PROTECTED] wrote:


Hi,

I need to extend ScmProvider to support a list method (like svn


list).


What


is the best approach to do that?

I need this functionally for CVS, svn and clearcase. Later we might


even


add


CM Synergy support for maven scm.

What is the best approach?

Should I use the maven repository or create my own one?

I work with eclipse. How should I setup the project compile


everything?


Zsolt







--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
   -- The Princess Bride





--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
   -- The Princess Bride










Re: The best approach to extend ScmProvider

2006-04-05 Thread dan tran
do you mean UCM activity under clearcase?

-D
On 4/5/06, Emmanuel Venisse [EMAIL PROTECTED] wrote:
What is the role of a task?Zsolt a écrit : I'm not sure what you exactly mean. CM-Synergy task is created BEFORE you
 checkout. Zsolt-Original Message-From: Torbjorn Smorgrav [mailto:[EMAIL PROTECTED]
]Sent: Tuesday, April 04, 2006 4:41 PMTo: scm-dev@maven.apache.orgSubject: RE: The best approach to extend ScmProviderIs it the same as a change set?
A change set you can append to?Torbjorn-Original Message-From: Zsolt [mailto:
[EMAIL PROTECTED]]Sent: 4. april 2006 16:00To: scm-dev@maven.apache.orgSubject: RE: The best approach to extend ScmProvider
In Cm-Synergy (ClearCase has that also) you can checkin with a task createdand maintained by CM-Synergy, and I would like to browse the tasks createdin CM-Synergy.
Zsolt-Original Message-From: Torbjorn Smorgrav [mailto:[EMAIL PROTECTED]
]Sent: Tuesday, April 04, 2006 9:31 AMTo: scm-dev@maven.apache.orgSubject: RE: The best approach to extend ScmProvider
What is a task in this context?Torbjorn-Original Message-From: Zsolt [mailto:
[EMAIL PROTECTED]]Sent: 3. april 2006 19:31To: scm-dev@maven.apache.orgSubject: RE: The best approach to extend ScmProvider
Thank you Carlos,I will also need a merthod: listTasks (or something like that) thatreturnsthe tasks of the version control system.
Can (should) I use commit to the repository?Zsolt-Original Message-From: 
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of CarlosSanchezSent: Monday, April 03, 2006 6:26 PMTo: 
scm-dev@maven.apache.orgSubject: Re: The best approach to extend ScmProviderI'd create a new list method. Providers that don't support a listoperation can explain in the javadocs that they don't support it or
that the operation is not efficient because it requires checkout.On 4/1/06, Zsolt [EMAIL PROTECTED] wrote:
From the source code:public interface ScmProviderI'm very under time pressure:
We have our own (limited scm support) and have to decide until Mondaywhether we join to scm-maven (of course we would make all modificationsavailable) or extend our scm implementation.
For us it is a must that we can get the list of files of a directorydirectly from the repository and we must also support huge projects
(thusanentire checkout is not an option).svn list -v does exactly what we need. For CVS we could execute:
 cvs checkout -l  DIRECTORYinto a temporary directory read the contents of CVS/* files (to getrevision, modification date etc.) and remove the temporary directors.
I don't know ClearCase but I guess it has also a list command.If we join to scm-maven we will very probably implement CM-Synergy
becauseone of our customers uses only Cm-Synergy it.Please give me hints as soon as possible.
Zsolt-Original Message-From: 
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf OfCarlosSanchezSent: Saturday, April 01, 2006 10:24 AM
To: scm-dev@maven.apache.orgSubject: Re: The best approach to extend ScmProviderNot sure if ScmProvider is an interface but if it is we better add the
method to it before 1.0 and implement in the providers throwing a notimplemented exception, because if not we'll need to create anotherinterface to avoid breaking backwards compatibility in 
1.xOn 4/1/06, Zsolt [EMAIL PROTECTED] wrote:Hi,
I need to extend ScmProvider to support a list method (like svnlist).What
is the best approach to do that?I need this functionally for CVS, svn and clearcase. Later we mighteven
addCM Synergy support for maven scm.What is the best approach?
Should I use the maven repository or create my own one?I work with eclipse. How should I setup the project compile
everything?Zsolt
--I could give you my word as a Spaniard.No good. I've known too many Spaniards.
-- The Princess Bride--I could give you my word as a Spaniard.
No good. I've known too many Spaniards.-- The Princess Bride


RE: The best approach to extend ScmProvider

2006-04-05 Thread Torbjorn Smorgrav
Can you checkin changes to the same task several times?

If no, then this should map well to a change set (except the task creation).
If yes, then I like :)

This may be related:
http://jira.codehaus.org/browse/SCM-38

A follow-up question to all:
Is there a plan or vision on how scm-maven should evolve?
Should it become a super-set of all SCM commands and features available?
What about non-core features like access control, bugtracker integration and
audit systems?

Regards
Torbjorn

-Original Message-
From: Zsolt [mailto:[EMAIL PROTECTED]
Sent: 5. april 2006 07:25
To: scm-dev@maven.apache.org
Subject: RE: The best approach to extend ScmProvider


I'm not sure what you exactly mean. CM-Synergy task is created BEFORE you
checkout.

Zsolt

-Original Message-
From: Torbjorn Smorgrav [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 04, 2006 4:41 PM
To: scm-dev@maven.apache.org
Subject: RE: The best approach to extend ScmProvider

Is it the same as a change set?
A change set you can append to?

Torbjorn



-Original Message-
From: Zsolt [mailto:[EMAIL PROTECTED]
Sent: 4. april 2006 16:00
To: scm-dev@maven.apache.org
Subject: RE: The best approach to extend ScmProvider


In Cm-Synergy (ClearCase has that also) you can checkin with a task created
and maintained by CM-Synergy, and I would like to browse the tasks created
in CM-Synergy.

Zsolt

-Original Message-
From: Torbjorn Smorgrav [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 04, 2006 9:31 AM
To: scm-dev@maven.apache.org
Subject: RE: The best approach to extend ScmProvider

What is a task in this context?

Torbjorn

-Original Message-
From: Zsolt [mailto:[EMAIL PROTECTED]
Sent: 3. april 2006 19:31
To: scm-dev@maven.apache.org
Subject: RE: The best approach to extend ScmProvider


Thank you Carlos,

I will also need a merthod: listTasks (or something like that) that
returns
the tasks of the version control system.

Can (should) I use commit to the repository?

Zsolt

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos
Sanchez
Sent: Monday, April 03, 2006 6:26 PM
To: scm-dev@maven.apache.org
Subject: Re: The best approach to extend ScmProvider

I'd create a new list method. Providers that don't support a list
operation can explain in the javadocs that they don't support it or
that the operation is not efficient because it requires checkout.

On 4/1/06, Zsolt [EMAIL PROTECTED] wrote:
 From the source code:

 public interface ScmProvider


 I'm very under time pressure:

 We have our own (limited scm support) and have to decide until Monday
 whether we join to scm-maven (of course we would make all modifications
 available) or extend our scm implementation.

 For us it is a must that we can get the list of files of a directory
 directly from the repository and we must also support huge projects
(thus
an
 entire checkout is not an option).

 svn list -v does exactly what we need. For CVS we could execute:
cvs checkout -l  DIRECTORY
 into a temporary directory read the contents of CVS/* files (to get
 revision, modification date etc.) and remove the temporary directors.

 I don't know ClearCase but I guess it has also a list command.

 If we join to scm-maven we will very probably implement CM-Synergy
because
 one of our customers uses only Cm-Synergy it.

 Please give me hints as soon as possible.

 Zsolt

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Carlos
 Sanchez
 Sent: Saturday, April 01, 2006 10:24 AM
 To: scm-dev@maven.apache.org
 Subject: Re: The best approach to extend ScmProvider
 
 Not sure if ScmProvider is an interface but if it is we better add the
 method to it before 1.0 and implement in the providers throwing a not
 implemented exception, because if not we'll need to create another
 interface to avoid breaking backwards compatibility in 1.x
 
 On 4/1/06, Zsolt [EMAIL PROTECTED] wrote:
  Hi,
 
  I need to extend ScmProvider to support a list method (like svn
list).
 What
  is the best approach to do that?
 
  I need this functionally for CVS, svn and clearcase. Later we might
even
 add
  CM Synergy support for maven scm.
 
  What is the best approach?
 
  Should I use the maven repository or create my own one?
 
  I work with eclipse. How should I setup the project compile
everything?
 
  Zsolt
 
 
 
 
 
 
 --
 I could give you my word as a Spaniard.
 No good. I've known too many Spaniards.
  -- The Princess Bride




--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride



Re: The best approach to extend ScmProvider

2006-04-05 Thread Emmanuel Venisse



Torbjorn Smorgrav a écrit :

Can you checkin changes to the same task several times?

If no, then this should map well to a change set (except the task creation).
If yes, then I like :)

This may be related:
http://jira.codehaus.org/browse/SCM-38

A follow-up question to all:
Is there a plan or vision on how scm-maven should evolve?
Should it become a super-set of all SCM commands and features available?


We want to implement all SCM commands/features if possible. For the moment, we implemented all 
commands/fetures required by continuum and plugins but i'd want to add more.



What about non-core features like access control, bugtracker integration and
audit systems?


We have an issue for this (SCM-38)

Emmanuel


Regards
Torbjorn

-Original Message-
From: Zsolt [mailto:[EMAIL PROTECTED]
Sent: 5. april 2006 07:25
To: scm-dev@maven.apache.org
Subject: RE: The best approach to extend ScmProvider


I'm not sure what you exactly mean. CM-Synergy task is created BEFORE you
checkout.

Zsolt



-Original Message-
From: Torbjorn Smorgrav [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 04, 2006 4:41 PM
To: scm-dev@maven.apache.org
Subject: RE: The best approach to extend ScmProvider

Is it the same as a change set?
A change set you can append to?

Torbjorn



-Original Message-
From: Zsolt [mailto:[EMAIL PROTECTED]
Sent: 4. april 2006 16:00
To: scm-dev@maven.apache.org
Subject: RE: The best approach to extend ScmProvider


In Cm-Synergy (ClearCase has that also) you can checkin with a task created
and maintained by CM-Synergy, and I would like to browse the tasks created
in CM-Synergy.

Zsolt



-Original Message-
From: Torbjorn Smorgrav [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 04, 2006 9:31 AM
To: scm-dev@maven.apache.org
Subject: RE: The best approach to extend ScmProvider

What is a task in this context?

Torbjorn

-Original Message-
From: Zsolt [mailto:[EMAIL PROTECTED]
Sent: 3. april 2006 19:31
To: scm-dev@maven.apache.org
Subject: RE: The best approach to extend ScmProvider


Thank you Carlos,

I will also need a merthod: listTasks (or something like that) that


returns


the tasks of the version control system.

Can (should) I use commit to the repository?

Zsolt



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos
Sanchez
Sent: Monday, April 03, 2006 6:26 PM
To: scm-dev@maven.apache.org
Subject: Re: The best approach to extend ScmProvider

I'd create a new list method. Providers that don't support a list
operation can explain in the javadocs that they don't support it or
that the operation is not efficient because it requires checkout.

On 4/1/06, Zsolt [EMAIL PROTECTED] wrote:


From the source code:

   public interface ScmProvider


I'm very under time pressure:

We have our own (limited scm support) and have to decide until Monday
whether we join to scm-maven (of course we would make all modifications
available) or extend our scm implementation.

For us it is a must that we can get the list of files of a directory
directly from the repository and we must also support huge projects


(thus


an


entire checkout is not an option).

svn list -v does exactly what we need. For CVS we could execute:
  cvs checkout -l  DIRECTORY
into a temporary directory read the contents of CVS/* files (to get
revision, modification date etc.) and remove the temporary directors.

I don't know ClearCase but I guess it has also a list command.

If we join to scm-maven we will very probably implement CM-Synergy


because


one of our customers uses only Cm-Synergy it.

Please give me hints as soon as possible.

Zsolt



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of


Carlos


Sanchez
Sent: Saturday, April 01, 2006 10:24 AM
To: scm-dev@maven.apache.org
Subject: Re: The best approach to extend ScmProvider

Not sure if ScmProvider is an interface but if it is we better add the
method to it before 1.0 and implement in the providers throwing a not
implemented exception, because if not we'll need to create another
interface to avoid breaking backwards compatibility in 1.x

On 4/1/06, Zsolt [EMAIL PROTECTED] wrote:


Hi,

I need to extend ScmProvider to support a list method (like svn


list).


What


is the best approach to do that?

I need this functionally for CVS, svn and clearcase. Later we might


even


add


CM Synergy support for maven scm.

What is the best approach?

Should I use the maven repository or create my own one?

I work with eclipse. How should I setup the project compile


everything?


Zsolt







--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
   -- The Princess Bride





--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
   -- The Princess Bride










RE: The best approach to extend ScmProvider

2006-04-05 Thread henrik . jonsson






A task and a change set is almost the same thing.

I also have plans to implement support for CM Synergy. However, as my
workload is pretty heavy at the moment, I will not be able to start this
until a couple of weeks from now.

Does anyone knows approximately how long it takes to implement support for
a new SCM provider?

If you start please let me know. I'll be happy to test your work if you
implement something.

Regards

Henrik








Zsolt [EMAIL PROTECTED]
2006-04-05 07:24

Please respond to
scm-dev@maven.apache.org


To
scm-dev@maven.apache.org
cc

Subject
RE: The best approach to extend ScmProvider






I'm not sure what you exactly mean. CM-Synergy task is created BEFORE you
checkout.

Zsolt

-Original Message-
From: Torbjorn Smorgrav [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 04, 2006 4:41 PM
To: scm-dev@maven.apache.org
Subject: RE: The best approach to extend ScmProvider

Is it the same as a change set?
A change set you can append to?

Torbjorn



-Original Message-
From: Zsolt [mailto:[EMAIL PROTECTED]
Sent: 4. april 2006 16:00
To: scm-dev@maven.apache.org
Subject: RE: The best approach to extend ScmProvider


In Cm-Synergy (ClearCase has that also) you can checkin with a task
created
and maintained by CM-Synergy, and I would like to browse the tasks
created
in CM-Synergy.

Zsolt

-Original Message-
From: Torbjorn Smorgrav [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 04, 2006 9:31 AM
To: scm-dev@maven.apache.org
Subject: RE: The best approach to extend ScmProvider

What is a task in this context?

Torbjorn

-Original Message-
From: Zsolt [mailto:[EMAIL PROTECTED]
Sent: 3. april 2006 19:31
To: scm-dev@maven.apache.org
Subject: RE: The best approach to extend ScmProvider


Thank you Carlos,

I will also need a merthod: listTasks (or something like that) that
returns
the tasks of the version control system.

Can (should) I use commit to the repository?

Zsolt

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Carlos
Sanchez
Sent: Monday, April 03, 2006 6:26 PM
To: scm-dev@maven.apache.org
Subject: Re: The best approach to extend ScmProvider

I'd create a new list method. Providers that don't support a list
operation can explain in the javadocs that they don't support it or
that the operation is not efficient because it requires checkout.

On 4/1/06, Zsolt [EMAIL PROTECTED] wrote:
 From the source code:

 public interface ScmProvider


 I'm very under time pressure:

 We have our own (limited scm support) and have to decide until Monday
 whether we join to scm-maven (of course we would make all
modifications
 available) or extend our scm implementation.

 For us it is a must that we can get the list of files of a directory
 directly from the repository and we must also support huge projects
(thus
an
 entire checkout is not an option).

 svn list -v does exactly what we need. For CVS we could execute:
cvs checkout -l  DIRECTORY
 into a temporary directory read the contents of CVS/* files (to get
 revision, modification date etc.) and remove the temporary directors.

 I don't know ClearCase but I guess it has also a list command.

 If we join to scm-maven we will very probably implement CM-Synergy
because
 one of our customers uses only Cm-Synergy it.

 Please give me hints as soon as possible.

 Zsolt

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Carlos
 Sanchez
 Sent: Saturday, April 01, 2006 10:24 AM
 To: scm-dev@maven.apache.org
 Subject: Re: The best approach to extend ScmProvider
 
 Not sure if ScmProvider is an interface but if it is we better add
the
 method to it before 1.0 and implement in the providers throwing a
not
 implemented exception, because if not we'll need to create another
 interface to avoid breaking backwards compatibility in 1.x
 
 On 4/1/06, Zsolt [EMAIL PROTECTED] wrote:
  Hi,
 
  I need to extend ScmProvider to support a list method (like svn
list).
 What
  is the best approach to do that?
 
  I need this functionally for CVS, svn and clearcase. Later we
might
even
 add
  CM Synergy support for maven scm.
 
  What is the best approach?
 
  Should I use the maven repository or create my own one?
 
  I work with eclipse. How should I setup the project compile
everything?
 
  Zsolt
 
 
 
 
 
 
 --
 I could give you my word as a Spaniard.
 No good. I've known too many Spaniards.
  -- The Princess Bride




--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride





___


This e-mail communication (and any attachment/s) may contain confidential
or privileged information and is intended only for the individual(s) or
entity named above and to others who have been specifically authorized to
receive it. If you

Re: The best approach to extend ScmProvider

2006-04-05 Thread Emmanuel Venisse

If you know well scm commands, a new scm provider can be implemented in 2-3 
days.

The minimal commands are add, checkin, checkout, changelog, remove, tag, update, status, and the TCK 
implementation for validation of code.


Emmanuel

[EMAIL PROTECTED] a écrit :






A task and a change set is almost the same thing.

I also have plans to implement support for CM Synergy. However, as my
workload is pretty heavy at the moment, I will not be able to start this
until a couple of weeks from now.

Does anyone knows approximately how long it takes to implement support for
a new SCM provider?

If you start please let me know. I'll be happy to test your work if you
implement something.

Regards

Henrik








Zsolt [EMAIL PROTECTED]
2006-04-05 07:24

Please respond to
scm-dev@maven.apache.org


To
scm-dev@maven.apache.org
cc

Subject
RE: The best approach to extend ScmProvider






I'm not sure what you exactly mean. CM-Synergy task is created BEFORE you
checkout.

Zsolt



-Original Message-
From: Torbjorn Smorgrav [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 04, 2006 4:41 PM
To: scm-dev@maven.apache.org
Subject: RE: The best approach to extend ScmProvider

Is it the same as a change set?
A change set you can append to?

Torbjorn



-Original Message-
From: Zsolt [mailto:[EMAIL PROTECTED]
Sent: 4. april 2006 16:00
To: scm-dev@maven.apache.org
Subject: RE: The best approach to extend ScmProvider


In Cm-Synergy (ClearCase has that also) you can checkin with a task


created


and maintained by CM-Synergy, and I would like to browse the tasks


created


in CM-Synergy.

Zsolt



-Original Message-
From: Torbjorn Smorgrav [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 04, 2006 9:31 AM
To: scm-dev@maven.apache.org
Subject: RE: The best approach to extend ScmProvider

What is a task in this context?

Torbjorn

-Original Message-
From: Zsolt [mailto:[EMAIL PROTECTED]
Sent: 3. april 2006 19:31
To: scm-dev@maven.apache.org
Subject: RE: The best approach to extend ScmProvider


Thank you Carlos,

I will also need a merthod: listTasks (or something like that) that


returns


the tasks of the version control system.

Can (should) I use commit to the repository?

Zsolt



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of


Carlos


Sanchez
Sent: Monday, April 03, 2006 6:26 PM
To: scm-dev@maven.apache.org
Subject: Re: The best approach to extend ScmProvider

I'd create a new list method. Providers that don't support a list
operation can explain in the javadocs that they don't support it or
that the operation is not efficient because it requires checkout.

On 4/1/06, Zsolt [EMAIL PROTECTED] wrote:


From the source code:

   public interface ScmProvider


I'm very under time pressure:

We have our own (limited scm support) and have to decide until Monday
whether we join to scm-maven (of course we would make all


modifications


available) or extend our scm implementation.

For us it is a must that we can get the list of files of a directory
directly from the repository and we must also support huge projects


(thus


an


entire checkout is not an option).

svn list -v does exactly what we need. For CVS we could execute:
  cvs checkout -l  DIRECTORY
into a temporary directory read the contents of CVS/* files (to get
revision, modification date etc.) and remove the temporary directors.

I don't know ClearCase but I guess it has also a list command.

If we join to scm-maven we will very probably implement CM-Synergy


because


one of our customers uses only Cm-Synergy it.

Please give me hints as soon as possible.

Zsolt



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of


Carlos


Sanchez
Sent: Saturday, April 01, 2006 10:24 AM
To: scm-dev@maven.apache.org
Subject: Re: The best approach to extend ScmProvider

Not sure if ScmProvider is an interface but if it is we better add


the


method to it before 1.0 and implement in the providers throwing a


not


implemented exception, because if not we'll need to create another
interface to avoid breaking backwards compatibility in 1.x

On 4/1/06, Zsolt [EMAIL PROTECTED] wrote:


Hi,

I need to extend ScmProvider to support a list method (like svn


list).


What


is the best approach to do that?

I need this functionally for CVS, svn and clearcase. Later we


might


even


add


CM Synergy support for maven scm.

What is the best approach?

Should I use the maven repository or create my own one?

I work with eclipse. How should I setup the project compile


everything?


Zsolt







--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
   -- The Princess Bride





--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
   -- The Princess Bride

RE: The best approach to extend ScmProvider

2006-04-05 Thread Sharma, Jaikumar
Title: RE: The best approach to extend ScmProvider





Kindly send me some getting started info about plugin development, never developed a plugin ealier. My approach would be to do it as fast as possible.

-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, April 05, 2006 2:35 PM
To: scm-dev@maven.apache.org
Subject: Re: The best approach to extend ScmProvider



If you know well scm commands, a new scm provider can be implemented in 2-3 days.


The minimal commands are add, checkin, checkout, changelog, remove, tag, update, status, and the TCK 
implementation for validation of code.


Emmanuel


[EMAIL PROTECTED] a écrit :
 
 
 
 
 
 A task and a change set is almost the same thing.
 
 I also have plans to implement support for CM Synergy. However, as my 
 workload is pretty heavy at the moment, I will not be able to start 
 this until a couple of weeks from now.
 
 Does anyone knows approximately how long it takes to implement support 
 for a new SCM provider?
 
 If you start please let me know. I'll be happy to test your work if 
 you implement something.
 
 Regards
 
 Henrik
 
 
 
 
 
 
 
 
 Zsolt [EMAIL PROTECTED]
 2006-04-05 07:24
 
 Please respond to
 scm-dev@maven.apache.org
 
 
 To
 scm-dev@maven.apache.org
 cc
 
 Subject
 RE: The best approach to extend ScmProvider
 
 
 
 
 
 
 I'm not sure what you exactly mean. CM-Synergy task is created BEFORE 
 you checkout.
 
 Zsolt
 
 
-Original Message-
From: Torbjorn Smorgrav [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 04, 2006 4:41 PM
To: scm-dev@maven.apache.org
Subject: RE: The best approach to extend ScmProvider

Is it the same as a change set?
A change set you can append to?

Torbjorn



-Original Message-
From: Zsolt [mailto:[EMAIL PROTECTED]]
Sent: 4. april 2006 16:00
To: scm-dev@maven.apache.org
Subject: RE: The best approach to extend ScmProvider


In Cm-Synergy (ClearCase has that also) you can checkin with a task
 
 created
 
and maintained by CM-Synergy, and I would like to browse the tasks
 
 created
 
in CM-Synergy.

Zsolt


-Original Message-
From: Torbjorn Smorgrav 
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 04, 2006 9:31 AM
To: scm-dev@maven.apache.org
Subject: RE: The best approach to extend ScmProvider

What is a task in this context?

Torbjorn

-Original Message-
From: Zsolt [mailto:[EMAIL PROTECTED]]
Sent: 3. april 2006 19:31
To: scm-dev@maven.apache.org
Subject: RE: The best approach to extend ScmProvider


Thank you Carlos,

I will also need a merthod: listTasks (or something like that) that

returns

the tasks of the version control system.

Can (should) I use commit to the repository?

Zsolt


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of
 
 Carlos
 
Sanchez
Sent: Monday, April 03, 2006 6:26 PM
To: scm-dev@maven.apache.org
Subject: Re: The best approach to extend ScmProvider

I'd create a new list method. Providers that don't support a list 
operation can explain in the javadocs that they don't support it or 
that the operation is not efficient because it requires checkout.

On 4/1/06, Zsolt [EMAIL PROTECTED] wrote:

From the source code:

 public interface ScmProvider


I'm very under time pressure:

We have our own (limited scm support) and have to decide until 
Monday whether we join to scm-maven (of course we would make all
 
 modifications
 
available) or extend our scm implementation.

For us it is a must that we can get the list of files of a 
directory directly from the repository and we must also support 
huge projects

(thus

an

entire checkout is not an option).

svn list -v does exactly what we need. For CVS we could execute:
 cvs checkout -l  DIRECTORY
into a temporary directory read the contents of CVS/* files (to get 
revision, modification date etc.) and remove the temporary 
directors.

I don't know ClearCase but I guess it has also a list command.

If we join to scm-maven we will very probably implement CM-Synergy

because

one of our customers uses only Cm-Synergy it.

Please give me hints as soon as possible.

Zsolt


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of

Carlos

Sanchez
Sent: Saturday, April 01, 2006 10:24 AM
To: scm-dev@maven.apache.org
Subject: Re: The best approach to extend ScmProvider

Not sure if ScmProvider is an interface but if it is we better add
 
 the
 
method to it before 1.0 and implement in the providers throwing a
 
 not
 
implemented exception, because if not we'll need to create another 
interface to avoid breaking backwards compatibility in 1.x

On 4/1/06, Zsolt [EMAIL PROTECTED] wrote:

Hi,

I need to extend ScmProvider to support a list method (like svn

list).

What

is the best approach to do that?

I need this functionally for CVS, svn and clearcase. Later we
 
 might
 
even

add

CM Synergy support for maven scm.

What is the best approach?

Should I use the maven repository or create my own one

Re: The best approach to extend ScmProvider

2006-04-05 Thread Emmanuel Venisse

It isn't a plugin to develop but a standard java library

1- you need to create a pom for your scm provider that extends 
maven-scm-providers like this :
  parent
artifactIdmaven-scm-providers/artifactId
groupIdorg.apache.maven.scm/groupId
version1.0-beta-3-SNAPSHOT/version
  /parent

2- create directory structure like others providers (we'll need to create an 
archetype for this)
3- create 2 classes that extends ScmProviderRepository and AbstractScmProvider
4- create src/main/resources/META-INF/plexus/components.xml like it's done in 
other providers
5- implement your commands and tests
6- implement the TCK that will validate your code

Emmanuel


Sharma, Jaikumar a écrit :
Kindly send me some getting started info about plugin development, never 
developed a plugin ealier. My approach would be to do it as fast as 
possible.


-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 05, 2006 2:35 PM
To: scm-dev@maven.apache.org
Subject: Re: The best approach to extend ScmProvider


If you know well scm commands, a new scm provider can be implemented in 
2-3 days.


The minimal commands are add, checkin, checkout, changelog, remove, tag, 
update, status, and the TCK

implementation for validation of code.

Emmanuel

[EMAIL PROTECTED] a écrit :
 
 
 
 
 
  A task and a change set is almost the same thing.
 
  I also have plans to implement support for CM Synergy. However, as my
  workload is pretty heavy at the moment, I will not be able to start
  this until a couple of weeks from now.
 
  Does anyone knows approximately how long it takes to implement support
  for a new SCM provider?
 
  If you start please let me know. I'll be happy to test your work if
  you implement something.
 
  Regards
 
  Henrik
 
 
 
 
 
 
 
 
  Zsolt [EMAIL PROTECTED]
  2006-04-05 07:24
 
  Please respond to
  scm-dev@maven.apache.org
 
 
  To
  scm-dev@maven.apache.org
  cc
 
  Subject
  RE: The best approach to extend ScmProvider
 
 
 
 
 
 
  I'm not sure what you exactly mean. CM-Synergy task is created BEFORE
  you checkout.
 
  Zsolt
 
 
 -Original Message-
 From: Torbjorn Smorgrav [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, April 04, 2006 4:41 PM
 To: scm-dev@maven.apache.org
 Subject: RE: The best approach to extend ScmProvider
 
 Is it the same as a change set?
 A change set you can append to?
 
 Torbjorn
 
 
 
 -Original Message-
 From: Zsolt [mailto:[EMAIL PROTECTED]
 Sent: 4. april 2006 16:00
 To: scm-dev@maven.apache.org
 Subject: RE: The best approach to extend ScmProvider
 
 
 In Cm-Synergy (ClearCase has that also) you can checkin with a task
 
  created
 
 and maintained by CM-Synergy, and I would like to browse the tasks
 
  created
 
 in CM-Synergy.
 
 Zsolt
 
 
 -Original Message-
 From: Torbjorn Smorgrav
 [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, April 04, 2006 9:31 AM
 To: scm-dev@maven.apache.org
 Subject: RE: The best approach to extend ScmProvider
 
 What is a task in this context?
 
 Torbjorn
 
 -Original Message-
 From: Zsolt [mailto:[EMAIL PROTECTED]
 Sent: 3. april 2006 19:31
 To: scm-dev@maven.apache.org
 Subject: RE: The best approach to extend ScmProvider
 
 
 Thank you Carlos,
 
 I will also need a merthod: listTasks (or something like that) that
 
 returns
 
 the tasks of the version control system.
 
 Can (should) I use commit to the repository?
 
 Zsolt
 
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
 
  Carlos
 
 Sanchez
 Sent: Monday, April 03, 2006 6:26 PM
 To: scm-dev@maven.apache.org
 Subject: Re: The best approach to extend ScmProvider
 
 I'd create a new list method. Providers that don't support a list
 operation can explain in the javadocs that they don't support it or
 that the operation is not efficient because it requires checkout.
 
 On 4/1/06, Zsolt [EMAIL PROTECTED] wrote:
 
 From the source code:
 
 public interface ScmProvider
 
 
 I'm very under time pressure:
 
 We have our own (limited scm support) and have to decide until
 Monday whether we join to scm-maven (of course we would make all
 
  modifications
 
 available) or extend our scm implementation.
 
 For us it is a must that we can get the list of files of a
 directory directly from the repository and we must also support
 huge projects
 
 (thus
 
 an
 
 entire checkout is not an option).
 
 svn list -v does exactly what we need. For CVS we could execute:
cvs checkout -l  DIRECTORY
 into a temporary directory read the contents of CVS/* files (to get
 revision, modification date etc.) and remove the temporary
 directors.
 
 I don't know ClearCase but I guess it has also a list command.
 
 If we join to scm-maven we will very probably implement CM-Synergy
 
 because
 
 one of our customers uses only Cm-Synergy it.
 
 Please give me hints as soon as possible.
 
 Zsolt
 
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
 
 Carlos

RE: The best approach to extend ScmProvider

2006-04-04 Thread Torbjorn Smorgrav
What is a task in this context?

Torbjorn

-Original Message-
From: Zsolt [mailto:[EMAIL PROTECTED]
Sent: 3. april 2006 19:31
To: scm-dev@maven.apache.org
Subject: RE: The best approach to extend ScmProvider


Thank you Carlos,

I will also need a merthod: listTasks (or something like that) that returns
the tasks of the version control system.

Can (should) I use commit to the repository?

Zsolt

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos
Sanchez
Sent: Monday, April 03, 2006 6:26 PM
To: scm-dev@maven.apache.org
Subject: Re: The best approach to extend ScmProvider

I'd create a new list method. Providers that don't support a list
operation can explain in the javadocs that they don't support it or
that the operation is not efficient because it requires checkout.

On 4/1/06, Zsolt [EMAIL PROTECTED] wrote:
 From the source code:

 public interface ScmProvider


 I'm very under time pressure:

 We have our own (limited scm support) and have to decide until Monday
 whether we join to scm-maven (of course we would make all modifications
 available) or extend our scm implementation.

 For us it is a must that we can get the list of files of a directory
 directly from the repository and we must also support huge projects (thus
an
 entire checkout is not an option).

 svn list -v does exactly what we need. For CVS we could execute:
cvs checkout -l  DIRECTORY
 into a temporary directory read the contents of CVS/* files (to get
 revision, modification date etc.) and remove the temporary directors.

 I don't know ClearCase but I guess it has also a list command.

 If we join to scm-maven we will very probably implement CM-Synergy
because
 one of our customers uses only Cm-Synergy it.

 Please give me hints as soon as possible.

 Zsolt

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos
 Sanchez
 Sent: Saturday, April 01, 2006 10:24 AM
 To: scm-dev@maven.apache.org
 Subject: Re: The best approach to extend ScmProvider
 
 Not sure if ScmProvider is an interface but if it is we better add the
 method to it before 1.0 and implement in the providers throwing a not
 implemented exception, because if not we'll need to create another
 interface to avoid breaking backwards compatibility in 1.x
 
 On 4/1/06, Zsolt [EMAIL PROTECTED] wrote:
  Hi,
 
  I need to extend ScmProvider to support a list method (like svn list).
 What
  is the best approach to do that?
 
  I need this functionally for CVS, svn and clearcase. Later we might
even
 add
  CM Synergy support for maven scm.
 
  What is the best approach?
 
  Should I use the maven repository or create my own one?
 
  I work with eclipse. How should I setup the project compile
everything?
 
  Zsolt
 
 
 
 
 
 
 --
 I could give you my word as a Spaniard.
 No good. I've known too many Spaniards.
  -- The Princess Bride




--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride



RE: The best approach to extend ScmProvider

2006-04-04 Thread Zsolt
I'm not sure what you exactly mean. CM-Synergy task is created BEFORE you
checkout.

Zsolt

-Original Message-
From: Torbjorn Smorgrav [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 04, 2006 4:41 PM
To: scm-dev@maven.apache.org
Subject: RE: The best approach to extend ScmProvider

Is it the same as a change set?
A change set you can append to?

Torbjorn



-Original Message-
From: Zsolt [mailto:[EMAIL PROTECTED]
Sent: 4. april 2006 16:00
To: scm-dev@maven.apache.org
Subject: RE: The best approach to extend ScmProvider


In Cm-Synergy (ClearCase has that also) you can checkin with a task created
and maintained by CM-Synergy, and I would like to browse the tasks created
in CM-Synergy.

Zsolt

-Original Message-
From: Torbjorn Smorgrav [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 04, 2006 9:31 AM
To: scm-dev@maven.apache.org
Subject: RE: The best approach to extend ScmProvider

What is a task in this context?

Torbjorn

-Original Message-
From: Zsolt [mailto:[EMAIL PROTECTED]
Sent: 3. april 2006 19:31
To: scm-dev@maven.apache.org
Subject: RE: The best approach to extend ScmProvider


Thank you Carlos,

I will also need a merthod: listTasks (or something like that) that
returns
the tasks of the version control system.

Can (should) I use commit to the repository?

Zsolt

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos
Sanchez
Sent: Monday, April 03, 2006 6:26 PM
To: scm-dev@maven.apache.org
Subject: Re: The best approach to extend ScmProvider

I'd create a new list method. Providers that don't support a list
operation can explain in the javadocs that they don't support it or
that the operation is not efficient because it requires checkout.

On 4/1/06, Zsolt [EMAIL PROTECTED] wrote:
 From the source code:

 public interface ScmProvider


 I'm very under time pressure:

 We have our own (limited scm support) and have to decide until Monday
 whether we join to scm-maven (of course we would make all modifications
 available) or extend our scm implementation.

 For us it is a must that we can get the list of files of a directory
 directly from the repository and we must also support huge projects
(thus
an
 entire checkout is not an option).

 svn list -v does exactly what we need. For CVS we could execute:
cvs checkout -l  DIRECTORY
 into a temporary directory read the contents of CVS/* files (to get
 revision, modification date etc.) and remove the temporary directors.

 I don't know ClearCase but I guess it has also a list command.

 If we join to scm-maven we will very probably implement CM-Synergy
because
 one of our customers uses only Cm-Synergy it.

 Please give me hints as soon as possible.

 Zsolt

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Carlos
 Sanchez
 Sent: Saturday, April 01, 2006 10:24 AM
 To: scm-dev@maven.apache.org
 Subject: Re: The best approach to extend ScmProvider
 
 Not sure if ScmProvider is an interface but if it is we better add the
 method to it before 1.0 and implement in the providers throwing a not
 implemented exception, because if not we'll need to create another
 interface to avoid breaking backwards compatibility in 1.x
 
 On 4/1/06, Zsolt [EMAIL PROTECTED] wrote:
  Hi,
 
  I need to extend ScmProvider to support a list method (like svn
list).
 What
  is the best approach to do that?
 
  I need this functionally for CVS, svn and clearcase. Later we might
even
 add
  CM Synergy support for maven scm.
 
  What is the best approach?
 
  Should I use the maven repository or create my own one?
 
  I work with eclipse. How should I setup the project compile
everything?
 
  Zsolt
 
 
 
 
 
 
 --
 I could give you my word as a Spaniard.
 No good. I've known too many Spaniards.
  -- The Princess Bride




--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride



Re: The best approach to extend ScmProvider

2006-04-03 Thread Carlos Sanchez
I'd create a new list method. Providers that don't support a list
operation can explain in the javadocs that they don't support it or
that the operation is not efficient because it requires checkout.

On 4/1/06, Zsolt [EMAIL PROTECTED] wrote:
 From the source code:

 public interface ScmProvider


 I'm very under time pressure:

 We have our own (limited scm support) and have to decide until Monday
 whether we join to scm-maven (of course we would make all modifications
 available) or extend our scm implementation.

 For us it is a must that we can get the list of files of a directory
 directly from the repository and we must also support huge projects (thus an
 entire checkout is not an option).

 svn list -v does exactly what we need. For CVS we could execute:
cvs checkout -l  DIRECTORY
 into a temporary directory read the contents of CVS/* files (to get
 revision, modification date etc.) and remove the temporary directors.

 I don't know ClearCase but I guess it has also a list command.

 If we join to scm-maven we will very probably implement CM-Synergy because
 one of our customers uses only Cm-Synergy it.

 Please give me hints as soon as possible.

 Zsolt

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos
 Sanchez
 Sent: Saturday, April 01, 2006 10:24 AM
 To: scm-dev@maven.apache.org
 Subject: Re: The best approach to extend ScmProvider
 
 Not sure if ScmProvider is an interface but if it is we better add the
 method to it before 1.0 and implement in the providers throwing a not
 implemented exception, because if not we'll need to create another
 interface to avoid breaking backwards compatibility in 1.x
 
 On 4/1/06, Zsolt [EMAIL PROTECTED] wrote:
  Hi,
 
  I need to extend ScmProvider to support a list method (like svn list).
 What
  is the best approach to do that?
 
  I need this functionally for CVS, svn and clearcase. Later we might even
 add
  CM Synergy support for maven scm.
 
  What is the best approach?
 
  Should I use the maven repository or create my own one?
 
  I work with eclipse. How should I setup the project compile everything?
 
  Zsolt
 
 
 
 
 
 
 --
 I could give you my word as a Spaniard.
 No good. I've known too many Spaniards.
  -- The Princess Bride




--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride


Re: The best approach to extend ScmProvider

2006-04-03 Thread Carlos Sanchez
You can't commit to the project. You need to provide a patch in jira
http://jira.codehaus.org/browse/SCM with sources, tests and docs, and
we'll consider if it's worth adding it to the codebase or not. You can
always build your local copy for yourself.

On 4/3/06, Zsolt [EMAIL PROTECTED] wrote:
 Thank you Carlos,

 I will also need a merthod: listTasks (or something like that) that returns
 the tasks of the version control system.

 Can (should) I use commit to the repository?

 Zsolt

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos
 Sanchez
 Sent: Monday, April 03, 2006 6:26 PM
 To: scm-dev@maven.apache.org
 Subject: Re: The best approach to extend ScmProvider
 
 I'd create a new list method. Providers that don't support a list
 operation can explain in the javadocs that they don't support it or
 that the operation is not efficient because it requires checkout.
 
 On 4/1/06, Zsolt [EMAIL PROTECTED] wrote:
  From the source code:
 
  public interface ScmProvider
 
 
  I'm very under time pressure:
 
  We have our own (limited scm support) and have to decide until Monday
  whether we join to scm-maven (of course we would make all modifications
  available) or extend our scm implementation.
 
  For us it is a must that we can get the list of files of a directory
  directly from the repository and we must also support huge projects (thus
 an
  entire checkout is not an option).
 
  svn list -v does exactly what we need. For CVS we could execute:
 cvs checkout -l  DIRECTORY
  into a temporary directory read the contents of CVS/* files (to get
  revision, modification date etc.) and remove the temporary directors.
 
  I don't know ClearCase but I guess it has also a list command.
 
  If we join to scm-maven we will very probably implement CM-Synergy
 because
  one of our customers uses only Cm-Synergy it.
 
  Please give me hints as soon as possible.
 
  Zsolt
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos
  Sanchez
  Sent: Saturday, April 01, 2006 10:24 AM
  To: scm-dev@maven.apache.org
  Subject: Re: The best approach to extend ScmProvider
  
  Not sure if ScmProvider is an interface but if it is we better add the
  method to it before 1.0 and implement in the providers throwing a not
  implemented exception, because if not we'll need to create another
  interface to avoid breaking backwards compatibility in 1.x
  
  On 4/1/06, Zsolt [EMAIL PROTECTED] wrote:
   Hi,
  
   I need to extend ScmProvider to support a list method (like svn list).
  What
   is the best approach to do that?
  
   I need this functionally for CVS, svn and clearcase. Later we might
 even
  add
   CM Synergy support for maven scm.
  
   What is the best approach?
  
   Should I use the maven repository or create my own one?
  
   I work with eclipse. How should I setup the project compile
 everything?
  
   Zsolt
  
  
  
  
  
  
  --
  I could give you my word as a Spaniard.
  No good. I've known too many Spaniards.
   -- The Princess Bride
 
 
 
 
 --
 I could give you my word as a Spaniard.
 No good. I've known too many Spaniards.
  -- The Princess Bride




--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride


RE: The best approach to extend ScmProvider

2006-04-01 Thread Zsolt
From the source code:

public interface ScmProvider


I'm very under time pressure:

We have our own (limited scm support) and have to decide until Monday
whether we join to scm-maven (of course we would make all modifications
available) or extend our scm implementation.

For us it is a must that we can get the list of files of a directory
directly from the repository and we must also support huge projects (thus an
entire checkout is not an option).

svn list -v does exactly what we need. For CVS we could execute:
   cvs checkout -l  DIRECTORY
into a temporary directory read the contents of CVS/* files (to get
revision, modification date etc.) and remove the temporary directors.

I don't know ClearCase but I guess it has also a list command.

If we join to scm-maven we will very probably implement CM-Synergy because
one of our customers uses only Cm-Synergy it.

Please give me hints as soon as possible.

Zsolt

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos
Sanchez
Sent: Saturday, April 01, 2006 10:24 AM
To: scm-dev@maven.apache.org
Subject: Re: The best approach to extend ScmProvider

Not sure if ScmProvider is an interface but if it is we better add the
method to it before 1.0 and implement in the providers throwing a not
implemented exception, because if not we'll need to create another
interface to avoid breaking backwards compatibility in 1.x

On 4/1/06, Zsolt [EMAIL PROTECTED] wrote:
 Hi,

 I need to extend ScmProvider to support a list method (like svn list).
What
 is the best approach to do that?

 I need this functionally for CVS, svn and clearcase. Later we might even
add
 CM Synergy support for maven scm.

 What is the best approach?

 Should I use the maven repository or create my own one?

 I work with eclipse. How should I setup the project compile everything?

 Zsolt






--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride