Re: forcing post-review to disregard current working directory

2013-05-23 Thread Kudrettin Güleryüz
Thank you. I wasn't aware but Eclipse does allow you to specify a current
working directory. And that worked.

I was also confused about running the env together with Eclipse, but they
can all work together quite well. For others with similar interest: Simply
go into project properties in Eclipse. Add your virtualenv to Pydev
interpreters list and select that one as the default interpreter. In my
case selecting all libraries available simply worked with RBTools
development.



On Wed, Mar 20, 2013 at 12:11 PM, Matthew Woehlke
mwoehlke.fl...@gmail.comwrote:

 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/ http://www.reviewboard.org/donate/
 Happy user? Let us know at 
 http://www.reviewboard.org/**users/http://www.reviewboard.org/users/
 -~--~~~~--**~~--~--~---
 To unsubscribe from this group, send email to reviewboard+unsubscribe@**
 googlegroups.com reviewboard%2bunsubscr...@googlegroups.com
 For more options, visit this group at http://groups.google.com/**
 group/reviewboard?hl=en 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+unsubscribe@**googlegroups.comreviewboard%2bunsubscr...@googlegroups.com
 .
 For more options, visit 
 https://groups.google.com/**groups/opt_outhttps://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: 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.




forcing post-review to disregard current working directory

2013-03-19 Thread Kudrettin Güleryüz
Hello,

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.

Thank you, \\Kudret

-- 
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: post-review created 2 reviews for the same change list number

2013-03-19 Thread Kudrettin Güleryüz
Hi,

Can there be two different Perforce servers involved with the two
submissions?
one submission using perforce-main vs another using perforce-backup for
instance...

Kudret


On Tue, Mar 19, 2013 at 10:45 AM, Steve seide.al...@gmail.com wrote:

 Any thoughts on the duplicate review problem?  It's a concern because
 we're currently using RB 1.5.5 with an in-house perl script for posting
 reviews.  We plan to upgrade soon to 1.7.6 so I'm migrating our users to
 the post-review script.  This duplicate review occurred within a few days
 of using post-review with our 1.5.5 server and has us a bit skittish about
 making the jump.  Any thoughts or advise would be great.  If it's a rare
 event that I can easily repair by deleting the extra review, or assigning
 it a bogus change list number, that would at least provide some comfort :)

 Thanks

 --Steve


 On Friday, March 15, 2013 2:12:24 PM UTC-7, Steve wrote:

 Yes it's perforce.

 On Friday, March 15, 2013 2:05:56 PM UTC-7, Christian Hammond wrote:

 Hi Steve,

 Is this with Perforce?

 Christian

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

 On Mar 15, 2013, at 2:05 PM, Steve seide...@gmail.com wrote:

 We're currently using Review Board 1.5.5 in production (we'll be
 upgrading to 1.7.6 soon) and RBTools 0.4.2.  One of our developers created
 a new review with post-review, and then when he used post-review again to
 update the review, it created a new review.  I verified that we ended up
 with 2 reviews with the same change list number.  I didn't even think that
 was possible - I thought their was a 1-1 correspondence between review ids
 and changenums.  Any ideas how this could have happened?  Now when we try
 to update the review, it finds the newer review, even though it was
 discarded.  Can I fix this?

 Thanks

 --Steve


 --
 Want to help the Review Board project? Donate today at
 http://www.reviewboard.org/**donate/http://www.reviewboard.org/donate/
 Happy user? Let us know at 
 http://www.reviewboard.org/**users/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=enhttp://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...@googlegroups.**com.
 For more options, visit 
 https://groups.google.com/**groups/opt_outhttps://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.




virtualenv installation

2013-02-11 Thread kudrettin
Hello, 

I have git cloned the latest RB source code and executed
$ ./reviewboard/manage.py evolve --execute
in a virtualenv setting:

* How can I reset/recreate/modify the admin user password?
* How can I modify the default DB setting, so it would use a Mysql DB 
instead?

Thanks, \\Kudret 

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