Quantcast

Using Sonar with SCM git

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Using Sonar with SCM git

Jorge Costa
Hi,

In our sonar server a few weeks ago i've tried to feed scm data from a mercurial repository which is a kind of clone from our main Surround SCM. Although we got some data from there was always the same bot committing to the repository. We now decide to have everything in git and synchronize everything based on users.

Since there is already some scm data in our projects my question is if there is a way of remove those scm measures from projects before changing to git. Or if not removing, what is the optimal procedure to do this?

Thanks in advance.

Jorge Costa
Best Regards
Jorge Costa
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Using Sonar with SCM git

Evgeny Mandrikov
Hi,

You can use following procedure :
  1. disable SCM Activity Plugin
  2. run analysis, so latest snapshot will not contain SCM data
  3. enable SCM Activity Plugin pointing on new Git repository
  4. run analysis

On Thu, Jun 21, 2012 at 12:14 PM, jmecosta <[hidden email]> wrote:
Hi,

In our sonar server a few weeks ago i've tried to feed scm data from a
mercurial repository which is a kind of clone from our main Surround SCM.
Although we got some data from there was always the same bot committing to
the repository. We now decide to have everything in git and synchronize
everything based on users.

Since there is already some scm data in our projects my question is if there
is a way of remove those scm measures from projects before changing to git.
Or if not removing, what is the optimal procedure to do this?

Thanks in advance.

Jorge Costa

--
View this message in context: http://sonar.15.n6.nabble.com/Using-Sonar-with-SCM-git-tp5000043.html
Sent from the Sonar user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email





--
Best regards,
Evgeny Mandrikov aka Godin <http://godin.net.ru>
http://twitter.com/_godin_
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Using Sonar with SCM git

Jorge Costa

That's really simple, great thanks

JC
Best Regards
Jorge Costa
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Using Sonar with SCM git

Jorge Costa
Hi again,

So we manage to get git working with our sources. I do have a question about this.
Is it possible to follow the blame information into the git repository by clicking revision in the source tab?

Dont find any reference to this in documentation.

BR,

Jorge Costa
Best Regards
Jorge Costa
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Using Sonar with SCM git

Evgeny Mandrikov
Hi,

Sorry, but I don't understand what you want, so could you please elaborate more? And from here - don't think that this is possible now ;)

On Wed, Jun 27, 2012 at 12:29 PM, jmecosta <[hidden email]> wrote:
Hi again,

So we manage to get git working with our sources. I do have a question about
this.
Is it possible to follow the blame information into the git repository by
clicking revision in the source tab?

Dont find any reference to this in documentation.

BR,

Jorge Costa

--
View this message in context: http://sonar.15.n6.nabble.com/Using-Sonar-with-SCM-git-tp5000043p5000311.html
Sent from the Sonar user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email





--
Best regards,
Evgeny Mandrikov aka Godin <http://godin.net.ru>
http://twitter.com/_godin_
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Using Sonar with SCM git

Jorge Costa
Hi,

Ive attached a pic illustrating what i was saying. The left side is from gitstack.

So im guessing its not possible for now. Any plans to have this in the future?

Another thing, about the user names. As can be seen in figures, the revision is attached to the login name of the user. If i try to assign something with this login i get a user not found. Shouldn't sonar be able to do this based also on login name?

In my case is it better to commit using the real name?

thank you

Jorge Costa
Best Regards
Jorge Costa
Loading...