You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Michael Osipov <mi...@apache.org> on 2021/10/17 09:56:59 UTC

Users of Mercurial (Hg) SCM provider

Hi Users,

are there any Maven users who use Maven SCM Hg provider directly or 
indirectly through Maven Release Plugin?
We are currently reviewing the vast amount of code in Maven SCM and try 
to reduce what cannot reasonable maintain.

Please raise your voice and tell us about your usecase and the Mercurial 
version you use.

Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Users of Mercurial (Hg) SCM provider

Posted by Andreas Sewe <an...@buildingblobs.com>.
Hi Michael,

>> I use it (with Mercurial 4.5.3), both with the maven-release-plugin and
>> for some basic operations like scm:tag in scripts (although that would
>> be easily replaceable with a direct invocation).
> 
> Any reason why you are not on 5.x? I don't even know what changes were
> introduced in 5.0 which do not properly work with Maven SCM.

no reason in particular. It's just the version that ships with Ubuntu
18.4 LTS version I am using.

But I would not expect the Maven SCM developers to test against older
Mercurial versions. Hence, just testing against 5.x is fine by me.

That being said, from a Maven SCM standpoint, I would not expect to see
any breakage with Mercurial 4.x give that Maven just forks the Mercurial
process and parses results. AFAICT, this interface is kept very stable
by the Mercurial team precisely because a lot of people use Mercurial
like that in their scripts. If Maven SCM would use, say, Jython to
access Mercurial internals directly in the JVM process, things would, of
course, be different, but you don't and should hence be quite safe.

Hope that helps.

Best wishes,

Andreas


Re: Users of Mercurial (Hg) SCM provider

Posted by Michael Osipov <mi...@apache.org>.
Am 2021-10-18 um 13:23 schrieb Andreas Sewe:
> Hi,
> 
>> are there any Maven users who use Maven SCM Hg provider directly or
>> indirectly through Maven Release Plugin?
>> We are currently reviewing the vast amount of code in Maven SCM and try
>> to reduce what cannot reasonable maintain.
>>
>> Please raise your voice and tell us about your usecase and the Mercurial
>> version you use.
> 
> I use it (with Mercurial 4.5.3), both with the maven-release-plugin and
> for some basic operations like scm:tag in scripts (although that would
> be easily replaceable with a direct invocation).

Any reason why you are not on 5.x? I don't even know what changes were 
introduced in 5.0 which do not properly work with Maven SCM.

M

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Users of Mercurial (Hg) SCM provider

Posted by Andreas Sewe <an...@buildingblobs.com>.
Hi,

> are there any Maven users who use Maven SCM Hg provider directly or
> indirectly through Maven Release Plugin?
> We are currently reviewing the vast amount of code in Maven SCM and try
> to reduce what cannot reasonable maintain.
> 
> Please raise your voice and tell us about your usecase and the Mercurial
> version you use.

I use it (with Mercurial 4.5.3), both with the maven-release-plugin and
for some basic operations like scm:tag in scripts (although that would
be easily replaceable with a direct invocation).

Best wishes,

Andreas



Re: Users of Mercurial (Hg) SCM provider

Posted by Maarten Mulders <mt...@apache.org>.
Personally, I don't use it, and I never used it in the past.

For better reach, would it be useful to tweet a poll about it from the 
@ASFMavenProject handle?


Thanks,

Maarten

On 17/10/2021 11:56, Michael Osipov wrote:
> Hi Users,
> 
> are there any Maven users who use Maven SCM Hg provider directly or 
> indirectly through Maven Release Plugin?
> We are currently reviewing the vast amount of code in Maven SCM and try 
> to reduce what cannot reasonable maintain.
> 
> Please raise your voice and tell us about your usecase and the Mercurial 
> version you use.
> 
> Michael
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Users of Mercurial (Hg) SCM provider

Posted by Michael Osipov <mi...@apache.org>.
Am 2021-10-22 um 11:26 schrieb Andreas Sewe:
> Michael Osipov wrote:
>> Can you explain the benefit for you compared to Git (another DVCS)?
>> I don't have any experience with Mercurial.
> 
> Speaking only for myself and not Václav and desperately hoping not to
> start a Git vs. Mercurial flamewar, for me the one-and-a-half things
> Mercurial does better are its safe approach to history rewriting (aka
> changeset evolution [1]) and its far less confusing CLI, which still has
> really powerful query capabilities [2,3].
> 
> Hope this helps.

I don't need a flamewar, just input from users. ...and this one is quite 
good.
Are willing to have a look at the state of the Hg provider? I can't just 
weather is is how it should be or it lacks something for the future.

Michael


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Users of Mercurial (Hg) SCM provider

Posted by Andreas Sewe <an...@buildingblobs.com>.
Michael Osipov wrote:
> Can you explain the benefit for you compared to Git (another DVCS)?
> I don't have any experience with Mercurial.

Speaking only for myself and not Václav and desperately hoping not to
start a Git vs. Mercurial flamewar, for me the one-and-a-half things
Mercurial does better are its safe approach to history rewriting (aka
changeset evolution [1]) and its far less confusing CLI, which still has
really powerful query capabilities [2,3].

Hope this helps.

Best wishes,

Andreas

[1] <https://www.mercurial-scm.org/doc/evolution/>
[2] <https://www.mercurial-scm.org/doc/hg.1.html#specifying-revisions>
[3] <https://www.mercurial-scm.org/doc/hg.1.html#specifying-file-sets>


Re: Users of Mercurial (Hg) SCM provider

Posted by Václav Haisman <vh...@gmail.com>.
On 22. 10. 21 10:10, Michael Osipov wrote:
> Am 2021-10-21 um 22:03 schrieb Václav Haisman:
>> On 17. 10. 21 11:56, Michael Osipov wrote:
>>> Hi Users,
>>>
>>> are there any Maven users who use Maven SCM Hg provider directly or
>>> indirectly through Maven Release Plugin?
>>> We are currently reviewing the vast amount of code in Maven SCM and
>>> try to reduce what cannot reasonable maintain.
>>
>> We use it at work for many things through the Release plugin.
> 
> Can you explain the benefit for you compared to Git (another DVCS)?
> I don't have any experience with Mercurial.

There is no technical benefit. It is something we have been using since
about 2014. I guess the corporation will eventually move to Git but
until then, running release from Mercurial is quite useful.


-- 
VH

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Users of Mercurial (Hg) SCM provider

Posted by Michael Osipov <mi...@apache.org>.
Am 2021-10-21 um 22:03 schrieb Václav Haisman:
> On 17. 10. 21 11:56, Michael Osipov wrote:
>> Hi Users,
>>
>> are there any Maven users who use Maven SCM Hg provider directly or
>> indirectly through Maven Release Plugin?
>> We are currently reviewing the vast amount of code in Maven SCM and
>> try to reduce what cannot reasonable maintain.
> 
> We use it at work for many things through the Release plugin.

Can you explain the benefit for you compared to Git (another DVCS)?
I don't have any experience with Mercurial.

Michael


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Users of Mercurial (Hg) SCM provider

Posted by Václav Haisman <vh...@gmail.com>.
On 17. 10. 21 11:56, Michael Osipov wrote:
> Hi Users,
>
> are there any Maven users who use Maven SCM Hg provider directly or
> indirectly through Maven Release Plugin?
> We are currently reviewing the vast amount of code in Maven SCM and
> try to reduce what cannot reasonable maintain.

We use it at work for many things through the Release plugin.

>
> Please raise your voice and tell us about your usecase and the
> Mercurial version you use.
>
> Michael 

-- 
VH


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Users of Mercurial (Hg) SCM provider

Posted by Michael Osipov <mi...@apache.org>.
Am 2021-10-23 um 21:24 schrieb Václav Haisman:
> On 23. 10. 21 20:37, Michael Osipov wrote:
>> Am 2021-10-17 um 11:56 schrieb Michael Osipov:
>>> Hi Users,
>>>
>>> are there any Maven users who use Maven SCM Hg provider directly or
>>> indirectly through Maven Release Plugin?
>>> We are currently reviewing the vast amount of code in Maven SCM and
>>> try to reduce what cannot reasonable maintain.
>>>
>>> Please raise your voice and tell us about your usecase and the
>>> Mercurial version you use.
>>
>> Compared to Git or Subversion:
>>> [INFO] --- maven-surefire-plugin:2.22.0:test (default-test) @
>>> maven-scm-provider-hg ---
>>> [INFO]
>>> [INFO] -------------------------------------------------------
>>> [INFO]  T E S T S
>>> [INFO] -------------------------------------------------------
>>> [INFO] Running org.apache.maven.scm.provider.hg.HgUtilsTest
>>> [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
>>> 0.06 s - in org.apache.maven.scm.provider.hg.HgUtilsTest
>>> [INFO] Running
>>> org.apache.maven.scm.provider.hg.repository.HgScmProviderRepositoryTest
>>> [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
>>> 0.002 s - in
>>> org.apache.maven.scm.provider.hg.repository.HgScmProviderRepositoryTest
>>> [INFO]
>>> [INFO] Results:
>>> [INFO]
>>> [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0
>>
>> This is virtually no testing at all. As far as I can see this is best
>> effort, if any effort at all. TCKs for Git and Subversion are massive.
>>
> 
> I have not had any issues with it via the Maven Release plugin so far.

I don't doubt that, but having so little tests gives me a bit of a bad 
aftertaste. Maybe I am too overcautious.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Users of Mercurial (Hg) SCM provider

Posted by Václav Haisman <vh...@gmail.com>.
On 23. 10. 21 20:37, Michael Osipov wrote:
> Am 2021-10-17 um 11:56 schrieb Michael Osipov:
>> Hi Users,
>>
>> are there any Maven users who use Maven SCM Hg provider directly or
>> indirectly through Maven Release Plugin?
>> We are currently reviewing the vast amount of code in Maven SCM and
>> try to reduce what cannot reasonable maintain.
>>
>> Please raise your voice and tell us about your usecase and the
>> Mercurial version you use.
> 
> Compared to Git or Subversion:
>> [INFO] --- maven-surefire-plugin:2.22.0:test (default-test) @
>> maven-scm-provider-hg ---
>> [INFO]
>> [INFO] -------------------------------------------------------
>> [INFO]  T E S T S
>> [INFO] -------------------------------------------------------
>> [INFO] Running org.apache.maven.scm.provider.hg.HgUtilsTest
>> [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
>> 0.06 s - in org.apache.maven.scm.provider.hg.HgUtilsTest
>> [INFO] Running
>> org.apache.maven.scm.provider.hg.repository.HgScmProviderRepositoryTest
>> [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
>> 0.002 s - in
>> org.apache.maven.scm.provider.hg.repository.HgScmProviderRepositoryTest
>> [INFO]
>> [INFO] Results:
>> [INFO]
>> [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0
> 
> This is virtually no testing at all. As far as I can see this is best
> effort, if any effort at all. TCKs for Git and Subversion are massive.
> 

I have not had any issues with it via the Maven Release plugin so far.

-- 
VH

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Users of Mercurial (Hg) SCM provider

Posted by Michael Osipov <mi...@apache.org>.
Am 2021-10-17 um 11:56 schrieb Michael Osipov:
> Hi Users,
> 
> are there any Maven users who use Maven SCM Hg provider directly or 
> indirectly through Maven Release Plugin?
> We are currently reviewing the vast amount of code in Maven SCM and try 
> to reduce what cannot reasonable maintain.
> 
> Please raise your voice and tell us about your usecase and the Mercurial 
> version you use.

Compared to Git or Subversion:
> [INFO] --- maven-surefire-plugin:2.22.0:test (default-test) @ maven-scm-provider-hg ---
> [INFO]
> [INFO] -------------------------------------------------------
> [INFO]  T E S T S
> [INFO] -------------------------------------------------------
> [INFO] Running org.apache.maven.scm.provider.hg.HgUtilsTest
> [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.06 s - in org.apache.maven.scm.provider.hg.HgUtilsTest
> [INFO] Running org.apache.maven.scm.provider.hg.repository.HgScmProviderRepositoryTest
> [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.apache.maven.scm.provider.hg.repository.HgScmProviderRepositoryTest
> [INFO]
> [INFO] Results:
> [INFO]
> [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0

This is virtually no testing at all. As far as I can see this is best 
effort, if any effort at all. TCKs for Git and Subversion are massive.

M

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org