Re: ReviewRequestFieldsHook
Hi Justin, For better or for worse, combo boxes aren’t available. I have shoehorned them into an extension, but it was not a fun process, at least for someone who hates working with JavaScript. You’ll need to extend one of the field classes (easy) and create a jQuery widget (tedious, painful, this is why I’m not a web developer). I would not recommend taking the approach I did of hijacking the existing inlineEditory widget; instead, I’d add a mechanism for selecting a different one. As a starting point, you’ll want to look in the jquery.gravy.inlineEditor.js file for an example of how to design a widget; the reviewRequestEditorView.js file is probably where you’ll need to do your widget integration. Fortunately, Review Board makes replacing the components via an extension possible. To override existing JavaScript, I copied the whole files I needed to modify into my extension and added them to the js_bundles property. I have a poorly-written comment, “Order might matter for this hack”, right above the list, so if you choose this path, keep that in mind. :) Hope this helps, Andrew From: Justin Palmer justinpalme...@gmail.commailto:justinpalme...@gmail.com Reply-To: reviewboard reviewboard@googlegroups.commailto:reviewboard@googlegroups.com Date: Thursday, January 15, 2015 at 10:53 To: reviewboard reviewboard@googlegroups.commailto:reviewboard@googlegroups.com Subject: ReviewRequestFieldsHook Thank you for this extension! Adding our own fields to track additional metadata is very important. https://www.reviewboard.org/docs/manual/2.0/extending/extensions/hooks/review-request-fields-hook/ class NotesField(BaseTextAreaField): Example is missing from reviewboard.reviews.fields import BaseTextAreaField. Would you mind adding examples for other fields? I tried looking up reviewboard.reviews.fields and I couldn't figure out how to add, for example, a combobox (option) field. I wrote my first Python yesterday when I downloaded rbseverity, replaced names and sections, ran 'python setup.py develop', restarted httpd, and enabled extension in Review Board. -- 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.commailto: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: repo navigation with ReviewBoard
Hi Stefan, While that sounds like an interesting project for an extension, I'm not sure exactly how it would work, since it would have a completely different interface for each type of version control. It would be much easier if you already had such a tool in place, and to write an extension to add easy access points. But even then, all the web tools look more than a little different, so it would take some effort to make sure it's extensible enough to cover most cases... Andrew On Oct 1, 2014, at 9:13 AM, Stefan Seefeld stefan.seef...@gmail.commailto:stefan.seef...@gmail.com wrote: Hello, I'm reviewing ReviewBoard to decide whether or not to use it in my team for code patch reviews. While what I'm seing all looks very promising, I'm looking for one feature I didn't find: The ability to navigate and browse the repository, similar to ViewVC or phabricator's Diffusion tool. Does such a tool already exist, perhaps as an extension ? If not, are there any plans to add it ? Thanks, Stefan -- 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.commailto: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: Review Board 2.0.6 performance issue
In my experience, nginx+uwsgi gives a significant performance improvement over Apache+mod_wsgi, but I didn’t investigate to find out how much of that comes from better static file service. On Sep 10, 2014, at 4:12 PM, David Trowbridge trowb...@gmail.commailto:trowb...@gmail.com wrote: The deployment we've tested most is using apache + mod_wsgi (and sometimes also using nginx for the static media serving). I personally haven't tested it, but nginx+uWSGI should be a fairy big step up over fastcgi. -David On Wed, Sep 10, 2014 at 7:18 AM, Magic Chen magic4w...@gmail.commailto:magic4w...@gmail.com wrote: Hi, David, Sorry for my poor knowledge for python... I'm a java programmer indeed. I'm wondering if Nginx +uWSGI will work to provide the better performance? or any other candidate? 在 2014年9月10日星期三UTC+8上午5时40分20秒,David Trowbridge写道: I think a lot of the performance issues you're seeing are probably due to using fastcgi. Can you switch to a wsgi-based deployment? -David On Mon, Sep 8, 2014 at 6:55 PM, Magic Chen magic...@gmail.com wrote: Hi, David, the nginx conf file was attached. we start the reviewboard using the command below: rb-site manage /opt/reviewboard runfcgi port=3033 host=127.0.0.1 protocol=fcgi daemonize=true pidfile=/opt/reviewboard/rb.pid maxspare=20 anything else? thx a lot for ur kindly help. 在 2014年9月6日星期六UTC+8上午7时51分05秒,David Trowbridge写道: Can you give us some information about your web server configuration? -David On Thu, Sep 4, 2014 at 2:28 AM, Magic Chen magic...@gmail.com wrote: Dear all, I've install the latest 2.0.6 version in a CentOS (4G, 4Core), and the functions is working correctly, but we noticed that the response time of RB is too slow to be accepted, the response time for default dashboard page will cost almost 3s... We use the Postgre and nginx. python version is Python 2.6.6 (r266:84292, Jan 22 2014, 09:42:36) [GCC 4.4.7 20120313 (Red Hat 4.4.7-4)] on linux2 any advice on how to tuning the performance? thx a lot. 172.31.125.51 - - [04/Sep/2014:17:16:18 +0800] GET /reviewboard/dashboard/ HTTP/1.1 200 3161 http://172.31.159.45/reviewboard/dashboard/; Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.143 Safari/537.36 172.31.125.51 - - [04/Sep/2014:17:16:22 +0800] GET /reviewboard/jsi18n/ HTTP/1.1 200 773 http://172.31.159.45/reviewboard/dashboard/; Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.143 Safari/537.36 172.31.125.51 - - [04/Sep/2014:17:21:25 +0800] GET /reviewboard/dashboard/ HTTP/1.1 200 3161 http://172.31.159.45/reviewboard/dashboard/; Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.143 Safari/537.36 -- 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...@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.commailto: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.commailto: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/ ---
Re: Diff problems after 2.0.5 upgrade
Hi Christian, After a little investigation, the initial description of the problem was wrong. Sorry about that. What's actually happened is that diffs uploaded after the upgrade use different paths in our SVN repository: they have no leading slash. So a path that was /branches/... prior to the upgrade is now treated as branches/..., and the diff viewer sees these as different files, so it's not possible to view the differences in the patches. I'm guessing that a patch will be required to mitigate this, but it's unlikely that I'll get to it today. Thanks, Andrew On Aug 12, 2014, at 2:26 PM, Christian Hammond chip...@chipx86.commailto:chip...@chipx86.com wrote: Hey Andrew, Can you check for JavaScript errors on their browsers? Also, are these newly-uploaded diffs (since 2.0.5), or older ones? Christian On Tuesday, August 12, 2014, Andrew Hills (anhills) anhi...@cisco.commailto:anhi...@cisco.com wrote: Hi all, After upgrading from 1.7.21 to 2.0.5, some users are reporting difficulties viewing diffs between diffs when one diff was uploaded prior to the upgrade, and the other after. Sometimes the page just never loads, and sometimes portions of the diffs are missing their content. Any suggestions? Thanks, Andrew -- 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:;. For more options, visit https://groups.google.com/d/optout. -- -- Christian Hammond - chip...@chipx86.commailto:chip...@chipx86.com Review Board - http://www.reviewboard.orghttp://www.reviewboard.org/ Beanbag, Inc. - http://www.beanbaginc.comhttp://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.commailto: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.
Diff problems after 2.0.5 upgrade
Hi all, After upgrading from 1.7.21 to 2.0.5, some users are reporting difficulties viewing diffs between diffs when one diff was uploaded prior to the upgrade, and the other after. Sometimes the page just never loads, and sometimes portions of the diffs are missing their content. Any suggestions? Thanks, Andrew -- 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: New user of review board here, I'm having trouble attaching diffs
Hi Usama, Run rbt post with the -d flag to get more details. Thanks, Andrew On Aug 8, 2014, at 11:39 AM, Usama Ahmed usama.ahme...@gmail.commailto:usama.ahme...@gmail.com wrote: Whenever I create a new branch in VS, do some work and then enter 'rbt post' on the repo I get this message: ERROR: Error uploading diff One or more fields had errors (HTTP 400, API Error 105) path: fatal: git cat-file eac: bad file Your review still exists, but the diff is not attached. How do I fix this? And what field is this referring to? -- 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.commailto: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: Reviewboard with Perforce repository that uses an SSL connection
Well, do you trust the host? ;) On Aug 1, 2014, at 3:47 AM, Moe Hussein mohyed...@gmail.commailto:mohyed...@gmail.com wrote: Hi David, I am having this issue when I try to show the repository for perforce ssl. please take a look at attached screenshot Thanks Moe On Friday, 4 January 2013 05:22:12 UTC-8, Gayle Ribeiro wrote: Thanks for the response David. Do let us know when v1.7.2 schedule date is firmed up. On Friday, January 4, 2013 9:53:57 AM UTC+5:30, David Trowbridge wrote: The ssl: syntax is currently not supported for any perforce release. I think it will be doable but it will probably require manually installing p4python in order to enable SSL support in the library. We don't have a firm schedule for 1.7.2 but it shouldn't be too long. The release notes will definitely list the change if we get it in. -David On Thu, Jan 3, 2013 at 6:46 PM, Gayle Ribeiro sa.ribei...@gmail.com wrote: Hi David, I'm facing the same issue - However I'm using Perforce 2012.1. Please address the following queries: 1. Does ReviewBoard support SSL connections to Perforce 2012.1? 2. Do let me know when to expect ReviewBoard v1.7.2 release? Are release dates for 1.7.2 (and later) published on a wiki? 3. Will you confirm whether the fix is included in 1.7.2, via its release notes? Please share the link once it is released Thanks, Gayle On Friday, January 4, 2013 5:16:58 AM UTC+5:30, David Trowbridge wrote: I'm afraid that we currently don't support the 2012.2 SSL setup. I'll look into fixing this for 1.7.2. -David -David On Thu, Jan 3, 2013 at 5:26 AM, ralleye red ralle...@gmail.com wrote: I've installed ReviewBoard 1.6.13 with Perforce 2012.2 and it contains about 50 review requests that use the Perforce repository. Now, the Perforce(P4) administrator has introduced SSL encryption for P4 connection. P4 connection string has the prefix of ssl: After the introduction of ssl switch to the connection string, there are issues viewing existing review requests within ReviewBoard. The error is in the attached file: errorWhenViewingExistingReviewRequests.txt Please suggest how I can use P4 repository which now uses a SSL connection within ReviewBoard. I tried creating a new repository providing the Path of my P4 server with the ssl: prefix. However, this results in error that a reporitory was not found at the specified path -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en -- 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.commailto:reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. Capture.PNG -- 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.
Upgrade to 2.0.2 Failed
Hi all, During an upgrade from 1.7.21 to 2.0.2, rb-site upgrade hung. I killed it, and running it again yields the error below, and now no combination of versions works. My last database backup is not so very old, but I'd really rather not lose anything if it's possible to avoid it. (The upgrade on the staging server worked flawlessly; I don't know what's different here.) Is there any way to apply the evolutions that are missing using the rb-site upgrade mechanism, or will I need to resort to applying the schema manually? -- begin log output -- Creating tables ... Upgrading Review Board from 2.0 to 2.0.2 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. Project signature has changed - an evolution is required Installing custom SQL ... Installing indexes ... Installed 0 object(s) from 0 fixture(s) CommandError: Error applying evolution: (1054, Unknown column 'show_submitted' in 'accounts_profile') Thanks, Andrew -- 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: Upgrade to 2.0.2 Failed
Hi Christian, Yeah, sorry, I took it through a few versions before calling for help. The killed upgrade was 1.7.21 to 2.0.2. I'm willing to do the manual surgery--I've got the MySQL manual open--but I don't know where to start. My first thought was to create a new 2.0.2 installation and database and then take it table by table. If there's a way I can hijack the rb-site upgrade process, though, I'd prefer that option. Thanks, Andrew On Jul 1, 2014, at 1:52 PM, Christian Hammond christ...@beanbaginc.commailto:christ...@beanbaginc.com wrote: Hi Andrew, At what point did it hang? This looks very much like the process was killed while it was performing database migrations, which is not something you can easily recover from without a lot of manual surgery. You said you upgraded from 1.7.21 to 2.0.2, but that log is showing 2.0 to 2.0.2, with a handful of unapplied evolutions that I would only expect if coming from 1.7.21. Was the killed upgrade from 1.7.21 to 2.0? Christian -- Christian Hammond - christ...@beanbaginc.commailto:christ...@beanbaginc.com Review Board - http://www.reviewboard.orghttp://www.reviewboard.org/ Beanbag, Inc. - http://www.beanbaginc.comhttp://www.beanbaginc.com/ On July 1, 2014 at 10:12:54 AM, Andrew Hills (anhills) (anhi...@cisco.commailto:anhi...@cisco.com) wrote: Hi all, During an upgrade from 1.7.21 to 2.0.2, rb-site upgrade hung. I killed it, and running it again yields the error below, and now no combination of versions works. My last database backup is not so very old, but I'd really rather not lose anything if it's possible to avoid it. (The upgrade on the staging server worked flawlessly; I don't know what's different here.) Is there any way to apply the evolutions that are missing using the rb-site upgrade mechanism, or will I need to resort to applying the schema manually? -- begin log output -- Creating tables ... Upgrading Review Board from 2.0 to 2.0.2 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. Project signature has changed - an evolution is required Installing custom SQL ... Installing indexes ... Installed 0 object(s) from 0 fixture(s) CommandError: Error applying evolution: (1054, Unknown column 'show_submitted' in 'accounts_profile') Thanks, Andrew -- 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.commailto: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: Upgrade to 2.0.2 Failed
Hi all, I just wanted to note that my issue was resolved completely and very quickly with Christian's help; I couldn't be happier with the outcome. If you're on the fence, you can take my word for it: support doesn't get better than this. Thanks, Andrew On Jul 1, 2014, at 2:44 PM, Christian Hammond christ...@beanbaginc.commailto:christ...@beanbaginc.com wrote: Hi Andrew, The surgery, depending on when the process was killed, would require a lot of deep knowledge of how evolutions work, how they relate to the table changes, and some improvisation. If you wanted to just try to re-create the database, you could try a new install and then dumping all the INSERTs from your old database, trying to restore them as best as possible under the new one. You will hit problems with missing columns, though, requiring that you hand-edit any referring to missing columns (and adjusting the data being inserted to match the equivalent columns from the table). There's a lot of hard work to do there. We can offer one-on-one assistance with getting your existing database back in shape, but that really falls into the realm of our support contracts. We can talk about that more in private if that's of interest. Christian -- Christian Hammond - christ...@beanbaginc.commailto:christ...@beanbaginc.com Review Board - http://www.reviewboard.orghttp://www.reviewboard.org/ Beanbag, Inc. - http://www.beanbaginc.comhttp://www.beanbaginc.com/ On July 1, 2014 at 11:38:33 AM, Andrew Hills (anhills) (anhi...@cisco.commailto:anhi...@cisco.com) wrote: Hi Christian, Yeah, sorry, I took it through a few versions before calling for help. The killed upgrade was 1.7.21 to 2.0.2. I'm willing to do the manual surgery--I've got the MySQL manual open--but I don't know where to start. My first thought was to create a new 2.0.2 installation and database and then take it table by table. If there's a way I can hijack the rb-site upgrade process, though, I'd prefer that option. Thanks, Andrew On Jul 1, 2014, at 1:52 PM, Christian Hammond christ...@beanbaginc.commailto:christ...@beanbaginc.com wrote: Hi Andrew, At what point did it hang? This looks very much like the process was killed while it was performing database migrations, which is not something you can easily recover from without a lot of manual surgery. You said you upgraded from 1.7.21 to 2.0.2, but that log is showing 2.0 to 2.0.2, with a handful of unapplied evolutions that I would only expect if coming from 1.7.21. Was the killed upgrade from 1.7.21 to 2.0? Christian -- Christian Hammond - christ...@beanbaginc.commailto:christ...@beanbaginc.com Review Board - http://www.reviewboard.orghttp://www.reviewboard.org/ Beanbag, Inc. - http://www.beanbaginc.comhttp://www.beanbaginc.com/ On July 1, 2014 at 10:12:54 AM, Andrew Hills (anhills) (anhi...@cisco.commailto:anhi...@cisco.com) wrote: Hi all, During an upgrade from 1.7.21 to 2.0.2, rb-site upgrade hung. I killed it, and running it again yields the error below, and now no combination of versions works. My last database backup is not so very old, but I'd really rather not lose anything if it's possible to avoid it. (The upgrade on the staging server worked flawlessly; I don't know what's different here.) Is there any way to apply the evolutions that are missing using the rb-site upgrade mechanism, or will I need to resort to applying the schema manually? -- begin log output -- Creating tables ... Upgrading Review Board from 2.0 to 2.0.2 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. Project signature has changed - an evolution is required Installing custom SQL ... Installing indexes ... Installed 0 object(s) from 0 fixture(s) CommandError: Error applying evolution: (1054, Unknown column 'show_submitted' in 'accounts_profile') Thanks, Andrew -- 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.commailto: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
Re: Paths in the Patch file
Is it just me, or do those paths look identical? Those are paths relative to the repository root, and doesn't seem to have anything to do with remote servers. On Feb 19, 2014, at 10:40 AM, Allen zhangsan8...@gmail.commailto:zhangsan8...@gmail.com wrote: After a code review is created, there`s a button for user to download the patch file. The problem I have here is, I tried to apply that patch file to my local working copy, but the paths are wrong! Seems the rbtool changes all the files` path when creating a code review. Here`s a example of what those paths look like: --- /trunk/ReviewBoardTest/src/ReviewBoardTest.java (revision 166) +++ /trunk/ReviewBoardTest/src/ReviewBoardTest.java (working copy) you see here? The working copy is locally, but the review board changes its path to remote server. I think it will be great if I can just simply download the patch file and apply it without modifying the paths. Any idea about why the paths are changed? Thansk! -- 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.commailto:reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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/groups/opt_out.
Re: Failure authenticating with BASIC 'Web API'@reviewboard.example.com
Hi, I don't know anything about ReviewBot or Jenkins, but BASIC is a type of HTTP authentication, and those errors are indicating that whichever process is attempting to access the web API does not have any credentials provided (i.e., you forgot to give it a username/password to access the web API). Thanks, Andrew On Feb 11, 2014, at 11:20 AM, Gong Zhang zhangsan8...@gmail.commailto:zhangsan8...@gmail.com wrote: I am using a extension reviewbot on Jenkins to send comment back to ReviewBoard. For somehow, I am getting these errors: Failure authenticating with BASIC 'Web API'@10.50.12.159mailto:API'@10.50.12.159:81 Feb 11, 2014 10:57:29 AM WARNING org.apache.commons.httpclient.HttpMethodDirector authenticateHost Required credentials not available for BASIC any realm@10.50.12.159:81 Feb 11, 2014 10:57:29 AM WARNING org.apache.commons.httpclient.HttpMethodDirector authenticateHost Preemptive authentication requested but no default credentials available Any idea why? What`s BASIC? Is it a username for access of WEB API? Thanks! -- 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.commailto:reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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/groups/opt_out.