You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dominik Winter (JIRA)" <ji...@codehaus.org> on 2006/04/06 21:21:48 UTC

[jira] Created: (SCM-182) git provider

git provider
------------

         Key: SCM-182
         URL: http://jira.codehaus.org/browse/SCM-182
     Project: Maven SCM
        Type: New Feature

  Components: maven-scm-site  
 Environment: Developed on Mac OS X 10.3.9 with git 1.2.4
    Reporter: Dominik Winter
 Attachments: git.patch

Please find the git provider as attachment.

Usefulness:
I used the git provider together with [http://maven.apache.org/plugins/maven-release-plugin|maven-release-plugin], it works fine for that use case.

Open issues:
- the JUnit tests are "proprietary", not yet TCK. I'll fix that.

If you want to run the tests, you must have git installed and it must be in your {{PATH}}.

To run git:
- on *Windows*: use [Cygwin|http://www.cygwin.com] and install the binutils, openssh, openssl, rsync, curl
than you are able to compile and install git
- on Linux: there are packages somewhere
- on Mac OS X: use the [DarwinPorts|http://www.darwinports.org/]


-- 
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-182) git provider

Posted by "Mark Struberg (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SCM-182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=139110#action_139110 ] 

Mark Struberg commented on SCM-182:
-----------------------------------

The full way to get it up and running is a bit complicated, since if you like to use the git provider for releasing, no snapshot has to be in your pom.

You could either build the whole maven2 project from source, or only the scm parts.

Probably the most easiest way is to make a 'private' release of the whole maven-scm-plugin (I used the extension 'msx-1') and the maven-release-plugin. It is important that those versions are no SNAPSHOTS (otherwise the release will fail). Then use it as:

{noformat}
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-scm-plugin</artifactId>
        <version>1.1-msx-1</version>
        <dependencies>
          <dependency>
            <groupId>org.apache.maven.scm</groupId>
            <artifactId>maven-scm-provider-gitexe</artifactId>
            <version>1.1-msx-1</version>
          </dependency>
        </dependencies>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-release-plugin</artifactId>
        <version>2.0-beta-8-msx-1</version>
        <dependencies>
          <dependency>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-scm-plugin</artifactId>
            <version>1.1-msx-1</version>
          </dependency>
          <dependency>
            <groupId>org.apache.maven.scm</groupId>
            <artifactId>maven-scm-api</artifactId>
            <version>1.1-msx-1</version>
          </dependency>          
        </dependencies>
      </plugin>
    </plugins>
{noformat}

This is mainly a workaround for testing the scm provider with released maven versions (I tested with 2.0.4, 2.0.8 and SNAPSHOT)
And we will get rid of all this pain if 1.1 is finally released soon.

> git provider
> ------------
>
>                 Key: SCM-182
>                 URL: http://jira.codehaus.org/browse/SCM-182
>             Project: Maven SCM
>          Issue Type: New Feature
>          Components: maven-scm-provider-git
>         Environment: Developed on Mac OS X 10.3.9 with git 1.2.4
>            Reporter: Dominik Winter
>            Assignee: Jason van Zyl
>             Fix For: 1.1
>
>         Attachments: git.patch, git.tar.bz2, SCM-182.patch, update1.patch.bz2
>
>
> Please find the git provider as attachment.
> Usefulness:
> I used the git provider together with [http://maven.apache.org/plugins/maven-release-plugin|maven-release-plugin], it works fine for that use case.
> Open issues:
> - the JUnit tests are "proprietary", not yet TCK. I'll fix that.
> If you want to run the tests, you must have git installed and it must be in your {{PATH}}.
> To run git:
> - on *Windows*: use [Cygwin|http://www.cygwin.com] and install the binutils, openssh, openssl, rsync, curl
> than you are able to compile and install git
> - on Linux: there are packages somewhere
> - on Mac OS X: use the [DarwinPorts|http://www.darwinports.org/]

-- 
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-182) git provider

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SCM-182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=143321#action_143321 ] 

Olivier Lamy commented on SCM-182:
----------------------------------

Can this branch replace the current git provider in trunk ?

> git provider
> ------------
>
>                 Key: SCM-182
>                 URL: http://jira.codehaus.org/browse/SCM-182
>             Project: Maven SCM
>          Issue Type: New Feature
>          Components: maven-scm-provider-git
>         Environment: Developed on Mac OS X 10.3.9 with git 1.2.4
>            Reporter: Dominik Winter
>            Assignee: Jason van Zyl
>             Fix For: 1.1
>
>         Attachments: git.patch, git.tar.bz2, SCM-182.patch, update1.patch.bz2
>
>
> Please find the git provider as attachment.
> Usefulness:
> I used the git provider together with [http://maven.apache.org/plugins/maven-release-plugin|maven-release-plugin], it works fine for that use case.
> Open issues:
> - the JUnit tests are "proprietary", not yet TCK. I'll fix that.
> If you want to run the tests, you must have git installed and it must be in your {{PATH}}.
> To run git:
> - on *Windows*: use [Cygwin|http://www.cygwin.com] and install the binutils, openssh, openssl, rsync, curl
> than you are able to compile and install git
> - on Linux: there are packages somewhere
> - on Mac OS X: use the [DarwinPorts|http://www.darwinports.org/]

-- 
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-182) git provider

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/SCM-182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Venisse updated SCM-182:
---------------------------------

    Fix Version/s: future

> git provider
> ------------
>
>                 Key: SCM-182
>                 URL: http://jira.codehaus.org/browse/SCM-182
>             Project: Maven SCM
>          Issue Type: New Feature
>          Components: maven-scm-provider-git
>         Environment: Developed on Mac OS X 10.3.9 with git 1.2.4
>            Reporter: Dominik Winter
>             Fix For: future
>
>         Attachments: git.patch, git.tar.bz2, SCM-182.patch
>
>
> Please find the git provider as attachment.
> Usefulness:
> I used the git provider together with [http://maven.apache.org/plugins/maven-release-plugin|maven-release-plugin], it works fine for that use case.
> Open issues:
> - the JUnit tests are "proprietary", not yet TCK. I'll fix that.
> If you want to run the tests, you must have git installed and it must be in your {{PATH}}.
> To run git:
> - on *Windows*: use [Cygwin|http://www.cygwin.com] and install the binutils, openssh, openssl, rsync, curl
> than you are able to compile and install git
> - on Linux: there are packages somewhere
> - on Mac OS X: use the [DarwinPorts|http://www.darwinports.org/]

-- 
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-182) git provider

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

Dominik Winter updated SCM-182:
-------------------------------

    Attachment: git.tar.bz2

> git provider
> ------------
>
>          Key: SCM-182
>          URL: http://jira.codehaus.org/browse/SCM-182
>      Project: Maven SCM
>         Type: New Feature

>   Components: maven-scm-site
>  Environment: Developed on Mac OS X 10.3.9 with git 1.2.4
>     Reporter: Dominik Winter
>  Attachments: SCM-182.patch, git.patch, git.tar.bz2
>
>
> Please find the git provider as attachment.
> Usefulness:
> I used the git provider together with [http://maven.apache.org/plugins/maven-release-plugin|maven-release-plugin], it works fine for that use case.
> Open issues:
> - the JUnit tests are "proprietary", not yet TCK. I'll fix that.
> If you want to run the tests, you must have git installed and it must be in your {{PATH}}.
> To run git:
> - on *Windows*: use [Cygwin|http://www.cygwin.com] and install the binutils, openssh, openssl, rsync, curl
> than you are able to compile and install git
> - on Linux: there are packages somewhere
> - on Mac OS X: use the [DarwinPorts|http://www.darwinports.org/]

-- 
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-182) git provider

Posted by "Eugene Kuleshov (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SCM-182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=143346#action_143346 ] 

Eugene Kuleshov commented on SCM-182:
-------------------------------------

Don, you don't really need to branch, fork or release plugin in order to pass by release plugin restrictions. You just need to lock snapshot version, e.g. 1.1-20080622.233710-32 from Sonatype repository at http://repository.sonatype.org/content/repositories/maven.snapshots/

Also, I think it would worth to first ask in the Maven developers list about scm release instead of screwing with the community.

> git provider
> ------------
>
>                 Key: SCM-182
>                 URL: http://jira.codehaus.org/browse/SCM-182
>             Project: Maven SCM
>          Issue Type: New Feature
>          Components: maven-scm-provider-git
>         Environment: Developed on Mac OS X 10.3.9 with git 1.2.4
>            Reporter: Dominik Winter
>            Assignee: Jason van Zyl
>             Fix For: 1.1
>
>         Attachments: git.patch, git.tar.bz2, SCM-182.patch, update1.patch.bz2
>
>
> Please find the git provider as attachment.
> Usefulness:
> I used the git provider together with [http://maven.apache.org/plugins/maven-release-plugin|maven-release-plugin], it works fine for that use case.
> Open issues:
> - the JUnit tests are "proprietary", not yet TCK. I'll fix that.
> If you want to run the tests, you must have git installed and it must be in your {{PATH}}.
> To run git:
> - on *Windows*: use [Cygwin|http://www.cygwin.com] and install the binutils, openssh, openssl, rsync, curl
> than you are able to compile and install git
> - on Linux: there are packages somewhere
> - on Mac OS X: use the [DarwinPorts|http://www.darwinports.org/]

-- 
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-182) git provider

Posted by "Heinrich Nirschl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/SCM-182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Heinrich Nirschl updated SCM-182:
---------------------------------

    Attachment: update1.patch.bz2

Update of Dominik's patch to work with current versions of git (1.5.3.4) and scm (1.1-SNAPSHOT).

> git provider
> ------------
>
>                 Key: SCM-182
>                 URL: http://jira.codehaus.org/browse/SCM-182
>             Project: Maven SCM
>          Issue Type: New Feature
>          Components: maven-scm-provider-git
>         Environment: Developed on Mac OS X 10.3.9 with git 1.2.4
>            Reporter: Dominik Winter
>             Fix For: future
>
>         Attachments: git.patch, git.tar.bz2, SCM-182.patch, update1.patch.bz2
>
>
> Please find the git provider as attachment.
> Usefulness:
> I used the git provider together with [http://maven.apache.org/plugins/maven-release-plugin|maven-release-plugin], it works fine for that use case.
> Open issues:
> - the JUnit tests are "proprietary", not yet TCK. I'll fix that.
> If you want to run the tests, you must have git installed and it must be in your {{PATH}}.
> To run git:
> - on *Windows*: use [Cygwin|http://www.cygwin.com] and install the binutils, openssh, openssl, rsync, curl
> than you are able to compile and install git
> - on Linux: there are packages somewhere
> - on Mac OS X: use the [DarwinPorts|http://www.darwinports.org/]

-- 
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-182) git provider

Posted by "Don Brown (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SCM-182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=143318#action_143318 ] 

Don Brown commented on SCM-182:
-------------------------------

For those that can't wait, I branched trunk and created a 1.1-db-1 release of the git provider, which works like a charm.  No need to fork any of the maven plugins.  For more information, see http://www.jroller.com/mrdon/entry/maven_enabled_project_hosting_with

> git provider
> ------------
>
>                 Key: SCM-182
>                 URL: http://jira.codehaus.org/browse/SCM-182
>             Project: Maven SCM
>          Issue Type: New Feature
>          Components: maven-scm-provider-git
>         Environment: Developed on Mac OS X 10.3.9 with git 1.2.4
>            Reporter: Dominik Winter
>            Assignee: Jason van Zyl
>             Fix For: 1.1
>
>         Attachments: git.patch, git.tar.bz2, SCM-182.patch, update1.patch.bz2
>
>
> Please find the git provider as attachment.
> Usefulness:
> I used the git provider together with [http://maven.apache.org/plugins/maven-release-plugin|maven-release-plugin], it works fine for that use case.
> Open issues:
> - the JUnit tests are "proprietary", not yet TCK. I'll fix that.
> If you want to run the tests, you must have git installed and it must be in your {{PATH}}.
> To run git:
> - on *Windows*: use [Cygwin|http://www.cygwin.com] and install the binutils, openssh, openssl, rsync, curl
> than you are able to compile and install git
> - on Linux: there are packages somewhere
> - on Mac OS X: use the [DarwinPorts|http://www.darwinports.org/]

-- 
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-182) git provider

Posted by "Don Brown (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SCM-182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=143322#action_143322 ] 

Don Brown commented on SCM-182:
-------------------------------

All I did was branch the git provider in trunk so that I could release it against scm 1.0.  Therefore, whenever scm 1.1 is released and included in a Maven release, this branch will no longer be necessary.

> git provider
> ------------
>
>                 Key: SCM-182
>                 URL: http://jira.codehaus.org/browse/SCM-182
>             Project: Maven SCM
>          Issue Type: New Feature
>          Components: maven-scm-provider-git
>         Environment: Developed on Mac OS X 10.3.9 with git 1.2.4
>            Reporter: Dominik Winter
>            Assignee: Jason van Zyl
>             Fix For: 1.1
>
>         Attachments: git.patch, git.tar.bz2, SCM-182.patch, update1.patch.bz2
>
>
> Please find the git provider as attachment.
> Usefulness:
> I used the git provider together with [http://maven.apache.org/plugins/maven-release-plugin|maven-release-plugin], it works fine for that use case.
> Open issues:
> - the JUnit tests are "proprietary", not yet TCK. I'll fix that.
> If you want to run the tests, you must have git installed and it must be in your {{PATH}}.
> To run git:
> - on *Windows*: use [Cygwin|http://www.cygwin.com] and install the binutils, openssh, openssl, rsync, curl
> than you are able to compile and install git
> - on Linux: there are packages somewhere
> - on Mac OS X: use the [DarwinPorts|http://www.darwinports.org/]

-- 
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-182) git provider

Posted by "Don Brown (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SCM-182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=143352#action_143352 ] 

Don Brown commented on SCM-182:
-------------------------------

How, in any way, is this screwing with the community?  First of all, having a separate version of the scm 1.1 provider prevents you from having to modify the release plugin in order to pull in the scm plugin, and second, the code works so why not have a tagged release today for those of us that don't want to wait for Maven 1.1?  

Open Source is about the freedom to be able to scratch your itch and share the solution with others; not about some ivory tower club dictating what the masses use.  My branch is freely available in the Maven sandbox, so if you see something you'd like to merge back or even contribute, please feel free.

> git provider
> ------------
>
>                 Key: SCM-182
>                 URL: http://jira.codehaus.org/browse/SCM-182
>             Project: Maven SCM
>          Issue Type: New Feature
>          Components: maven-scm-provider-git
>         Environment: Developed on Mac OS X 10.3.9 with git 1.2.4
>            Reporter: Dominik Winter
>            Assignee: Jason van Zyl
>             Fix For: 1.1
>
>         Attachments: git.patch, git.tar.bz2, SCM-182.patch, update1.patch.bz2
>
>
> Please find the git provider as attachment.
> Usefulness:
> I used the git provider together with [http://maven.apache.org/plugins/maven-release-plugin|maven-release-plugin], it works fine for that use case.
> Open issues:
> - the JUnit tests are "proprietary", not yet TCK. I'll fix that.
> If you want to run the tests, you must have git installed and it must be in your {{PATH}}.
> To run git:
> - on *Windows*: use [Cygwin|http://www.cygwin.com] and install the binutils, openssh, openssl, rsync, curl
> than you are able to compile and install git
> - on Linux: there are packages somewhere
> - on Mac OS X: use the [DarwinPorts|http://www.darwinports.org/]

-- 
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-182) git provider

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/SCM-182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated SCM-182:
-----------------------------

    Fix Version/s:     (was: future)
                   1.1

> git provider
> ------------
>
>                 Key: SCM-182
>                 URL: http://jira.codehaus.org/browse/SCM-182
>             Project: Maven SCM
>          Issue Type: New Feature
>          Components: maven-scm-provider-git
>         Environment: Developed on Mac OS X 10.3.9 with git 1.2.4
>            Reporter: Dominik Winter
>            Assignee: Jason van Zyl
>             Fix For: 1.1
>
>         Attachments: git.patch, git.tar.bz2, SCM-182.patch, update1.patch.bz2
>
>
> Please find the git provider as attachment.
> Usefulness:
> I used the git provider together with [http://maven.apache.org/plugins/maven-release-plugin|maven-release-plugin], it works fine for that use case.
> Open issues:
> - the JUnit tests are "proprietary", not yet TCK. I'll fix that.
> If you want to run the tests, you must have git installed and it must be in your {{PATH}}.
> To run git:
> - on *Windows*: use [Cygwin|http://www.cygwin.com] and install the binutils, openssh, openssl, rsync, curl
> than you are able to compile and install git
> - on Linux: there are packages somewhere
> - on Mac OS X: use the [DarwinPorts|http://www.darwinports.org/]

-- 
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-182) git provider

Posted by "Eugene Kuleshov (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SCM-182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=129875#action_129875 ] 

Eugene Kuleshov commented on SCM-182:
-------------------------------------

Mark, unfortunately your provider doesn't work on windows, or alt least it is failing for me on clone command with the error 'git-clone' is not recognized as an internal or external command, operable program or batch file.

On windows you can't run shell scripts like that and have to run them trough the shell (e.g. using "bash git-clone" command, or run it using "git clone" instead).

> git provider
> ------------
>
>                 Key: SCM-182
>                 URL: http://jira.codehaus.org/browse/SCM-182
>             Project: Maven SCM
>          Issue Type: New Feature
>          Components: maven-scm-provider-git
>         Environment: Developed on Mac OS X 10.3.9 with git 1.2.4
>            Reporter: Dominik Winter
>             Fix For: future
>
>         Attachments: git.patch, git.tar.bz2, SCM-182.patch, update1.patch.bz2
>
>
> Please find the git provider as attachment.
> Usefulness:
> I used the git provider together with [http://maven.apache.org/plugins/maven-release-plugin|maven-release-plugin], it works fine for that use case.
> Open issues:
> - the JUnit tests are "proprietary", not yet TCK. I'll fix that.
> If you want to run the tests, you must have git installed and it must be in your {{PATH}}.
> To run git:
> - on *Windows*: use [Cygwin|http://www.cygwin.com] and install the binutils, openssh, openssl, rsync, curl
> than you are able to compile and install git
> - on Linux: there are packages somewhere
> - on Mac OS X: use the [DarwinPorts|http://www.darwinports.org/]

-- 
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-182) git provider

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/SCM-182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy closed SCM-182.
----------------------------

    Resolution: Fixed

ok no merge needed.

> git provider
> ------------
>
>                 Key: SCM-182
>                 URL: http://jira.codehaus.org/browse/SCM-182
>             Project: Maven SCM
>          Issue Type: New Feature
>          Components: maven-scm-provider-git
>         Environment: Developed on Mac OS X 10.3.9 with git 1.2.4
>            Reporter: Dominik Winter
>            Assignee: Olivier Lamy
>             Fix For: 1.1
>
>         Attachments: git.patch, git.tar.bz2, SCM-182.patch, update1.patch.bz2
>
>
> Please find the git provider as attachment.
> Usefulness:
> I used the git provider together with [http://maven.apache.org/plugins/maven-release-plugin|maven-release-plugin], it works fine for that use case.
> Open issues:
> - the JUnit tests are "proprietary", not yet TCK. I'll fix that.
> If you want to run the tests, you must have git installed and it must be in your {{PATH}}.
> To run git:
> - on *Windows*: use [Cygwin|http://www.cygwin.com] and install the binutils, openssh, openssl, rsync, curl
> than you are able to compile and install git
> - on Linux: there are packages somewhere
> - on Mac OS X: use the [DarwinPorts|http://www.darwinports.org/]

-- 
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-182) git provider

Posted by "mark struberg (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SCM-182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_116690 ] 

mark struberg commented on SCM-182:
-----------------------------------

Hi!

Please also take a look at my implementation

web-git at http://ns1.backwork.net/git/
or
git-clone http://ns1.backwork.net/git/maven-scm-providers-git.git

It is very similar to the existing scm providers like SVN and CVS, so it is split in git-commons, gittest and gitexe submodules. It also can be extended by a gitjava module using egit very easily in the future.

It includes and successfully passes TCK tests and has been tested on Linux using git 1.5.3.3 and 1.5.3.4.

> git provider
> ------------
>
>                 Key: SCM-182
>                 URL: http://jira.codehaus.org/browse/SCM-182
>             Project: Maven SCM
>          Issue Type: New Feature
>          Components: maven-scm-provider-git
>         Environment: Developed on Mac OS X 10.3.9 with git 1.2.4
>            Reporter: Dominik Winter
>             Fix For: future
>
>         Attachments: git.patch, git.tar.bz2, SCM-182.patch, update1.patch.bz2
>
>
> Please find the git provider as attachment.
> Usefulness:
> I used the git provider together with [http://maven.apache.org/plugins/maven-release-plugin|maven-release-plugin], it works fine for that use case.
> Open issues:
> - the JUnit tests are "proprietary", not yet TCK. I'll fix that.
> If you want to run the tests, you must have git installed and it must be in your {{PATH}}.
> To run git:
> - on *Windows*: use [Cygwin|http://www.cygwin.com] and install the binutils, openssh, openssl, rsync, curl
> than you are able to compile and install git
> - on Linux: there are packages somewhere
> - on Mac OS X: use the [DarwinPorts|http://www.darwinports.org/]

-- 
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] Issue Comment Edited: (SCM-182) git provider

Posted by "Eugene Kuleshov (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SCM-182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=129875#action_129875 ] 

eu edited comment on SCM-182 at 4/5/08 12:20 AM:
--------------------------------------------------------------

Mark, unfortunately your provider doesn't work on Windows, or alt least it is failing for me on clone command with the error 'git-clone' is not recognized as an internal or external command, operable program or batch file.

On windows you can't run shell scripts like that and have to run them trough the shell (e.g. using "bash git-clone" command, or run it using "git clone" instead). I've tried to replace "-" with " " in those commands and it seem fixed issue on Windows.

      was (Author: eu):
    Mark, unfortunately your provider doesn't work on windows, or alt least it is failing for me on clone command with the error 'git-clone' is not recognized as an internal or external command, operable program or batch file.

On windows you can't run shell scripts like that and have to run them trough the shell (e.g. using "bash git-clone" command, or run it using "git clone" instead).
  
> git provider
> ------------
>
>                 Key: SCM-182
>                 URL: http://jira.codehaus.org/browse/SCM-182
>             Project: Maven SCM
>          Issue Type: New Feature
>          Components: maven-scm-provider-git
>         Environment: Developed on Mac OS X 10.3.9 with git 1.2.4
>            Reporter: Dominik Winter
>             Fix For: future
>
>         Attachments: git.patch, git.tar.bz2, SCM-182.patch, update1.patch.bz2
>
>
> Please find the git provider as attachment.
> Usefulness:
> I used the git provider together with [http://maven.apache.org/plugins/maven-release-plugin|maven-release-plugin], it works fine for that use case.
> Open issues:
> - the JUnit tests are "proprietary", not yet TCK. I'll fix that.
> If you want to run the tests, you must have git installed and it must be in your {{PATH}}.
> To run git:
> - on *Windows*: use [Cygwin|http://www.cygwin.com] and install the binutils, openssh, openssl, rsync, curl
> than you are able to compile and install git
> - on Linux: there are packages somewhere
> - on Mac OS X: use the [DarwinPorts|http://www.darwinports.org/]

-- 
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-182) git provider

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

Dominik Winter updated SCM-182:
-------------------------------

    Attachment: SCM-182.patch

> git provider
> ------------
>
>          Key: SCM-182
>          URL: http://jira.codehaus.org/browse/SCM-182
>      Project: Maven SCM
>         Type: New Feature

>   Components: maven-scm-site
>  Environment: Developed on Mac OS X 10.3.9 with git 1.2.4
>     Reporter: Dominik Winter
>  Attachments: SCM-182.patch, git.patch
>
>
> Please find the git provider as attachment.
> Usefulness:
> I used the git provider together with [http://maven.apache.org/plugins/maven-release-plugin|maven-release-plugin], it works fine for that use case.
> Open issues:
> - the JUnit tests are "proprietary", not yet TCK. I'll fix that.
> If you want to run the tests, you must have git installed and it must be in your {{PATH}}.
> To run git:
> - on *Windows*: use [Cygwin|http://www.cygwin.com] and install the binutils, openssh, openssl, rsync, curl
> than you are able to compile and install git
> - on Linux: there are packages somewhere
> - on Mac OS X: use the [DarwinPorts|http://www.darwinports.org/]

-- 
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-182) git provider

Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/SCM-182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason van Zyl closed SCM-182.
-----------------------------

    Resolution: Fixed

I've committed this to trunk.

> git provider
> ------------
>
>                 Key: SCM-182
>                 URL: http://jira.codehaus.org/browse/SCM-182
>             Project: Maven SCM
>          Issue Type: New Feature
>          Components: maven-scm-provider-git
>         Environment: Developed on Mac OS X 10.3.9 with git 1.2.4
>            Reporter: Dominik Winter
>            Assignee: Jason van Zyl
>             Fix For: future
>
>         Attachments: git.patch, git.tar.bz2, SCM-182.patch, update1.patch.bz2
>
>
> Please find the git provider as attachment.
> Usefulness:
> I used the git provider together with [http://maven.apache.org/plugins/maven-release-plugin|maven-release-plugin], it works fine for that use case.
> Open issues:
> - the JUnit tests are "proprietary", not yet TCK. I'll fix that.
> If you want to run the tests, you must have git installed and it must be in your {{PATH}}.
> To run git:
> - on *Windows*: use [Cygwin|http://www.cygwin.com] and install the binutils, openssh, openssl, rsync, curl
> than you are able to compile and install git
> - on Linux: there are packages somewhere
> - on Mac OS X: use the [DarwinPorts|http://www.darwinports.org/]

-- 
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] Reopened: (SCM-182) git provider

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/SCM-182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy reopened SCM-182:
------------------------------

      Assignee: Olivier Lamy  (was: Jason van Zyl)

As the branch in the sandbox looks to works.
We can merge it to trunk.
Objections ?

> git provider
> ------------
>
>                 Key: SCM-182
>                 URL: http://jira.codehaus.org/browse/SCM-182
>             Project: Maven SCM
>          Issue Type: New Feature
>          Components: maven-scm-provider-git
>         Environment: Developed on Mac OS X 10.3.9 with git 1.2.4
>            Reporter: Dominik Winter
>            Assignee: Olivier Lamy
>             Fix For: 1.1
>
>         Attachments: git.patch, git.tar.bz2, SCM-182.patch, update1.patch.bz2
>
>
> Please find the git provider as attachment.
> Usefulness:
> I used the git provider together with [http://maven.apache.org/plugins/maven-release-plugin|maven-release-plugin], it works fine for that use case.
> Open issues:
> - the JUnit tests are "proprietary", not yet TCK. I'll fix that.
> If you want to run the tests, you must have git installed and it must be in your {{PATH}}.
> To run git:
> - on *Windows*: use [Cygwin|http://www.cygwin.com] and install the binutils, openssh, openssl, rsync, curl
> than you are able to compile and install git
> - on Linux: there are packages somewhere
> - on Mac OS X: use the [DarwinPorts|http://www.darwinports.org/]

-- 
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-182) git provider

Posted by "Mark Struberg (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SCM-182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=143448#action_143448 ] 

Mark Struberg commented on SCM-182:
-----------------------------------

Eugene, are you and Jason cleaning the snapshot repo at sonatype on a regular basis, or will the snapshot remain there 'forever'?
(I ask this, because in our company I do clean our snapshot repo every month to ensure that nobody is using snapshot versions in production).

There are many roads leading to Rome, and I have to admit that the most important part in this discussion (at least for me as author)  is to hear that the plugin is useful for the community and it now works out of the box for many people. So, I'm not screwed but rather happy to hear that Don succeed using it. Plus: the more attraction it gets, the more people will try using git with maven since there is no showstopper in this scenario anymore!

I will ask for the status and plans for scm-1.1 in the scm dev list.




> git provider
> ------------
>
>                 Key: SCM-182
>                 URL: http://jira.codehaus.org/browse/SCM-182
>             Project: Maven SCM
>          Issue Type: New Feature
>          Components: maven-scm-provider-git
>         Environment: Developed on Mac OS X 10.3.9 with git 1.2.4
>            Reporter: Dominik Winter
>            Assignee: Jason van Zyl
>             Fix For: 1.1
>
>         Attachments: git.patch, git.tar.bz2, SCM-182.patch, update1.patch.bz2
>
>
> Please find the git provider as attachment.
> Usefulness:
> I used the git provider together with [http://maven.apache.org/plugins/maven-release-plugin|maven-release-plugin], it works fine for that use case.
> Open issues:
> - the JUnit tests are "proprietary", not yet TCK. I'll fix that.
> If you want to run the tests, you must have git installed and it must be in your {{PATH}}.
> To run git:
> - on *Windows*: use [Cygwin|http://www.cygwin.com] and install the binutils, openssh, openssl, rsync, curl
> than you are able to compile and install git
> - on Linux: there are packages somewhere
> - on Mac OS X: use the [DarwinPorts|http://www.darwinports.org/]

-- 
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-182) git provider

Posted by "Torbjørn Vatn (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SCM-182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=139099#action_139099 ] 

Torbjørn Vatn  commented on SCM-182:
------------------------------------

I'm having some issues getting this provider to work sadly. So far I've tried this:

1. git cloning  http://ns1.backwork.net/git/maven-scm-providers-git.git and running mvn clean install
2. vim'ing into .m2/repository/org/apache/maven/scm/maven-scm-providers/1.0/maven-scm-providers-1.0.pom and adding <module>maven-scm-providers-git</module> in the modules section of the file.
3. Adding this to my projects pom.xml:
        <scm>
                <connection>scm:git:git://github.com/torbjornvatn/fitnesse-pom-widget.git</connection>
                <url>scm:git:git://github.com/torbjornvatn/fitnesse-pom-widget.git</url>
        </scm>
4. running scm:status only gives my the error message:
    [ERROR] BUILD ERROR
    [INFO] ------------------------------------------------------------------------
    [INFO] Cannot run status command : 
    Embedded error: Can't load the scm provider.
    No such provider: 'git'.

Can anyone give my some pointers to what I'm doing wrong. I'm a big fan of git and really wants to get this maven provider working.

Thanks in advance!





> git provider
> ------------
>
>                 Key: SCM-182
>                 URL: http://jira.codehaus.org/browse/SCM-182
>             Project: Maven SCM
>          Issue Type: New Feature
>          Components: maven-scm-provider-git
>         Environment: Developed on Mac OS X 10.3.9 with git 1.2.4
>            Reporter: Dominik Winter
>            Assignee: Jason van Zyl
>             Fix For: 1.1
>
>         Attachments: git.patch, git.tar.bz2, SCM-182.patch, update1.patch.bz2
>
>
> Please find the git provider as attachment.
> Usefulness:
> I used the git provider together with [http://maven.apache.org/plugins/maven-release-plugin|maven-release-plugin], it works fine for that use case.
> Open issues:
> - the JUnit tests are "proprietary", not yet TCK. I'll fix that.
> If you want to run the tests, you must have git installed and it must be in your {{PATH}}.
> To run git:
> - on *Windows*: use [Cygwin|http://www.cygwin.com] and install the binutils, openssh, openssl, rsync, curl
> than you are able to compile and install git
> - on Linux: there are packages somewhere
> - on Mac OS X: use the [DarwinPorts|http://www.darwinports.org/]

-- 
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] Issue Comment Edited: (SCM-182) git provider

Posted by "Heinrich Nirschl (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SCM-182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_110630 ] 

Heinrich Nirschl edited comment on SCM-182 at 10/20/07 5:41 AM:
----------------------------------------------------------------

Attachment update1.patch.bz2 is an update of Dominik's patch to work with current versions of git (1.5.3.4) and scm (1.1-SNAPSHOT).


 was:
Update of Dominik's patch to work with current versions of git (1.5.3.4) and scm (1.1-SNAPSHOT).

> git provider
> ------------
>
>                 Key: SCM-182
>                 URL: http://jira.codehaus.org/browse/SCM-182
>             Project: Maven SCM
>          Issue Type: New Feature
>          Components: maven-scm-provider-git
>         Environment: Developed on Mac OS X 10.3.9 with git 1.2.4
>            Reporter: Dominik Winter
>             Fix For: future
>
>         Attachments: git.patch, git.tar.bz2, SCM-182.patch, update1.patch.bz2
>
>
> Please find the git provider as attachment.
> Usefulness:
> I used the git provider together with [http://maven.apache.org/plugins/maven-release-plugin|maven-release-plugin], it works fine for that use case.
> Open issues:
> - the JUnit tests are "proprietary", not yet TCK. I'll fix that.
> If you want to run the tests, you must have git installed and it must be in your {{PATH}}.
> To run git:
> - on *Windows*: use [Cygwin|http://www.cygwin.com] and install the binutils, openssh, openssl, rsync, curl
> than you are able to compile and install git
> - on Linux: there are packages somewhere
> - on Mac OS X: use the [DarwinPorts|http://www.darwinports.org/]

-- 
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-182) git provider

Posted by "Dominik Winter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SCM-182?page=comments#action_69642 ] 

Dominik Winter commented on SCM-182:
------------------------------------

patch from 2006-04-06 is obsolete

> git provider
> ------------
>
>          Key: SCM-182
>          URL: http://jira.codehaus.org/browse/SCM-182
>      Project: Maven SCM
>         Type: New Feature

>   Components: maven-scm-site
>  Environment: Developed on Mac OS X 10.3.9 with git 1.2.4
>     Reporter: Dominik Winter
>  Attachments: SCM-182.patch, git.patch, git.tar.bz2
>
>
> Please find the git provider as attachment.
> Usefulness:
> I used the git provider together with [http://maven.apache.org/plugins/maven-release-plugin|maven-release-plugin], it works fine for that use case.
> Open issues:
> - the JUnit tests are "proprietary", not yet TCK. I'll fix that.
> If you want to run the tests, you must have git installed and it must be in your {{PATH}}.
> To run git:
> - on *Windows*: use [Cygwin|http://www.cygwin.com] and install the binutils, openssh, openssl, rsync, curl
> than you are able to compile and install git
> - on Linux: there are packages somewhere
> - on Mac OS X: use the [DarwinPorts|http://www.darwinports.org/]

-- 
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-182) git provider

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/SCM-182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Venisse updated SCM-182:
---------------------------------

    Component/s:     (was: maven-scm-site)
                 maven-scm-provider-git

> git provider
> ------------
>
>                 Key: SCM-182
>                 URL: http://jira.codehaus.org/browse/SCM-182
>             Project: Maven SCM
>          Issue Type: New Feature
>          Components: maven-scm-provider-git
>         Environment: Developed on Mac OS X 10.3.9 with git 1.2.4
>            Reporter: Dominik Winter
>         Attachments: git.patch, git.tar.bz2, SCM-182.patch
>
>
> Please find the git provider as attachment.
> Usefulness:
> I used the git provider together with [http://maven.apache.org/plugins/maven-release-plugin|maven-release-plugin], it works fine for that use case.
> Open issues:
> - the JUnit tests are "proprietary", not yet TCK. I'll fix that.
> If you want to run the tests, you must have git installed and it must be in your {{PATH}}.
> To run git:
> - on *Windows*: use [Cygwin|http://www.cygwin.com] and install the binutils, openssh, openssl, rsync, curl
> than you are able to compile and install git
> - on Linux: there are packages somewhere
> - on Mac OS X: use the [DarwinPorts|http://www.darwinports.org/]

-- 
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-182) git provider

Posted by "Eugene Kuleshov (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SCM-182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=143354#action_143354 ] 

Eugene Kuleshov commented on SCM-182:
-------------------------------------

Don, please read my comment. You don't need to release, just lock the version. And again, if it works, why didn't you ask for release in the Maven dev list?

> git provider
> ------------
>
>                 Key: SCM-182
>                 URL: http://jira.codehaus.org/browse/SCM-182
>             Project: Maven SCM
>          Issue Type: New Feature
>          Components: maven-scm-provider-git
>         Environment: Developed on Mac OS X 10.3.9 with git 1.2.4
>            Reporter: Dominik Winter
>            Assignee: Jason van Zyl
>             Fix For: 1.1
>
>         Attachments: git.patch, git.tar.bz2, SCM-182.patch, update1.patch.bz2
>
>
> Please find the git provider as attachment.
> Usefulness:
> I used the git provider together with [http://maven.apache.org/plugins/maven-release-plugin|maven-release-plugin], it works fine for that use case.
> Open issues:
> - the JUnit tests are "proprietary", not yet TCK. I'll fix that.
> If you want to run the tests, you must have git installed and it must be in your {{PATH}}.
> To run git:
> - on *Windows*: use [Cygwin|http://www.cygwin.com] and install the binutils, openssh, openssl, rsync, curl
> than you are able to compile and install git
> - on Linux: there are packages somewhere
> - on Mac OS X: use the [DarwinPorts|http://www.darwinports.org/]

-- 
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