Re: forcing post-review to disregard current working directory

2013-03-20 Thread Kudrettin Güleryüz
I may be wrong but I feel like both suggestions are kind of inconvenient in
my case. I was hoping to debug the script in eclipse where I make changes
in pydev.  I am open to suggestions as to how to debug the changed code.
I'd like to be able to use all major debug features such as stepping,
watching, etc. I am new in Python.


On Tue, Mar 19, 2013 at 7:25 PM, Christian Hammond chip...@chipx86.comwrote:

 You can also run sudo setup.py develop to get your custom tree's
 versions to be in your path, and then cd to where you want to actually post
 the review request.

 Christian

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

 On Mar 19, 2013, at 4:24 PM, Matthew Woehlke mwoehlke.fl...@gmail.com
 wrote:

 On 2013-03-19 10:16, Kudrettin Güleryüz wrote:

 I have cloned the latest RBTools from github. After I make changes to
 postreview.py regarding perforce, I'd like to test my changes but
 postreview.py assumes I'll be submitting reviews regarding RBTools itself.
 Can I override this behavior? If not please suggest your development
 workflows.


 Probably not, but why can you not just cd to the repository from which you
 actually want to push changes, and then specify the path to your modified
 post-review.py?

 --
 Matthew

 --
 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+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/reviewboard?hl=en
 --- 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.



  --
 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+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/reviewboard?hl=en
 ---
 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.




-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
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.




Uninstall Extension

2013-03-20 Thread nehab111

 How to uninstall extension from Reviewboard?

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
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: forcing post-review to disregard current working directory

2013-03-20 Thread Matthew Woehlke

On 2013-03-20 10:13, Kudrettin Güleryüz wrote:

I may be wrong but I feel like both suggestions are kind of inconvenient in
my case. I was hoping to debug the script in eclipse where I make changes
in pydev.  I am open to suggestions as to how to debug the changed code.
I'd like to be able to use all major debug features such as stepping,
watching, etc. I am new in Python.


Does eclipse not allow you to specify the working directory when you run 
the program for debugging?


--
Matthew

--
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
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: RBTools 0.5 released!

2013-03-20 Thread Steve
I just installed RBTools 0.5 in a virtuaenv, and it installed rbt, but not 
post-review.  I know post-review is being deprecated, but this looks more 
like it's been removed completely.  Is that intentional?

--Steve


On Tuesday, March 19, 2013 1:43:44 AM UTC-7, Christian Hammond wrote:

 Hi everyone,

 The new RBTools 0.5 is out. This is a major release, led by our own Steven 
 MacLeod, and is, to me, the most exciting release of RBTools we've put out. 
 There's a bunch of new command line scripts and a brand new Python API that 
 you can use to talk to Review Board.

 There's a lot of new awesomeness that I'm not going to repeat here. 
 Instead, I'll just link you to our official announcement.

 http://www.reviewboard.org/news/2013/03/19/rbtools-0-5-released/

 If you have questions about using the Python API or developing scripts, 
 please use reviewb...@googlegroups.com javascript:. Otherwise, go ahead 
 and post here!

 Christian

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

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
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.




Timestamps are off after 1.6.3 to 1.7.6 upgrade

2013-03-20 Thread David Lee
This morning, I upgraded our ReviewBoard installation from 1.6.3 to 1.7.6, 
and almost everything went smoothly.

The only problem we've had with the upgrade is that the timestamps for 
pre-upgrade reviews, comments, etc. are wrong. Timestamps for new content 
are correct.

I've set the Time Zone setting in Admin/General Settings, and I've set the 
timezone for My Account as well. Prior to the upgrade, we also had 
TIME_ZONE set in settings_local.py.

We're using a MySQL database, with a Memcached cache backend, in case that 
makes a difference.

I've poked around on the database, and it looks as though with 1.6, 
timestamps were being stored in local time, but now in 1.7 timestamps are 
being stored in UTC.

Are there any tools or scripts that someone can point me to for fixing the 
timestamps in the database?

Thanks!
-- 
David M. Lee
Digium, Inc. | Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at:  www.digium.com   www.asterisk.org

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
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: RBTools 0.5 released!

2013-03-20 Thread Steve
Sorry, my mistake.  post-review was installed, I was in the wrong 
virtualenv.

--Steve


On Wednesday, March 20, 2013 10:13:42 AM UTC-7, Steve wrote:

 I just installed RBTools 0.5 in a virtuaenv, and it installed rbt, but not 
 post-review.  I know post-review is being deprecated, but this looks more 
 like it's been removed completely.  Is that intentional?

 --Steve


 On Tuesday, March 19, 2013 1:43:44 AM UTC-7, Christian Hammond wrote:

 Hi everyone,

 The new RBTools 0.5 is out. This is a major release, led by our own 
 Steven MacLeod, and is, to me, the most exciting release of RBTools we've 
 put out. There's a bunch of new command line scripts and a brand new Python 
 API that you can use to talk to Review Board.

 There's a lot of new awesomeness that I'm not going to repeat here. 
 Instead, I'll just link you to our official announcement.

 http://www.reviewboard.org/news/2013/03/19/rbtools-0-5-released/

 If you have questions about using the Python API or developing scripts, 
 please use reviewb...@googlegroups.com. Otherwise, go ahead and post 
 here!

 Christian

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


-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
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: Uninstall Extension

2013-03-20 Thread David Trowbridge
You can deactivate it from the Extensions page in the reviewboard admin
section. If you want it to disappear entirely from there, after
deactivating it, remove the .egg from your python site-packages directory.


-David


On Wed, Mar 20, 2013 at 8:17 AM, nehab...@gmail.com wrote:


  How to uninstall extension from Reviewboard?

 --
 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+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/reviewboard?hl=en
 ---
 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.




-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
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.




Use new python API to get latest changes

2013-03-20 Thread A.M.
Hello,

Is it possible to use the rb API in 1.7.5 to get the changes to reviewboard
in the past X minutes (any review request changes)? I am creating a review
board poller which will then update a ticket system with links to
reviewboard. 

I had previously made a reviewboard plugin for this task, but our ticket
system is sluggish at times, so users are annoyed that the Publish step
is blocking/slow. To address this, I would like to poll and update the
ticket out-of-band.

Thanks.

Best regards,
M

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
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: Use new python API to get latest changes

2013-03-20 Thread Raja
Hi
You could use the /api/review-requests/?last-updated-from=last update
time to poll review requests that got updated after the last update
time. You could also use last-update-to, if you want to limit requests
that happened to a particular time or use them both together to find
requests updated in a particular time interval. The times have to be in the
format of -MM-DD or -MM-DDThh:mm:ss or -MM-DDThh:mm:ss+TZ

The other option is to write an extension that listens for the
review_request_published signal and acts accordingly, but since you
mentioned that the other system is sluggish, the users might have the same
experience as the signals get processed in the same thread.

Regards
Raja




On Thu, Mar 21, 2013 at 5:42 AM, A.M. age...@themactionfaction.com wrote:

 Hello,

 Is it possible to use the rb API in 1.7.5 to get the changes to reviewboard
 in the past X minutes (any review request changes)? I am creating a review
 board poller which will then update a ticket system with links to
 reviewboard.

 I had previously made a reviewboard plugin for this task, but our ticket
 system is sluggish at times, so users are annoyed that the Publish step
 is blocking/slow. To address this, I would like to poll and update the
 ticket out-of-band.

 Thanks.

 Best regards,
 M

 --
 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+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/reviewboard?hl=en
 ---
 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.




-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
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: Issue 2916 in reviewboard: Review Board does not respect line endings

2013-03-20 Thread reviewboard


Comment #7 on issue 2916 by vsavc...@productengine.com: Review Board does  
not respect line endings

http://code.google.com/p/reviewboard/issues/detail?id=2916

Tested the patch, works well. Thank a lot!
Looking forward to seeing it in a release.

--
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.