Diff is not showing for some of the files
Hi Review board team, I have been using review board quite long time and I am facing some strange issue while viewing the diff for some files. I have some files with the names like src/43test/lib/ksh93/testgroup/KLIB_group_modify_log.sh and src/43test/lib/ksh93/testgroupKLIB_group_add_log.sh When I try to view the difference from review board, I am getting below errors. Other files which are not in this path, it is showing properly. only problem with the above files, I have some other files which are in the same directory and with similar names, Same error with these files. Please help me on this. There was an error displaying this diff. The patch to 'src/43test/lib/ksh93/testgroup/KLIB_group_modify_log.sh' didn't apply cleanly. The temporary files have been left in '/tmp/reviewboard.f29gLJ' for debugging purposes. `patch` returned: This may be a bug in the software, a temporary outage, or an issue with the format of your diff. Please try again, and if you still have trouble, contact support http://pharb.aus.stglabs.ibm.com/support/. There was an error displaying this diff. The patch to src/43test/lib/ksh93/testgroupKLIB_group_add_log.sh' didn't apply cleanly. The temporary files have been left in '/tmp/reviewboard.f29gLJ' for debugging purposes. `patch` returned: This may be a bug in the software, a temporary outage, or an issue with the format of your diff. Please try again, and if you still have trouble, contact support http://pharb.aus.stglabs.ibm.com/support/. Regards Vijay -- 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: Upgrading from 1.6.8 to 2.x
Can you run the following: $ rb-site manage /path/to/site shell from django_evolution.models import Version for v in Version.objects.order_by('pk'): print '%s - %s - %s' % (v.pk, v.evolutions.count(), v.when) That'll give me a sense of what evolutions are applied. There's a hard-to-diagnose issue that's come up before where an invalid entry ends up in the history, throwing things off, and this will help me check for that. Thanks, Christian -- Christian Hammond - christ...@beanbaginc.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com On Mon, Jul 13, 2015 at 3:58 PM, Risha Chheda rishachh...@gmail.com wrote: No, that doesn't help either. # rb-site manage /var/ReviewBoard syncdb Creating tables ... There are unapplied evolutions for auth. The following content types are stale and need to be deleted: auth | message Any objects related to these content types by a foreign key will also be deleted. Are you sure you want to delete these content types? If you're unsure, answer 'no'. Type 'yes' to continue, or 'no' to cancel: yes There are unapplied evolutions for contenttypes. There are unapplied evolutions for accounts. There are unapplied evolutions for attachments. There are unapplied evolutions for changedescs. There are unapplied evolutions for diffviewer. There are unapplied evolutions for hostingsvcs. There are unapplied evolutions for reviews. There are unapplied evolutions for scmtools. There are unapplied evolutions for site. Project signature has changed - an evolution is required Installing custom SQL ... Installing indexes ... Installed 0 object(s) from 0 fixture(s) root@05e83c8f5ab7:/# rb-site upgrade /var/ReviewBoard .. .. Same error as the original email On Mon, Jul 13, 2015 at 3:26 PM, Christian Hammond christ...@beanbaginc.com wrote: Hi Risha, That's strange. It's like some state is missing there. Can you try doing this first: $ rb-site manage /var/ReviewBoard syncdb and then do the upgrade? See if that gets any further. Christian -- Christian Hammond - christ...@beanbaginc.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com -Original Message- From: Risha Chheda rishachh...@gmail.com Reply: reviewboard@googlegroups.com reviewboard@googlegroups.com Date: July 13, 2015 at 3:24:20 PM To: reviewboard@googlegroups.com reviewboard@googlegroups.com Subject: Upgrading from 1.6.8 to 2.x Hi, I am trying to upgrade reviewboard from 1.6.8 to 2.5.beta and everytime I get this traceback: mysql version I'm testing against is 5.6.25. Both reviewboard and mysql are running in their own docker containers on the same VM. I tried upgrading from 1.6.8 to 2.0.18 as well, but I get the same issue. # rb-site upgrade /var/ReviewBoard Rebuilding directory structure Updating database. This may take a while. The log output below, including warnings and errors, can be ignored unless upgrade fails. -- -- Creating tables ... There are unapplied evolutions for auth. There are unapplied evolutions for contenttypes. There are unapplied evolutions for accounts. There are unapplied evolutions for attachments. There are unapplied evolutions for changedescs. There are unapplied evolutions for diffviewer. There are unapplied evolutions for hostingsvcs. There are unapplied evolutions for reviews. There are unapplied evolutions for scmtools. There are unapplied evolutions for site. Project signature has changed - an evolution is required Installing custom SQL ... Installing indexes ... Installed 0 object(s) from 0 fixture(s) ERROR:root:Unexpected error: u'FileDiffData' Traceback (most recent call last): File /usr/local/lib/python2.7/dist-packages/django_evolution-0.7.5-py2.7.egg/django_evolution/management/commands/evolve.py, line 65, in handle self.evolve(*app_labels, **options) File /usr/local/lib/python2.7/dist-packages/django_evolution-0.7.5-py2.7.egg/django_evolution/management/commands/evolve.py, line 125, in evolve sql.extend(self.evolve_app(app)) File /usr/local/lib/python2.7/dist-packages/django_evolution-0.7.5-py2.7.egg/django_evolution/management/commands/evolve.py, line 164, in evolve_app app_mutator.run_mutations(mutations) File /usr/local/lib/python2.7/dist-packages/django_evolution-0.7.5-py2.7.egg/django_evolution/mutators.py, line 279, in run_mutations self.run_mutation(mutation) File /usr/local/lib/python2.7/dist-packages/django_evolution-0.7.5-py2.7.egg/django_evolution/mutators.py, line 268, in run_mutation model_mutator.run_mutation(mutation) File /usr/local/lib/python2.7/dist-packages/django_evolution-0.7.5-py2.7.egg/django_evolution/mutators.py, line 165, in run_mutation mutation.mutate(self, self.create_model()) File
Re: Diff is not showing for some of the files
Hi, What kind of repository are you using? What do the temp files referenced in the error message contain? In particular, make sure that the diff is what you expect, that the tmp file matches the expected original source code, and see what the tmp.rej file looks like. Christian -- Christian Hammond - christ...@beanbaginc.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com -Original Message- From: vijay bhaskar reddy Yalamuri vijay.yalam...@gmail.com Reply: reviewboard@googlegroups.com reviewboard@googlegroups.com Date: July 13, 2015 at 11:04:45 PM To: reviewboard@googlegroups.com reviewboard@googlegroups.com Subject: Diff is not showing for some of the files Hi Review board team, I have been using review board quite long time and I am facing some strange issue while viewing the diff for some files. I have some files with the names like src/43test/lib/ksh93/testgroup/KLIB_group_modify_log.sh and src/43test/lib/ksh93/testgroupKLIB_group_add_log.sh When I try to view the difference from review board, I am getting below errors. Other files which are not in this path, it is showing properly. only problem with the above files, I have some other files which are in the same directory and with similar names, Same error with these files. Please help me on this. There was an error displaying this diff. The patch to 'src/43test/lib/ksh93/testgroup/KLIB_group_modify_log.sh' didn't apply cleanly. The temporary files have been left in '/tmp/reviewboard.f29gLJ' for debugging purposes. `patch` returned: This may be a bug in the software, a temporary outage, or an issue with the format of your diff. Please try again, and if you still have trouble, contact support . There was an error displaying this diff. The patch to src/43test/lib/ksh93/testgroupKLIB_group_add_log.sh' didn't apply cleanly. The temporary files have been left in '/tmp/reviewboard.f29gLJ' for debugging purposes. `patch` returned: This may be a bug in the software, a temporary outage, or an issue with the format of your diff. Please try again, and if you still have trouble, contact support . Regards Vijay -- 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: Test program to get the list of the files which are dropped to review board
Hi, The diffs/ API is going to give you each diffset. That is, a revision of a diff uploaded to Review Board. Is that what you're looking for, or were you looking for the contents of the entire diff? Or the files contained in the diff? It would be helpful to see what the data is that you have, what you're expecting to get back, and the complete workflow for testing this. Also, what version of RBTools are you using? Christian -- Christian Hammond - christ...@beanbaginc.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com -Original Message- From: vijay bhaskar reddy Yalamuri vijay.yalam...@gmail.com Reply: reviewboard@googlegroups.com reviewboard@googlegroups.com Date: July 14, 2015 at 1:16:58 AM To: reviewboard@googlegroups.com reviewboard@googlegroups.com Subject: Test program to get the list of the files which are dropped to review board Hi Review board team I am writing a test program to find out is there any change of diff files after posting the review request. I thought first I will get the list of files which are posted to the review board and get the corresponding time stamp and compare this time stamp with original defect file timestamp. I tried to get the list of diff files using many diff api's , but all the api are not giving proper count. I have dropped 5 files, but it always giving only 2 files. url = '/api/review-requests/%s/diffs/' % review_id datareviews = rb_server.api_get( url ) Could you please help me how to get the list of diff files and it's corresponding file timestamp from the review board ? Thanks for understanding in advance. Regards Vijay -- 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.
Test program to get the list of the files which are dropped to review board
Hi Review board team I am writing a test program to find out is there any change of diff files after posting the review request. I thought first I will get the list of files which are posted to the review board and get the corresponding time stamp and compare this time stamp with original defect file timestamp. I tried to get the list of diff files using many diff api's , but all the api are not giving proper count. I have dropped 5 files, but it always giving only 2 files. url = '/api/review-requests/%s/diffs/' % review_id datareviews = rb_server.api_get( url ) Could you please help me how to get the list of diff files and it's corresponding file timestamp from the review board ? Thanks for understanding in advance. Regards Vijay -- 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.
Issue 3918 in reviewboard: Error trying to make comments
Status: New Owner: Labels: Type-Defect Priority-Medium New issue 3918 by killitwi...@gmail.com: Error trying to make comments https://code.google.com/p/reviewboard/issues/detail?id=3918 *** READ THIS BEFORE POSTING! *** *** You must complete this form in its entirety, or your bug report will be *** rejected. *** *** If you have a security issue to report, please send it confidentially to *** secur...@reviewboard.org. Posting security-related issues to this bug *** tracker causes us to have to do an emergency release. *** *** For customer support, please post to reviewbo...@googlegroups.com *** *** If you have a patch, please submit it to http://reviews.reviewboard.org/ *** *** This bug tracker is public. Please check that any logs or other information *** that you include has been stripped of confidential information. What version are you running? 1.6.14 What's the URL of the page containing the problem? https://cr.amazon.com/r/3961763/diff/#index_header What steps will reproduce the problem? 1. Click any line to leave a comment. 2. Make a comment, and save 3. A server error occurred will appear at top, and comment will be gone on refresh. What is the expected output? What do you see instead? Comment should be saved. Instead an error message is shown at the top of the window, and upon refresh all comments are gone. What operating system are you using? What browser? Mac 10.9.5, chrome 43.0.2357.132 (64-bit) Please provide any additional information below. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard-issues+unsubscr...@googlegroups.com. To post to this group, send email to reviewboard-issues@googlegroups.com. Visit this group at http://groups.google.com/group/reviewboard-issues. For more options, visit https://groups.google.com/d/optout.
Re: Upgrading from 1.6.8 to 2.x
I'm not sure if it makes any difference but yesterday I ran the rb-site manage evolve --hint and execute commands. I have attached the output of both of those in the attached document. It didn't seem to make a difference, rb-site upgrade still gives me the same issue. rb-site_evolve https://docs.google.com/document/d/1eg47ZY25Zzx4rOnWk-WWPaUOEF33emWx3S16PruRmZE/edit?usp=drive_web Here is the output you requested. from django_evolution.models import Version for v in Version.objects.order_by('pk'): ...print '%s - %s - %s' % (v.pk, v.evolutions.count(), v.when) ... 1 - 0 - 2008-05-19 20:11:53+00:00 2 - 0 - 2008-09-24 10:08:29+00:00 3 - 1 - 2008-09-24 10:09:01+00:00 4 - 0 - 2008-10-27 16:17:08+00:00 5 - 1 - 2008-10-27 16:17:25+00:00 6 - 11 - 2011-03-08 05:21:06+00:00 7 - 2 - 2011-10-17 12:15:42+00:00 8 - 0 - 2012-10-13 09:34:28+00:00 9 - 13 - 2012-10-13 09:34:36+00:00 10 - 3 - 2015-07-13 22:41:16+00:00 On Tue, Jul 14, 2015 at 2:58 AM, Christian Hammond christ...@beanbaginc.com wrote: Can you run the following: $ rb-site manage /path/to/site shell from django_evolution.models import Version for v in Version.objects.order_by('pk'): print '%s - %s - %s' % (v.pk, v.evolutions.count(), v.when) That'll give me a sense of what evolutions are applied. There's a hard-to-diagnose issue that's come up before where an invalid entry ends up in the history, throwing things off, and this will help me check for that. Thanks, Christian -- Christian Hammond - christ...@beanbaginc.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com On Mon, Jul 13, 2015 at 3:58 PM, Risha Chheda rishachh...@gmail.com wrote: No, that doesn't help either. # rb-site manage /var/ReviewBoard syncdb Creating tables ... There are unapplied evolutions for auth. The following content types are stale and need to be deleted: auth | message Any objects related to these content types by a foreign key will also be deleted. Are you sure you want to delete these content types? If you're unsure, answer 'no'. Type 'yes' to continue, or 'no' to cancel: yes There are unapplied evolutions for contenttypes. There are unapplied evolutions for accounts. There are unapplied evolutions for attachments. There are unapplied evolutions for changedescs. There are unapplied evolutions for diffviewer. There are unapplied evolutions for hostingsvcs. There are unapplied evolutions for reviews. There are unapplied evolutions for scmtools. There are unapplied evolutions for site. Project signature has changed - an evolution is required Installing custom SQL ... Installing indexes ... Installed 0 object(s) from 0 fixture(s) root@05e83c8f5ab7:/# rb-site upgrade /var/ReviewBoard .. .. Same error as the original email On Mon, Jul 13, 2015 at 3:26 PM, Christian Hammond christ...@beanbaginc.com wrote: Hi Risha, That's strange. It's like some state is missing there. Can you try doing this first: $ rb-site manage /var/ReviewBoard syncdb and then do the upgrade? See if that gets any further. Christian -- Christian Hammond - christ...@beanbaginc.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com -Original Message- From: Risha Chheda rishachh...@gmail.com Reply: reviewboard@googlegroups.com reviewboard@googlegroups.com Date: July 13, 2015 at 3:24:20 PM To: reviewboard@googlegroups.com reviewboard@googlegroups.com Subject: Upgrading from 1.6.8 to 2.x Hi, I am trying to upgrade reviewboard from 1.6.8 to 2.5.beta and everytime I get this traceback: mysql version I'm testing against is 5.6.25. Both reviewboard and mysql are running in their own docker containers on the same VM. I tried upgrading from 1.6.8 to 2.0.18 as well, but I get the same issue. # rb-site upgrade /var/ReviewBoard Rebuilding directory structure Updating database. This may take a while. The log output below, including warnings and errors, can be ignored unless upgrade fails. -- -- Creating tables ... There are unapplied evolutions for auth. There are unapplied evolutions for contenttypes. There are unapplied evolutions for accounts. There are unapplied evolutions for attachments. There are unapplied evolutions for changedescs. There are unapplied evolutions for diffviewer. There are unapplied evolutions for hostingsvcs. There are unapplied evolutions for reviews. There are unapplied evolutions for scmtools. There are unapplied evolutions for site. Project signature has changed - an evolution is required Installing custom SQL ... Installing indexes ... Installed 0 object(s) from 0 fixture(s) ERROR:root:Unexpected error: u'FileDiffData' Traceback (most recent call last): File /usr/local/lib/python2.7/dist-packages/django_evolution-0.7.5-py2.7.egg/django_evolution/management/commands/evolve.py, line 65, in
Re: Problem with api-get
Hi, Looks like our help output may be wrong. Try it without the extra '--'. I'll make sure this is fixed for the next release. Christian -- Christian Hammond - chip...@chipx86.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com On Tue, Jul 14, 2015 at 12:03 PM, dang.tab dang.t...@gmail.com wrote: Hello, I am running into the following with trying to extract a list of users:- D:\ws\devrbt api-get -d http://my_reviewboard_instance/api/users/ -- --start=201 --max-results=200 RBTools 0.7.4 Python 2.7.2 (default, Jun 24 2011, 12:21:10) [MSC v.1500 32 bit (Intel)] Running on Windows-7-6.1.7601-SP1 Home = C:\Users\redacted\AppData\Roaming Current directory = D:\ws\dev usage: rbt api-get [options] path [-- [--query-arg=value ...]] Retrieve raw API resource payloads. rbt: error: Unexpected query argument -- I believe I have entered the correct query syntax, but it is complaining about unexpected query argument --. What do I need to do to get this to work? Thank you. -- 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: Upgrading from 1.6.8 to 2.x
Hi Risha, Hmm, I'm not seeing what I was expecting to see there. It's possible that there's a bug in upgrading to 2.5, due to one of the changes we've made. I'm going to be investigating this. For now, I'd suggest taking a copy of the 1.6 database and upgrading to the latest 2.0.x release instead of 2.5 beta. Christian -- Christian Hammond - christ...@beanbaginc.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com On Tue, Jul 14, 2015 at 10:14 AM, Risha Chheda rishachh...@gmail.com wrote: I'm not sure if it makes any difference but yesterday I ran the rb-site manage evolve --hint and execute commands. I have attached the output of both of those in the attached document. It didn't seem to make a difference, rb-site upgrade still gives me the same issue. rb-site_evolve https://docs.google.com/document/d/1eg47ZY25Zzx4rOnWk-WWPaUOEF33emWx3S16PruRmZE/edit?usp=drive_web Here is the output you requested. from django_evolution.models import Version for v in Version.objects.order_by('pk'): ...print '%s - %s - %s' % (v.pk, v.evolutions.count(), v.when) ... 1 - 0 - 2008-05-19 20:11:53+00:00 2 - 0 - 2008-09-24 10:08:29+00:00 3 - 1 - 2008-09-24 10:09:01+00:00 4 - 0 - 2008-10-27 16:17:08+00:00 5 - 1 - 2008-10-27 16:17:25+00:00 6 - 11 - 2011-03-08 05:21:06+00:00 7 - 2 - 2011-10-17 12:15:42+00:00 8 - 0 - 2012-10-13 09:34:28+00:00 9 - 13 - 2012-10-13 09:34:36+00:00 10 - 3 - 2015-07-13 22:41:16+00:00 On Tue, Jul 14, 2015 at 2:58 AM, Christian Hammond christ...@beanbaginc.com wrote: Can you run the following: $ rb-site manage /path/to/site shell from django_evolution.models import Version for v in Version.objects.order_by('pk'): print '%s - %s - %s' % (v.pk, v.evolutions.count(), v.when) That'll give me a sense of what evolutions are applied. There's a hard-to-diagnose issue that's come up before where an invalid entry ends up in the history, throwing things off, and this will help me check for that. Thanks, Christian -- Christian Hammond - christ...@beanbaginc.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com On Mon, Jul 13, 2015 at 3:58 PM, Risha Chheda rishachh...@gmail.com wrote: No, that doesn't help either. # rb-site manage /var/ReviewBoard syncdb Creating tables ... There are unapplied evolutions for auth. The following content types are stale and need to be deleted: auth | message Any objects related to these content types by a foreign key will also be deleted. Are you sure you want to delete these content types? If you're unsure, answer 'no'. Type 'yes' to continue, or 'no' to cancel: yes There are unapplied evolutions for contenttypes. There are unapplied evolutions for accounts. There are unapplied evolutions for attachments. There are unapplied evolutions for changedescs. There are unapplied evolutions for diffviewer. There are unapplied evolutions for hostingsvcs. There are unapplied evolutions for reviews. There are unapplied evolutions for scmtools. There are unapplied evolutions for site. Project signature has changed - an evolution is required Installing custom SQL ... Installing indexes ... Installed 0 object(s) from 0 fixture(s) root@05e83c8f5ab7:/# rb-site upgrade /var/ReviewBoard .. .. Same error as the original email On Mon, Jul 13, 2015 at 3:26 PM, Christian Hammond christ...@beanbaginc.com wrote: Hi Risha, That's strange. It's like some state is missing there. Can you try doing this first: $ rb-site manage /var/ReviewBoard syncdb and then do the upgrade? See if that gets any further. Christian -- Christian Hammond - christ...@beanbaginc.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com -Original Message- From: Risha Chheda rishachh...@gmail.com Reply: reviewboard@googlegroups.com reviewboard@googlegroups.com Date: July 13, 2015 at 3:24:20 PM To: reviewboard@googlegroups.com reviewboard@googlegroups.com Subject: Upgrading from 1.6.8 to 2.x Hi, I am trying to upgrade reviewboard from 1.6.8 to 2.5.beta and everytime I get this traceback: mysql version I'm testing against is 5.6.25. Both reviewboard and mysql are running in their own docker containers on the same VM. I tried upgrading from 1.6.8 to 2.0.18 as well, but I get the same issue. # rb-site upgrade /var/ReviewBoard Rebuilding directory structure Updating database. This may take a while. The log output below, including warnings and errors, can be ignored unless upgrade fails. -- -- Creating tables ... There are unapplied evolutions for auth. There are unapplied evolutions for contenttypes. There are unapplied evolutions for accounts. There are unapplied evolutions for attachments. There are unapplied evolutions for changedescs. There are unapplied evolutions for diffviewer. There
Re: Issue 3864 in reviewboard: rbt post //depot/path/...@r1,@r2 throws an exception in 0.7.2 and no review request gets created
Updates: Status: Fixed Comment #8 on issue 3864 by trowb...@gmail.com: rbt post //depot/path/...@r1,@r2 throws an exception in 0.7.2 and no review request gets created https://code.google.com/p/reviewboard/issues/detail?id=3864 Fixed in release-0.7.x (38a857c). This will ship in 0.7.5. Thanks! -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard-issues+unsubscr...@googlegroups.com. To post to this group, send email to reviewboard-issues@googlegroups.com. Visit this group at http://groups.google.com/group/reviewboard-issues. For more options, visit https://groups.google.com/d/optout.
Re: Issue 3854 in reviewboard: Bug links only work immediately after editing a review description
Updates: Status: Fixed Comment #1 on issue 3854 by bar...@beanbaginc.com: Bug links only work immediately after editing a review description https://code.google.com/p/reviewboard/issues/detail?id=3854 This bug was fixed on the release-2.0.x and master branches as (c371073eec3cc10e266ebcc15234d13edd14afb5). The fix will appear in Review Board 2.0.19 and 2.5. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard-issues+unsubscr...@googlegroups.com. To post to this group, send email to reviewboard-issues@googlegroups.com. Visit this group at http://groups.google.com/group/reviewboard-issues. For more options, visit https://groups.google.com/d/optout.
Re: Issue 3754 in reviewboard: URLs in descriptions/comments no longer clickable links
Updates: Status: Fixed Comment #2 on issue 3754 by bar...@beanbaginc.com: URLs in descriptions/comments no longer clickable links https://code.google.com/p/reviewboard/issues/detail?id=3754 This bug was fixed on the release-2.0.x and master branches as (c371073eec3cc10e266ebcc15234d13edd14afb5). The fix will appear in Review Board 2.0.19 and 2.5. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard-issues+unsubscr...@googlegroups.com. To post to this group, send email to reviewboard-issues@googlegroups.com. Visit this group at http://groups.google.com/group/reviewboard-issues. For more options, visit https://groups.google.com/d/optout.
Re: Problem with api-get
Thank you for the quick response. When I made the suggested change to the users statement, I ran into the following problem:- users = root.get_users(max-results=200) SyntaxError: keyword can't be an expression Regarding changing the username/password, I made that change after the script had exited. I then re-ran the script with the new username/password, but it complained about the username/password. If I then changed the username/password back to the way it was, it ran successfully. Since these are all happening within different processes, I don't think I need to clear the api cache or cookie. On Tuesday, July 14, 2015 at 4:01:44 PM UTC-7, Christian Hammond wrote: Hi, You need to do: users = root.get_users(max_results=200) How are you changing the username/password? Note that you may have to clear the API cache and cookie if switching users within the same process. Christian -- Christian Hammond - chi...@chipx86.com javascript: Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com -Original Message- From: dang.tab dang...@gmail.com javascript: Reply: revie...@googlegroups.com javascript: revie...@googlegroups.com javascript: Date: July 14, 2015 at 4:00:10 PM To: revie...@googlegroups.com javascript: revie...@googlegroups.com javascript: Cc: chi...@chipx86.com javascript: chi...@chipx86.com javascript: Subject: Re: Problem with api-get Thank you! That worked. However when I then tried the following in python, it returned just the first 25 users only, not 200. from rbtools.api.client import RBClient client = RBClient('http://', username='', password='') root = client.get_root() users = root.get_users(max-results==200) Another strange thing that happened is if I then changed the username/password to that of a different user, the above code fragment did not work. It complained that the username or password was not correct. I double checked and know for fact that I did entered the correct username and password. Please advise. Thank you. On Tuesday, July 14, 2015 at 12:27:16 PM UTC-7, Christian Hammond wrote: Hi, Looks like our help output may be wrong. Try it without the extra '--'. I'll make sure this is fixed for the next release. Christian -- Christian Hammond - chi...@chipx86.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com On Tue, Jul 14, 2015 at 12:03 PM, dang.tabwrote: Hello, I am running into the following with trying to extract a list of users:- D:\ws\devrbt api-get -d http:///api/users/ -- --start=201 --max-results=200 RBTools 0.7.4 Python 2.7.2 (default, Jun 24 2011, 12:21:10) [MSC v.1500 32 bit (Intel)] Running on Windows-7-6.1.7601-SP1 Home = C:\Users\\AppData\Roaming Current directory = D:\ws\dev usage: rbt api-get [options] [-- [--= ...]] Retrieve raw API resource payloads. rbt: error: Unexpected query argument -- I believe I have entered the correct query syntax, but it is complaining about unexpected query argument --. What do I need to do to get this to work? Thank you. -- 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...@googlegroups.com javascript:. 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
Re: Issue 3478 in reviewboard: Allow disabling Markdown through an option/checkbox
Comment #10 on issue 3478 by jo...@purestorage.com: Allow disabling Markdown through an option/checkbox https://code.google.com/p/reviewboard/issues/detail?id=3478 Maybe a bit late, but weird people like me would like to not see the checkbox for every comment field. I can set my preferences globally once, which is great. But I cannot make the checkbox disappear, at least not in 2.0.18. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard-issues+unsubscr...@googlegroups.com. To post to this group, send email to reviewboard-issues@googlegroups.com. Visit this group at http://groups.google.com/group/reviewboard-issues. For more options, visit https://groups.google.com/d/optout.
Re: Problem with api-get
Thank you! That worked. However when I then tried the following in python, it returned just the first 25 users only, not 200. from rbtools.api.client import RBClient client = RBClient('http://my_reviewboard_instance', username='redacted', password='redacted') root = client.get_root() users = root.get_users(max-results==200) Another strange thing that happened is if I then changed the username/password to that of a different user, the above code fragment did not work. It complained that the username or password was not correct. I double checked and know for fact that I did entered the correct username and password. Please advise. Thank you. On Tuesday, July 14, 2015 at 12:27:16 PM UTC-7, Christian Hammond wrote: Hi, Looks like our help output may be wrong. Try it without the extra '--'. I'll make sure this is fixed for the next release. Christian -- Christian Hammond - chi...@chipx86.com javascript: Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com On Tue, Jul 14, 2015 at 12:03 PM, dang.tab dang...@gmail.com javascript: wrote: Hello, I am running into the following with trying to extract a list of users:- D:\ws\devrbt api-get -d http://my_reviewboard_instance/api/users/ -- --start=201 --max-results=200 RBTools 0.7.4 Python 2.7.2 (default, Jun 24 2011, 12:21:10) [MSC v.1500 32 bit (Intel)] Running on Windows-7-6.1.7601-SP1 Home = C:\Users\redacted\AppData\Roaming Current directory = D:\ws\dev usage: rbt api-get [options] path [-- [--query-arg=value ...]] Retrieve raw API resource payloads. rbt: error: Unexpected query argument -- I believe I have entered the correct query syntax, but it is complaining about unexpected query argument --. What do I need to do to get this to work? Thank you. -- 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 javascript:. 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: Problem with api-get
It needs to be exactly as in my example, with an underscore. Cookies and cache are, by default, stored for scripts. You'll need to disable them in your script if you don't want those enabled. You can see other scripts in RBTools for examples of how this works in response to the --disable-cache-storage and --disable-cookie-storage options. Christian -- Christian Hammond - christ...@beanbaginc.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com -Original Message- From: dang.tab dang.t...@gmail.com Reply: dang.tab dang.t...@gmail.com Date: July 14, 2015 at 4:20:30 PM To: reviewboard@googlegroups.com reviewboard@googlegroups.com Cc: chip...@chipx86.com chip...@chipx86.com Subject: Re: Problem with api-get Thank you for the quick response. When I made the suggested change to the users statement, I ran into the following problem:- users = root.get_users(max-results=200) SyntaxError: keyword can't be an expression Regarding changing the username/password, I made that change after the script had exited. I then re-ran the script with the new username/password, but it complained about the username/password. If I then changed the username/password back to the way it was, it ran successfully. Since these are all happening within different processes, I don't think I need to clear the api cache or cookie. On Tuesday, July 14, 2015 at 4:01:44 PM UTC-7, Christian Hammond wrote: Hi, You need to do: users = root.get_users(max_results=200) How are you changing the username/password? Note that you may have to clear the API cache and cookie if switching users within the same process. Christian -- Christian Hammond - chi...@chipx86.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com -Original Message- From: dang.tab Reply: revie...@googlegroups.com Date: July 14, 2015 at 4:00:10 PM To: revie...@googlegroups.com Cc: chi...@chipx86.com Subject: Re: Problem with api-get Thank you! That worked. However when I then tried the following in python, it returned just the first 25 users only, not 200. from rbtools.api.client import RBClient client = RBClient('http://', username='', password='') root = client.get_root() users = root.get_users(max-results==200) Another strange thing that happened is if I then changed the username/password to that of a different user, the above code fragment did not work. It complained that the username or password was not correct. I double checked and know for fact that I did entered the correct username and password. Please advise. Thank you. On Tuesday, July 14, 2015 at 12:27:16 PM UTC-7, Christian Hammond wrote: Hi, Looks like our help output may be wrong. Try it without the extra '--'. I'll make sure this is fixed for the next release. Christian -- Christian Hammond - chi...@chipx86.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com On Tue, Jul 14, 2015 at 12:03 PM, dang.tabwrote: Hello, I am running into the following with trying to extract a list of users:- D:\ws\devrbt api-get -d http:///api/users/ -- --start=201 --max-results=200 RBTools 0.7.4 Python 2.7.2 (default, Jun 24 2011, 12:21:10) [MSC v.1500 32 bit (Intel)] Running on Windows-7-6.1.7601-SP1 Home = C:\Users\\AppData\Roaming Current directory = D:\ws\dev usage: rbt api-get [options] [-- [--= ...]] Retrieve raw API resource payloads. rbt: error: Unexpected query argument -- I believe I have entered the correct query syntax, but it is complaining about unexpected query argument --. What do I need to do to get this to work? Thank you. -- 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...@googlegroups.com . For more options,
Re: Test program to get the list of the files which are dropped to review board
Hi Team, Thanks for your reply. I just need to find out for corresponding review request, what are the files are associated. I tried below program to find out the files list. But it always give me wrong count. Can you tell me is there any other way to get the proper list of diff file names ? RB Tool version: 0.6.2 Review board version: 2.0.6 url = '/api/review-requests/%s/diffs/' % review_id datareviews = rb_server.api_get( url ) length=len(datareviews['review_request']['diffs']) filelink = datareviews['review_request']['diffs'][length-1]['links']['files']['href'] print filelink filelink = filelink[filelink.find(api):len(filelink)] filelink = filelink.rstrip() print filelink is:+filelink filedata = rb_server.api_get ( filelink ) print filedata print filedata['files'][0]['source_file'] Regards Vijay On Tuesday, July 14, 2015 at 1:46:55 PM UTC+5:30, vijay bhaskar reddy Yalamuri wrote: Hi Review board team I am writing a test program to find out is there any change of diff files after posting the review request. I thought first I will get the list of files which are posted to the review board and get the corresponding time stamp and compare this time stamp with original defect file timestamp. I tried to get the list of diff files using many diff api's , but all the api are not giving proper count. I have dropped 5 files, but it always giving only 2 files. url = '/api/review-requests/%s/diffs/' % review_id datareviews = rb_server.api_get( url ) Could you please help me how to get the list of diff files and it's corresponding file timestamp from the review board ? Thanks for understanding in advance. Regards Vijay -- 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: Problem with api-get
Hi, You need to do: users = root.get_users(max_results=200) How are you changing the username/password? Note that you may have to clear the API cache and cookie if switching users within the same process. Christian -- Christian Hammond - chip...@chipx86.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com -Original Message- From: dang.tab dang.t...@gmail.com Reply: reviewboard@googlegroups.com reviewboard@googlegroups.com Date: July 14, 2015 at 4:00:10 PM To: reviewboard@googlegroups.com reviewboard@googlegroups.com Cc: chip...@chipx86.com chip...@chipx86.com Subject: Re: Problem with api-get Thank you! That worked. However when I then tried the following in python, it returned just the first 25 users only, not 200. from rbtools.api.client import RBClient client = RBClient('http://', username='', password='') root = client.get_root() users = root.get_users(max-results==200) Another strange thing that happened is if I then changed the username/password to that of a different user, the above code fragment did not work. It complained that the username or password was not correct. I double checked and know for fact that I did entered the correct username and password. Please advise. Thank you. On Tuesday, July 14, 2015 at 12:27:16 PM UTC-7, Christian Hammond wrote: Hi, Looks like our help output may be wrong. Try it without the extra '--'. I'll make sure this is fixed for the next release. Christian -- Christian Hammond - chi...@chipx86.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com On Tue, Jul 14, 2015 at 12:03 PM, dang.tabwrote: Hello, I am running into the following with trying to extract a list of users:- D:\ws\devrbt api-get -d http:///api/users/ -- --start=201 --max-results=200 RBTools 0.7.4 Python 2.7.2 (default, Jun 24 2011, 12:21:10) [MSC v.1500 32 bit (Intel)] Running on Windows-7-6.1.7601-SP1 Home = C:\Users\\AppData\Roaming Current directory = D:\ws\dev usage: rbt api-get [options] [-- [--= ...]] Retrieve raw API resource payloads. rbt: error: Unexpected query argument -- I believe I have entered the correct query syntax, but it is complaining about unexpected query argument --. What do I need to do to get this to work? Thank you. -- 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. -- 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: Issue 3478 in reviewboard: Allow disabling Markdown through an option/checkbox
Comment #11 on issue 3478 by chip...@gmail.com: Allow disabling Markdown through an option/checkbox https://code.google.com/p/reviewboard/issues/detail?id=3478 We're unlikely to add an option that hides a piece of UI in this way as part of Review Board. It'd end up causing more problems than it solves (wait until someone forgets they set it and wants to go from Markdown - plain text or vice-versa), and sets a bad precedent for future bits of UI people don't like. Best bet is to use something like Stylish to simply hide the checkbox in your browser. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard-issues+unsubscr...@googlegroups.com. To post to this group, send email to reviewboard-issues@googlegroups.com. Visit this group at http://groups.google.com/group/reviewboard-issues. For more options, visit https://groups.google.com/d/optout.
Problem with api-get
Hello, I am running into the following with trying to extract a list of users:- D:\ws\devrbt api-get -d http://my_reviewboard_instance/api/users/ -- --start=201 --max-results=200 RBTools 0.7.4 Python 2.7.2 (default, Jun 24 2011, 12:21:10) [MSC v.1500 32 bit (Intel)] Running on Windows-7-6.1.7601-SP1 Home = C:\Users\redacted\AppData\Roaming Current directory = D:\ws\dev usage: rbt api-get [options] path [-- [--query-arg=value ...]] Retrieve raw API resource payloads. rbt: error: Unexpected query argument -- I believe I have entered the correct query syntax, but it is complaining about unexpected query argument --. What do I need to do to get this to work? Thank you. -- 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.