Re: RBTools post review requests between my working copy and an arbitrary SVN revision

2015-01-27 Thread Yu-Kai Tseng
Hi,

The use case is

Assume I modified code based on SVN revision 100, my code was reviewed and 
was committed to SVN (revision 200)
After I committed the code, I found there was a better design of my code. 
So, I wrote the code again and wanted to create
a review based on SVN 100 and my working copy because SVN revision 200 was 
nothing for me now.

However, I can't find a way to create diffs for it.

David Trowbridge於 2015年1月28日星期三 UTC+8上午7時41分08秒寫道:

 This is currently only possible if you create the diff yourself and post 
 using --diff-file name. Could you explain your use case for digging between 
 a non-HEAD revision and your working copy?

 -David
 On Mon, Jan 26, 2015 at 10:04 PM Yu-Kai Tseng tanis...@gmail.com 
 javascript: wrote:

 Hi,

 May I create a diff between my working copy and a non-HEAD SVN revision 
 using rbtools.
 I searched the document and even read the code but found no solution for 
 it.

 I am going to introduce the rbtools to my colleagues and hope I can find 
 an answer, even a no, you can't do it, 
 Can anyone help me about it?

 Thank you.

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


RBTools post review requests between my working copy and an arbitrary SVN revision

2015-01-26 Thread Yu-Kai Tseng
Hi,

May I create a diff between my working copy and a non-HEAD SVN revision 
using rbtools.
I searched the document and even read the code but found no solution for it.

I am going to introduce the rbtools to my colleagues and hope I can find an 
answer, even a no, you can't do it, 
Can anyone help me about it?

Thank you.

-- 
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: Cannot run rbt post in RBTools 0.7.0

2015-01-20 Thread Yu-Kai Tseng
Hi Christian,

I've posted a bug report on the bug tracker.
As for the environment variables, since it contains some private 
information, can I send them to you through an email?

Christian Hammond於 2015年1月20日星期二 UTC+8下午5時52分57秒寫道:

 Hi, 

 Can you file a bug about this, to help us track it? Knowing the 
 environment variable contents that may be causing the problem would also 
 help. 

 Thanks, 

 Christian 

 --   
 Christian Hammond - chri...@beanbaginc.com javascript:   
 Review Board - https://www.reviewboard.org   
 Beanbag, Inc. - https://www.beanbaginc.com 

 -Original Message- 
 From: Yu-Kai Tseng tanis...@gmail.com javascript: 
 Reply: revie...@googlegroups.com javascript: revie...@googlegroups.com 
 javascript: 
 Date: January 20, 2015 at 1:50:54 AM 
 To: revie...@googlegroups.com javascript: revie...@googlegroups.com 
 javascript: 
 Subject:  Cannot run rbt post in RBTools 0.7.0 

  Hi all, 

  I recently upgraded my rbtools from 0.6.2 to 0.7.0. 
  After I upgraded the rbtools, 
  I tried to post a review request to server using rbtools 0.7.0 and 
 received 
  this error. 

  CRITICAL: environment can only contain strings 

  I googled this sentence and found that this probably is related to 
 unicode 
  environment variables.' 
  It seems that Python 2 does not support unicode environment variables. 
  However, I searched my environment variables but cannot find any 
 suspicious 
  one. (The os is Windows 7) 
  Can anyone give me some hints on resolving this problem? 

  (debug log of rbt post) 


  Thank you. 

  btw, RBTools 0.6.2 still works perfectly without any problem. 
  (with Python 2.7.6) 

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


Cannot run rbt post in RBTools 0.7.0

2015-01-20 Thread Yu-Kai Tseng
Hi all,

I recently upgraded my rbtools from 0.6.2 to 0.7.0.
After I upgraded the rbtools, 
I tried to post a review request to server using rbtools 0.7.0 and received 
this error.

CRITICAL: environment can only contain strings

I googled this sentence and found that this probably is related to unicode 
environment variables.'
It seems that Python 2 does not support unicode environment variables.
However, I searched my environment variables but cannot find any suspicious 
one. (The os is Windows 7)
Can anyone give me some hints on resolving this problem?

(debug log of rbt post)

https://lh4.googleusercontent.com/-iyhRLUJ5-zE/VL4kx2-Oq5I/AM4/ID3wzvvP55c/s1600/rbtools.png
Thank you.

btw, RBTools 0.6.2 still works perfectly without any problem.
(with Python 2.7.6)

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


RBTools 0.6.2 revision range and file path

2014-07-24 Thread Yu-Kai Tseng
Hi Developers,

I updated my rbtools to 0.6.2 and encountered the following problem. (my 
repo is SVN)

When I use rbtools 0.5.x, I can use commands such as
rbt post --revision-range=: /path/to/file1 path/to/file2
to indicate that I want to upload diffs of version  and version  of 
file1 and file2 .

However, after I updated to 0.6.2, commands such as

rbt post : /path/to/file1 path/to/file2 failed to upload diffs and 
shows the following error msg

E:\MXviewrbt post src 29486:29527
CRITICAL: Could not parse specified revisions: ['src', '29486:29527']

I tried to substitute parameter orders but still not worked.

Do I miss something? I can't find an example in rbtools document. Please 
help.


-- 
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: Two different project with the same svn root

2014-04-11 Thread Yu-Kai Tseng
Hi Christian,

So is there no other solutions except that I set different SVN repository 
root to these projects?

Can future reviewboard support it because I don't see anything wrong when 
two projects share the same svn root?

Thank you.

Yu-Kai

Christian Hammond於 2014年4月11日星期五UTC+8下午1時38分04秒寫道:

 Hi,

 Either way, they'll be able to see each others' review requests, unless 
 you use invite-only groups.

 For Subversion, you need to have the repository configured to point to the 
 root of the repository. You can only have one repository pointing there, 
 though. Pointing to a subdirectory within the SVN repository will not work 
 and is not supported.

 Christian

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


 On Thu, Apr 10, 2014 at 10:22 PM, Yu-Kai Tseng 
 tanis...@gmail.comjavascript:
  wrote:

 Hi David,

 Because they are two different projects, working by different people. We 
 don't want them to see mixed
 review requests in one reviewboard repository.

 David Trowbridge於 2014年4月11日星期五UTC+8上午8時49分22秒寫道:

 Hi,

 Review Board will try to find the root of your repository when you add 
 it, which is why this is happening. Why do you want two separate Repository 
 connections?

 -David


 On Thu, Apr 10, 2014 at 3:46 AM, Yu-Kai Tseng tanis...@gmail.comwrote:

 Hi,

 We are trying to user Reviewboard to review our codes.

 We are facing a problem that we have many different projects saved in 
 our SVN server.
 These projects share a same repository root, which is, the SVN server's 
 url.

 For example,
 /
 |- project1
 |- project2

  The repository root of these two projects is the [server's url].
 There relative urls are ^/project1 and ^/project2

 What we want to do is to create two reviewboard repositories for these 
 two projects, 
 one for project1, and one for project2. However, when I create the 
 repository
 for project2, a message A repository with this path already exists 
 shows that I can't set the same repository path for project2 and 
 project1.

 If I set the path to [server's url]/project2, rbt post fails

 DEBUG:root:Error data: {u'stat': u'fail', u'file': u'[path to the 
 file]', u'err': {u'msg': u'The fi
 le was not found in the repository', u'code': 207}, u'revision': 
 u'27892'}
 Traceback (most recent call last):

 I find a workaround that if I set the project2's repository path to 
 [server's url]/
 rbt post works. However, if we want to apply reviewboard to more 
 projects, it is ridiculous to 
 set repository path like  [server's url]/././...

 Is there any solution to resolve this problem?
 Or did I miss something?

 Thank you.

  -- 
 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 javascript:.
 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: Two different project with the same svn root

2014-04-11 Thread Yu-Kai Tseng
Hi David,

Thank you, I will try it.

Yu-Kai

David Trowbridge於 2014年4月11日星期五UTC+8下午2時50分03秒寫道:

 Are you looking to prevent users from seeing any review requests that are 
 part of the other project?

 If so, you can accomplish this with review groups and default reviewers. 
 Create a review group for each project, and add the various users to each. 
 Mark the group as private (invite only). Then add a default reviewer and 
 create a file regex for each of the projects to automatically assign any 
 changes to that part of the repository to the relevant group.

 -David


 On Thu, Apr 10, 2014 at 11:42 PM, Yu-Kai Tseng 
 tanis...@gmail.comjavascript:
  wrote:

 Hi Christian,

 So is there no other solutions except that I set different SVN repository 
 root to these projects?

 Can future reviewboard support it because I don't see anything wrong when 
 two projects share the same svn root?

 Thank you.

 Yu-Kai

 Christian Hammond於 2014年4月11日星期五UTC+8下午1時38分04秒寫道:

 Hi,

 Either way, they'll be able to see each others' review requests, unless 
 you use invite-only groups.

 For Subversion, you need to have the repository configured to point to 
 the root of the repository. You can only have one repository pointing 
 there, though. Pointing to a subdirectory within the SVN repository will 
 not work and is not supported.

 Christian

 -- 
 Christian Hammond - chi...@chipx86.com

 Review Board - http://www.reviewboard.org
 Beanbag, Inc. - http://www.beanbaginc.com


 On Thu, Apr 10, 2014 at 10:22 PM, Yu-Kai Tseng tanis...@gmail.comwrote:

 Hi David,

 Because they are two different projects, working by different people. 
 We don't want them to see mixed
 review requests in one reviewboard repository.

 David Trowbridge於 2014年4月11日星期五UTC+8上午8時49分22秒寫道:

 Hi,

 Review Board will try to find the root of your repository when you add 
 it, which is why this is happening. Why do you want two separate 
 Repository 
 connections?

 -David


 On Thu, Apr 10, 2014 at 3:46 AM, Yu-Kai Tseng tanis...@gmail.comwrote:

 Hi,

 We are trying to user Reviewboard to review our codes.

 We are facing a problem that we have many different projects saved in 
 our SVN server.
 These projects share a same repository root, which is, the SVN 
 server's url.

 For example,
 /
 |- project1
 |- project2

  The repository root of these two projects is the [server's url].
 There relative urls are ^/project1 and ^/project2

 What we want to do is to create two reviewboard repositories for 
 these two projects, 
 one for project1, and one for project2. However, when I create the 
 repository
 for project2, a message A repository with this path already exists 
 shows that I can't set the same repository path for project2 and 
 project1.

 If I set the path to [server's url]/project2, rbt post fails

 DEBUG:root:Error data: {u'stat': u'fail', u'file': u'[path to the 
 file]', u'err': {u'msg': u'The fi
 le was not found in the repository', u'code': 207}, u'revision': 
 u'27892'}
 Traceback (most recent call last):

 I find a workaround that if I set the project2's repository path to 
 [server's url]/
 rbt post works. However, if we want to apply reviewboard to more 
 projects, it is ridiculous to 
 set repository path like  [server's url]/././...

 Is there any solution to resolve this problem?
 Or did I miss something?

 Thank you.

  -- 
 Get the Review Board Power Pack at http://www.reviewboard.org/pow
 erpack/
 ---
 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...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/d/optout.




-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack

Two different project with the same svn root

2014-04-10 Thread Yu-Kai Tseng
Hi,

We are trying to user Reviewboard to review our codes.

We are facing a problem that we have many different projects saved in our 
SVN server.
These projects share a same repository root, which is, the SVN server's url.

For example,
/
|- project1
|- project2

The repository root of these two projects is the [server's url].
There relative urls are ^/project1 and ^/project2

What we want to do is to create two reviewboard repositories for these two 
projects, 
one for project1, and one for project2. However, when I create the 
repository
for project2, a message A repository with this path already exists 
shows that I can't set the same repository path for project2 and project1.

If I set the path to [server's url]/project2, rbt post fails

DEBUG:root:Error data: {u'stat': u'fail', u'file': u'[path to the file]', 
u'err': {u'msg': u'The fi
le was not found in the repository', u'code': 207}, u'revision': u'27892'}
Traceback (most recent call last):

I find a workaround that if I set the project2's repository path to 
[server's url]/
rbt post works. However, if we want to apply reviewboard to more projects, 
it is ridiculous to 
set repository path like  [server's url]/././...

Is there any solution to resolve this problem?
Or did I miss something?

Thank you.

-- 
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: Two different project with the same svn root

2014-04-10 Thread Yu-Kai Tseng
Hi David,

Because they are two different projects, working by different people. We 
don't want them to see mixed
review requests in one reviewboard repository.

David Trowbridge於 2014年4月11日星期五UTC+8上午8時49分22秒寫道:

 Hi,

 Review Board will try to find the root of your repository when you add it, 
 which is why this is happening. Why do you want two separate Repository 
 connections?

 -David


 On Thu, Apr 10, 2014 at 3:46 AM, Yu-Kai Tseng tanis...@gmail.comjavascript:
  wrote:

 Hi,

 We are trying to user Reviewboard to review our codes.

 We are facing a problem that we have many different projects saved in our 
 SVN server.
 These projects share a same repository root, which is, the SVN server's 
 url.

 For example,
 /
 |- project1
 |- project2

  The repository root of these two projects is the [server's url].
 There relative urls are ^/project1 and ^/project2

 What we want to do is to create two reviewboard repositories for these 
 two projects, 
 one for project1, and one for project2. However, when I create the 
 repository
 for project2, a message A repository with this path already exists 
 shows that I can't set the same repository path for project2 and project1.

 If I set the path to [server's url]/project2, rbt post fails

 DEBUG:root:Error data: {u'stat': u'fail', u'file': u'[path to the file]', 
 u'err': {u'msg': u'The fi
 le was not found in the repository', u'code': 207}, u'revision': u'27892'}
 Traceback (most recent call last):

 I find a workaround that if I set the project2's repository path to 
 [server's url]/
 rbt post works. However, if we want to apply reviewboard to more 
 projects, it is ridiculous to 
 set repository path like  [server's url]/././...

 Is there any solution to resolve this problem?
 Or did I miss something?

 Thank you.

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