ai-code-review issue

527 views
Skip to first unread message

卞姗姗

unread,
Nov 5, 2024, 2:20:05 AM11/5/24
to Repo and Gerrit Discussion
hi all,

"I was able to use ai-code-review normally at the beginning of October. However, after downloading and compiling the latest version of the master branch and installing the plugin, I encountered the following error. Could this be caused by the recent changes, or is it an issue with my usage?"
企业微信截图_17307908045328.png

Looking forward to your reply.


Michael Nazzareno Trimarchi

unread,
Nov 5, 2024, 3:35:12 AM11/5/24
to 卞姗姗, Repo and Gerrit Discussion
Hi

I found out that it was forked. We are working on a new release of our repo. Make sense to work only on one source code?

Michael
 

--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/repo-discuss/3a531416-50c7-4045-abd3-89375e964833n%40googlegroups.com.


--
Michael Nazzareno Trimarchi
Co-Founder & Chief Executive Officer
M. +39 347 913 2170
mic...@amarulasolutions.com
__________________________________

Amarula Solutions BV
Joop Geesinkweg 125, 1114 AB, Amsterdam, NL
T. +31 (0)85 111 9172
in...@amarulasolutions.com
www.amarulasolutions.com

卞姗姗

unread,
Nov 5, 2024, 3:55:24 AM11/5/24
to Repo and Gerrit Discussion

My download link is git clone https://gerrit.googlesource.com/plugins/ai-code-review -b master. Is this the same version you are maintaining?

Michael Nazzareno Trimarchi

unread,
Nov 5, 2024, 4:11:36 AM11/5/24
to 卞姗姗, Repo and Gerrit Discussion

卞姗姗

unread,
Nov 5, 2024, 4:35:04 AM11/5/24
to Repo and Gerrit Discussion
my gerrit version is 3.10

"Could you please clarify the relationship between these two addresses? I noticed that address 1  https://gerrit.googlesource.com/plugins/ai-code-review  master branch  has been continuously updated based on address  2 https://gerrithub.io/q/project:amarula/chatgpt-code-review-gerrit-plugin  . If there is an issue with address 1, shouldn't it be discussed and fixed together with address 1?"

Michael Nazzareno Trimarchi

unread,
Nov 5, 2024, 4:38:05 AM11/5/24
to 卞姗姗, Repo and Gerrit Discussion
Hi

On Tue, Nov 5, 2024 at 10:35 AM 卞姗姗 <bianshan...@gmail.com> wrote:
my gerrit version is 3.10

"Could you please clarify the relationship between these two addresses? I noticed that address 1  https://gerrit.googlesource.com/plugins/ai-code-review  master branch  has been continuously updated based on address  2 https://gerrithub.io/q/project:amarula/chatgpt-code-review-gerrit-plugin  . If there is an issue with address 1, shouldn't it be discussed and fixed together with address 1?"


The best option should be to work on one of them. We are testing it on 3.10 right now

Michael
 

Sven Selberg

unread,
Nov 5, 2024, 5:53:10 AM11/5/24
to Repo and Gerrit Discussion
On Tuesday, November 5, 2024 at 10:38:05 AM UTC+1 Michael Nazzareno Trimarchi wrote:
Hi

On Tue, Nov 5, 2024 at 10:35 AM 卞姗姗 <bianshan...@gmail.com> wrote:
my gerrit version is 3.10

"Could you please clarify the relationship between these two addresses? I noticed that address 1  https://gerrit.googlesource.com/plugins/ai-code-review  master branch  has been continuously updated based on address  2 https://gerrithub.io/q/project:amarula/chatgpt-code-review-gerrit-plugin  . If there is an issue with address 1, shouldn't it be discussed and fixed together with address 1?"



The ai-code-review fork is based on chatgpt-code-review-plugin.
ai-code-review is meant to be a more general AI code-review plugin where chatgpt is one of the cases (also support a plethora of "internal" LLMs)

To the best of my knowledge:
Work was started on the hackathon this October
FWICT work to adapt the chatGPT plugin to a more general plugin is mostly done by Trevor Getty.
I also think the idea/hope is that all work will be done in ai-code-review plugin in the future.

The best option should be to work on one of them. We are testing it on 3.10 right now

Michael
 
在2024年11月5日星期二 UTC+8 17:11:36<Michael Nazzareno Trimarchi> 写道:

On Tue, Nov 5, 2024 at 9:55 AM 卞姗姗 <bianshan...@gmail.com> wrote:

My download link is git clone https://gerrit.googlesource.com/plugins/ai-code-review -b master. Is this the same version you are maintaining?



在2024年11月5日星期二 UTC+8 16:35:12<Michael Nazzareno Trimarchi> 写道:
Hi

On Tue, Nov 5, 2024 at 8:20 AM 卞姗姗 <bianshan...@gmail.com> wrote:
hi all,

"I was able to use ai-code-review normally at the beginning of October. However, after downloading and compiling the latest version of the master branch and installing the plugin, I encountered the following error. Could this be caused by the recent changes, or is it an issue with my usage?"
企业微信截图_17307908045328.png

At the beginning of 
 

卞姗姗

unread,
Nov 5, 2024, 6:02:16 AM11/5/24
to Repo and Gerrit Discussion

https://gerrithub.io/q/project:amarula/chatgpt-code-review-gerrit-plugin maybe works ok on 3.10, as i used same commit before.

卞姗姗

unread,
Nov 5, 2024, 6:04:41 AM11/5/24
to Repo and Gerrit Discussion
"Thank you for your response. The ai-code-review does not work on Gerrit 3.10, and the error is described at the top of my post. Could you please let the relevant person assist with fixing this?"

Sven Selberg

unread,
Nov 5, 2024, 7:00:04 AM11/5/24
to Repo and Gerrit Discussion
On Tuesday, November 5, 2024 at 12:04:41 PM UTC+1 卞姗姗 wrote:
"Thank you for your response. The ai-code-review does not work on Gerrit 3.10, and the error is described at the top of my post. Could you please let the relevant person assist with fixing this?"

Master is a floating reference, what is the exact version of ai-code-review you were using?

Michael Nazzareno Trimarchi

unread,
Nov 5, 2024, 8:32:55 AM11/5/24
to Sven Selberg, Repo and Gerrit Discussion
Hi Sven

On Tue, Nov 5, 2024 at 11:53 AM Sven Selberg <sven.s...@axis.com> wrote:
>
>
>
> On Tuesday, November 5, 2024 at 10:38:05 AM UTC+1 Michael Nazzareno Trimarchi wrote:
>
> Hi
>
> On Tue, Nov 5, 2024 at 10:35 AM 卞姗姗 <bianshan...@gmail.com> wrote:
>
> my gerrit version is 3.10
>
> "Could you please clarify the relationship between these two addresses? I noticed that address 1 https://gerrit.googlesource.com/plugins/ai-code-review master branch has been continuously updated based on address 2 https://gerrithub.io/q/project:amarula/chatgpt-code-review-gerrit-plugin . If there is an issue with address 1, shouldn't it be discussed and fixed together with address 1?"
>
>
>
> The ai-code-review fork is based on chatgpt-code-review-plugin.
> ai-code-review is meant to be a more general AI code-review plugin where chatgpt is one of the cases (also support a plethora of "internal" LLMs)
>
> To the best of my knowledge:
> Work was started on the hackathon this October
> FWICT work to adapt the chatGPT plugin to a more general plugin is mostly done by Trevor Getty.
> I also think the idea/hope is that all work will be done in ai-code-review plugin in the future.
>
> The best option should be to work on one of them. We are testing it on 3.10 right now
>

The best should be to have a workshop/call to discuss together

Michael

> Michael
>
>
> 在2024年11月5日星期二 UTC+8 17:11:36<Michael Nazzareno Trimarchi> 写道:
>
> Hi
>
> https://gerrithub.io/q/project:amarula/chatgpt-code-review-gerrit-plugin
>
> Michael
>
> On Tue, Nov 5, 2024 at 9:55 AM 卞姗姗 <bianshan...@gmail.com> wrote:
>
> My download link is git clone https://gerrit.googlesource.com/plugins/ai-code-review -b master. Is this the same version you are maintaining?
>
>
>
> 在2024年11月5日星期二 UTC+8 16:35:12<Michael Nazzareno Trimarchi> 写道:
>
> Hi
>
> On Tue, Nov 5, 2024 at 8:20 AM 卞姗姗 <bianshan...@gmail.com> wrote:
>
> hi all,
>
> "I was able to use ai-code-review normally at the beginning of October. However, after downloading and compiling the latest version of the master branch and installing the plugin, I encountered the following error. Could this be caused by the recent changes, or is it an issue with my usage?"
>
>
> To view this discussion visit https://groups.google.com/d/msgid/repo-discuss/4088b5bf-952c-43cf-b079-69ad6113ee45n%40googlegroups.com.

卞姗姗

unread,
Nov 5, 2024, 8:33:27 PM11/5/24
to Repo and Gerrit Discussion
i am working on commit a7cb6766385de0fbe8a6cf38d6e9c69db9594a7c
企业微信截图_1730856787953.png

Trevor Getty

unread,
Nov 6, 2024, 10:45:53 AM11/6/24
to Repo and Gerrit Discussion
Hi, 
can I please check a few things to help assist here.

What version of the code did you download ( can you give the commit id, and for what JDK did you build it on? ).
What version of gerrit are you currently using, and again which JDK?

I can then send you the correct version links to be downloaded for your gerrit install.

It might also be worth while mentioning if you have any other non core plugins in play which may interact with the bindings. 

thanks. 

Trevor Getty

unread,
Nov 6, 2024, 10:54:33 AM11/6/24
to Repo and Gerrit Discussion
As seen above, it would appear that you have taken "master" which is a moving target and will be JDK21 only moving forward.
As kindly pointed out by sven, the ai-code-review plugin is a more general solution targeted at other private LLM solutions and not just chatGPT, namely OLLAMA initially. 

If you are wishing to have or more stable version, the JDK17 variant in stable-3.9 branch works on 3.7, 3.9 and 3.10 gerrit versions - this review is for stable-3.9 on JDK17, which will work on 3.10:  


Master will be tested against stable-3.11 ( it uses the stable-3.11 gerrit plugin API asset ) and will then become the new stable-3.11 branch before moving forward, so I wouldn't check out master as a stable version in your fork unless you wish to take new features and test them. 

Thanks, 
trevor

Michael Nazzareno Trimarchi

unread,
Nov 6, 2024, 12:00:13 PM11/6/24
to Trevor Getty, Repo and Gerrit Discussion
Hi Trevor

On Wed, Nov 6, 2024 at 4:54 PM 'Trevor Getty' via Repo and Gerrit Discussion <repo-d...@googlegroups.com> wrote:
As seen above, it would appear that you have taken "master" which is a moving target and will be JDK21 only moving forward.
As kindly pointed out by sven, the ai-code-review plugin is a more general solution targeted at other private LLM solutions and not just chatGPT, namely OLLAMA initially. 

If you are wishing to have or more stable version, the JDK17 variant in stable-3.9 branch works on 3.7, 3.9 and 3.10 gerrit versions - this review is for stable-3.9 on JDK17, which will work on 3.10:  


Can you give me feedback about my proposal to have some kind of roadmap or unique project tree?

Michael
 

Master will be tested against stable-3.11 ( it uses the stable-3.11 gerrit plugin API asset ) and will then become the new stable-3.11 branch before moving forward, so I wouldn't check out master as a stable version in your fork unless you wish to take new features and test them. 

Thanks, 
trevor



On Wednesday, November 6, 2024 at 3:45:53 PM UTC Trevor Getty wrote:
Hi, 
can I please check a few things to help assist here.

What version of the code did you download ( can you give the commit id, and for what JDK did you build it on? ).
What version of gerrit are you currently using, and again which JDK?

I can then send you the correct version links to be downloaded for your gerrit install.

It might also be worth while mentioning if you have any other non core plugins in play which may interact with the bindings. 

thanks. 

On Tuesday, November 5, 2024 at 7:20:05 AM UTC 卞姗姗 wrote:
hi all,

"I was able to use ai-code-review normally at the beginning of October. However, after downloading and compiling the latest version of the master branch and installing the plugin, I encountered the following error. Could this be caused by the recent changes, or is it an issue with my usage?"
企业微信截图_17307908045328.png

Looking forward to your reply.




THIS MESSAGE AND ANY ATTACHMENTS ARE CONFIDENTIAL, PROPRIETARY AND MAY BE PRIVILEGED

If this message was misdirected, Cirata Ltd. and its subsidiaries, ("Cirata") does not waive any confidentiality or privilege. If you are not the intended recipient, please notify us immediately and destroy the message without disclosing its contents to anyone. Any distribution, use or copying of this email or the information it contains by other than an intended recipient is unauthorized. The views and opinions expressed in this email message are the author's own and may not reflect the views and opinions of Cirata, unless the author is authorized by Cirata to express such views or opinions on its behalf. All email sent to or from this address is subject to electronic storage and review by Cirata. Although Cirata operates anti-virus programs, it does not accept responsibility for any damage whatsoever caused by viruses being passed.

--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.

Trevor Getty

unread,
Nov 14, 2024, 1:51:14 PM11/14/24
to Repo and Gerrit Discussion
Hi michael, 
So here is a brief history why the projects diverged.

1) We wanted to make a generic AI service code review plugin, as such the chatGPT plugin from the address 
 https://gerrithub.io/q/project:amarula/chatgpt-code-review-gerrit-plugin was only used as a starting point and to make that clear we brought it over with history and placed it in an archive branch.

To be honest even this project was a fork / copy of the original plugin here: 
From that point where it has been forked to https://gerrit.googlesource.com/plugins/ai-code-review the project has diverged to allow the project to be non chatGPT specific, and support more than just one ai service.

2) The project was at that time forked, in 2 locations, and both where chatGPT specific.

As such we decided to make it generic (to support more ai services) , while also making it a gerrit community project. This made sure it wasn't in any specific organisations GitHub repository.  
The plugin has now been brought on board as a community project so that anyone can contribute, and it is not with a specific companies organisation, which limits the Gerrit community contributions.   The contribution licence, and copyright headers have been updated for open source contribution. 

It would be more beneficial if the progress moved over to the new community project, that way we can make all changes in a single location moving forward.  But I can understand that if Amarula still want to have their own fork for their own specific reasons, especially if they are only interested in chatGPT. 

Issue Tracking / Project Planning

We have created a new issue tracker for issues, which can cover new work item Story, Epic, Tasks, Feature requests and Bugs. 

Feel free to contribute to this new issue tracker: 

The discord channel exists to discuss ai code review in general across both plugins, so please jump on there if you wish to have a call, or pitch in on the general discussions in this area.

Please let me know if this answers your questions, thanks. 

Many thanks
trevor. 

Michael Nazzareno Trimarchi

unread,
Nov 18, 2024, 4:55:53 AM11/18/24
to Trevor Getty, Repo and Gerrit Discussion
Hi

Let me reply inline

On Thu, Nov 14, 2024 at 7:51 PM 'Trevor Getty' via Repo and Gerrit Discussion <repo-d...@googlegroups.com> wrote:
Hi michael, 
So here is a brief history why the projects diverged.

1) We wanted to make a generic AI service code review plugin, as such the chatGPT plugin from the address 
 https://gerrithub.io/q/project:amarula/chatgpt-code-review-gerrit-plugin was only used as a starting point and to make that clear we brought it over with history and placed it in an archive branch.

That was in our plan too. So rename it, it's ok even with us. Our idea was to explore one AI deeply before create layer to be compatible with other one. I think that an email to disccuss with us was really nice. Am I miss it? In the meantime we have development more features and
could be we are discussing internally how move on on this.
 

To be honest even this project was a fork / copy of the original plugin here: 

We almost rewrite everything so could you miss some patches.  It's not about the fork, we have sent an email to invite to collaborate on it.
Is this the opensource behavior?

From that point where it has been forked to https://gerrit.googlesource.com/plugins/ai-code-review the project has diverged to allow the project to be non chatGPT specific, and support more than just one ai service.

2) The project was at that time forked, in 2 locations, and both where chatGPT specific.

As such we decided to make it generic (to support more ai services) , while also making it a gerrit community project. This made sure it wasn't in any specific organisations GitHub repository.  
The plugin has now been brought on board as a community project so that anyone can contribute, and it is not with a specific companies organisation, which limits the Gerrit community contributions.   The contribution licence, and copyright headers have been updated for open source contribution. 

It would be more beneficial if the progress moved over to the new community project, that way we can make all changes in a single location moving forward.  But I can understand that if Amarula still want to have their own fork for their own specific reasons, especially if they are only interested in chatGPT. 

Issue Tracking / Project Planning


Let's forget a bit about history.  I think spending time in two opensource version make no sense. We should combine it in one. Any
problem with that? 

Michael


THIS MESSAGE AND ANY ATTACHMENTS ARE CONFIDENTIAL, PROPRIETARY AND MAY BE PRIVILEGED

If this message was misdirected, Cirata Ltd. and its subsidiaries, ("Cirata") does not waive any confidentiality or privilege. If you are not the intended recipient, please notify us immediately and destroy the message without disclosing its contents to anyone. Any distribution, use or copying of this email or the information it contains by other than an intended recipient is unauthorized. The views and opinions expressed in this email message are the author's own and may not reflect the views and opinions of Cirata, unless the author is authorized by Cirata to express such views or opinions on its behalf. All email sent to or from this address is subject to electronic storage and review by Cirata. Although Cirata operates anti-virus programs, it does not accept responsibility for any damage whatsoever caused by viruses being passed.

--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
Message has been deleted

Daniele Sassoli

unread,
Nov 18, 2024, 8:59:32 AM11/18/24
to Repo and Gerrit Discussion
Hi Trevor, Michael,

I appreciate you wanting to discuss the project's future, but the original intention of this thread has nothing to do with what is now being discussed.

Let's, please move the conversation to Discord. I'll start a thread and tag you both.

Thanks,
Dani

Michael Nazzareno Trimarchi

unread,
Sep 6, 2025, 6:10:27 PMSep 6
to Daniele Sassoli, Repo and Gerrit Discussion
Hi all

We start back the development of our gerrit version, we think that we can go much faster. In the last few months I don't see
anything new and we have already discussed in Amarula Solutions our roadmap. Thank you Daniele for the email you sent
but we were too busy on a new AI product and now we would like to deliver the next release. The development model will
be opensource but if someone needs some specific integration or feature can contact us for business support

Michael


Reply all
Reply to author
Forward
0 new messages