Re: Fatal: not a git repository: 'None'

2021-07-08 Thread Peter Šilon
Yeah, the error got me confused. Thanks for the help David! After 
installing rb-gateway things seems to work.

Peter.

Dátum: streda 7. júla 2021, čas: 23:54:27 UTC+2, odosielateľ: David 
Trowbridge

> The error here is obviously bad, but the issue is that you've configured a 
> remote git URL but are not including a URL mask for a wrapper service. The 
> Git protocol is not sufficient for Review Board's needs, so you'll need to 
> have some kind of intermediary, such as GitWeb, cgit, or rb-gateway.
>
> See 
> https://www.reviewboard.org/docs/manual/4.0/admin/configuration/repositories/git/#repository-scm-git
>  
> for details.
>
> David
>
> On Wed, Jul 7, 2021 at 12:46 PM Peter Šilon  wrote:
>
>> Hi David, thanks for having interest in my problem.
>>
>> ~/comboard/chargingd (feature/dbus-api %)$ rbt post --debug 
>> master..feature/dbus-api
>> >>> RBTools 2.0
>> >>> Python 3.7.3 (default, Jan 22 2021, 20:04:44)
>> [GCC 8.3.0]
>> >>> Running on Linux-4.19.0-17-amd64-x86_64-with-debian-10.10
>> >>> Home = /home/silonp
>> >>> Current directory = /home/silonp/comboard/chargingd
>> >>> Command line: rbt post --debug master..feature/dbus-api
>> >>> Running: tf vc help
>> >>> Checking for a Git repository...
>> >>> Running: git rev-parse --git-dir
>> >>> Running: git config core.bare
>> >>> Running: git rev-parse --show-toplevel
>> >>> Running: git symbolic-ref -q HEAD
>> >>> Running: git config --get branch.feature/dbus-api.merge
>> >>> Running: git config --get branch.feature/dbus-api.remote
>> >>> Running: git config --get remote.origin.url
>> >>> Repository info: Path: gitolite3@git-nur:ccb/chargingd, Base path: , 
>> Supports changesets: False
>> >>> Making HTTP GET request to http://wskkosd002.global.web-int.net/api/
>> >>> Running: git rev-parse master..feature/dbus-api
>> >>> Running: git config --get branch.feature/dbus-api.merge
>> >>> Running: git config --get branch.feature/dbus-api.remote
>> >>> Running: git branch --remotes
>> >>> Running: git rev-list d6baa0ff1a964b3c08d31c223ac2fd61a87adeeb --not 
>> --remotes=origin
>> >>> Running: git log -z --reverse 
>> --pretty=format:%H%x1f%P%x1f%an%x1f%ae%x1f%ad%x1f%cn%x1f%ce%x1f%cd%x1f%B 
>> --date=iso8601-strict 
>> d6baa0ff1a964b3c08d31c223ac2fd61a87adeeb..ebcaa0ae6ae924ab87571d91282452fc831ac4c7
>> >>> Running: git version
>> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff 
>> --no-color --full-index --ignore-submodules --find-renames --no-ext-diff 
>> d6baa0ff1a964b3c08d31c223ac2fd61a87adeeb..ebcaa0ae6ae924ab87571d91282452fc831ac4c7
>> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff 
>> --no-color --full-index --ignore-submodules --find-renames --no-ext-diff 
>> d6baa0ff1a964b3c08d31c223ac2fd61a87adeeb..199f1f3489546817036d23b2d95ae33dbd4ad2a8
>> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff 
>> --no-color --full-index --ignore-submodules --find-renames --no-ext-diff 
>> 199f1f3489546817036d23b2d95ae33dbd4ad2a8..e58cf25349c7d4abea5d68ff4004c5edf8e01184
>> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff 
>> --no-color --full-index --ignore-submodules --find-renames --no-ext-diff 
>> e58cf25349c7d4abea5d68ff4004c5edf8e01184..83a9f02406d91e1cbbd16e0d24d456e504ffc6e7
>> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff 
>> --no-color --full-index --ignore-submodules --find-renames --no-ext-diff 
>> 83a9f02406d91e1cbbd16e0d24d456e504ffc6e7..38d453a5d3a2af7c3ab056350f8cad7e4e6e9b61
>> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff 
>> --no-color --full-index --ignore-submodules --find-renames --no-ext-diff 
>> 38d453a5d3a2af7c3ab056350f8cad7e4e6e9b61..1cb44afff5e4b41721707a86bc4a49eb622d6be2
>> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff 
>> --no-color --full-index --ignore-submodules --find-renames --no-ext-diff 
>> 1cb44afff5e4b41721707a86bc4a49eb622d6be2..52bd4c6f378519b2c701e31296bb4484415d1331
>> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff 
>> --no-color --full-index --ignore-submodules --find-renames --no-ext-diff 
>> 52bd4c6f378519b2c701e31296bb4484415d1331..843084c2846318de078f662cf0325cd626322044
>> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff 
>> --no-color --full-index --ignore-submodules --find-renames --no-ext-diff 
>> 843084c2846318de078f662cf0325cd626322044..0443f19bbcae4bd3cfe8a3a71964b050e984dca3
>> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff 
>> --no-color --full-index --ignore-submodules --find-renames --no-ext-diff 
>> 0443f19bbcae4bd3cfe8a3a71964b050e984dca3..90cd65f02bf8ab5ed0d7bc211ccf50d4c2b63f7a
>> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff 
>> --no-color --full-index --ignore-submodules --find-renames --no-ext-diff 
>> 90cd65f02bf8ab5ed0d7bc211ccf50d4c2b63f7a..7ca1a1684ce5d8c06655f2aeb9b4ed1315674cb4
>> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff 
>> --no-col

Review request is not raising for specific files

2021-07-08 Thread Raghuveer Mudiraj
Hi,

While raising the review request for the specific files in the clearcase 
repository it is giving the below error:

"Your review request still exists, but the diff is not attached"


It is coming out of the review request by giving the above error message. 
Any idea why it comes?

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/87c5fa76-2fb5-40b7-b2e0-2f736fcc59ccn%40googlegroups.com.


Re: Reassigning the reviewid using admin

2021-07-08 Thread Raghuveer Mudiraj
The issue is resolved.

On Thursday, July 8, 2021 at 2:51:50 AM UTC+5:30 Christian Hammond wrote:

> Hi Raghuveer,
>
> There isn't really a good way of doing this without very carefully writing 
> a custom script to update the database entries directly. Old IDs would 
> still be stored in some embedded metadata in review requests, but should be 
> harmless. You would absolutely want to operate off of a copy of the 
> database and test it thoroughly. We don't have anything available to help 
> with this. You'd need to do it internally.
>
> 1.7.9 is now 8 years old, and is no longer supported. We can't easily 
> provide support for this version. I'd also recommen scheduling some time to 
> test and perform an upgrade to a modern version (4.0), once you're past 
> this issue.
>
> Christian
>
> On Mon, Jun 28, 2021 at 9:46 AM Raghuveer Mudiraj  
> wrote:
>
>> Hi,
>>
>> We are using ReviewBoard 1.7.9 version.
>>
>> Recently we moved the reviewboard server from one network to another 
>> network.
>>
>> In the old network, we used Active Directory mechanism for users to login.
>>
>> In the current network, we used LDAP mechanism for users to login. 
>> However, in LDAP the user ids are different comparing to Active Directory.
>>
>> Now, how to change the user ids who raised the review requests which are 
>> open?
>>
>> any specific command or can we do it from admin dashboard?
>>
>> Thanks & Regards,
>> M Raghuveer
>>
>>
>> -- 
>> 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.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/reviewboard/fb909499-cd55-4bd2-b67d-1033eac9cea0n%40googlegroups.com
>>  
>> 
>> .
>>
>
>
> -- 
> 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 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/7a7a9d55-506b-4dd0-b4ee-276559fcb543n%40googlegroups.com.


Re: Review request is not raising for specific files

2021-07-08 Thread Raghuveer Mudiraj
Error output from reviewboard.log


2021-07-08 16:29:33,171 - ERROR - None - reviewboard - 
/api/review-requests/60078/diffs/ - Error uploading new diff: (1406, "Data 
too long for column 'source_revision' at row 1")
Traceback (most recent call last):
  File 
"/usr/lib/python2.7/site-packages/ReviewBoard-1.7.9-py2.7.egg/reviewboard/webapi/resources.py",
 
line 2026, in create
request.FILES.get('parent_diff_path'))
  File 
"/usr/lib/python2.7/site-packages/ReviewBoard-1.7.9-py2.7.egg/reviewboard/reviews/forms.py",
 
line 308, in create
history)
  File 
"/usr/lib/python2.7/site-packages/ReviewBoard-1.7.9-py2.7.egg/reviewboard/diffviewer/forms.py",
 
line 159, in create
filediff.save()
  File "/usr/lib/python2.7/site-packages/django/db/models/base.py", line 
463, in save
self.save_base(using=using, force_insert=force_insert, 
force_update=force_update)
  File "/usr/lib/python2.7/site-packages/django/db/models/base.py", line 
551, in save_base
result = manager._insert([self], fields=fields, return_id=update_pk, 
using=using, raw=raw)
  File "/usr/lib/python2.7/site-packages/django/db/models/manager.py", line 
203, in _insert
return insert_query(self.model, objs, fields, **kwargs)
  File "/usr/lib/python2.7/site-packages/django/db/models/query.py", line 
1593, in insert_query
return query.get_compiler(using=using).execute_sql(return_id)
  File "/usr/lib/python2.7/site-packages/django/db/models/sql/compiler.py", 
line 912, in execute_sql
cursor.execute(sql, params)
  File "/usr/lib/python2.7/site-packages/django/db/backends/mysql/base.py", 
line 114, in execute
return self.cursor.execute(query, args)
  File 
"/usr/lib64/python2.7/site-packages/MySQL_python-1.2.4-py2.7-linux-x86_64.egg/MySQLdb/cursors.py",
 
line 201, in execute
self.errorhandler(self, exc, value)
  File 
"/usr/lib64/python2.7/site-packages/MySQL_python-1.2.4-py2.7-linux-x86_64.egg/MySQLdb/connections.py",
 
line 36, in defaulterrorhandler
raise errorclass, errorvalue
DatabaseError: (1406, "Data too long for column 'source_revision' at row 1")
@


On Thursday, July 8, 2021 at 9:11:37 PM UTC+5:30 Raghuveer Mudiraj wrote:

> Hi,
>
> While raising the review request for the specific files in the clearcase 
> repository it is giving the below error:
>
> "Your review request still exists, but the diff is not attached"
>
>
> It is coming out of the review request by giving the above error message. 
> Any idea why it comes?
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/d8a166f9-173b-439f-b815-137f3e8a3f75n%40googlegroups.com.


Re: Review request is not raising for specific files

2021-07-08 Thread Christian Hammond
What type of repository is this, and how are you generating the diff?

Christian

On Thu, Jul 8, 2021 at 9:42 AM Raghuveer Mudiraj <
raghuveer.mudi...@gmail.com> wrote:

> Error output from reviewboard.log
>
>
> 2021-07-08 16:29:33,171 - ERROR - None - reviewboard -
> /api/review-requests/60078/diffs/ - Error uploading new diff: (1406, "Data
> too long for column 'source_revision' at row 1")
> Traceback (most recent call last):
>   File
> "/usr/lib/python2.7/site-packages/ReviewBoard-1.7.9-py2.7.egg/reviewboard/webapi/resources.py",
> line 2026, in create
> request.FILES.get('parent_diff_path'))
>   File
> "/usr/lib/python2.7/site-packages/ReviewBoard-1.7.9-py2.7.egg/reviewboard/reviews/forms.py",
> line 308, in create
> history)
>   File
> "/usr/lib/python2.7/site-packages/ReviewBoard-1.7.9-py2.7.egg/reviewboard/diffviewer/forms.py",
> line 159, in create
> filediff.save()
>   File "/usr/lib/python2.7/site-packages/django/db/models/base.py", line
> 463, in save
> self.save_base(using=using, force_insert=force_insert,
> force_update=force_update)
>   File "/usr/lib/python2.7/site-packages/django/db/models/base.py", line
> 551, in save_base
> result = manager._insert([self], fields=fields, return_id=update_pk,
> using=using, raw=raw)
>   File "/usr/lib/python2.7/site-packages/django/db/models/manager.py",
> line 203, in _insert
> return insert_query(self.model, objs, fields, **kwargs)
>   File "/usr/lib/python2.7/site-packages/django/db/models/query.py", line
> 1593, in insert_query
> return query.get_compiler(using=using).execute_sql(return_id)
>   File
> "/usr/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line
> 912, in execute_sql
> cursor.execute(sql, params)
>   File
> "/usr/lib/python2.7/site-packages/django/db/backends/mysql/base.py", line
> 114, in execute
> return self.cursor.execute(query, args)
>   File
> "/usr/lib64/python2.7/site-packages/MySQL_python-1.2.4-py2.7-linux-x86_64.egg/MySQLdb/cursors.py",
> line 201, in execute
> self.errorhandler(self, exc, value)
>   File
> "/usr/lib64/python2.7/site-packages/MySQL_python-1.2.4-py2.7-linux-x86_64.egg/MySQLdb/connections.py",
> line 36, in defaulterrorhandler
> raise errorclass, errorvalue
> DatabaseError: (1406, "Data too long for column 'source_revision' at row
> 1")
> @
>
>
> On Thursday, July 8, 2021 at 9:11:37 PM UTC+5:30 Raghuveer Mudiraj wrote:
>
>> Hi,
>>
>> While raising the review request for the specific files in the clearcase
>> repository it is giving the below error:
>>
>> "Your review request still exists, but the diff is not attached"
>>
>>
>> It is coming out of the review request by giving the above error message.
>> Any idea why it comes?
>>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/reviewboard/d8a166f9-173b-439f-b815-137f3e8a3f75n%40googlegroups.com
> 
> .
>


-- 
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 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/CAE7VndktJ6DpM28Z3iiv_1_JL1Ar5bwN9ujzj40_8KFvtt_xDg%40mail.gmail.com.


Re: Review request is not raising for specific files

2021-07-08 Thread raghuveer mudiraj
It is "Clearcase + UCM" repository.
We are using diff command to generate the diff.

On Fri, 9 Jul, 2021, 4:19 am Christian Hammond, 
wrote:

> What type of repository is this, and how are you generating the diff?
>
> Christian
>
> On Thu, Jul 8, 2021 at 9:42 AM Raghuveer Mudiraj <
> raghuveer.mudi...@gmail.com> wrote:
>
>> Error output from reviewboard.log
>>
>>
>> 2021-07-08 16:29:33,171 - ERROR - None - reviewboard -
>> /api/review-requests/60078/diffs/ - Error uploading new diff: (1406, "Data
>> too long for column 'source_revision' at row 1")
>> Traceback (most recent call last):
>>   File
>> "/usr/lib/python2.7/site-packages/ReviewBoard-1.7.9-py2.7.egg/reviewboard/webapi/resources.py",
>> line 2026, in create
>> request.FILES.get('parent_diff_path'))
>>   File
>> "/usr/lib/python2.7/site-packages/ReviewBoard-1.7.9-py2.7.egg/reviewboard/reviews/forms.py",
>> line 308, in create
>> history)
>>   File
>> "/usr/lib/python2.7/site-packages/ReviewBoard-1.7.9-py2.7.egg/reviewboard/diffviewer/forms.py",
>> line 159, in create
>> filediff.save()
>>   File "/usr/lib/python2.7/site-packages/django/db/models/base.py", line
>> 463, in save
>> self.save_base(using=using, force_insert=force_insert,
>> force_update=force_update)
>>   File "/usr/lib/python2.7/site-packages/django/db/models/base.py", line
>> 551, in save_base
>> result = manager._insert([self], fields=fields, return_id=update_pk,
>> using=using, raw=raw)
>>   File "/usr/lib/python2.7/site-packages/django/db/models/manager.py",
>> line 203, in _insert
>> return insert_query(self.model, objs, fields, **kwargs)
>>   File "/usr/lib/python2.7/site-packages/django/db/models/query.py", line
>> 1593, in insert_query
>> return query.get_compiler(using=using).execute_sql(return_id)
>>   File
>> "/usr/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line
>> 912, in execute_sql
>> cursor.execute(sql, params)
>>   File
>> "/usr/lib/python2.7/site-packages/django/db/backends/mysql/base.py", line
>> 114, in execute
>> return self.cursor.execute(query, args)
>>   File
>> "/usr/lib64/python2.7/site-packages/MySQL_python-1.2.4-py2.7-linux-x86_64.egg/MySQLdb/cursors.py",
>> line 201, in execute
>> self.errorhandler(self, exc, value)
>>   File
>> "/usr/lib64/python2.7/site-packages/MySQL_python-1.2.4-py2.7-linux-x86_64.egg/MySQLdb/connections.py",
>> line 36, in defaulterrorhandler
>> raise errorclass, errorvalue
>> DatabaseError: (1406, "Data too long for column 'source_revision' at row
>> 1")
>> @
>>
>>
>> On Thursday, July 8, 2021 at 9:11:37 PM UTC+5:30 Raghuveer Mudiraj wrote:
>>
>>> Hi,
>>>
>>> While raising the review request for the specific files in the clearcase
>>> repository it is giving the below error:
>>>
>>> "Your review request still exists, but the diff is not attached"
>>>
>>>
>>> It is coming out of the review request by giving the above error
>>> message. Any idea why it comes?
>>>
>> --
>> 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.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/reviewboard/d8a166f9-173b-439f-b815-137f3e8a3f75n%40googlegroups.com
>> 
>> .
>>
>
>
> --
> 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
> "Review Board Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/reviewboard/CAE7VndktJ6DpM28Z3iiv_1_JL1Ar5bwN9ujzj40_8KFvtt_xDg%40mail.gmail.com
> 
> .
>

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