Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




gemini 5.1.3 Saucery App won't work

saucery

Hy, we are using SVN Integration with gemini since gemini 3. now i will test the saucery app but it wont work. i commited to svn, a comment and souce control files are attached to the issue but saucery displays nothing. shortly the wait image is displayd but then the part of saucery is empty. deleting the comment and sourc files, recommit to svn didn't change anything.

regards tom

tommy
· 1
tommy
Replies (11)
helpful
0
not helpful

Are you using the latest 5.1.3 SVN plugin?

··· Hy Mark. Yes. But I have found the Issue, in the SVN Plugin for the Server.tommyMonday, December 03, 2012, 3:49:58 PM
··· In the Server Part, there will no Item.CreateCodeCommit(commit); created. I have implemented this in my Version. Now Code Review is shown. But i can't make a diff. Prev. and new screen is empty...tommyMonday, December 03, 2012, 3:52:18 PM

Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Hy Mark. Yes I have tested this with the latest SVN plugin. I have found the Issue, in the SVN Plugin for the Server in 5.1.3 SVN plugin. In the Server part, there is no Call for the Item.CreateCodeCommit(commit) Function, so no Saucery Entry will be made. I have implemented this in my Version. Now Code Review is shown. But i can't make a diff. Prev. and new screen in Code Review is empty...

I have tested this with your SVN Integration (5.1.3) and our SVN Integration based on SubversionNotify with API from gemini 5.1.3. Both making Code Review Entrys but no Diff is shown.


tommy
· 1
tommy
helpful
0
not helpful

We have refreshed the zip to fix this. Please download it again.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Hye Mark, sorry for the delay.

I have update the SVN Integration with fixed zip. But same as bevor, Code Review didn't work completly. I see the SVN commits but if i select a commited file, no Information will be shown.

the codereview entry will be built with follwing informations:

[2012-12-18 14:24:36,826] DEBUG GeminiHelper UpdateItem CodeReview Data: {"RevisionId":1805 ,"RepositoryUrl":"https://OURSVNSERVERURL/viewvc/Repositoryname?view=revision&revision=1805","Files":[{"Filename":"File.txt","PreviousFileRevisionId":"1804"}]}

same test with outher url: [2012-12-18 14:24:36,826] DEBUG GeminiHelper UpdateItem CodeReview Data: {"RevisionId":1805 ,"RepositoryUrl":"https://OURSVNSERVERURL/svn/Repositoryname?view=revision&revision=1805","Files":[{"Filename":"File.txt","PreviousFileRevisionId":"1804"}]}

We are Using Collabnet Subversion Edge Server.

Regards Thomas Bolen


tommy
· 1
tommy
helpful
0
not helpful

Can you please check the system log for errors?


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Sorry, no events where logged. Also gemini.log is empty.


tommy
· 1
tommy
helpful
0
not helpful

How makes Saucery the diff? what url call well be made?


tommy
· 1
tommy
helpful
0
not helpful

This is how the commit should look like:

{"RevisionId":3,"RepositoryUrl":"http://SERVER/svn/REPOSITORY","Files":[{"Filename":"/trunk/firstFile.txt","PreviousFileRevisionId":"2"}]}

It tries to build the file url using RepositoryUrl, Filename and RevisionId/PreviousFileRevisionId i.e.

http://SERVER/svn/REPOSITORY/trunk/firstFile.txt?p=REVISIONID http://SERVER/svn/REPOSITORY/trunk/firstFile.txt?p=PreviousFileRevisionId

The file content is accessed via HTTP so make sure that when you enter that URL in your browser you actually see the file content.


Gurinder
· 350
Gurinder
helpful
0
not helpful

mail with link to database and information is sent to your support.


tommy
· 1
tommy
helpful
0
not helpful

I have changed the SVN Connector to write the correct files with repo path. in the server integration there will only be the filename without path written.

befor: {"RevisionId":1805 ,"RepositoryUrl":"https://OURSVNSERVERURL/svn/Repositoryname?view=revision&revision=1805","Files":[{"Filename":"File.txt","PreviousFileRevisionId":"1804"}]}

now: {"RevisionId":1805 ,"RepositoryUrl":"https://OURSVNSERVERURL/svn/Repositoryname?view=revision&revision=1805","Files":[{"Filename":"/Complete_FilePath/File.txt","PreviousFileRevisionId":"1804"}]}

Now the new File is shown in saucery, but the previous file is shown grey without code lines.

Comparing a file with about 13.000 lines of code is very slow!!


tommy
· 1
tommy
helpful
0
not helpful

I will test this with gemini Version 5.1.5 what is fresh released.


tommy
· 1
tommy