Re: Review Board GitLab integration not working (missing Repository Plan)

2018-04-17 Thread Christian Hammond
Sounds like maybe the site directory got moved somewhere, and it was using
the older paths. Either way, glad it's working now!

Christian

On Tue, Apr 17, 2018 at 5:34 PM, 'Selim Tuvi' via Review Board Community <
reviewboard@googlegroups.com> wrote:

> Ok, finally figured it out. Somehow under site configuration, the
> following entries were set incorrectly:
>
>   "site_media_root": "/var/www/html/pe-reviewboard-sf-01v/htdocs/media",
>   "site_static_root": "/var/www/html/pe-reviewboard-sf-01v/htdocs/static",
>
> Instead of "/var/www/html/pe-reviewboard-sf-01v/..." they were pointing
> at "/var/www/pe-reviewboard-sf-01v/..."
>
> Not sure how and when this change happened but it is all good now.
>
> Thanks
> -Selim
>
>
> On Tuesday, April 17, 2018 at 5:06:58 PM UTC-7, Selim Tuvi wrote:
>>
>> I have now changed all folders leading to "avatars" to be owned by
>> apache:apache, the avatar image files are now being created but the web
>> server is not able to access them:
>>
>> 10.66.43.212 - - [18/Apr/2018:00:02:05 +] "GET
>> /media/uploaded/avatars/s/st/stuvi__422164f6-ca3f-4dad-b47e-6da5c54c3eaa.jpg
>> HTTP/1.1" 404 273 "http://pe-reviewboard-sf-01v/account/preferences/;
>> "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko)
>> Chrome/63.0.3239.132 Safari/537.36"
>>
>> [root@pe-reviewboard-sf-01v st]# ls -al /var/www/pe-reviewboard-sf-01v
>> /htdocs/media/uploaded/avatars/s/st/stuvi__422164f6-ca3f-
>> 4dad-b47e-6da5c54c3eaa.jpg
>> -rw-r--r-- 1 apache apache 179553 Apr 17 17:02
>> /var/www/pe-reviewboard-sf-01v/htdocs/media/uploaded/avatars
>> /s/st/stuvi__422164f6-ca3f-4dad-b47e-6da5c54c3eaa.jpg
>>
>> -Selim
>>
>> On Tuesday, April 17, 2018 at 4:19:06 PM UTC-7, Selim Tuvi wrote:
>>>
>>> I made sure that each directory in the hierarchy is owned by owner
>>> "apache" group "root". The permissions are "drwxr-xr-x". There is an
>>> ".htaccess" file under $sitedir/htdocs/media that is owned by root. Could
>>> that be causing a problem?
>>>
>>> -Selim
>>>
>>> On Tuesday, April 17, 2018 at 2:44:20 PM UTC-7, Christian Hammond wrote:
>>>>
>>>> Hi Selim,
>>>>
>>>> With GitLab, you don't need any kind of file access to the repository,
>>>> and don't need cgit/GitWeb. Those are only required for standalone Git
>>>> repositories. Glad it's working :)
>>>>
>>>> Avatar images should upload fine so long as directory permissions are
>>>> correct throughout $sitedir/htdocs/media/uploaded/. What are you
>>>> seeing?
>>>>
>>>> Christian
>>>>
>>>> On Tue, Apr 17, 2018 at 10:01 AM, 'Selim Tuvi' via Review Board
>>>> Community <revie...@googlegroups.com> wrote:
>>>>
>>>>> Hi Christian, we just tried 3.0.6 and it works out of the box with our
>>>>> GitLab server without having to use cgit/GitWeb and we don't have the
>>>>> repositories directly accessible via file paths. So somehow the API access
>>>>> works fine!
>>>>>
>>>>> Also, do you know why we can not upload any avatar images? Is that a
>>>>> known issue?
>>>>>
>>>>> Thanks
>>>>> -Selim
>>>>>
>>>>>
>>>>> On Monday, April 16, 2018 at 1:43:54 PM UTC-7, Selim Tuvi wrote:
>>>>>>
>>>>>> Thank you Christian, we'll give 3.0.5 a try.
>>>>>>
>>>>>> -Selim
>>>>>>
>>>>>> On Friday, March 23, 2018 at 12:49:40 AM UTC-7, Christian Hammond
>>>>>> wrote:
>>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> We had a regression that came up very late in the release and broke
>>>>>>> part of the repository form. We just put out 3.0.5 (announcements 
>>>>>>> coming in
>>>>>>> the morning) that address this. Try upgrading and see if it works any
>>>>>>> better for you.
>>>>>>>
>>>>>>> For self-hosted Git repositories not directly accessible via file
>>>>>>> paths by the Review Board server, you do need cgit/GitWeb. The reason is
>>>>>>> that Git's network protocol is *very* limited, and doesn't allow the 
>>>>

Re: Review Board GitLab integration not working (missing Repository Plan)

2018-04-17 Thread 'Selim Tuvi' via Review Board Community
Ok, finally figured it out. Somehow under site configuration, the following 
entries were set incorrectly:

  "site_media_root": "/var/www/html/pe-reviewboard-sf-01v/htdocs/media",
  "site_static_root": "/var/www/html/pe-reviewboard-sf-01v/htdocs/static",

Instead of "/var/www/html/pe-reviewboard-sf-01v/..." they were pointing at 
"/var/www/pe-reviewboard-sf-01v/..."

Not sure how and when this change happened but it is all good now.

Thanks
-Selim

On Tuesday, April 17, 2018 at 5:06:58 PM UTC-7, Selim Tuvi wrote:
>
> I have now changed all folders leading to "avatars" to be owned by 
> apache:apache, the avatar image files are now being created but the web 
> server is not able to access them:
>
> 10.66.43.212 - - [18/Apr/2018:00:02:05 +] "GET 
> /media/uploaded/avatars/s/st/stuvi__422164f6-ca3f-4dad-b47e-6da5c54c3eaa.jpg 
> HTTP/1.1" 404 273 "http://pe-reviewboard-sf-01v/account/preferences/; 
> "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) 
> Chrome/63.0.3239.132 Safari/537.36"
>
> [root@pe-reviewboard-sf-01v st]# ls -al 
> /var/www/pe-reviewboard-sf-01v/htdocs/media/uploaded/avatars/s/st/stuvi__422164f6-ca3f-4dad-b47e-6da5c54c3eaa.jpg
> -rw-r--r-- 1 apache apache 179553 Apr 17 17:02 
> /var/www/pe-reviewboard-sf-01v/htdocs/media/uploaded/avatars/s/st/stuvi__422164f6-ca3f-4dad-b47e-6da5c54c3eaa.jpg
>
> -Selim
>
> On Tuesday, April 17, 2018 at 4:19:06 PM UTC-7, Selim Tuvi wrote:
>>
>> I made sure that each directory in the hierarchy is owned by owner 
>> "apache" group "root". The permissions are "drwxr-xr-x". There is an 
>> ".htaccess" file under $sitedir/htdocs/media that is owned by root. Could 
>> that be causing a problem?
>>
>> -Selim
>>
>> On Tuesday, April 17, 2018 at 2:44:20 PM UTC-7, Christian Hammond wrote:
>>>
>>> Hi Selim,
>>>
>>> With GitLab, you don't need any kind of file access to the repository, 
>>> and don't need cgit/GitWeb. Those are only required for standalone Git 
>>> repositories. Glad it's working :)
>>>
>>> Avatar images should upload fine so long as directory permissions are 
>>> correct throughout $sitedir/htdocs/media/uploaded/. What are you seeing?
>>>
>>> Christian
>>>
>>> On Tue, Apr 17, 2018 at 10:01 AM, 'Selim Tuvi' via Review Board 
>>> Community <revie...@googlegroups.com> wrote:
>>>
>>>> Hi Christian, we just tried 3.0.6 and it works out of the box with our 
>>>> GitLab server without having to use cgit/GitWeb and we don't have the 
>>>> repositories directly accessible via file paths. So somehow the API access 
>>>> works fine!
>>>>
>>>> Also, do you know why we can not upload any avatar images? Is that a 
>>>> known issue?
>>>>
>>>> Thanks
>>>> -Selim
>>>>
>>>>
>>>> On Monday, April 16, 2018 at 1:43:54 PM UTC-7, Selim Tuvi wrote:
>>>>>
>>>>> Thank you Christian, we'll give 3.0.5 a try.
>>>>>
>>>>> -Selim
>>>>>
>>>>> On Friday, March 23, 2018 at 12:49:40 AM UTC-7, Christian Hammond 
>>>>> wrote:
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> We had a regression that came up very late in the release and broke 
>>>>>> part of the repository form. We just put out 3.0.5 (announcements coming 
>>>>>> in 
>>>>>> the morning) that address this. Try upgrading and see if it works any 
>>>>>> better for you.
>>>>>>
>>>>>> For self-hosted Git repositories not directly accessible via file 
>>>>>> paths by the Review Board server, you do need cgit/GitWeb. The reason is 
>>>>>> that Git's network protocol is *very* limited, and doesn't allow the 
>>>>>> same 
>>>>>> kind of queries that most other types of source code management systems 
>>>>>> use. We have a new, open source product in the works designed to give 
>>>>>> self-hosted Git repositories a functional API and deeper integration 
>>>>>> hooks. 
>>>>>> We're working on some of the last bits needed before we can release that.
>>>>>>
>>>>>> Christian
>>>>>>
>>>>>> On Thu, Mar 22, 2018 at 9:16 AM, 'Selim Tuvi' via Review Board 
>>>>>> Community <revie...@googl

Re: Review Board GitLab integration not working (missing Repository Plan)

2018-04-17 Thread 'Selim Tuvi' via Review Board Community
I have now changed all folders leading to "avatars" to be owned by 
apache:apache, the avatar image files are now being created but the web 
server is not able to access them:

10.66.43.212 - - [18/Apr/2018:00:02:05 +] "GET 
/media/uploaded/avatars/s/st/stuvi__422164f6-ca3f-4dad-b47e-6da5c54c3eaa.jpg 
HTTP/1.1" 404 273 "http://pe-reviewboard-sf-01v/account/preferences/; 
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) 
Chrome/63.0.3239.132 Safari/537.36"

[root@pe-reviewboard-sf-01v st]# ls -al 
/var/www/pe-reviewboard-sf-01v/htdocs/media/uploaded/avatars/s/st/stuvi__422164f6-ca3f-4dad-b47e-6da5c54c3eaa.jpg
-rw-r--r-- 1 apache apache 179553 Apr 17 17:02 
/var/www/pe-reviewboard-sf-01v/htdocs/media/uploaded/avatars/s/st/stuvi__422164f6-ca3f-4dad-b47e-6da5c54c3eaa.jpg

-Selim

On Tuesday, April 17, 2018 at 4:19:06 PM UTC-7, Selim Tuvi wrote:
>
> I made sure that each directory in the hierarchy is owned by owner 
> "apache" group "root". The permissions are "drwxr-xr-x". There is an 
> ".htaccess" file under $sitedir/htdocs/media that is owned by root. Could 
> that be causing a problem?
>
> -Selim
>
> On Tuesday, April 17, 2018 at 2:44:20 PM UTC-7, Christian Hammond wrote:
>>
>> Hi Selim,
>>
>> With GitLab, you don't need any kind of file access to the repository, 
>> and don't need cgit/GitWeb. Those are only required for standalone Git 
>> repositories. Glad it's working :)
>>
>> Avatar images should upload fine so long as directory permissions are 
>> correct throughout $sitedir/htdocs/media/uploaded/. What are you seeing?
>>
>> Christian
>>
>> On Tue, Apr 17, 2018 at 10:01 AM, 'Selim Tuvi' via Review Board Community 
>> <revie...@googlegroups.com> wrote:
>>
>>> Hi Christian, we just tried 3.0.6 and it works out of the box with our 
>>> GitLab server without having to use cgit/GitWeb and we don't have the 
>>> repositories directly accessible via file paths. So somehow the API access 
>>> works fine!
>>>
>>> Also, do you know why we can not upload any avatar images? Is that a 
>>> known issue?
>>>
>>> Thanks
>>> -Selim
>>>
>>>
>>> On Monday, April 16, 2018 at 1:43:54 PM UTC-7, Selim Tuvi wrote:
>>>>
>>>> Thank you Christian, we'll give 3.0.5 a try.
>>>>
>>>> -Selim
>>>>
>>>> On Friday, March 23, 2018 at 12:49:40 AM UTC-7, Christian Hammond wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> We had a regression that came up very late in the release and broke 
>>>>> part of the repository form. We just put out 3.0.5 (announcements coming 
>>>>> in 
>>>>> the morning) that address this. Try upgrading and see if it works any 
>>>>> better for you.
>>>>>
>>>>> For self-hosted Git repositories not directly accessible via file 
>>>>> paths by the Review Board server, you do need cgit/GitWeb. The reason is 
>>>>> that Git's network protocol is *very* limited, and doesn't allow the same 
>>>>> kind of queries that most other types of source code management systems 
>>>>> use. We have a new, open source product in the works designed to give 
>>>>> self-hosted Git repositories a functional API and deeper integration 
>>>>> hooks. 
>>>>> We're working on some of the last bits needed before we can release that.
>>>>>
>>>>> Christian
>>>>>
>>>>> On Thu, Mar 22, 2018 at 9:16 AM, 'Selim Tuvi' via Review Board 
>>>>> Community <revie...@googlegroups.com> wrote:
>>>>>
>>>>>> Hi, we are in the process of evaluating Review Board 3.0.4 and wanted 
>>>>>> to try the GitLab integration.
>>>>>>
>>>>>> We have a self hosted GitLab CE installatin. When I try to add the 
>>>>>> repository, I don't get to pick any values from the "Repository Plan". 
>>>>>> See 
>>>>>> attached image.
>>>>>>
>>>>>> And if I try to save it, I get an error about the plan.
>>>>>>
>>>>>> Also, I read here 
>>>>>> <https://www.reviewboard.org/docs/manual/3.0/admin/configuration/repositories/git/#repository-scm-git-gitweb>
>>>>>>  
>>>>>> that for self hosted Git repositories we need to use GitWeb or cgit. Is 
>>>>>> that stil

Re: Review Board GitLab integration not working (missing Repository Plan)

2018-04-17 Thread 'Selim Tuvi' via Review Board Community
I made sure that each directory in the hierarchy is owned by owner "apache" 
group "root". The permissions are "drwxr-xr-x". There is an ".htaccess" 
file under $sitedir/htdocs/media that is owned by root. Could that be 
causing a problem?

-Selim

On Tuesday, April 17, 2018 at 2:44:20 PM UTC-7, Christian Hammond wrote:
>
> Hi Selim,
>
> With GitLab, you don't need any kind of file access to the repository, and 
> don't need cgit/GitWeb. Those are only required for standalone Git 
> repositories. Glad it's working :)
>
> Avatar images should upload fine so long as directory permissions are 
> correct throughout $sitedir/htdocs/media/uploaded/. What are you seeing?
>
> Christian
>
> On Tue, Apr 17, 2018 at 10:01 AM, 'Selim Tuvi' via Review Board Community 
> <revie...@googlegroups.com > wrote:
>
>> Hi Christian, we just tried 3.0.6 and it works out of the box with our 
>> GitLab server without having to use cgit/GitWeb and we don't have the 
>> repositories directly accessible via file paths. So somehow the API access 
>> works fine!
>>
>> Also, do you know why we can not upload any avatar images? Is that a 
>> known issue?
>>
>> Thanks
>> -Selim
>>
>>
>> On Monday, April 16, 2018 at 1:43:54 PM UTC-7, Selim Tuvi wrote:
>>>
>>> Thank you Christian, we'll give 3.0.5 a try.
>>>
>>> -Selim
>>>
>>> On Friday, March 23, 2018 at 12:49:40 AM UTC-7, Christian Hammond wrote:
>>>>
>>>> Hi,
>>>>
>>>> We had a regression that came up very late in the release and broke 
>>>> part of the repository form. We just put out 3.0.5 (announcements coming 
>>>> in 
>>>> the morning) that address this. Try upgrading and see if it works any 
>>>> better for you.
>>>>
>>>> For self-hosted Git repositories not directly accessible via file paths 
>>>> by the Review Board server, you do need cgit/GitWeb. The reason is that 
>>>> Git's network protocol is *very* limited, and doesn't allow the same kind 
>>>> of queries that most other types of source code management systems use. We 
>>>> have a new, open source product in the works designed to give self-hosted 
>>>> Git repositories a functional API and deeper integration hooks. We're 
>>>> working on some of the last bits needed before we can release that.
>>>>
>>>> Christian
>>>>
>>>> On Thu, Mar 22, 2018 at 9:16 AM, 'Selim Tuvi' via Review Board 
>>>> Community <revie...@googlegroups.com> wrote:
>>>>
>>>>> Hi, we are in the process of evaluating Review Board 3.0.4 and wanted 
>>>>> to try the GitLab integration.
>>>>>
>>>>> We have a self hosted GitLab CE installatin. When I try to add the 
>>>>> repository, I don't get to pick any values from the "Repository Plan". 
>>>>> See 
>>>>> attached image.
>>>>>
>>>>> And if I try to save it, I get an error about the plan.
>>>>>
>>>>> Also, I read here 
>>>>> <https://www.reviewboard.org/docs/manual/3.0/admin/configuration/repositories/git/#repository-scm-git-gitweb>
>>>>>  
>>>>> that for self hosted Git repositories we need to use GitWeb or cgit. Is 
>>>>> that still the case?
>>>>>
>>>>> Thanks
>>>>> -Selim
>>>>>
>>>>> -- 
>>>>> Supercharge your Review Board with Power Pack: 
>>>>> https://www.reviewboard.org/powerpack/
>>>>> Want us to host Review Board for you? Check out RBCommons: 
>>>>> https://rbcommons.com/
>>>>> Happy user? Let us know! https://www.reviewboard.org/users/
>>>>> --- 
>>>>> You received this message because you are subscribed to the Google 
>>>>> Groups "Review Board Community" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>>> an email to reviewboard...@googlegroups.com.
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>
>>>>
>>>>
>>>> -- 
>>>> Christian Hammond
>>>> President/CEO of Beanbag <https://www.beanbaginc.com/>
>>>> Makers of Review Board <https://www.reviewboard.org/>
>>>>
>>> -- 
>> Supercharge your Review Board with Power Pack: 
&

Re: Review Board GitLab integration not working (missing Repository Plan)

2018-04-17 Thread Christian Hammond
Hi Selim,

With GitLab, you don't need any kind of file access to the repository, and
don't need cgit/GitWeb. Those are only required for standalone Git
repositories. Glad it's working :)

Avatar images should upload fine so long as directory permissions are
correct throughout $sitedir/htdocs/media/uploaded/. What are you seeing?

Christian

On Tue, Apr 17, 2018 at 10:01 AM, 'Selim Tuvi' via Review Board Community <
reviewboard@googlegroups.com> wrote:

> Hi Christian, we just tried 3.0.6 and it works out of the box with our
> GitLab server without having to use cgit/GitWeb and we don't have the
> repositories directly accessible via file paths. So somehow the API access
> works fine!
>
> Also, do you know why we can not upload any avatar images? Is that a known
> issue?
>
> Thanks
> -Selim
>
>
> On Monday, April 16, 2018 at 1:43:54 PM UTC-7, Selim Tuvi wrote:
>>
>> Thank you Christian, we'll give 3.0.5 a try.
>>
>> -Selim
>>
>> On Friday, March 23, 2018 at 12:49:40 AM UTC-7, Christian Hammond wrote:
>>>
>>> Hi,
>>>
>>> We had a regression that came up very late in the release and broke part
>>> of the repository form. We just put out 3.0.5 (announcements coming in the
>>> morning) that address this. Try upgrading and see if it works any better
>>> for you.
>>>
>>> For self-hosted Git repositories not directly accessible via file paths
>>> by the Review Board server, you do need cgit/GitWeb. The reason is that
>>> Git's network protocol is *very* limited, and doesn't allow the same kind
>>> of queries that most other types of source code management systems use. We
>>> have a new, open source product in the works designed to give self-hosted
>>> Git repositories a functional API and deeper integration hooks. We're
>>> working on some of the last bits needed before we can release that.
>>>
>>> Christian
>>>
>>> On Thu, Mar 22, 2018 at 9:16 AM, 'Selim Tuvi' via Review Board Community
>>> <revie...@googlegroups.com> wrote:
>>>
>>>> Hi, we are in the process of evaluating Review Board 3.0.4 and wanted
>>>> to try the GitLab integration.
>>>>
>>>> We have a self hosted GitLab CE installatin. When I try to add the
>>>> repository, I don't get to pick any values from the "Repository Plan". See
>>>> attached image.
>>>>
>>>> And if I try to save it, I get an error about the plan.
>>>>
>>>> Also, I read here
>>>> <https://www.reviewboard.org/docs/manual/3.0/admin/configuration/repositories/git/#repository-scm-git-gitweb>
>>>> that for self hosted Git repositories we need to use GitWeb or cgit. Is
>>>> that still the case?
>>>>
>>>> Thanks
>>>> -Selim
>>>>
>>>> --
>>>> Supercharge your Review Board with Power Pack:
>>>> https://www.reviewboard.org/powerpack/
>>>> Want us to host Review Board for you? Check out RBCommons:
>>>> https://rbcommons.com/
>>>> Happy user? Let us know! https://www.reviewboard.org/users/
>>>> ---
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Review Board Community" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to reviewboard...@googlegroups.com.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>>
>>> --
>>> Christian Hammond
>>> President/CEO of Beanbag <https://www.beanbaginc.com/>
>>> Makers of Review Board <https://www.reviewboard.org/>
>>>
>> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups
> "Review Board Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Christian Hammond
President/CEO of Beanbag <https://www.beanbaginc.com/>
Makers of Review Board <https://www.reviewboard.org/>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Review Board GitLab integration not working (missing Repository Plan)

2018-04-17 Thread 'Selim Tuvi' via Review Board Community
Hi Christian, we just tried 3.0.6 and it works out of the box with our 
GitLab server without having to use cgit/GitWeb and we don't have the 
repositories directly accessible via file paths. So somehow the API access 
works fine!

Also, do you know why we can not upload any avatar images? Is that a known 
issue?

Thanks
-Selim

On Monday, April 16, 2018 at 1:43:54 PM UTC-7, Selim Tuvi wrote:
>
> Thank you Christian, we'll give 3.0.5 a try.
>
> -Selim
>
> On Friday, March 23, 2018 at 12:49:40 AM UTC-7, Christian Hammond wrote:
>>
>> Hi,
>>
>> We had a regression that came up very late in the release and broke part 
>> of the repository form. We just put out 3.0.5 (announcements coming in the 
>> morning) that address this. Try upgrading and see if it works any better 
>> for you.
>>
>> For self-hosted Git repositories not directly accessible via file paths 
>> by the Review Board server, you do need cgit/GitWeb. The reason is that 
>> Git's network protocol is *very* limited, and doesn't allow the same kind 
>> of queries that most other types of source code management systems use. We 
>> have a new, open source product in the works designed to give self-hosted 
>> Git repositories a functional API and deeper integration hooks. We're 
>> working on some of the last bits needed before we can release that.
>>
>> Christian
>>
>> On Thu, Mar 22, 2018 at 9:16 AM, 'Selim Tuvi' via Review Board Community 
>> <revie...@googlegroups.com> wrote:
>>
>>> Hi, we are in the process of evaluating Review Board 3.0.4 and wanted to 
>>> try the GitLab integration.
>>>
>>> We have a self hosted GitLab CE installatin. When I try to add the 
>>> repository, I don't get to pick any values from the "Repository Plan". See 
>>> attached image.
>>>
>>> And if I try to save it, I get an error about the plan.
>>>
>>> Also, I read here 
>>> <https://www.reviewboard.org/docs/manual/3.0/admin/configuration/repositories/git/#repository-scm-git-gitweb>
>>>  
>>> that for self hosted Git repositories we need to use GitWeb or cgit. Is 
>>> that still the case?
>>>
>>> Thanks
>>> -Selim
>>>
>>> -- 
>>> Supercharge your Review Board with Power Pack: 
>>> https://www.reviewboard.org/powerpack/
>>> Want us to host Review Board for you? Check out RBCommons: 
>>> https://rbcommons.com/
>>> Happy user? Let us know! https://www.reviewboard.org/users/
>>> --- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Review Board Community" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to reviewboard...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> -- 
>> Christian Hammond
>> President/CEO of Beanbag <https://www.beanbaginc.com/>
>> Makers of Review Board <https://www.reviewboard.org/>
>>
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Review Board GitLab integration not working (missing Repository Plan)

2018-04-16 Thread 'Selim Tuvi' via Review Board Community
Thank you Christian, we'll give 3.0.5 a try.

-Selim

On Friday, March 23, 2018 at 12:49:40 AM UTC-7, Christian Hammond wrote:
>
> Hi,
>
> We had a regression that came up very late in the release and broke part 
> of the repository form. We just put out 3.0.5 (announcements coming in the 
> morning) that address this. Try upgrading and see if it works any better 
> for you.
>
> For self-hosted Git repositories not directly accessible via file paths by 
> the Review Board server, you do need cgit/GitWeb. The reason is that Git's 
> network protocol is *very* limited, and doesn't allow the same kind of 
> queries that most other types of source code management systems use. We 
> have a new, open source product in the works designed to give self-hosted 
> Git repositories a functional API and deeper integration hooks. We're 
> working on some of the last bits needed before we can release that.
>
> Christian
>
> On Thu, Mar 22, 2018 at 9:16 AM, 'Selim Tuvi' via Review Board Community <
> revie...@googlegroups.com > wrote:
>
>> Hi, we are in the process of evaluating Review Board 3.0.4 and wanted to 
>> try the GitLab integration.
>>
>> We have a self hosted GitLab CE installatin. When I try to add the 
>> repository, I don't get to pick any values from the "Repository Plan". See 
>> attached image.
>>
>> And if I try to save it, I get an error about the plan.
>>
>> Also, I read here 
>> <https://www.reviewboard.org/docs/manual/3.0/admin/configuration/repositories/git/#repository-scm-git-gitweb>
>>  
>> that for self hosted Git repositories we need to use GitWeb or cgit. Is 
>> that still the case?
>>
>> Thanks
>> -Selim
>>
>> -- 
>> Supercharge your Review Board with Power Pack: 
>> https://www.reviewboard.org/powerpack/
>> Want us to host Review Board for you? Check out RBCommons: 
>> https://rbcommons.com/
>> Happy user? Let us know! https://www.reviewboard.org/users/
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Review Board Community" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to reviewboard...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Christian Hammond
> President/CEO of Beanbag <https://www.beanbaginc.com/>
> Makers of Review Board <https://www.reviewboard.org/>
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Review Board GitLab integration not working (missing Repository Plan)

2018-03-23 Thread Christian Hammond
Hi,

We had a regression that came up very late in the release and broke part of
the repository form. We just put out 3.0.5 (announcements coming in the
morning) that address this. Try upgrading and see if it works any better
for you.

For self-hosted Git repositories not directly accessible via file paths by
the Review Board server, you do need cgit/GitWeb. The reason is that Git's
network protocol is *very* limited, and doesn't allow the same kind of
queries that most other types of source code management systems use. We
have a new, open source product in the works designed to give self-hosted
Git repositories a functional API and deeper integration hooks. We're
working on some of the last bits needed before we can release that.

Christian

On Thu, Mar 22, 2018 at 9:16 AM, 'Selim Tuvi' via Review Board Community <
reviewboard@googlegroups.com> wrote:

> Hi, we are in the process of evaluating Review Board 3.0.4 and wanted to
> try the GitLab integration.
>
> We have a self hosted GitLab CE installatin. When I try to add the
> repository, I don't get to pick any values from the "Repository Plan". See
> attached image.
>
> And if I try to save it, I get an error about the plan.
>
> Also, I read here
> <https://www.reviewboard.org/docs/manual/3.0/admin/configuration/repositories/git/#repository-scm-git-gitweb>
> that for self hosted Git repositories we need to use GitWeb or cgit. Is
> that still the case?
>
> Thanks
> -Selim
>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups
> "Review Board Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Christian Hammond
President/CEO of Beanbag <https://www.beanbaginc.com/>
Makers of Review Board <https://www.reviewboard.org/>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: A couple of issues with the Gitlab integration

2017-10-31 Thread Christian Hammond
Hi Clément,

We're working on rebuilding the GitLab support to use newer APIs so that
subgroups work. We have this working internally and hope to ship it soon.
We've been trying to get Review Board 3.0 out the door, so it'll probably
be after we wrap that up (final RC release is this week), but will be soon.

As for the username, we should be able to make that editable, but it
shouldn't be a blocker for you. Review Board shouldn't be talking over SSH
to the Git repository itself, so I imagine you're hitting issues when
setting up RBTools? If so, it's best to just specify the repository name by
setting REPOSITORY in .reviewboardrc instead of having it match based on a
clone URL, as that'll be faster and won't depend on the username set in
that path.

Christian

On Tue, Oct 31, 2017 at 1:29 PM, Clément Moyroud 
wrote:

> Hello,
>
> I've hit a couple roadblocks when trying to set-up ReviewBoard to talk to
> our Gitlab instance:
> 1. The code assumes that the user for the SSH connection is 'git' (i.e.
> git@:repo.git), but for Omnibus-based Gitlab instances it's
> actually 'gitlab'. Could you please make that field editable?
> 2. Gitlab supports sub-groups, and ReviewBoard does not like them. When
> using e.g. 'groupA/groupB' for the 'Gitlab group name' field, we get this
> error message: "A group with this name was not found, or your user may not
> have access to it."
>
> Do you plan to add support to sub-groups soon? For now we've worked around
> the issue by editing the SQL DB directly.
>
> Thanks,
>
> Clément
>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Christian Hammond
President/CEO of Beanbag 
Makers of Review Board 

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


A couple of issues with the Gitlab integration

2017-10-31 Thread Clément Moyroud
Hello,

I've hit a couple roadblocks when trying to set-up ReviewBoard to talk to 
our Gitlab instance:
1. The code assumes that the user for the SSH connection is 'git' (i.e. 
git@:repo.git), but for Omnibus-based Gitlab instances it's actually 
'gitlab'. Could you please make that field editable?
2. Gitlab supports sub-groups, and ReviewBoard does not like them. When 
using e.g. 'groupA/groupB' for the 'Gitlab group name' field, we get this 
error message: "A group with this name was not found, or your user may not 
have access to it."

Do you plan to add support to sub-groups soon? For now we've worked around 
the issue by editing the SQL DB directly.

Thanks,

Clément

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: gitlab integration fails

2017-07-19 Thread Paramjeet Singh
sure will try in a while and will get back to you very soon on this.


regards
paramjeet singh

On Wed, Jul 19, 2017 at 2:45 PM, Christian Hammond  wrote:

> Okay. That's bizarre and not common. Knowing the earliest version of
> Review Board that fails would help a lot. I'd be curious to find out
> whether both 2.5.10 and 2.5.11 work or both fail for you.
>
> Christian
>
> On Wed, Jul 19, 2017 at 2:12 AM, Paramjeet Singh  > wrote:
>
>> Name: cryptography
>> Version: 1.9
>> Location: /usr/local/lib/python2.7/dist-package.
>>
>> and another thing is that the same has been tried on bitnami amazon ec2
>> trial image for reviewboard 2.5.13.1 and even i tried to install using
>> bitnami's installer on my server but it didn't worked for me.
>>
>>
>>
>> regards
>> paramjeet singh
>>
>> On Wed, Jul 19, 2017 at 2:33 PM, Christian Hammond <
>> christ...@beanbaginc.com> wrote:
>>
>>> PyCrypto is different from cryptography. I'd be interested in knowing
>>> what version of that might be on the system running 2.5.13.1. This is the
>>> only newer factor I can think of that could interfere on our end with any
>>> SSL-related communications.
>>>
>>> Christian
>>>
>>> On Wed, Jul 19, 2017 at 1:56 AM, Paramjeet Singh <
>>> paramjeet.si...@abspl.in> wrote:
>>>
 hi,

 yes python crypto(pycrypto) 2.6.1 is installed.

  this configuration for reviewboard 2.5.13.1 is tried on ubuntu 16.04
 LTS and Red Hat Enterprise Linux 7.2 did't worked on any of them.


 regards
 paramjeet singh

 On Wed, Jul 19, 2017 at 2:17 PM, Christian Hammond <
 christ...@beanbaginc.com> wrote:

> Can you see what version of the Python cryptography module is
> installed?
>
> Christian
>
> On Wed, Jul 19, 2017 at 1:46 AM, Paramjeet Singh <
> paramjeet.si...@abspl.in> wrote:
>
>> yes i have installed 2.5.0 and it worked fine very comfortably. will
>> try other versions and will see when it breaks and post it here soon.
>>
>> and yes password has been changed.
>>
>>
>> regards
>> paramjeet singh
>>
>>
>>
>> On Tue, Jul 18, 2017 at 8:31 PM, Christian Hammond <
>> christ...@beanbaginc.com> wrote:
>>
>>> Okay, looks like that worked.
>>>
>>> Did you install 2.5.0, then? It'd be helpful to try upgrading a few
>>> versions at a time, figure out when it breaks.
>>>
>>> Also, the details you posted include confidential information on
>>> your account. Only the last line should have been provided here. You'll
>>> want to reset your password and any tokens on GitLab.
>>>
>>> Christian
>>>
>>>
>>> On Tue, Jul 18, 2017 at 00:30  wrote:
>>>
 hi christian,

 first of all sorry for mixing up things on two places i am just a
 beginner. will keep discussion here only from now onwards.

 however installing revieboard 2.5 instead of 2.5.13.1 did it for me
 with the same configuration and its working smoothly fir now on 
 version 2.5.

 reviewboard is installed on ubuntu 16.04 LTS


 by executing the mentioned command i got this output :

 {"name":"Pxxt Singh","username":"xxx
 xxx","id":43,"state":"active","avatar_url":null,"web_url":"h
 ttp://xx.net/u/","created_at":"2016-12-0
 9T09:20:02.303Z","is_admin":false,"bio":"","skype":"","linke
 din":"","twitter":"","website_url":"","email":"paramjeet.sin
 g...@abspl.in","theme_id":2,"color_scheme_id":1,"projects_limi
 t":20,"current_sign_in_at":"2017-07-18T04:56:49.273Z","ident
 ities":[],"can_create_group":true,"can_create_project":true,
 "two_factor_enabled":false,"private_token":"2Mjz_Tg-CDGNWocxnmc5"}
 201

 regards
 On Tuesday, July 18, 2017 at 12:35:13 PM UTC+5:30, Christian
 Hammond wrote:

> What Linux distribution is Review Board installed on?
>
> 2.5.13.1 is definitely compatible with GitLab, and it's not a bug
> in Review Board. There is something impacting the communication 
> between the
> servers. As for what that is, I'm not sure yet.
>
> From the terminal on your Linux server hosting Review Board, try
> running:
>
> python -c "import urllib; res = urllib.urlopen('https://YOUR_G
> ITLAB/api/v3/session/', 
> 'login=YOUR_GITLAB_USERNAME=YOUR_GITLAB_PASSWORD');
> print res.read(); print res.code"
>
> See what that says. I'm mostly interested in the very last line.
>
> Also let's keep all discussion in one place, in this thread.
> Having half the discussion in the bug report makes it a bit more
> challenging. If it turns 

Re: gitlab integration fails

2017-07-19 Thread Christian Hammond
Okay. That's bizarre and not common. Knowing the earliest version of Review
Board that fails would help a lot. I'd be curious to find out whether both
2.5.10 and 2.5.11 work or both fail for you.

Christian

On Wed, Jul 19, 2017 at 2:12 AM, Paramjeet Singh 
wrote:

> Name: cryptography
> Version: 1.9
> Location: /usr/local/lib/python2.7/dist-package.
>
> and another thing is that the same has been tried on bitnami amazon ec2
> trial image for reviewboard 2.5.13.1 and even i tried to install using
> bitnami's installer on my server but it didn't worked for me.
>
>
>
> regards
> paramjeet singh
>
> On Wed, Jul 19, 2017 at 2:33 PM, Christian Hammond <
> christ...@beanbaginc.com> wrote:
>
>> PyCrypto is different from cryptography. I'd be interested in knowing
>> what version of that might be on the system running 2.5.13.1. This is the
>> only newer factor I can think of that could interfere on our end with any
>> SSL-related communications.
>>
>> Christian
>>
>> On Wed, Jul 19, 2017 at 1:56 AM, Paramjeet Singh <
>> paramjeet.si...@abspl.in> wrote:
>>
>>> hi,
>>>
>>> yes python crypto(pycrypto) 2.6.1 is installed.
>>>
>>>  this configuration for reviewboard 2.5.13.1 is tried on ubuntu 16.04
>>> LTS and Red Hat Enterprise Linux 7.2 did't worked on any of them.
>>>
>>>
>>> regards
>>> paramjeet singh
>>>
>>> On Wed, Jul 19, 2017 at 2:17 PM, Christian Hammond <
>>> christ...@beanbaginc.com> wrote:
>>>
 Can you see what version of the Python cryptography module is installed?

 Christian

 On Wed, Jul 19, 2017 at 1:46 AM, Paramjeet Singh <
 paramjeet.si...@abspl.in> wrote:

> yes i have installed 2.5.0 and it worked fine very comfortably. will
> try other versions and will see when it breaks and post it here soon.
>
> and yes password has been changed.
>
>
> regards
> paramjeet singh
>
>
>
> On Tue, Jul 18, 2017 at 8:31 PM, Christian Hammond <
> christ...@beanbaginc.com> wrote:
>
>> Okay, looks like that worked.
>>
>> Did you install 2.5.0, then? It'd be helpful to try upgrading a few
>> versions at a time, figure out when it breaks.
>>
>> Also, the details you posted include confidential information on your
>> account. Only the last line should have been provided here. You'll want 
>> to
>> reset your password and any tokens on GitLab.
>>
>> Christian
>>
>>
>> On Tue, Jul 18, 2017 at 00:30  wrote:
>>
>>> hi christian,
>>>
>>> first of all sorry for mixing up things on two places i am just a
>>> beginner. will keep discussion here only from now onwards.
>>>
>>> however installing revieboard 2.5 instead of 2.5.13.1 did it for me
>>> with the same configuration and its working smoothly fir now on version 
>>> 2.5.
>>>
>>> reviewboard is installed on ubuntu 16.04 LTS
>>>
>>>
>>> by executing the mentioned command i got this output :
>>>
>>> {"name":"Pxxt Singh","username":"xxx
>>> xxx","id":43,"state":"active","avatar_url":null,"web_url":"h
>>> ttp://xx.net/u/","created_at":"2016-12-0
>>> 9T09:20:02.303Z","is_admin":false,"bio":"","skype":"","linke
>>> din":"","twitter":"","website_url":"","email":"paramjeet.sin
>>> g...@abspl.in","theme_id":2,"color_scheme_id":1,"projects_limi
>>> t":20,"current_sign_in_at":"2017-07-18T04:56:49.273Z","ident
>>> ities":[],"can_create_group":true,"can_create_project":true
>>> ,"two_factor_enabled":false,"private_token":"2Mjz_Tg-CDGNWocxnmc5"}
>>> 201
>>>
>>> regards
>>> On Tuesday, July 18, 2017 at 12:35:13 PM UTC+5:30, Christian Hammond
>>> wrote:
>>>
 What Linux distribution is Review Board installed on?

 2.5.13.1 is definitely compatible with GitLab, and it's not a bug
 in Review Board. There is something impacting the communication 
 between the
 servers. As for what that is, I'm not sure yet.

 From the terminal on your Linux server hosting Review Board, try
 running:

 python -c "import urllib; res = urllib.urlopen('https://YOUR_G
 ITLAB/api/v3/session/', 
 'login=YOUR_GITLAB_USERNAME=YOUR_GITLAB_PASSWORD');
 print res.read(); print res.code"

 See what that says. I'm mostly interested in the very last line.

 Also let's keep all discussion in one place, in this thread. Having
 half the discussion in the bug report makes it a bit more challenging. 
 If
 it turns out there is a bug here (I'm not positive about this yet -- 
 other
 people have definitely used 2.5.13.1 with GitLab), we can move it 
 there,
 but support is best done here.

 Christian

>>>
 On Mon, Jul 17, 2017 at 10:07 PM, 

Re: gitlab integration fails

2017-07-19 Thread Paramjeet Singh
Name: cryptography
Version: 1.9
Location: /usr/local/lib/python2.7/dist-package.

and another thing is that the same has been tried on bitnami amazon ec2
trial image for reviewboard 2.5.13.1 and even i tried to install using
bitnami's installer on my server but it didn't worked for me.



regards
paramjeet singh

On Wed, Jul 19, 2017 at 2:33 PM, Christian Hammond  wrote:

> PyCrypto is different from cryptography. I'd be interested in knowing what
> version of that might be on the system running 2.5.13.1. This is the only
> newer factor I can think of that could interfere on our end with any
> SSL-related communications.
>
> Christian
>
> On Wed, Jul 19, 2017 at 1:56 AM, Paramjeet Singh  > wrote:
>
>> hi,
>>
>> yes python crypto(pycrypto) 2.6.1 is installed.
>>
>>  this configuration for reviewboard 2.5.13.1 is tried on ubuntu 16.04 LTS
>> and Red Hat Enterprise Linux 7.2 did't worked on any of them.
>>
>>
>> regards
>> paramjeet singh
>>
>> On Wed, Jul 19, 2017 at 2:17 PM, Christian Hammond <
>> christ...@beanbaginc.com> wrote:
>>
>>> Can you see what version of the Python cryptography module is installed?
>>>
>>> Christian
>>>
>>> On Wed, Jul 19, 2017 at 1:46 AM, Paramjeet Singh <
>>> paramjeet.si...@abspl.in> wrote:
>>>
 yes i have installed 2.5.0 and it worked fine very comfortably. will
 try other versions and will see when it breaks and post it here soon.

 and yes password has been changed.


 regards
 paramjeet singh



 On Tue, Jul 18, 2017 at 8:31 PM, Christian Hammond <
 christ...@beanbaginc.com> wrote:

> Okay, looks like that worked.
>
> Did you install 2.5.0, then? It'd be helpful to try upgrading a few
> versions at a time, figure out when it breaks.
>
> Also, the details you posted include confidential information on your
> account. Only the last line should have been provided here. You'll want to
> reset your password and any tokens on GitLab.
>
> Christian
>
>
> On Tue, Jul 18, 2017 at 00:30  wrote:
>
>> hi christian,
>>
>> first of all sorry for mixing up things on two places i am just a
>> beginner. will keep discussion here only from now onwards.
>>
>> however installing revieboard 2.5 instead of 2.5.13.1 did it for me
>> with the same configuration and its working smoothly fir now on version 
>> 2.5.
>>
>> reviewboard is installed on ubuntu 16.04 LTS
>>
>>
>> by executing the mentioned command i got this output :
>>
>> {"name":"Pxxt Singh","username":"xxx
>> xxx","id":43,"state":"active","avatar_url":null,"web_url":"h
>> ttp://xx.net/u/","created_at":"2016-12-0
>> 9T09:20:02.303Z","is_admin":false,"bio":"","skype":"","linke
>> din":"","twitter":"","website_url":"","email":"paramjeet.sin
>> g...@abspl.in","theme_id":2,"color_scheme_id":1,"projects_limi
>> t":20,"current_sign_in_at":"2017-07-18T04:56:49.273Z","ide
>> ntities":[],"can_create_group":true,"can_create_project":
>> true,"two_factor_enabled":false,"private_token":"2Mjz_Tg-
>> CDGNWocxnmc5"}
>> 201
>>
>> regards
>> On Tuesday, July 18, 2017 at 12:35:13 PM UTC+5:30, Christian Hammond
>> wrote:
>>
>>> What Linux distribution is Review Board installed on?
>>>
>>> 2.5.13.1 is definitely compatible with GitLab, and it's not a bug in
>>> Review Board. There is something impacting the communication between the
>>> servers. As for what that is, I'm not sure yet.
>>>
>>> From the terminal on your Linux server hosting Review Board, try
>>> running:
>>>
>>> python -c "import urllib; res = urllib.urlopen('https://YOUR_G
>>> ITLAB/api/v3/session/', 
>>> 'login=YOUR_GITLAB_USERNAME=YOUR_GITLAB_PASSWORD');
>>> print res.read(); print res.code"
>>>
>>> See what that says. I'm mostly interested in the very last line.
>>>
>>> Also let's keep all discussion in one place, in this thread. Having
>>> half the discussion in the bug report makes it a bit more challenging. 
>>> If
>>> it turns out there is a bug here (I'm not positive about this yet -- 
>>> other
>>> people have definitely used 2.5.13.1 with GitLab), we can move it there,
>>> but support is best done here.
>>>
>>> Christian
>>>
>>
>>> On Mon, Jul 17, 2017 at 10:07 PM,  wrote:
>>>
 there is no proxy on the network neither on gitlab server. tried
 the integration with gitlab.com also it also fails.
 review board 2.5.13.1 , gitlab version 8.5.4

 On Friday, July 14, 2017 at 4:11:35 AM UTC+5:30, Christian Hammond
 wrote:
>
> Hi,
>
> Are you using a HTTP Proxy for outbound HTTP requests in your
> network?
>

Re: gitlab integration fails

2017-07-19 Thread Christian Hammond
PyCrypto is different from cryptography. I'd be interested in knowing what
version of that might be on the system running 2.5.13.1. This is the only
newer factor I can think of that could interfere on our end with any
SSL-related communications.

Christian

On Wed, Jul 19, 2017 at 1:56 AM, Paramjeet Singh 
wrote:

> hi,
>
> yes python crypto(pycrypto) 2.6.1 is installed.
>
>  this configuration for reviewboard 2.5.13.1 is tried on ubuntu 16.04 LTS
> and Red Hat Enterprise Linux 7.2 did't worked on any of them.
>
>
> regards
> paramjeet singh
>
> On Wed, Jul 19, 2017 at 2:17 PM, Christian Hammond <
> christ...@beanbaginc.com> wrote:
>
>> Can you see what version of the Python cryptography module is installed?
>>
>> Christian
>>
>> On Wed, Jul 19, 2017 at 1:46 AM, Paramjeet Singh <
>> paramjeet.si...@abspl.in> wrote:
>>
>>> yes i have installed 2.5.0 and it worked fine very comfortably. will try
>>> other versions and will see when it breaks and post it here soon.
>>>
>>> and yes password has been changed.
>>>
>>>
>>> regards
>>> paramjeet singh
>>>
>>>
>>>
>>> On Tue, Jul 18, 2017 at 8:31 PM, Christian Hammond <
>>> christ...@beanbaginc.com> wrote:
>>>
 Okay, looks like that worked.

 Did you install 2.5.0, then? It'd be helpful to try upgrading a few
 versions at a time, figure out when it breaks.

 Also, the details you posted include confidential information on your
 account. Only the last line should have been provided here. You'll want to
 reset your password and any tokens on GitLab.

 Christian


 On Tue, Jul 18, 2017 at 00:30  wrote:

> hi christian,
>
> first of all sorry for mixing up things on two places i am just a
> beginner. will keep discussion here only from now onwards.
>
> however installing revieboard 2.5 instead of 2.5.13.1 did it for me
> with the same configuration and its working smoothly fir now on version 
> 2.5.
>
> reviewboard is installed on ubuntu 16.04 LTS
>
>
> by executing the mentioned command i got this output :
>
> {"name":"Pxxt Singh","username":"xxx
> xxx","id":43,"state":"active","avatar_url":null,"web_url":"h
> ttp://xx.net/u/","created_at":"2016-12-0
> 9T09:20:02.303Z","is_admin":false,"bio":"","skype":"","linke
> din":"","twitter":"","website_url":"","email":"paramjeet.
> si...@abspl.in","theme_id":2,"color_scheme_id":1,"projects_
> limit":20,"current_sign_in_at":"2017-07-18T04:56:49.273Z","
> identities":[],"can_create_group":true,"can_create_projec
> t":true,"two_factor_enabled":false,"private_token":"2Mjz_
> Tg-CDGNWocxnmc5"}
> 201
>
> regards
> On Tuesday, July 18, 2017 at 12:35:13 PM UTC+5:30, Christian Hammond
> wrote:
>
>> What Linux distribution is Review Board installed on?
>>
>> 2.5.13.1 is definitely compatible with GitLab, and it's not a bug in
>> Review Board. There is something impacting the communication between the
>> servers. As for what that is, I'm not sure yet.
>>
>> From the terminal on your Linux server hosting Review Board, try
>> running:
>>
>> python -c "import urllib; res = urllib.urlopen('https://YOUR_G
>> ITLAB/api/v3/session/', 
>> 'login=YOUR_GITLAB_USERNAME=YOUR_GITLAB_PASSWORD');
>> print res.read(); print res.code"
>>
>> See what that says. I'm mostly interested in the very last line.
>>
>> Also let's keep all discussion in one place, in this thread. Having
>> half the discussion in the bug report makes it a bit more challenging. If
>> it turns out there is a bug here (I'm not positive about this yet -- 
>> other
>> people have definitely used 2.5.13.1 with GitLab), we can move it there,
>> but support is best done here.
>>
>> Christian
>>
>
>> On Mon, Jul 17, 2017 at 10:07 PM,  wrote:
>>
>>> there is no proxy on the network neither on gitlab server. tried the
>>> integration with gitlab.com also it also fails.
>>> review board 2.5.13.1 , gitlab version 8.5.4
>>>
>>> On Friday, July 14, 2017 at 4:11:35 AM UTC+5:30, Christian Hammond
>>> wrote:

 Hi,

 Are you using a HTTP Proxy for outbound HTTP requests in your
 network?

 Something either in-between Review Board and GitLab, or on the
 GitLab server itself, is returning a HTTP 502 Bad Gateway when 
 attempting
 to communicate. It could be a HTTP Proxy that's unintentionally being 
 used,
 or it could be something on the GitLab server (you'd have to dig into
 access logs on the GitLab server to see).

 Christian

 On Thu, Jul 13, 2017 at 6:23 AM,  wrote:

> hi,
> i am getting this error 

Re: gitlab integration fails

2017-07-19 Thread Paramjeet Singh
hi,

yes python crypto(pycrypto) 2.6.1 is installed.

 this configuration for reviewboard 2.5.13.1 is tried on ubuntu 16.04 LTS
and Red Hat Enterprise Linux 7.2 did't worked on any of them.


regards
paramjeet singh

On Wed, Jul 19, 2017 at 2:17 PM, Christian Hammond  wrote:

> Can you see what version of the Python cryptography module is installed?
>
> Christian
>
> On Wed, Jul 19, 2017 at 1:46 AM, Paramjeet Singh  > wrote:
>
>> yes i have installed 2.5.0 and it worked fine very comfortably. will try
>> other versions and will see when it breaks and post it here soon.
>>
>> and yes password has been changed.
>>
>>
>> regards
>> paramjeet singh
>>
>>
>>
>> On Tue, Jul 18, 2017 at 8:31 PM, Christian Hammond <
>> christ...@beanbaginc.com> wrote:
>>
>>> Okay, looks like that worked.
>>>
>>> Did you install 2.5.0, then? It'd be helpful to try upgrading a few
>>> versions at a time, figure out when it breaks.
>>>
>>> Also, the details you posted include confidential information on your
>>> account. Only the last line should have been provided here. You'll want to
>>> reset your password and any tokens on GitLab.
>>>
>>> Christian
>>>
>>>
>>> On Tue, Jul 18, 2017 at 00:30  wrote:
>>>
 hi christian,

 first of all sorry for mixing up things on two places i am just a
 beginner. will keep discussion here only from now onwards.

 however installing revieboard 2.5 instead of 2.5.13.1 did it for me
 with the same configuration and its working smoothly fir now on version 
 2.5.

 reviewboard is installed on ubuntu 16.04 LTS


 by executing the mentioned command i got this output :

 {"name":"Pxxt Singh","username":"xxx
 xxx","id":43,"state":"active","avatar_url":null,"web_url":"h
 ttp://xx.net/u/","created_at":"2016-12-
 09T09:20:02.303Z","is_admin":false,"bio":"","skype":"","
 linkedin":"","twitter":"","website_url":"","email":"param
 jeet.si...@abspl.in","theme_id":2,"color_scheme_id":1,"proje
 cts_limit":20,"current_sign_in_at":"2017-07-18T04:56:49.
 273Z","identities":[],"can_create_group":true,"can_create_
 project":true,"two_factor_enabled":false,"private_token"
 :"2Mjz_Tg-CDGNWocxnmc5"}
 201

 regards
 On Tuesday, July 18, 2017 at 12:35:13 PM UTC+5:30, Christian Hammond
 wrote:

> What Linux distribution is Review Board installed on?
>
> 2.5.13.1 is definitely compatible with GitLab, and it's not a bug in
> Review Board. There is something impacting the communication between the
> servers. As for what that is, I'm not sure yet.
>
> From the terminal on your Linux server hosting Review Board, try
> running:
>
> python -c "import urllib; res = urllib.urlopen('https://YOUR_G
> ITLAB/api/v3/session/', 
> 'login=YOUR_GITLAB_USERNAME=YOUR_GITLAB_PASSWORD');
> print res.read(); print res.code"
>
> See what that says. I'm mostly interested in the very last line.
>
> Also let's keep all discussion in one place, in this thread. Having
> half the discussion in the bug report makes it a bit more challenging. If
> it turns out there is a bug here (I'm not positive about this yet -- other
> people have definitely used 2.5.13.1 with GitLab), we can move it there,
> but support is best done here.
>
> Christian
>

> On Mon, Jul 17, 2017 at 10:07 PM,  wrote:
>
>> there is no proxy on the network neither on gitlab server. tried the
>> integration with gitlab.com also it also fails.
>> review board 2.5.13.1 , gitlab version 8.5.4
>>
>> On Friday, July 14, 2017 at 4:11:35 AM UTC+5:30, Christian Hammond
>> wrote:
>>>
>>> Hi,
>>>
>>> Are you using a HTTP Proxy for outbound HTTP requests in your
>>> network?
>>>
>>> Something either in-between Review Board and GitLab, or on the
>>> GitLab server itself, is returning a HTTP 502 Bad Gateway when 
>>> attempting
>>> to communicate. It could be a HTTP Proxy that's unintentionally being 
>>> used,
>>> or it could be something on the GitLab server (you'd have to dig into
>>> access logs on the GitLab server to see).
>>>
>>> Christian
>>>
>>> On Thu, Jul 13, 2017 at 6:23 AM,  wrote:
>>>
 hi,
 i am getting this error while try to at selfhosted gitlab repo to
 review board.


 


 error logs :

 HostingServiceError: Unexpected HTTP error 502.

 2017-07-13 13:14:26,852 - ERROR -  - root - Unexpected HTTP error
 when linking GitLab account for gauravs: HTTP Error 502: Bad 

Re: gitlab integration fails

2017-07-19 Thread Christian Hammond
Can you see what version of the Python cryptography module is installed?

Christian

On Wed, Jul 19, 2017 at 1:46 AM, Paramjeet Singh 
wrote:

> yes i have installed 2.5.0 and it worked fine very comfortably. will try
> other versions and will see when it breaks and post it here soon.
>
> and yes password has been changed.
>
>
> regards
> paramjeet singh
>
>
>
> On Tue, Jul 18, 2017 at 8:31 PM, Christian Hammond <
> christ...@beanbaginc.com> wrote:
>
>> Okay, looks like that worked.
>>
>> Did you install 2.5.0, then? It'd be helpful to try upgrading a few
>> versions at a time, figure out when it breaks.
>>
>> Also, the details you posted include confidential information on your
>> account. Only the last line should have been provided here. You'll want to
>> reset your password and any tokens on GitLab.
>>
>> Christian
>>
>>
>> On Tue, Jul 18, 2017 at 00:30  wrote:
>>
>>> hi christian,
>>>
>>> first of all sorry for mixing up things on two places i am just a
>>> beginner. will keep discussion here only from now onwards.
>>>
>>> however installing revieboard 2.5 instead of 2.5.13.1 did it for me with
>>> the same configuration and its working smoothly fir now on version 2.5.
>>>
>>> reviewboard is installed on ubuntu 16.04 LTS
>>>
>>>
>>> by executing the mentioned command i got this output :
>>>
>>> {"name":"Pxxt Singh","username":"xxx
>>> xxx","id":43,"state":"active","avatar_url":null,"web_url":"h
>>> ttp://xx.net/u/","created_at":"
>>> 2016-12-09T09:20:02.303Z","is_admin":false,"bio":"","skype":
>>> "","linkedin":"","twitter":"","website_url":"","email":"para
>>> mjeet.si...@abspl.in","theme_id":2,"color_scheme_id":1,"
>>> projects_limit":20,"current_sign_in_at":"2017-07-18T04:56:
>>> 49.273Z","identities":[],"can_create_group":true,"can_
>>> create_project":true,"two_factor_enabled":false,"
>>> private_token":"2Mjz_Tg-CDGNWocxnmc5"}
>>> 201
>>>
>>> regards
>>> On Tuesday, July 18, 2017 at 12:35:13 PM UTC+5:30, Christian Hammond
>>> wrote:
>>>
 What Linux distribution is Review Board installed on?

 2.5.13.1 is definitely compatible with GitLab, and it's not a bug in
 Review Board. There is something impacting the communication between the
 servers. As for what that is, I'm not sure yet.

 From the terminal on your Linux server hosting Review Board, try
 running:

 python -c "import urllib; res = urllib.urlopen('https://YOUR_G
 ITLAB/api/v3/session/', 
 'login=YOUR_GITLAB_USERNAME=YOUR_GITLAB_PASSWORD');
 print res.read(); print res.code"

 See what that says. I'm mostly interested in the very last line.

 Also let's keep all discussion in one place, in this thread. Having
 half the discussion in the bug report makes it a bit more challenging. If
 it turns out there is a bug here (I'm not positive about this yet -- other
 people have definitely used 2.5.13.1 with GitLab), we can move it there,
 but support is best done here.

 Christian

>>>
 On Mon, Jul 17, 2017 at 10:07 PM,  wrote:

> there is no proxy on the network neither on gitlab server. tried the
> integration with gitlab.com also it also fails.
> review board 2.5.13.1 , gitlab version 8.5.4
>
> On Friday, July 14, 2017 at 4:11:35 AM UTC+5:30, Christian Hammond
> wrote:
>>
>> Hi,
>>
>> Are you using a HTTP Proxy for outbound HTTP requests in your network?
>>
>> Something either in-between Review Board and GitLab, or on the GitLab
>> server itself, is returning a HTTP 502 Bad Gateway when attempting to
>> communicate. It could be a HTTP Proxy that's unintentionally being used, 
>> or
>> it could be something on the GitLab server (you'd have to dig into access
>> logs on the GitLab server to see).
>>
>> Christian
>>
>> On Thu, Jul 13, 2017 at 6:23 AM,  wrote:
>>
>>> hi,
>>> i am getting this error while try to at selfhosted gitlab repo to
>>> review board.
>>>
>>>
>>> 
>>>
>>>
>>> error logs :
>>>
>>> HostingServiceError: Unexpected HTTP error 502.
>>>
>>> 2017-07-13 13:14:26,852 - ERROR -  - root - Unexpected HTTP error
>>> when linking GitLab account for gauravs: HTTP Error 502: Bad Gateway
>>>
>>> Traceback (most recent call last):
>>>
>>>   File 
>>> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/gitlab.py",
>>> line 245, in authorize
>>>
>>> 'password': password,
>>>
>>>   File 
>>> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/service.py",
>>> line 383, in json_post
>>>
>>> return self._do_json_method(self.http_post, *args, **kwargs)

Re: gitlab integration fails

2017-07-19 Thread Paramjeet Singh
yes i have installed 2.5.0 and it worked fine very comfortably. will try
other versions and will see when it breaks and post it here soon.

and yes password has been changed.


regards
paramjeet singh



On Tue, Jul 18, 2017 at 8:31 PM, Christian Hammond  wrote:

> Okay, looks like that worked.
>
> Did you install 2.5.0, then? It'd be helpful to try upgrading a few
> versions at a time, figure out when it breaks.
>
> Also, the details you posted include confidential information on your
> account. Only the last line should have been provided here. You'll want to
> reset your password and any tokens on GitLab.
>
> Christian
>
>
> On Tue, Jul 18, 2017 at 00:30  wrote:
>
>> hi christian,
>>
>> first of all sorry for mixing up things on two places i am just a
>> beginner. will keep discussion here only from now onwards.
>>
>> however installing revieboard 2.5 instead of 2.5.13.1 did it for me with
>> the same configuration and its working smoothly fir now on version 2.5.
>>
>> reviewboard is installed on ubuntu 16.04 LTS
>>
>>
>> by executing the mentioned command i got this output :
>>
>> {"name":"Pxxt Singh","username":"xx","id":43,"
>> state":"active","avatar_url":null,"web_url":"http://
>> xx.net/u/","created_at":"2016-12-09T09:
>> 20:02.303Z","is_admin":false,"bio":"","skype":"","linkedin":
>> "","twitter":"","website_url":"","email":"paramjeet.si...@abspl.in
>> ","theme_id":2,"color_scheme_id":1,"projects_limit":
>> 20,"current_sign_in_at":"2017-07-18T04:56:49.273Z","
>> identities":[],"can_create_group":true,"can_create_
>> project":true,"two_factor_enabled":false,"private_token"
>> :"2Mjz_Tg-CDGNWocxnmc5"}
>> 201
>>
>> regards
>> On Tuesday, July 18, 2017 at 12:35:13 PM UTC+5:30, Christian Hammond
>> wrote:
>>
>>> What Linux distribution is Review Board installed on?
>>>
>>> 2.5.13.1 is definitely compatible with GitLab, and it's not a bug in
>>> Review Board. There is something impacting the communication between the
>>> servers. As for what that is, I'm not sure yet.
>>>
>>> From the terminal on your Linux server hosting Review Board, try running:
>>>
>>> python -c "import urllib; res = urllib.urlopen('https://YOUR_
>>> GITLAB/api/v3/session/', 'login=YOUR_GITLAB_USERNAME&
>>> password=YOUR_GITLAB_PASSWORD'); print res.read(); print res.code"
>>>
>>> See what that says. I'm mostly interested in the very last line.
>>>
>>> Also let's keep all discussion in one place, in this thread. Having half
>>> the discussion in the bug report makes it a bit more challenging. If it
>>> turns out there is a bug here (I'm not positive about this yet -- other
>>> people have definitely used 2.5.13.1 with GitLab), we can move it there,
>>> but support is best done here.
>>>
>>> Christian
>>>
>>
>>> On Mon, Jul 17, 2017 at 10:07 PM,  wrote:
>>>
 there is no proxy on the network neither on gitlab server. tried the
 integration with gitlab.com also it also fails.
 review board 2.5.13.1 , gitlab version 8.5.4

 On Friday, July 14, 2017 at 4:11:35 AM UTC+5:30, Christian Hammond
 wrote:
>
> Hi,
>
> Are you using a HTTP Proxy for outbound HTTP requests in your network?
>
> Something either in-between Review Board and GitLab, or on the GitLab
> server itself, is returning a HTTP 502 Bad Gateway when attempting to
> communicate. It could be a HTTP Proxy that's unintentionally being used, 
> or
> it could be something on the GitLab server (you'd have to dig into access
> logs on the GitLab server to see).
>
> Christian
>
> On Thu, Jul 13, 2017 at 6:23 AM,  wrote:
>
>> hi,
>> i am getting this error while try to at selfhosted gitlab repo to
>> review board.
>>
>>
>> 
>>
>>
>> error logs :
>>
>> HostingServiceError: Unexpected HTTP error 502.
>>
>> 2017-07-13 13:14:26,852 - ERROR -  - root - Unexpected HTTP error
>> when linking GitLab account for gauravs: HTTP Error 502: Bad Gateway
>>
>> Traceback (most recent call last):
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/gitlab.py",
>> line 245, in authorize
>>
>> 'password': password,
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/service.py",
>> line 383, in json_post
>>
>> return self._do_json_method(self.http_post, *args, **kwargs)
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/service.py",
>> line 412, in _do_json_method
>>
>> data, headers = method(*args, **kwargs)
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/service.py",
>> 

Re: gitlab integration fails

2017-07-18 Thread Christian Hammond
Okay, looks like that worked.

Did you install 2.5.0, then? It'd be helpful to try upgrading a few
versions at a time, figure out when it breaks.

Also, the details you posted include confidential information on your
account. Only the last line should have been provided here. You'll want to
reset your password and any tokens on GitLab.

Christian


On Tue, Jul 18, 2017 at 00:30  wrote:

> hi christian,
>
> first of all sorry for mixing up things on two places i am just a
> beginner. will keep discussion here only from now onwards.
>
> however installing revieboard 2.5 instead of 2.5.13.1 did it for me with
> the same configuration and its working smoothly fir now on version 2.5.
>
> reviewboard is installed on ubuntu 16.04 LTS
>
>
> by executing the mentioned command i got this output :
>
> {"name":"Pxxt
> Singh","username":"xx","id":43,"state":"active","avatar_url":null,"web_url":"
> http://xx.net/u/
> ","created_at":"2016-12-09T09:20:02.303Z","is_admin":false,"bio":"","skype":"","linkedin":"","twitter":"","website_url":"","email":"
> paramjeet.si...@abspl.in
> ","theme_id":2,"color_scheme_id":1,"projects_limit":20,"current_sign_in_at":"2017-07-18T04:56:49.273Z","identities":[],"can_create_group":true,"can_create_project":true,"two_factor_enabled":false,"private_token":"2Mjz_Tg-CDGNWocxnmc5"}
> 201
>
> regards
> On Tuesday, July 18, 2017 at 12:35:13 PM UTC+5:30, Christian Hammond wrote:
>
>> What Linux distribution is Review Board installed on?
>>
>> 2.5.13.1 is definitely compatible with GitLab, and it's not a bug in
>> Review Board. There is something impacting the communication between the
>> servers. As for what that is, I'm not sure yet.
>>
>> From the terminal on your Linux server hosting Review Board, try running:
>>
>> python -c "import urllib; res = urllib.urlopen('
>> https://YOUR_GITLAB/api/v3/session/',
>> 'login=YOUR_GITLAB_USERNAME=YOUR_GITLAB_PASSWORD'); print
>> res.read(); print res.code"
>>
>> See what that says. I'm mostly interested in the very last line.
>>
>> Also let's keep all discussion in one place, in this thread. Having half
>> the discussion in the bug report makes it a bit more challenging. If it
>> turns out there is a bug here (I'm not positive about this yet -- other
>> people have definitely used 2.5.13.1 with GitLab), we can move it there,
>> but support is best done here.
>>
>> Christian
>>
>
>> On Mon, Jul 17, 2017 at 10:07 PM,  wrote:
>>
>>> there is no proxy on the network neither on gitlab server. tried the
>>> integration with gitlab.com also it also fails.
>>> review board 2.5.13.1 , gitlab version 8.5.4
>>>
>>> On Friday, July 14, 2017 at 4:11:35 AM UTC+5:30, Christian Hammond wrote:

 Hi,

 Are you using a HTTP Proxy for outbound HTTP requests in your network?

 Something either in-between Review Board and GitLab, or on the GitLab
 server itself, is returning a HTTP 502 Bad Gateway when attempting to
 communicate. It could be a HTTP Proxy that's unintentionally being used, or
 it could be something on the GitLab server (you'd have to dig into access
 logs on the GitLab server to see).

 Christian

 On Thu, Jul 13, 2017 at 6:23 AM,  wrote:

> hi,
> i am getting this error while try to at selfhosted gitlab repo to
> review board.
>
>
> 
>
>
> error logs :
>
> HostingServiceError: Unexpected HTTP error 502.
>
> 2017-07-13 13:14:26,852 - ERROR -  - root - Unexpected HTTP error when
> linking GitLab account for gauravs: HTTP Error 502: Bad Gateway
>
> Traceback (most recent call last):
>
>   File
> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/gitlab.py",
> line 245, in authorize
>
> 'password': password,
>
>   File
> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/service.py",
> line 383, in json_post
>
> return self._do_json_method(self.http_post, *args, **kwargs)
>
>   File
> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/service.py",
> line 412, in _do_json_method
>
> data, headers = method(*args, **kwargs)
>
>   File
> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/service.py",
> line 245, in http_post
>
> method='POST', **kwargs)
>
>   File
> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/service.py",
> line 293, in http_request
>
> response = urlopen(request)
>
>   File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
>
> return opener.open(url, data, timeout)
>
>   File "/usr/lib/python2.7/urllib2.py", line 435, in open
>
> 

Re: gitlab integration fails

2017-07-18 Thread paramjeet . singh
hi christian,

first of all sorry for mixing up things on two places i am just a beginner. 
will keep discussion here only from now onwards. 

however installing revieboard 2.5 instead of 2.5.13.1 did it for me with 
the same configuration and its working smoothly fir now on version 2.5.

reviewboard is installed on ubuntu 16.04 LTS


by executing the mentioned command i got this output :

{"name":"Pxxt 
Singh","username":"xx","id":43,"state":"active","avatar_url":null,"web_url":"http://xx.net/u/","created_at":"2016-12-09T09:20:02.303Z","is_admin":false,"bio":"","skype":"","linkedin":"","twitter":"","website_url":"","email":"paramjeet.si...@abspl.in","theme_id":2,"color_scheme_id":1,"projects_limit":20,"current_sign_in_at":"2017-07-18T04:56:49.273Z","identities":[],"can_create_group":true,"can_create_project":true,"two_factor_enabled":false,"private_token":"2Mjz_Tg-CDGNWocxnmc5"}
201

regards
On Tuesday, July 18, 2017 at 12:35:13 PM UTC+5:30, Christian Hammond wrote:
>
> What Linux distribution is Review Board installed on?
>
> 2.5.13.1 is definitely compatible with GitLab, and it's not a bug in 
> Review Board. There is something impacting the communication between the 
> servers. As for what that is, I'm not sure yet.
>
> From the terminal on your Linux server hosting Review Board, try running:
>
> python -c "import urllib; res = urllib.urlopen('
> https://YOUR_GITLAB/api/v3/session/', 
> 'login=YOUR_GITLAB_USERNAME=YOUR_GITLAB_PASSWORD'); print 
> res.read(); print res.code"
>
> See what that says. I'm mostly interested in the very last line.
>
> Also let's keep all discussion in one place, in this thread. Having half 
> the discussion in the bug report makes it a bit more challenging. If it 
> turns out there is a bug here (I'm not positive about this yet -- other 
> people have definitely used 2.5.13.1 with GitLab), we can move it there, 
> but support is best done here.
>
> Christian
>
> On Mon, Jul 17, 2017 at 10:07 PM,  
> wrote:
>
>> there is no proxy on the network neither on gitlab server. tried the 
>> integration with gitlab.com also it also fails.
>> review board 2.5.13.1 , gitlab version 8.5.4
>>
>> On Friday, July 14, 2017 at 4:11:35 AM UTC+5:30, Christian Hammond wrote:
>>>
>>> Hi,
>>>
>>> Are you using a HTTP Proxy for outbound HTTP requests in your network?
>>>
>>> Something either in-between Review Board and GitLab, or on the GitLab 
>>> server itself, is returning a HTTP 502 Bad Gateway when attempting to 
>>> communicate. It could be a HTTP Proxy that's unintentionally being used, or 
>>> it could be something on the GitLab server (you'd have to dig into access 
>>> logs on the GitLab server to see).
>>>
>>> Christian
>>>
>>> On Thu, Jul 13, 2017 at 6:23 AM,  wrote:
>>>
 hi,
 i am getting this error while try to at selfhosted gitlab repo to 
 review board.


 


 error logs :

 HostingServiceError: Unexpected HTTP error 502.

 2017-07-13 13:14:26,852 - ERROR -  - root - Unexpected HTTP error when 
 linking GitLab account for gauravs: HTTP Error 502: Bad Gateway

 Traceback (most recent call last):

   File 
 "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/gitlab.py",
  
 line 245, in authorize

 'password': password,

   File 
 "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/service.py",
  
 line 383, in json_post

 return self._do_json_method(self.http_post, *args, **kwargs)

   File 
 "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/service.py",
  
 line 412, in _do_json_method

 data, headers = method(*args, **kwargs)

   File 
 "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/service.py",
  
 line 245, in http_post

 method='POST', **kwargs)

   File 
 "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/service.py",
  
 line 293, in http_request

 response = urlopen(request)

   File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen

 return opener.open(url, data, timeout)

   File "/usr/lib/python2.7/urllib2.py", line 435, in open

 response = meth(req, response)

   File "/usr/lib/python2.7/urllib2.py", line 548, in http_response

 'http', request, response, code, msg, hdrs)

   File "/usr/lib/python2.7/urllib2.py", line 473, in error

 return self._call_chain(*args)

   File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain

 result = func(*args)

   File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default

 raise 

Re: gitlab integration fails

2017-07-18 Thread Christian Hammond
What Linux distribution is Review Board installed on?

2.5.13.1 is definitely compatible with GitLab, and it's not a bug in Review
Board. There is something impacting the communication between the servers.
As for what that is, I'm not sure yet.

>From the terminal on your Linux server hosting Review Board, try running:

python -c "import urllib; res = urllib.urlopen('
https://YOUR_GITLAB/api/v3/session/',
'login=YOUR_GITLAB_USERNAME=YOUR_GITLAB_PASSWORD'); print
res.read(); print res.code"

See what that says. I'm mostly interested in the very last line.

Also let's keep all discussion in one place, in this thread. Having half
the discussion in the bug report makes it a bit more challenging. If it
turns out there is a bug here (I'm not positive about this yet -- other
people have definitely used 2.5.13.1 with GitLab), we can move it there,
but support is best done here.

Christian

On Mon, Jul 17, 2017 at 10:07 PM,  wrote:

> there is no proxy on the network neither on gitlab server. tried the
> integration with gitlab.com also it also fails.
> review board 2.5.13.1 , gitlab version 8.5.4
>
> On Friday, July 14, 2017 at 4:11:35 AM UTC+5:30, Christian Hammond wrote:
>>
>> Hi,
>>
>> Are you using a HTTP Proxy for outbound HTTP requests in your network?
>>
>> Something either in-between Review Board and GitLab, or on the GitLab
>> server itself, is returning a HTTP 502 Bad Gateway when attempting to
>> communicate. It could be a HTTP Proxy that's unintentionally being used, or
>> it could be something on the GitLab server (you'd have to dig into access
>> logs on the GitLab server to see).
>>
>> Christian
>>
>> On Thu, Jul 13, 2017 at 6:23 AM,  wrote:
>>
>>> hi,
>>> i am getting this error while try to at selfhosted gitlab repo to review
>>> board.
>>>
>>>
>>> 
>>>
>>>
>>> error logs :
>>>
>>> HostingServiceError: Unexpected HTTP error 502.
>>>
>>> 2017-07-13 13:14:26,852 - ERROR -  - root - Unexpected HTTP error when
>>> linking GitLab account for gauravs: HTTP Error 502: Bad Gateway
>>>
>>> Traceback (most recent call last):
>>>
>>>   File 
>>> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/gitlab.py",
>>> line 245, in authorize
>>>
>>> 'password': password,
>>>
>>>   File 
>>> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/service.py",
>>> line 383, in json_post
>>>
>>> return self._do_json_method(self.http_post, *args, **kwargs)
>>>
>>>   File 
>>> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/service.py",
>>> line 412, in _do_json_method
>>>
>>> data, headers = method(*args, **kwargs)
>>>
>>>   File 
>>> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/service.py",
>>> line 245, in http_post
>>>
>>> method='POST', **kwargs)
>>>
>>>   File 
>>> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/service.py",
>>> line 293, in http_request
>>>
>>> response = urlopen(request)
>>>
>>>   File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
>>>
>>> return opener.open(url, data, timeout)
>>>
>>>   File "/usr/lib/python2.7/urllib2.py", line 435, in open
>>>
>>> response = meth(req, response)
>>>
>>>   File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
>>>
>>> 'http', request, response, code, msg, hdrs)
>>>
>>>   File "/usr/lib/python2.7/urllib2.py", line 473, in error
>>>
>>> return self._call_chain(*args)
>>>
>>>   File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
>>>
>>> result = func(*args)
>>>
>>>   File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default
>>>
>>> raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
>>>
>>> HTTPError: HTTP Error 502: Bad Gateway
>>>
>>> 2017-07-13 13:14:26,856 - ERROR -  - root - Unknown error linking
>>> hosting account ID=None for hosting service='gitlab', username=u'gauravs',
>>> LocalSite=None
>>>
>>> Traceback (most recent call last):
>>>
>>>   File 
>>> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/forms.py",
>>> line 348, in save
>>>
>>> **extra_authorize_kwargs)
>>>
>>>   File 
>>> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/gitlab.py",
>>> line 261, in authorize
>>>
>>> % e.code)
>>>
>>> HostingServiceError: Unexpected HTTP error 502.
>>>
>>> 2017-07-13 13:14:26,857 - ERROR -  - root - Unexpected error when
>>> linking hosting service account on gitlab: Unexpected HTTP error 502.
>>>
>>> Traceback (most recent call last):
>>>
>>>   File 
>>> "/usr/local/lib/python2.7/dist-packages/reviewboard/scmtools/forms.py",
>>> line 669, in _clean_hosting_info
>>>
>>> force_authorize=force_authorize)
>>>
>>>   File 
>>> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/forms.py",
>>> line 348, in save
>>>
>>> **extra_authorize_kwargs)
>>>
>>>   File 
>>> 

Re: gitlab integration fails

2017-07-17 Thread paramjeet . singh
there is no proxy on the network neither on gitlab server. tried the 
integration with gitlab.com also it also fails.
review board 2.5.13.1 , gitlab version 8.5.4

On Friday, July 14, 2017 at 4:11:35 AM UTC+5:30, Christian Hammond wrote:
>
> Hi,
>
> Are you using a HTTP Proxy for outbound HTTP requests in your network?
>
> Something either in-between Review Board and GitLab, or on the GitLab 
> server itself, is returning a HTTP 502 Bad Gateway when attempting to 
> communicate. It could be a HTTP Proxy that's unintentionally being used, or 
> it could be something on the GitLab server (you'd have to dig into access 
> logs on the GitLab server to see).
>
> Christian
>
> On Thu, Jul 13, 2017 at 6:23 AM,  
> wrote:
>
>> hi,
>> i am getting this error while try to at selfhosted gitlab repo to review 
>> board.
>>
>>
>> 
>>
>>
>> error logs :
>>
>> HostingServiceError: Unexpected HTTP error 502.
>>
>> 2017-07-13 13:14:26,852 - ERROR -  - root - Unexpected HTTP error when 
>> linking GitLab account for gauravs: HTTP Error 502: Bad Gateway
>>
>> Traceback (most recent call last):
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/gitlab.py", 
>> line 245, in authorize
>>
>> 'password': password,
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/service.py", 
>> line 383, in json_post
>>
>> return self._do_json_method(self.http_post, *args, **kwargs)
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/service.py", 
>> line 412, in _do_json_method
>>
>> data, headers = method(*args, **kwargs)
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/service.py", 
>> line 245, in http_post
>>
>> method='POST', **kwargs)
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/service.py", 
>> line 293, in http_request
>>
>> response = urlopen(request)
>>
>>   File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
>>
>> return opener.open(url, data, timeout)
>>
>>   File "/usr/lib/python2.7/urllib2.py", line 435, in open
>>
>> response = meth(req, response)
>>
>>   File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
>>
>> 'http', request, response, code, msg, hdrs)
>>
>>   File "/usr/lib/python2.7/urllib2.py", line 473, in error
>>
>> return self._call_chain(*args)
>>
>>   File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
>>
>> result = func(*args)
>>
>>   File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default
>>
>> raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
>>
>> HTTPError: HTTP Error 502: Bad Gateway
>>
>> 2017-07-13 13:14:26,856 - ERROR -  - root - Unknown error linking hosting 
>> account ID=None for hosting service='gitlab', username=u'gauravs', 
>> LocalSite=None
>>
>> Traceback (most recent call last):
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/forms.py", 
>> line 348, in save
>>
>> **extra_authorize_kwargs)
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/gitlab.py", 
>> line 261, in authorize
>>
>> % e.code)
>>
>> HostingServiceError: Unexpected HTTP error 502.
>>
>> 2017-07-13 13:14:26,857 - ERROR -  - root - Unexpected error when linking 
>> hosting service account on gitlab: Unexpected HTTP error 502.
>>
>> Traceback (most recent call last):
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/reviewboard/scmtools/forms.py", 
>> line 669, in _clean_hosting_info
>>
>> force_authorize=force_authorize)
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/forms.py", 
>> line 348, in save
>>
>> **extra_authorize_kwargs)
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/gitlab.py", 
>> line 261, in authorize
>>
>> % e.code)
>>
>> HostingServiceError: Unexpected HTTP error 502.
>>
>> i dont run gitlab on ssl thats why its http. any leads how can i fix it?
>>
>> -- 
>> Supercharge your Review Board with Power Pack: 
>> https://www.reviewboard.org/powerpack/
>> Want us to host Review Board for you? Check out RBCommons: 
>> https://rbcommons.com/
>> Happy user? Let us know! https://www.reviewboard.org/users/
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "reviewboard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to reviewboard...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Christian Hammond
> President/CEO of Beanbag 
> Makers of Review Board 
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? 

Re: gitlab integration fails

2017-07-17 Thread paramjeet . singh
hi christian,

thank you so much for you reply. i have checked and we are not using any 
proxy and this problem is occurring even on gitlab.com also. 

i am not able to add repository hosted on gitlab.com and getting same error 
for this.

i am using reviewboard 2.5.13.1 on ubuntu 16.04. any other leads i am not 
able to find whats going wrong here? 

On Friday, July 14, 2017 at 4:11:35 AM UTC+5:30, Christian Hammond wrote:
>
> Hi,
>
> Are you using a HTTP Proxy for outbound HTTP requests in your network?
>
> Something either in-between Review Board and GitLab, or on the GitLab 
> server itself, is returning a HTTP 502 Bad Gateway when attempting to 
> communicate. It could be a HTTP Proxy that's unintentionally being used, or 
> it could be something on the GitLab server (you'd have to dig into access 
> logs on the GitLab server to see).
>
> Christian
>
> On Thu, Jul 13, 2017 at 6:23 AM,  
> wrote:
>
>> hi,
>> i am getting this error while try to at selfhosted gitlab repo to review 
>> board.
>>
>>
>> 
>>
>>
>> error logs :
>>
>> HostingServiceError: Unexpected HTTP error 502.
>>
>> 2017-07-13 13:14:26,852 - ERROR -  - root - Unexpected HTTP error when 
>> linking GitLab account for gauravs: HTTP Error 502: Bad Gateway
>>
>> Traceback (most recent call last):
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/gitlab.py", 
>> line 245, in authorize
>>
>> 'password': password,
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/service.py", 
>> line 383, in json_post
>>
>> return self._do_json_method(self.http_post, *args, **kwargs)
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/service.py", 
>> line 412, in _do_json_method
>>
>> data, headers = method(*args, **kwargs)
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/service.py", 
>> line 245, in http_post
>>
>> method='POST', **kwargs)
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/service.py", 
>> line 293, in http_request
>>
>> response = urlopen(request)
>>
>>   File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
>>
>> return opener.open(url, data, timeout)
>>
>>   File "/usr/lib/python2.7/urllib2.py", line 435, in open
>>
>> response = meth(req, response)
>>
>>   File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
>>
>> 'http', request, response, code, msg, hdrs)
>>
>>   File "/usr/lib/python2.7/urllib2.py", line 473, in error
>>
>> return self._call_chain(*args)
>>
>>   File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
>>
>> result = func(*args)
>>
>>   File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default
>>
>> raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
>>
>> HTTPError: HTTP Error 502: Bad Gateway
>>
>> 2017-07-13 13:14:26,856 - ERROR -  - root - Unknown error linking hosting 
>> account ID=None for hosting service='gitlab', username=u'gauravs', 
>> LocalSite=None
>>
>> Traceback (most recent call last):
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/forms.py", 
>> line 348, in save
>>
>> **extra_authorize_kwargs)
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/gitlab.py", 
>> line 261, in authorize
>>
>> % e.code)
>>
>> HostingServiceError: Unexpected HTTP error 502.
>>
>> 2017-07-13 13:14:26,857 - ERROR -  - root - Unexpected error when linking 
>> hosting service account on gitlab: Unexpected HTTP error 502.
>>
>> Traceback (most recent call last):
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/reviewboard/scmtools/forms.py", 
>> line 669, in _clean_hosting_info
>>
>> force_authorize=force_authorize)
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/forms.py", 
>> line 348, in save
>>
>> **extra_authorize_kwargs)
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/gitlab.py", 
>> line 261, in authorize
>>
>> % e.code)
>>
>> HostingServiceError: Unexpected HTTP error 502.
>>
>> i dont run gitlab on ssl thats why its http. any leads how can i fix it?
>>
>> -- 
>> Supercharge your Review Board with Power Pack: 
>> https://www.reviewboard.org/powerpack/
>> Want us to host Review Board for you? Check out RBCommons: 
>> https://rbcommons.com/
>> Happy user? Let us know! https://www.reviewboard.org/users/
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "reviewboard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to reviewboard...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Christian Hammond
> President/CEO of Beanbag 

Re: gitlab integration fails

2017-07-13 Thread Christian Hammond
Hi,

Are you using a HTTP Proxy for outbound HTTP requests in your network?

Something either in-between Review Board and GitLab, or on the GitLab
server itself, is returning a HTTP 502 Bad Gateway when attempting to
communicate. It could be a HTTP Proxy that's unintentionally being used, or
it could be something on the GitLab server (you'd have to dig into access
logs on the GitLab server to see).

Christian

On Thu, Jul 13, 2017 at 6:23 AM,  wrote:

> hi,
> i am getting this error while try to at selfhosted gitlab repo to review
> board.
>
>
> 
>
>
> error logs :
>
> HostingServiceError: Unexpected HTTP error 502.
>
> 2017-07-13 13:14:26,852 - ERROR -  - root - Unexpected HTTP error when
> linking GitLab account for gauravs: HTTP Error 502: Bad Gateway
>
> Traceback (most recent call last):
>
>   File 
> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/gitlab.py",
> line 245, in authorize
>
> 'password': password,
>
>   File 
> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/service.py",
> line 383, in json_post
>
> return self._do_json_method(self.http_post, *args, **kwargs)
>
>   File 
> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/service.py",
> line 412, in _do_json_method
>
> data, headers = method(*args, **kwargs)
>
>   File 
> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/service.py",
> line 245, in http_post
>
> method='POST', **kwargs)
>
>   File 
> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/service.py",
> line 293, in http_request
>
> response = urlopen(request)
>
>   File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
>
> return opener.open(url, data, timeout)
>
>   File "/usr/lib/python2.7/urllib2.py", line 435, in open
>
> response = meth(req, response)
>
>   File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
>
> 'http', request, response, code, msg, hdrs)
>
>   File "/usr/lib/python2.7/urllib2.py", line 473, in error
>
> return self._call_chain(*args)
>
>   File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
>
> result = func(*args)
>
>   File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default
>
> raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
>
> HTTPError: HTTP Error 502: Bad Gateway
>
> 2017-07-13 13:14:26,856 - ERROR -  - root - Unknown error linking hosting
> account ID=None for hosting service='gitlab', username=u'gauravs',
> LocalSite=None
>
> Traceback (most recent call last):
>
>   File 
> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/forms.py",
> line 348, in save
>
> **extra_authorize_kwargs)
>
>   File 
> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/gitlab.py",
> line 261, in authorize
>
> % e.code)
>
> HostingServiceError: Unexpected HTTP error 502.
>
> 2017-07-13 13:14:26,857 - ERROR -  - root - Unexpected error when linking
> hosting service account on gitlab: Unexpected HTTP error 502.
>
> Traceback (most recent call last):
>
>   File "/usr/local/lib/python2.7/dist-packages/reviewboard/scmtools/forms.py",
> line 669, in _clean_hosting_info
>
> force_authorize=force_authorize)
>
>   File 
> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/forms.py",
> line 348, in save
>
> **extra_authorize_kwargs)
>
>   File 
> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/gitlab.py",
> line 261, in authorize
>
> % e.code)
>
> HostingServiceError: Unexpected HTTP error 502.
>
> i dont run gitlab on ssl thats why its http. any leads how can i fix it?
>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Christian Hammond
President/CEO of Beanbag 
Makers of Review Board 

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


gitlab integration fails

2017-07-13 Thread paramjeet . singh
hi,
i am getting this error while try to at selfhosted gitlab repo to review 
board.




error logs :

HostingServiceError: Unexpected HTTP error 502.

2017-07-13 13:14:26,852 - ERROR -  - root - Unexpected HTTP error when 
linking GitLab account for gauravs: HTTP Error 502: Bad Gateway

Traceback (most recent call last):

  File 
"/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/gitlab.py", 
line 245, in authorize

'password': password,

  File 
"/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/service.py", 
line 383, in json_post

return self._do_json_method(self.http_post, *args, **kwargs)

  File 
"/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/service.py", 
line 412, in _do_json_method

data, headers = method(*args, **kwargs)

  File 
"/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/service.py", 
line 245, in http_post

method='POST', **kwargs)

  File 
"/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/service.py", 
line 293, in http_request

response = urlopen(request)

  File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen

return opener.open(url, data, timeout)

  File "/usr/lib/python2.7/urllib2.py", line 435, in open

response = meth(req, response)

  File "/usr/lib/python2.7/urllib2.py", line 548, in http_response

'http', request, response, code, msg, hdrs)

  File "/usr/lib/python2.7/urllib2.py", line 473, in error

return self._call_chain(*args)

  File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain

result = func(*args)

  File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default

raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

HTTPError: HTTP Error 502: Bad Gateway

2017-07-13 13:14:26,856 - ERROR -  - root - Unknown error linking hosting 
account ID=None for hosting service='gitlab', username=u'gauravs', 
LocalSite=None

Traceback (most recent call last):

  File 
"/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/forms.py", 
line 348, in save

**extra_authorize_kwargs)

  File 
"/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/gitlab.py", 
line 261, in authorize

% e.code)

HostingServiceError: Unexpected HTTP error 502.

2017-07-13 13:14:26,857 - ERROR -  - root - Unexpected error when linking 
hosting service account on gitlab: Unexpected HTTP error 502.

Traceback (most recent call last):

  File 
"/usr/local/lib/python2.7/dist-packages/reviewboard/scmtools/forms.py", 
line 669, in _clean_hosting_info

force_authorize=force_authorize)

  File 
"/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/forms.py", 
line 348, in save

**extra_authorize_kwargs)

  File 
"/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/gitlab.py", 
line 261, in authorize

% e.code)

HostingServiceError: Unexpected HTTP error 502.

i dont run gitlab on ssl thats why its http. any leads how can i fix it?

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Using gitlab integration with self-signed SSL certificate

2016-12-01 Thread Mike Alexander

As of today, if you're running on a Linux system you'll need to have Python 
2.7.9 or better.  For Ubuntu that means you'll need the 16.04 or later 
version.

As Chris describes below, Python only started caring about certificates at 
all.  Unfortunately the implementation for Python less than 2.7.9 didn't 
use OpenSSL as the underlying support for the urlopen calls, which means 
the standard way of adding a certificate exception to your system wouldn't 
be used or checked on Linux systems.  Once you are using Python 2.7.9 or 
later however, you can simply add a certificate to your trusted set (which 
is what the OpenSSL libraries use for most distros) and it will work.

One point of note with this though, be sure you really have the full 
certificate chain when you add it.  Firefox for example won't give you the 
certificate of the root signing authority in a chain when you export the 
certificate.  For most corporate installations, this means you need to use 
another browser like Opera and explicitly export the root signing 
authority's key as well, or get it from your IT department.


On Thursday, July 7, 2016 at 10:30:17 AM UTC-7, udam.d...@gmail.com wrote:
>
> This is a temporary hack but I'm disabling all SSL cert validation by 
> doing:
>
> ssl._create_default_https_context = ssl._create_unverified_context
>
> inside the gitlab.py (doesn't really matter where we do this i guess).
>
> I'm on the latest RB 2.5.6.1 version using Python 2.7.10.
>
> Thanks!
>
> On Wednesday, July 6, 2016 at 11:37:31 PM UTC-7, Christian Hammond wrote:
>>
>> Hi,
>>
>> Can you show me the code you've used to skip over it, and let me know the 
>> version of Python you're using?
>>
>> Also, what version of Review Board?
>>
>> Christian
>>
>> -- 
>> Christian Hammond
>> President/CEO of Beanbag <https://www.beanbaginc.com/>
>> Makers of Review Board <https://www.reviewboard.org/>
>>
>> On Wed, Jul 6, 2016 at 11:06 PM, <udam.d...@gmail.com> wrote:
>>
>>> Hello,
>>>
>>> I switched to using the gitlab integration on ReviewBoard. Previously, I 
>>> was using a custom git repository setup on the local machine where I was 
>>> running a crontab to peridically update the local repos.
>>>
>>> ReviewBoard/Python was not happy with the self-signed cert. For now, 
>>> I've added some code in the reviewboard source to skip the ssl 
>>> verification. Wondering if there's a better way to configure this in 
>>> ReviewBoard so that when I upgrade RB, I won't have to keep disabling the 
>>> SSL verification.
>>>
>>> Thanks!
>>>  
>>>
>>> -- 
>>> Supercharge your Review Board with Power Pack: 
>>> https://www.reviewboard.org/powerpack/
>>> Want us to host Review Board for you? Check out RBCommons: 
>>> https://rbcommons.com/
>>> Happy user? Let us know! https://www.reviewboard.org/users/
>>> --- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "reviewboard" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to reviewboard...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Using gitlab integration with self-signed SSL certificate

2016-07-08 Thread Christian Hammond
Hi,

Thanks. I'd definitely like to get proper support for self-signed certs
going in Review Board. The reason it wasn't there before is that it's been
only somewhat recently that Python's HTTPS support even cared about proper
certificate verification. We didn't used to have to worry about it. We have
some support for handling self-signed certs for Subversion (which uses its
own cert verification), so getting this set up for other repos would be
good.

Patches welcome, of course :) And I'd be happy to show how that code works
today, and give a sense of what would need to be done.. pBut I'm adding a
task for us internally so we can track it.

Christian

-- 
Christian Hammond
President/CEO of Beanbag <https://www.beanbaginc.com/>
Makers of Review Board <https://www.reviewboard.org/>

On Thu, Jul 7, 2016 at 10:30 AM, <udam.dewar...@gmail.com> wrote:

> This is a temporary hack but I'm disabling all SSL cert validation by
> doing:
>
> ssl._create_default_https_context = ssl._create_unverified_context
>
> inside the gitlab.py (doesn't really matter where we do this i guess).
>
> I'm on the latest RB 2.5.6.1 version using Python 2.7.10.
>
> Thanks!
>
> On Wednesday, July 6, 2016 at 11:37:31 PM UTC-7, Christian Hammond wrote:
>>
>> Hi,
>>
>> Can you show me the code you've used to skip over it, and let me know the
>> version of Python you're using?
>>
>> Also, what version of Review Board?
>>
>> Christian
>>
>> --
>> Christian Hammond
>> President/CEO of Beanbag <https://www.beanbaginc.com/>
>> Makers of Review Board <https://www.reviewboard.org/>
>>
>> On Wed, Jul 6, 2016 at 11:06 PM, <udam.d...@gmail.com> wrote:
>>
>>> Hello,
>>>
>>> I switched to using the gitlab integration on ReviewBoard. Previously, I
>>> was using a custom git repository setup on the local machine where I was
>>> running a crontab to peridically update the local repos.
>>>
>>> ReviewBoard/Python was not happy with the self-signed cert. For now,
>>> I've added some code in the reviewboard source to skip the ssl
>>> verification. Wondering if there's a better way to configure this in
>>> ReviewBoard so that when I upgrade RB, I won't have to keep disabling the
>>> SSL verification.
>>>
>>> Thanks!
>>>
>>>
>>> --
>>> Supercharge your Review Board with Power Pack:
>>> https://www.reviewboard.org/powerpack/
>>> Want us to host Review Board for you? Check out RBCommons:
>>> https://rbcommons.com/
>>> Happy user? Let us know! https://www.reviewboard.org/users/
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "reviewboard" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to reviewboard...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Using gitlab integration with self-signed SSL certificate

2016-07-07 Thread udam . dewaraja
This is a temporary hack but I'm disabling all SSL cert validation by doing:

ssl._create_default_https_context = ssl._create_unverified_context

inside the gitlab.py (doesn't really matter where we do this i guess).

I'm on the latest RB 2.5.6.1 version using Python 2.7.10.

Thanks!

On Wednesday, July 6, 2016 at 11:37:31 PM UTC-7, Christian Hammond wrote:
>
> Hi,
>
> Can you show me the code you've used to skip over it, and let me know the 
> version of Python you're using?
>
> Also, what version of Review Board?
>
> Christian
>
> -- 
> Christian Hammond
> President/CEO of Beanbag <https://www.beanbaginc.com/>
> Makers of Review Board <https://www.reviewboard.org/>
>
> On Wed, Jul 6, 2016 at 11:06 PM, <udam.d...@gmail.com > 
> wrote:
>
>> Hello,
>>
>> I switched to using the gitlab integration on ReviewBoard. Previously, I 
>> was using a custom git repository setup on the local machine where I was 
>> running a crontab to peridically update the local repos.
>>
>> ReviewBoard/Python was not happy with the self-signed cert. For now, I've 
>> added some code in the reviewboard source to skip the ssl verification. 
>> Wondering if there's a better way to configure this in ReviewBoard so that 
>> when I upgrade RB, I won't have to keep disabling the SSL verification.
>>
>> Thanks!
>>  
>>
>> -- 
>> Supercharge your Review Board with Power Pack: 
>> https://www.reviewboard.org/powerpack/
>> Want us to host Review Board for you? Check out RBCommons: 
>> https://rbcommons.com/
>> Happy user? Let us know! https://www.reviewboard.org/users/
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "reviewboard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to reviewboard...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Using gitlab integration with self-signed SSL certificate

2016-07-07 Thread Christian Hammond
Hi,

Can you show me the code you've used to skip over it, and let me know the
version of Python you're using?

Also, what version of Review Board?

Christian

-- 
Christian Hammond
President/CEO of Beanbag <https://www.beanbaginc.com/>
Makers of Review Board <https://www.reviewboard.org/>

On Wed, Jul 6, 2016 at 11:06 PM, <udam.dewar...@gmail.com> wrote:

> Hello,
>
> I switched to using the gitlab integration on ReviewBoard. Previously, I
> was using a custom git repository setup on the local machine where I was
> running a crontab to peridically update the local repos.
>
> ReviewBoard/Python was not happy with the self-signed cert. For now, I've
> added some code in the reviewboard source to skip the ssl verification.
> Wondering if there's a better way to configure this in ReviewBoard so that
> when I upgrade RB, I won't have to keep disabling the SSL verification.
>
> Thanks!
>
>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Gitlab integration problem

2014-11-13 Thread Rajasiman Srinivasan
Thank you. You can mark this solved!

On Thursday, 13 November 2014 02:53:51 UTC+5:30, David Trowbridge wrote:

 You'll want to back up that directory, as well as your database. Whether 
 or not you back up the other apache configuration is up to you (the 
 important config files live in the site directory).

 -David

 On Wed, Nov 12, 2014 at 1:35 AM, Rajasiman Srinivasan raja...@gmail.com 
 javascript: wrote:

 Thanks for your reply! I had installed git on Windows without adding the 
 location to the PATH environment variable. Therefore rbt post/rbt 
 setup-repo was unable to execute git commands from cmd. After I added it, 
 it started working fine.

 Also, another question. If I want to do a daily backup of the reviewboard 
 installation, which folders do I include? Would 
 /var/www/reviewboard_installation_folder/ suffice? Lastly, should I 
 also be backing up the apache2 configuration files?

 Thank you!

 -
 Rajasiman

 On Wednesday, 12 November 2014 12:43:49 UTC+5:30, David Trowbridge wrote:

 It looks like your repository is configured correctly in the Review 
 Board admin.

 You won't see branches or commits in the New Review Request page 
 because this feature is currently only available for GitHub and SVN 
 repositories.

 If you've created the .reviewboardrc file yourself, you don't need to 
 run 'rbt setup-repo' (all that command does is prompt you for some 
 information and creates the file).

 All 'rbt' commands should be run from within a checkout of your 
 repository. It looks like you're probably not in the right directory in 
 your cmd prompt. If you are, then maybe something is going wrong with the 
 detection--can you re-run 'rbt post' with the --debug flag?

 -David

 On Tue, Nov 11, 2014 at 10:20 PM, Rajasiman Srinivasan 
 raja...@gmail.com wrote:

 Hello all,

 I'm setting up a Gitlab + ReviewBoard combination for a pilot project 
 at work. I've set up most of the things needed correctly but the Gitlab 
 branches/commits do not show up in the ReviewBoard site that I set up. 
 Here's my setup.

- Gitlab: 7.4.3
- ReviewBoard: 2.0.11

 Gitlab runs on server with IP address 192.168.0.104, ReviewBoard on 
 server with IP address 192.168.0.127. Both the websites are setup and are 
 working without throwing any errors. I've created a service 
 account(reviewboard_user) on Gitlab with 'Reporter' permissions to the 
 'group' of projects. Next, I created the SSH key for this account from 
 ReviewBoard and installed it onto the service account on Gitlab. I've 
 added 
 the Gitlab repository in ReviewBoard(Please see attached 
 screenshot: Repository added in Reviewboard.PNG).

 I then clicked on New Review Request from the homepage and was taken to 
 this screen(Please see attached screenshot: New Review Request.PNG). The 
 branches/commits were not being shown; so I clicked around and found that 
 I 
 need to set up rbtools and should create a file '.reviewboardrc' in the 
 root of my git repository and commit it(Please see attached 
 screenshot: RBTools setup.PNG). I use a Windows PC, so I created the file 
 in my local git repository and committed the file to Gitlab. Then I tried 
 running rbt post via cmd and was given a error.

 ERROR: The current directory does not contain a checkout from a 
 supported source code repository.


 After some more googling and reading around, I got to this page 
 https://www.reviewboard.org/docs/rbtools/dev/rbt/configuration/. 
 Tried running rbt setup-repo via cmd inside the root of the git 
 repository and got the same error message again.

 ERROR: The current directory does not contain a checkout from a 
 supported source code repository.


 What am I doing wrong here? As per this link 
 https://www.reviewboard.org/docs/manual/dev/admin/configuration/repositories/#git,
  
 git needs a local clone; whereas from Reviewboard v1.7.21 Gitlab is 
 natively 
 supported 
 http://feedback.gitlab.com/forums/176466-general/suggestions/4566001-expose-raw-object-search-via-the-gitlab-api.
  
 Please help me get this sorted out!

 Thanks in advance!

 -
 Rajasiman

 -- 
 Get the Review Board Power Pack at http://www.reviewboard.org/
 powerpack/
 ---
 Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
 ---
 Happy user? Let us know at http://www.reviewboard.org/users/
 --- 
 You received this message because you are subscribed to the Google 
 Groups reviewboard group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to reviewboard...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


  -- 
 Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
 ---
 Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
 ---
 Happy user? Let us know at http://www.reviewboard.org/users/
 --- 
 You received this message because you are subscribed to the Google Groups 
 reviewboard group.
 To unsubscribe from this group and stop receiving emails from it, send an 

Re: Gitlab integration problem

2014-11-12 Thread Rajasiman Srinivasan
Thanks for your reply! I had installed git on Windows without adding the 
location to the PATH environment variable. Therefore rbt post/rbt 
setup-repo was unable to execute git commands from cmd. After I added it, 
it started working fine.

Also, another question. If I want to do a daily backup of the reviewboard 
installation, which folders do I include? Would 
/var/www/reviewboard_installation_folder/ suffice? Lastly, should I also 
be backing up the apache2 configuration files?

Thank you!

-
Rajasiman

On Wednesday, 12 November 2014 12:43:49 UTC+5:30, David Trowbridge wrote:

 It looks like your repository is configured correctly in the Review Board 
 admin.

 You won't see branches or commits in the New Review Request page because 
 this feature is currently only available for GitHub and SVN repositories.

 If you've created the .reviewboardrc file yourself, you don't need to run 
 'rbt setup-repo' (all that command does is prompt you for some information 
 and creates the file).

 All 'rbt' commands should be run from within a checkout of your 
 repository. It looks like you're probably not in the right directory in 
 your cmd prompt. If you are, then maybe something is going wrong with the 
 detection--can you re-run 'rbt post' with the --debug flag?

 -David

 On Tue, Nov 11, 2014 at 10:20 PM, Rajasiman Srinivasan raja...@gmail.com 
 javascript: wrote:

 Hello all,

 I'm setting up a Gitlab + ReviewBoard combination for a pilot project at 
 work. I've set up most of the things needed correctly but the Gitlab 
 branches/commits do not show up in the ReviewBoard site that I set up. 
 Here's my setup.

- Gitlab: 7.4.3
- ReviewBoard: 2.0.11

 Gitlab runs on server with IP address 192.168.0.104, ReviewBoard on 
 server with IP address 192.168.0.127. Both the websites are setup and are 
 working without throwing any errors. I've created a service 
 account(reviewboard_user) on Gitlab with 'Reporter' permissions to the 
 'group' of projects. Next, I created the SSH key for this account from 
 ReviewBoard and installed it onto the service account on Gitlab. I've added 
 the Gitlab repository in ReviewBoard(Please see attached 
 screenshot: Repository added in Reviewboard.PNG).

 I then clicked on New Review Request from the homepage and was taken to 
 this screen(Please see attached screenshot: New Review Request.PNG). The 
 branches/commits were not being shown; so I clicked around and found that I 
 need to set up rbtools and should create a file '.reviewboardrc' in the 
 root of my git repository and commit it(Please see attached 
 screenshot: RBTools setup.PNG). I use a Windows PC, so I created the file 
 in my local git repository and committed the file to Gitlab. Then I tried 
 running rbt post via cmd and was given a error.

 ERROR: The current directory does not contain a checkout from a supported 
 source code repository.


 After some more googling and reading around, I got to this page 
 https://www.reviewboard.org/docs/rbtools/dev/rbt/configuration/. Tried 
 running rbt setup-repo via cmd inside the root of the git repository and 
 got the same error message again.

 ERROR: The current directory does not contain a checkout from a supported 
 source code repository.


 What am I doing wrong here? As per this link 
 https://www.reviewboard.org/docs/manual/dev/admin/configuration/repositories/#git,
  
 git needs a local clone; whereas from Reviewboard v1.7.21 Gitlab is natively 
 supported 
 http://feedback.gitlab.com/forums/176466-general/suggestions/4566001-expose-raw-object-search-via-the-gitlab-api.
  
 Please help me get this sorted out!

 Thanks in advance!

 -
 Rajasiman

 -- 
 Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
 ---
 Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
 ---
 Happy user? Let us know at http://www.reviewboard.org/users/
 --- 
 You received this message because you are subscribed to the Google Groups 
 reviewboard group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to reviewboard...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/d/optout.




-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Gitlab integration problem

2014-11-12 Thread David Trowbridge
You'll want to back up that directory, as well as your database. Whether or
not you back up the other apache configuration is up to you (the important
config files live in the site directory).

-David

On Wed, Nov 12, 2014 at 1:35 AM, Rajasiman Srinivasan rajasi...@gmail.com
wrote:

 Thanks for your reply! I had installed git on Windows without adding the
 location to the PATH environment variable. Therefore rbt post/rbt
 setup-repo was unable to execute git commands from cmd. After I added it,
 it started working fine.

 Also, another question. If I want to do a daily backup of the reviewboard
 installation, which folders do I include? Would
 /var/www/reviewboard_installation_folder/ suffice? Lastly, should I
 also be backing up the apache2 configuration files?

 Thank you!

 -
 Rajasiman

 On Wednesday, 12 November 2014 12:43:49 UTC+5:30, David Trowbridge wrote:

 It looks like your repository is configured correctly in the Review Board
 admin.

 You won't see branches or commits in the New Review Request page
 because this feature is currently only available for GitHub and SVN
 repositories.

 If you've created the .reviewboardrc file yourself, you don't need to run
 'rbt setup-repo' (all that command does is prompt you for some information
 and creates the file).

 All 'rbt' commands should be run from within a checkout of your
 repository. It looks like you're probably not in the right directory in
 your cmd prompt. If you are, then maybe something is going wrong with the
 detection--can you re-run 'rbt post' with the --debug flag?

 -David

 On Tue, Nov 11, 2014 at 10:20 PM, Rajasiman Srinivasan raja...@gmail.com
  wrote:

 Hello all,

 I'm setting up a Gitlab + ReviewBoard combination for a pilot project at
 work. I've set up most of the things needed correctly but the Gitlab
 branches/commits do not show up in the ReviewBoard site that I set up.
 Here's my setup.

- Gitlab: 7.4.3
- ReviewBoard: 2.0.11

 Gitlab runs on server with IP address 192.168.0.104, ReviewBoard on
 server with IP address 192.168.0.127. Both the websites are setup and are
 working without throwing any errors. I've created a service
 account(reviewboard_user) on Gitlab with 'Reporter' permissions to the
 'group' of projects. Next, I created the SSH key for this account from
 ReviewBoard and installed it onto the service account on Gitlab. I've added
 the Gitlab repository in ReviewBoard(Please see attached
 screenshot: Repository added in Reviewboard.PNG).

 I then clicked on New Review Request from the homepage and was taken to
 this screen(Please see attached screenshot: New Review Request.PNG). The
 branches/commits were not being shown; so I clicked around and found that I
 need to set up rbtools and should create a file '.reviewboardrc' in the
 root of my git repository and commit it(Please see attached
 screenshot: RBTools setup.PNG). I use a Windows PC, so I created the file
 in my local git repository and committed the file to Gitlab. Then I tried
 running rbt post via cmd and was given a error.

 ERROR: The current directory does not contain a checkout from a
 supported source code repository.


 After some more googling and reading around, I got to this page
 https://www.reviewboard.org/docs/rbtools/dev/rbt/configuration/.
 Tried running rbt setup-repo via cmd inside the root of the git
 repository and got the same error message again.

 ERROR: The current directory does not contain a checkout from a
 supported source code repository.


 What am I doing wrong here? As per this link
 https://www.reviewboard.org/docs/manual/dev/admin/configuration/repositories/#git,
 git needs a local clone; whereas from Reviewboard v1.7.21 Gitlab is natively
 supported
 http://feedback.gitlab.com/forums/176466-general/suggestions/4566001-expose-raw-object-search-via-the-gitlab-api.
 Please help me get this sorted out!

 Thanks in advance!

 -
 Rajasiman

 --
 Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
 ---
 Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
 ---
 Happy user? Let us know at http://www.reviewboard.org/users/
 ---
 You received this message because you are subscribed to the Google
 Groups reviewboard group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to reviewboard...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


  --
 Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
 ---
 Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
 ---
 Happy user? Let us know at http://www.reviewboard.org/users/
 ---
 You received this message because you are subscribed to the Google Groups
 reviewboard group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to reviewboard+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/

Gitlab integration problem

2014-11-11 Thread Rajasiman Srinivasan
Hello all,

I'm setting up a Gitlab + ReviewBoard combination for a pilot project at 
work. I've set up most of the things needed correctly but the Gitlab 
branches/commits do not show up in the ReviewBoard site that I set up. 
Here's my setup.

   - Gitlab: 7.4.3
   - ReviewBoard: 2.0.11
   
Gitlab runs on server with IP address 192.168.0.104, ReviewBoard on server 
with IP address 192.168.0.127. Both the websites are setup and are working 
without throwing any errors. I've created a service 
account(reviewboard_user) on Gitlab with 'Reporter' permissions to the 
'group' of projects. Next, I created the SSH key for this account from 
ReviewBoard and installed it onto the service account on Gitlab. I've added 
the Gitlab repository in ReviewBoard(Please see attached 
screenshot: Repository added in Reviewboard.PNG).

I then clicked on New Review Request from the homepage and was taken to 
this screen(Please see attached screenshot: New Review Request.PNG). The 
branches/commits were not being shown; so I clicked around and found that I 
need to set up rbtools and should create a file '.reviewboardrc' in the 
root of my git repository and commit it(Please see attached 
screenshot: RBTools setup.PNG). I use a Windows PC, so I created the file 
in my local git repository and committed the file to Gitlab. Then I tried 
running rbt post via cmd and was given a error.

ERROR: The current directory does not contain a checkout from a supported 
 source code repository.


After some more googling and reading around, I got to this page 
https://www.reviewboard.org/docs/rbtools/dev/rbt/configuration/. Tried 
running rbt setup-repo via cmd inside the root of the git repository and 
got the same error message again.

ERROR: The current directory does not contain a checkout from a supported 
 source code repository.


What am I doing wrong here? As per this link 
https://www.reviewboard.org/docs/manual/dev/admin/configuration/repositories/#git,
 
git needs a local clone; whereas from Reviewboard v1.7.21 Gitlab is natively 
supported 
http://feedback.gitlab.com/forums/176466-general/suggestions/4566001-expose-raw-object-search-via-the-gitlab-api.
 
Please help me get this sorted out!

Thanks in advance!

-
Rajasiman

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Gitlab integration problem

2014-11-11 Thread David Trowbridge
It looks like your repository is configured correctly in the Review Board
admin.

You won't see branches or commits in the New Review Request page because
this feature is currently only available for GitHub and SVN repositories.

If you've created the .reviewboardrc file yourself, you don't need to run
'rbt setup-repo' (all that command does is prompt you for some information
and creates the file).

All 'rbt' commands should be run from within a checkout of your repository.
It looks like you're probably not in the right directory in your cmd
prompt. If you are, then maybe something is going wrong with the
detection--can you re-run 'rbt post' with the --debug flag?

-David

On Tue, Nov 11, 2014 at 10:20 PM, Rajasiman Srinivasan rajasi...@gmail.com
wrote:

 Hello all,

 I'm setting up a Gitlab + ReviewBoard combination for a pilot project at
 work. I've set up most of the things needed correctly but the Gitlab
 branches/commits do not show up in the ReviewBoard site that I set up.
 Here's my setup.

- Gitlab: 7.4.3
- ReviewBoard: 2.0.11

 Gitlab runs on server with IP address 192.168.0.104, ReviewBoard on server
 with IP address 192.168.0.127. Both the websites are setup and are working
 without throwing any errors. I've created a service
 account(reviewboard_user) on Gitlab with 'Reporter' permissions to the
 'group' of projects. Next, I created the SSH key for this account from
 ReviewBoard and installed it onto the service account on Gitlab. I've added
 the Gitlab repository in ReviewBoard(Please see attached
 screenshot: Repository added in Reviewboard.PNG).

 I then clicked on New Review Request from the homepage and was taken to
 this screen(Please see attached screenshot: New Review Request.PNG). The
 branches/commits were not being shown; so I clicked around and found that I
 need to set up rbtools and should create a file '.reviewboardrc' in the
 root of my git repository and commit it(Please see attached
 screenshot: RBTools setup.PNG). I use a Windows PC, so I created the file
 in my local git repository and committed the file to Gitlab. Then I tried
 running rbt post via cmd and was given a error.

 ERROR: The current directory does not contain a checkout from a supported
 source code repository.


 After some more googling and reading around, I got to this page
 https://www.reviewboard.org/docs/rbtools/dev/rbt/configuration/. Tried
 running rbt setup-repo via cmd inside the root of the git repository and
 got the same error message again.

 ERROR: The current directory does not contain a checkout from a supported
 source code repository.


 What am I doing wrong here? As per this link
 https://www.reviewboard.org/docs/manual/dev/admin/configuration/repositories/#git,
 git needs a local clone; whereas from Reviewboard v1.7.21 Gitlab is natively
 supported
 http://feedback.gitlab.com/forums/176466-general/suggestions/4566001-expose-raw-object-search-via-the-gitlab-api.
 Please help me get this sorted out!

 Thanks in advance!

 -
 Rajasiman

 --
 Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
 ---
 Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
 ---
 Happy user? Let us know at http://www.reviewboard.org/users/
 ---
 You received this message because you are subscribed to the Google Groups
 reviewboard group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to reviewboard+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: gitlab integration

2014-05-05 Thread Christian Hammond
Hi,

You need to select GitLab under Hosting Service, provide the URL to the
root of your GitLab server, provide authentication details, and your
repository information.

Christian


On Monday, May 5, 2014, ming ho mingcharle...@gmail.com wrote:

 Hi Christian,
   attached is the screenshot.

 thanks,

 -Ming.

 On Friday, May 2, 2014 12:31:14 PM UTC-7, Christian Hammond wrote:

 Hi,

 Can you show the configuration you're using for the repositories in
 Review Board?

 Christian


 On Friday, May 2, 2014, ming ho mingch...@gmail.com wrote:

 Hi,
   i am having trouble adding gitlab repositories to RB.  our gitlab has
 repositories such as http://servername/mho/gin.git.  I can clone it
 with either uid/pwd or ssh key.  but, when i supply the URL and user
 information, RB always complain about not being able to find the
 repository.  I am running 1.7.25.  any pointer on how to configure RB for
 gitlab repository?

   also, I have created a couple of repositories added to RB.  They are
 all public git repo in gitlab which don't require authentication.  I can
 see them properly via UI.  but, when I try to access them though api, i
 always get Object does not exist.  has anybody run into this?

 -M.

 --
 Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
 ---
 Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
 ---
 Happy user? Let us know at http://www.reviewboard.org/users/
 ---
 You received this message because you are subscribed to the Google
 Groups reviewboard group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to reviewboard+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.



 --
 --
 Christian Hammond - chi...@chipx86.com
 Review Board - http://www.reviewboard.org
 Beanbag, Inc. - http://www.beanbaginc.com

  --
 Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
 ---
 Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
 ---
 Happy user? Let us know at http://www.reviewboard.org/users/
 ---
 You received this message because you are subscribed to the Google Groups
 reviewboard group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to 
 reviewboard+unsubscr...@googlegroups.comjavascript:_e(%7B%7D,'cvml','reviewboard%2bunsubscr...@googlegroups.com');
 .
 For more options, visit https://groups.google.com/d/optout.



-- 
-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: gitlab integration

2014-05-05 Thread Mingcharlesho
that worked.  Thanks.

Sent from my iPhone

 On May 5, 2014, at 3:24 PM, Christian Hammond chip...@chipx86.com wrote:
 
 Hi,
 
 You need to select GitLab under Hosting Service, provide the URL to the root 
 of your GitLab server, provide authentication details, and your repository 
 information.
 
 Christian
 
 
 On Monday, May 5, 2014, ming ho mingcharle...@gmail.com wrote:
 Hi Christian,
   attached is the screenshot.  
 
 thanks,
 
 -Ming.
 
 On Friday, May 2, 2014 12:31:14 PM UTC-7, Christian Hammond wrote:
 Hi,
 
 Can you show the configuration you're using for the repositories in Review 
 Board?
 
 Christian
 
 
 On Friday, May 2, 2014, ming ho mingch...@gmail.com wrote:
 Hi,
   i am having trouble adding gitlab repositories to RB.  our gitlab has 
 repositories such as http://servername/mho/gin.git.  I can clone it with 
 either uid/pwd or ssh key.  but, when i supply the URL and user 
 information, RB always complain about not being able to find the 
 repository.  I am running 1.7.25.  any pointer on how to configure RB for 
 gitlab repository?
 
   also, I have created a couple of repositories added to RB.  They are all 
 public git repo in gitlab which don't require authentication.  I can see 
 them properly via UI.  but, when I try to access them though api, i always 
 get Object does not exist.  has anybody run into this?
 
 -M.
 -- 
 Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
 ---
 Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
 ---
 Happy user? Let us know at http://www.reviewboard.org/users/
 --- 
 You received this message because you are subscribed to the Google Groups 
 reviewboard group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to reviewboard+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.
 
 
 -- 
 -- 
 Christian Hammond - chi...@chipx86.com
 Review Board - http://www.reviewboard.org
 Beanbag, Inc. - http://www.beanbaginc.com
 
 -- 
 Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
 ---
 Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
 ---
 Happy user? Let us know at http://www.reviewboard.org/users/
 --- 
 You received this message because you are subscribed to the Google Groups 
 reviewboard group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to reviewboard+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.
 
 
 -- 
 -- 
 Christian Hammond - chip...@chipx86.com
 Review Board - http://www.reviewboard.org
 Beanbag, Inc. - http://www.beanbaginc.com
 
 -- 
 Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
 ---
 Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
 ---
 Happy user? Let us know at http://www.reviewboard.org/users/
 --- 
 You received this message because you are subscribed to a topic in the Google 
 Groups reviewboard group.
 To unsubscribe from this topic, visit 
 https://groups.google.com/d/topic/reviewboard/uH-jadSzR04/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to 
 reviewboard+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


gitlab integration

2014-05-02 Thread ming ho
Hi,
  i am having trouble adding gitlab repositories to RB.  our gitlab has 
repositories such as http://servername/mho/gin.git.  I can clone it with 
either uid/pwd or ssh key.  but, when i supply the URL and user 
information, RB always complain about not being able to find the 
repository.  I am running 1.7.25.  any pointer on how to configure RB for 
gitlab repository?

  also, I have created a couple of repositories added to RB.  They are all 
public git repo in gitlab which don't require authentication.  I can see 
them properly via UI.  but, when I try to access them though api, i always 
get Object does not exist.  has anybody run into this?

-M.

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: gitlab integration

2014-05-02 Thread Christian Hammond
Hi,

Can you show the configuration you're using for the repositories in Review
Board?

Christian


On Friday, May 2, 2014, ming ho mingcharle...@gmail.com wrote:

 Hi,
   i am having trouble adding gitlab repositories to RB.  our gitlab has
 repositories such as http://servername/mho/gin.git.  I can clone it
 with either uid/pwd or ssh key.  but, when i supply the URL and user
 information, RB always complain about not being able to find the
 repository.  I am running 1.7.25.  any pointer on how to configure RB for
 gitlab repository?

   also, I have created a couple of repositories added to RB.  They are all
 public git repo in gitlab which don't require authentication.  I can see
 them properly via UI.  but, when I try to access them though api, i always
 get Object does not exist.  has anybody run into this?

 -M.

 --
 Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
 ---
 Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
 ---
 Happy user? Let us know at http://www.reviewboard.org/users/
 ---
 You received this message because you are subscribed to the Google Groups
 reviewboard group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to 
 reviewboard+unsubscr...@googlegroups.comjavascript:_e(%7B%7D,'cvml','reviewboard%2bunsubscr...@googlegroups.com');
 .
 For more options, visit https://groups.google.com/d/optout.



-- 
-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.