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 Sergey Zakusov <sz...@emdev.ru> on 2008/05/30 17:38:43 UTC

2READ: Should remote or "local" command be used to List, Changelog and etc. commands?

Sorry for my previous mail, it has been sent by chance :(

So, my question is: which kind of command should be used for commands like
List, Changelog and etc. - remote or local?

For example, CVS returns different results for Log (local) and Rlog (remote)
commands.
REM: Rlog result cannot be parsed by CvsChangeLogConsumer.

All SCM providers for CVS uses:

   - Rlist (remote) command (in any case the result cannot be parsed by
   CvsStatusConsumer: http://jira.codehaus.org/browse/SCM-380),
   - Log (local) command (but at the same time SCM providers for SVN uses
   Log command for remote items).


In our case (for EmForge source browser) we would like to use remote
commands where it's possible.
How can it be done with Maven SCM?
Should we create a new path for AbstractCvsChangeLogCommand?
or can the Maven API be extended to add the remote commands too?


-- 
Best regards,
Sergey Zakusov
------------------------------------------
Software Developer, EmDev,
Saint-Petersburg, Remeslennaya 17-415,
197110, Russia

Phone: +7 (812) 498-72-21
Mobile: +7 (921) 301-77-13

Re: 2READ: Should remote or "local" command be used to List, Changelog and etc. commands?

Posted by Emmanuel Venisse <em...@gmail.com>.
If some commands use local and some others use remote, I think it's an
error. I'd prefer to have something consistent.

If local and remote are possible for some commands/providers, it would be
good to create both in each providers so applications that use maven-scm
will can choose the way they want.

Emmanuel

On Fri, May 30, 2008 at 5:38 PM, Sergey Zakusov <sz...@emdev.ru> wrote:

> Sorry for my previous mail, it has been sent by chance :(
>
> So, my question is: which kind of command should be used for commands like
> List, Changelog and etc. - remote or local?
>
> For example, CVS returns different results for Log (local) and Rlog
> (remote) commands.
> REM: Rlog result cannot be parsed by CvsChangeLogConsumer.
>
> All SCM providers for CVS uses:
>
>    - Rlist (remote) command (in any case the result cannot be parsed by
>    CvsStatusConsumer: http://jira.codehaus.org/browse/SCM-380),
>    - Log (local) command (but at the same time SCM providers for SVN uses
>    Log command for remote items).
>
>
> In our case (for EmForge source browser) we would like to use remote
> commands where it's possible.
> How can it be done with Maven SCM?
> Should we create a new path for AbstractCvsChangeLogCommand?
> or can the Maven API be extended to add the remote commands too?
>
>
> --
> Best regards,
> Sergey Zakusov
> ------------------------------------------
> Software Developer, EmDev,
> Saint-Petersburg, Remeslennaya 17-415,
> 197110, Russia
>
> Phone: +7 (812) 498-72-21
> Mobile: +7 (921) 301-77-13