Re: RBTools not working.

2023-07-21 Thread Christian Hammond
Hi David,

I'm glad you got it figured out! What was the missing/fixed piece in the
configuration?

Christian

On Tue, Jul 18, 2023 at 5:19 AM Agoston David  wrote:

> Dear Christian,
>
> Your hint:* "It looks like while HTTP GET operations are working fine,
> HTTP POST operations are coming back with some kind of results that aren't
> expected." *helped me find the solution.
>
> The problem was in the reverse proxy configuration;
> this is a snippet of the working config:
>
> location / {# For regular webserver support
> proxy_pass http://10.4.0.104:80;
> proxy_set_header X-Real-IP $remote_addr;
> proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
> proxy_set_header Host $http_host;
> proxy_set_header X-NginX-Proxy true;
> proxy_set_header X-Forwarded-Proto $scheme;
> proxy_set_header X-Forwarded-Host $host;
> proxy_redirect off;
> }
>
> I appreciate your help,
> David
>
> On Monday, July 17, 2023 at 2:37:36 PM UTC+2 Agoston David wrote:
>
>> ReviewBoard==5.0.5
>> RBTools 4.1 (Python 3.11.3)
>>
>> I made the requested modification and as I can see it will be prints a
>> lot to the attached logs.
>>
>> in the git repo:
>> >rbt post -d
>> output:
>> find the attached file : *rbt_post_git_out*.txt
>> reviewboard.log :
>> 2023-07-17 12:21:17,001 - ERROR - None - as - /api/repositories/1/info/ -
>> django.request - Not Implemented: /api/repositories/1/info/
>>
>> in the svn repo:
>> >rbt post -d
>> output:
>> find the attached file : *rbt_post_svn_out*.txt
>> reviewboard.log :
>>  - no new entry
>>
>> please tell If I can provide any more information or run any new tests.
>> David
>>
>> On Friday, July 14, 2023 at 10:04:55 PM UTC+2 Christian Hammond wrote:
>>
>>> Hi Agoston,
>>>
>>> Can you verify for me which version of Review Board is installed?
>>>
>>> It looks like while HTTP GET operations are working fine, HTTP POST
>>> operations are coming back with some kind of results that aren't expected.
>>>
>>> To debug this, we'll need to know a bit more about what it's seeing. Can
>>> you:
>>>
>>> 1. Check your reviewboard.log on the Review Board server (enable this
>>> and repeat the test if not enabled), and see if it's showing any errors on
>>> that end?
>>>
>>> 2. If you're comfortable with it, hand-modify
>>> /home/as/.local/pipx/venvs/rbtools/lib/python3.11/site-packages/rbtools/api/resource.py
>>> to be:
>>>
>>> print(self._payload)
>>> raise AttributeError('This %s does not have an attribute
>>> "%s".'
>>>  % (self.__class__.__name__, name))
>>>
>>>This is temporary. We'll just want to see what it's getting back from
>>> that request.
>>>
>>> 3. Re-attempt the same Git test and see what output we get. (Make sure
>>> there's no sensitive information included before posting results.)
>>>
>>> Christian
>>>
>>> On Thu, Jul 13, 2023 at 12:22 PM Agoston David  wrote:
>>>
 Hi,

 I successfully managed to install and configure a reviewboard server on
 my intranet.

 I am accessing the reviewboard via an Nginx reverse proxy.

 The site itself looks good and works as an I expected.

 I configure two repos, one self-hosted gitlab repo and a subversion
 repo.

 When I try to run "rbt post" in  this repos, I get errors: (arch Linux)

 In the subversion repo:
 "> rbt post
 CRITICAL: 'ListResource' object has no attribute 'get_diffs'"

 In the git repo:
 > rbt post
 Validating commits...
[0/1]
 CRITICAL: This ValidateDiffCommitResource does not have an attribute
 "validation_info".



 I am not found any helpful help with Google or with GPT4 :)

 Here are the "-d" outputs:
 Subversion:
 > rbt post -d
 >>> RBTools 4.1
 >>> Python 3.11.3 (main, Apr  5 2023, 15:52:25) [GCC 12.2.1 20230201]
 >>> Running on Linux-6.1.31-1-lts-x86_64-with-glibc2.37
 >>> Home = /home/as
 >>> Current directory = /home/as/work/buildbot
 >>> Command line: rbt post -d
 >>> Making HTTP GET request to http://review.YYY.com/api/
 >>> [scan] Checking for available SCMs for /home/as/work/buildbot...
 >>> [scan] Considering all repository types
 >>> [scan] Skipping Bazaar: Command line tools (one of ('brz', 'bzr'))
 are missing.
 >>> [scan] Skipping VersionVault / ClearCase: Command line tools
 ('cleartool') are missing.
 >>> [scan] Skipping CVS: Command line tools ('cvs') are missing.
 >>> [scan] Checking for a Git repository...
 >>> Running: git rev-parse --git-dir
 >>> Command exited with rc=128 (errors ignored): git rev-parse --git-dir
 >>> Command stdout=b'fatal: not a git repository (or any parent up to
 mount point /home/as)\nStopping at filesystem boundary
 (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).\n'
 >>> Command stderr=None
 >>> [scan] Checking for a Mercurial repository...
 >>> Running: hg showconfig
 >>> [scan] 

Re: RBTools not working.

2023-07-18 Thread Agoston David
Dear Christian, 

Your hint:* "It looks like while HTTP GET operations are working fine, HTTP 
POST operations are coming back with some kind of results that aren't 
expected." *helped me find the solution.

The problem was in the reverse proxy configuration; 
this is a snippet of the working config:

location / {# For regular webserver support
proxy_pass http://10.4.0.104:80;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_set_header X-NginX-Proxy true;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $host;
proxy_redirect off;
}

I appreciate your help, 
David

On Monday, July 17, 2023 at 2:37:36 PM UTC+2 Agoston David wrote:

> ReviewBoard==5.0.5
> RBTools 4.1 (Python 3.11.3)
>
> I made the requested modification and as I can see it will be prints a lot 
> to the attached logs.
>
> in the git repo:
> >rbt post -d
> output:
> find the attached file : *rbt_post_git_out*.txt 
> reviewboard.log :
> 2023-07-17 12:21:17,001 - ERROR - None - as - /api/repositories/1/info/ - 
> django.request - Not Implemented: /api/repositories/1/info/
>
> in the svn repo:
> >rbt post -d
> output:
> find the attached file : *rbt_post_svn_out*.txt 
> reviewboard.log :
>  - no new entry
>
> please tell If I can provide any more information or run any new tests.
> David
>
> On Friday, July 14, 2023 at 10:04:55 PM UTC+2 Christian Hammond wrote:
>
>> Hi Agoston,
>>
>> Can you verify for me which version of Review Board is installed?
>>
>> It looks like while HTTP GET operations are working fine, HTTP POST 
>> operations are coming back with some kind of results that aren't expected.
>>
>> To debug this, we'll need to know a bit more about what it's seeing. Can 
>> you:
>>
>> 1. Check your reviewboard.log on the Review Board server (enable this and 
>> repeat the test if not enabled), and see if it's showing any errors on that 
>> end?
>>
>> 2. If you're comfortable with it, hand-modify 
>> /home/as/.local/pipx/venvs/rbtools/lib/python3.11/site-packages/rbtools/api/resource.py
>>  
>> to be:
>>
>> print(self._payload)
>> raise AttributeError('This %s does not have an attribute 
>> "%s".'
>>  % (self.__class__.__name__, name))
>>
>>This is temporary. We'll just want to see what it's getting back from 
>> that request.
>>
>> 3. Re-attempt the same Git test and see what output we get. (Make sure 
>> there's no sensitive information included before posting results.)
>>
>> Christian
>>
>> On Thu, Jul 13, 2023 at 12:22 PM Agoston David  wrote:
>>
>>> Hi,
>>>
>>> I successfully managed to install and configure a reviewboard server on 
>>> my intranet.
>>>
>>> I am accessing the reviewboard via an Nginx reverse proxy.
>>>
>>> The site itself looks good and works as an I expected.
>>>
>>> I configure two repos, one self-hosted gitlab repo and a subversion repo.
>>>
>>> When I try to run "rbt post" in  this repos, I get errors: (arch Linux)
>>>
>>> In the subversion repo:
>>> "> rbt post  
>>> CRITICAL: 'ListResource' object has no attribute 'get_diffs'" 
>>>
>>> In the git repo:
>>> > rbt post
>>> Validating commits...   
>>>[0/1]
>>> CRITICAL: This ValidateDiffCommitResource does not have an attribute 
>>> "validation_info".
>>>
>>>
>>>
>>> I am not found any helpful help with Google or with GPT4 :)
>>>
>>> Here are the "-d" outputs:
>>> Subversion:
>>> > rbt post -d
>>> >>> RBTools 4.1
>>> >>> Python 3.11.3 (main, Apr  5 2023, 15:52:25) [GCC 12.2.1 20230201]
>>> >>> Running on Linux-6.1.31-1-lts-x86_64-with-glibc2.37
>>> >>> Home = /home/as
>>> >>> Current directory = /home/as/work/buildbot
>>> >>> Command line: rbt post -d
>>> >>> Making HTTP GET request to http://review.YYY.com/api/
>>> >>> [scan] Checking for available SCMs for /home/as/work/buildbot...
>>> >>> [scan] Considering all repository types
>>> >>> [scan] Skipping Bazaar: Command line tools (one of ('brz', 'bzr')) 
>>> are missing.
>>> >>> [scan] Skipping VersionVault / ClearCase: Command line tools 
>>> ('cleartool') are missing.
>>> >>> [scan] Skipping CVS: Command line tools ('cvs') are missing.
>>> >>> [scan] Checking for a Git repository...
>>> >>> Running: git rev-parse --git-dir
>>> >>> Command exited with rc=128 (errors ignored): git rev-parse --git-dir
>>> >>> Command stdout=b'fatal: not a git repository (or any parent up to 
>>> mount point /home/as)\nStopping at filesystem boundary 
>>> (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).\n'
>>> >>> Command stderr=None
>>> >>> [scan] Checking for a Mercurial repository...
>>> >>> Running: hg showconfig
>>> >>> [scan] Skipping Perforce: Command line tools ('p4') are missing.
>>> >>> [scan] Skipping Plastic: Command line tools ('cm') are missing.
>>> >>> [scan] Skipping Cliosoft SOS: Command line tools ('soscmd') are 
>>> missing.
>>> >>> [scan] Checking for a S

Re: RBTools not working.

2023-07-14 Thread Christian Hammond
Hi Agoston,

Can you verify for me which version of Review Board is installed?

It looks like while HTTP GET operations are working fine, HTTP POST
operations are coming back with some kind of results that aren't expected.

To debug this, we'll need to know a bit more about what it's seeing. Can
you:

1. Check your reviewboard.log on the Review Board server (enable this and
repeat the test if not enabled), and see if it's showing any errors on that
end?

2. If you're comfortable with it, hand-modify
/home/as/.local/pipx/venvs/rbtools/lib/python3.11/site-packages/rbtools/api/resource.py
to be:

print(self._payload)
raise AttributeError('This %s does not have an attribute "%s".'
 % (self.__class__.__name__, name))

   This is temporary. We'll just want to see what it's getting back from
that request.

3. Re-attempt the same Git test and see what output we get. (Make sure
there's no sensitive information included before posting results.)

Christian

On Thu, Jul 13, 2023 at 12:22 PM Agoston David  wrote:

> Hi,
>
> I successfully managed to install and configure a reviewboard server on my
> intranet.
>
> I am accessing the reviewboard via an Nginx reverse proxy.
>
> The site itself looks good and works as an I expected.
>
> I configure two repos, one self-hosted gitlab repo and a subversion repo.
>
> When I try to run "rbt post" in  this repos, I get errors: (arch Linux)
>
> In the subversion repo:
> "> rbt post
> CRITICAL: 'ListResource' object has no attribute 'get_diffs'"
>
> In the git repo:
> > rbt post
> Validating commits...
>  [0/1]
> CRITICAL: This ValidateDiffCommitResource does not have an attribute
> "validation_info".
>
>
>
> I am not found any helpful help with Google or with GPT4 :)
>
> Here are the "-d" outputs:
> Subversion:
> > rbt post -d
> >>> RBTools 4.1
> >>> Python 3.11.3 (main, Apr  5 2023, 15:52:25) [GCC 12.2.1 20230201]
> >>> Running on Linux-6.1.31-1-lts-x86_64-with-glibc2.37
> >>> Home = /home/as
> >>> Current directory = /home/as/work/buildbot
> >>> Command line: rbt post -d
> >>> Making HTTP GET request to http://review.YYY.com/api/
> >>> [scan] Checking for available SCMs for /home/as/work/buildbot...
> >>> [scan] Considering all repository types
> >>> [scan] Skipping Bazaar: Command line tools (one of ('brz', 'bzr')) are
> missing.
> >>> [scan] Skipping VersionVault / ClearCase: Command line tools
> ('cleartool') are missing.
> >>> [scan] Skipping CVS: Command line tools ('cvs') are missing.
> >>> [scan] Checking for a Git repository...
> >>> Running: git rev-parse --git-dir
> >>> Command exited with rc=128 (errors ignored): git rev-parse --git-dir
> >>> Command stdout=b'fatal: not a git repository (or any parent up to
> mount point /home/as)\nStopping at filesystem boundary
> (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).\n'
> >>> Command stderr=None
> >>> [scan] Checking for a Mercurial repository...
> >>> Running: hg showconfig
> >>> [scan] Skipping Perforce: Command line tools ('p4') are missing.
> >>> [scan] Skipping Plastic: Command line tools ('cm') are missing.
> >>> [scan] Skipping Cliosoft SOS: Command line tools ('soscmd') are
> missing.
> >>> [scan] Checking for a Subversion repository...
> >>> Running: svn --non-interactive info
> >>> Running: tf vc help
> >>> Command not found (tf vc help)
> >>> [scan] Skipping Team Foundation Server: Command line tools (one of
> ('VS2017+ tf', 'Team Explorer Everywhere tf.cmd', 'Our wrapper (rbt install
> tfs)')) are missing.
> >>> [scan] SCM scan complete. Found svn (/home/as/work/buildbot)
> >>> [scan] Verifying repository information...
> >>> Running: svn --non-interactive --version -q
> >>> [scan] Successfully found repository information:
>  local_path='/home/as/work/buildbot')>
> >>> [diff tool scan] Scanning for installed diff tools...
> >>> Running: /usr/bin/diff --version
> >>> [diff tool scan] Found GNU Diff (diff (GNU diffutils) 3.10)
> >>> Running: /usr/bin/diff --version
> >>> [diff tool scan] Scan complete.
> >>> Making HTTP GET request to
> http://review.YYY.com/api/repositories/?name=buildbot&only-fields=id%2Cname%2Cmirror_path%2Cpath&only-links=info&tool=Subversion
> >>> HTTP GET request to
> http://review.YYY.com/api/repositories/?name=buildbot&only-fields=id%2Cname%2Cmirror_path%2Cpath&only-links=info&tool=Subversion
> cannot be cached
> >>> Making HTTP GET request to
> http://review.YYY.com/api/repositories/2/info/
> >>> HTTP GET request to http://review.YYY.com/api/repositories/2/info/
> cannot be cached
> >>> Running: svn --non-interactive status -q --ignore-externals
> >>> Running: svn --non-interactive diff --diff-cmd=diff --notice-ancestry
> -r BASE
> >>> Running: svn --non-interactive diff --diff-cmd=diff --notice-ancestry
> -r BASE --no-diff-deleted
> >>> Running: svn --non-interactive info scripts/aa_pinball_env
> >>> Running: svn --non-interactive info scripts
> >>> Making HTTP GET request to http://review.YYY.com/api/validation/diffs/
> >>> HTTP GET 

Re: RBTools Install Error

2021-02-17 Thread Christian Hammond
Hi,

Can you run a filesystem search for rbt and see where it may have ended up?
It sounds more like an environment problem, where the version of Python may
be installing scripts somewhere not in your PATH.

That said, you will want a newer version of Python. We can’t block installs
on older versions, but it’s not guaranteed to work.

Christian


On Wed, Feb 17, 2021 at 07:59 Saurabh Kumar 
wrote:

> Hi,
>
> We tried to install RBTools on  Debian box with Python3.5
>
> *Collecting RBTools*
>
> *  Downloading
> https://files.pythonhosted.org/packages/8c/24/3bc9745914f6760e5a89f35eab3968f0e66b2f595255cd9161a533aac7ee/RBTools-2.0-py2.py3-none-any.whl
> 
> (268kB)*
>
> *100% || 276kB 2.8MB/s*
>
> *Collecting colorama (from RBTools)*
>
> * Downloading
> https://files.pythonhosted.org/packages/44/98/5b86278fbbf250d239ae0ecb724f8572af1c91f4a11edf4d36a206189440/colorama-0.4.4-py2.py3-none-any.whl
> *
>
> *Collecting tqdm (from RBTools)*
>
> *  Downloading
> https://files.pythonhosted.org/packages/b3/db/dcda019790a8d989b8b0e7290f1c651a0aaef10bbe6af00032155e04858d/tqdm-4.56.2-py2.py3-none-any.whl
> 
> (72kB)*
>
> *100% || 81kB 10.8MB/s*
>
> *Collecting six>=1.8.0 (from RBTools)*
>
> *  Downloading
> https://files.pythonhosted.org/packages/ee/ff/48bde5c0f013094d729fe4b0316ba2a24774b3ff1c52d924a8a4cb04078a/six-1.15.0-py2.py3-none-any.whl
> *
>
> *Collecting texttable (from RBTools)*
>
> *  Downloading
> https://files.pythonhosted.org/packages/06/f5/46201c428aebe0eecfa83df66bf3e6caa29659dbac5a56ddfd83cae0d4a4/texttable-1.6.3-py2.py3-none-any.whl
> *
>
> *Installing collected packages: colorama, tqdm, six, texttable, RBTools*
>
> *Successfully installed RBTools-2.0** colorama-0.4.4 six-1.15.0
> texttable-1.6.3 tqdm-4.56.2*
>
> *$ which rbt*
>
> *$ rbt*
>
> *-bash: rbt: command not found*
>
> Not sure it RBTools were installed correctly.
>
> We noticed that RBTools supports Python ( 2.7, 3.6+ ) and since we have
> 3.5 could it cause such behavior. We were expecting Python version not
> supported error in such case.
>
> Please let us know what else we can check to verify the installation.
>
> Thanks,
>
> Saurabh
>
> --
> 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://ww

Re: RBTools - review request creation with updates

2018-10-29 Thread Lukasz
Christian, thanks for your reply.

I think that the best way of using *RBTools post* in out case is with *-r*, 
because each developer's change pushed to GIT may have different commit 
message (summary passed to RB) and process should not wait for confirmation 
in case of review request matching problem.

>From your response I assumed that RB API does not provide method which 
returns review request ID according to given repository/branch name and 
some API extension should be written by us?

Regards,
Lukasz

W dniu piątek, 26 października 2018 09:54:48 UTC+2 użytkownik Lukasz 
napisał:
>
> Hello All!
> I have a question related to RBTools app (version 1.0.1).
>
> We have the following workflow - user pushes his changes to some 
> defect/task branch (GIT) and post-receive hook calling RBT (post) creates a 
> new review request in ReviewBoard (3.0.9).
>
> It's OK by the time when developer decides to push some new changes or fix 
> to the same GIT branch. We expect that previously created review request 
> would be updated with new revision and the same ID, but instead we have 
> another review request with new ID.
>
> We are using the following command:
>
> rbt post --debug --publish --submit-as={user_id} --server=http://{RB_url} 
> --username={user_id} --password={user_passwd} --disable-proxy 
> --repository={repo_name} --branch=master --bugs-closed={defect_branch} 
> --target-people={user_id} master..{defect_branch}
>
>
> We tested* --update* option but it's doesn't match proper review request 
> ID and whats more - asking for update confirmation (we need a "silent" call 
> without user prompt).
>
> Best option would be to use *-r {review_request_id}* argument, but there 
> are several issues:
>
> 1. It's not the recommended way according to your blog: 
> https://blog.beanbaginc.com/2014/12/08/5-tips-for-your-rbtools-workflow/
>  ("*It’s much nicer. Get in the habit of using -u**. It’s the wave of the 
> future.*").
>
> 2. We need to know the *review request ID *for the particular defect/task 
> branch. What is the best way to get it without our changes, using built-in 
> methods? Via RB API? We haven't found any useful examples.
>
> To sum up, we want to use RBT command in GIT post-receive hook, which 
> creates new review request in ReviewBoard if changes are pushed for 
> defect/task branch for the first time and updates this review request with 
> new revisions for each GIT push on this branch (without user confirmation: 
> Update? Yes/No).
>
> We would be grateful for any help or example - how the RBT command line 
> should looks like. 
>
> Best regards,
> Lukasz
>
>
>
>

-- 
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 
"Review Board Community" 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: RBTools - review request creation with updates

2018-10-29 Thread Christian Hammond
Hi Lukasz,

We don't often do a lot of community support over the weekend (we're
stationed in California, USA), which is why you haven't heard from us. We
answer community support as soon as we can, but private paid support and
some development/business priorities sometimes delay that. I know sometimes
people have questions/need support that's time-critical, blocking something
they need to do, and for that we have some other support options I can
reach out to you about, if you're interested.

If -u is prompting, it's because it's not confident that the commit(s)
you're working with match a specific review request. -u looks at the HEAD
commit's summary and description and tries to find a pending review request
with the exact same text. If it finds an exact match, it uses it without
prompting. If it doesn't find an exact match, it has to prompt because it
might get things wrong.

A lot of that depends on your workflow. If a developer is always amending
one single commit on their branch, keeping the same summary/description, it
will find the review request. On the other hand, if there's multiple
commits on the branch, or the summary/description on the commit or review
request changes, it's not going to work right now. We also can't trust the
commit SHA on Git, since it changes every time the commit contents,
description, or position in the tree changes, so we can't always use it as
a lookup (though we do factor that in with -u).

We've explored using git-notes to attach the review request ID, but it's
not an ideal solution, posing new problems. We're going to look into
setting the review request ID in the branch description (git branch
--edit-description), but there's no code toward this yet.

-r is fine to use, though. We're never getting rid of it. It will require
something on your end to figure out that ID. Since -u is just a wrapper
around -r, it'll be where any new intelligence for finding a review request
would live on our end. There isn't something else we could provide that
would give you a value for -r.

I know some companies have their own wrappers around RBTools, and I think
some have their own internal method for tracking branches and review
request IDs. I don't have access to any of these, and couldn't say how they
work. You could always provide your own wrapper and try the method of
attaching some information to the branch description using `git branch
--edit-description`, like we're looking into, but you'd need to figure out
the logistics around it, and a lot of that will depend on your workflows at
your company.

Christian

On Sun, Oct 28, 2018 at 10:59 PM Lukasz  wrote:

> @Christian Hammond, @RB/RBT Developers/Users: creating review requests
> with updates in GIT hook is a very important part of our process and we are
> stuck in it.
>
> Could you give us any response or should we ask on Reviewboard-Community
> group?
> Maybe some part of our post is not understandable?
>
> Regards,
> Lukasz
>
> W dniu piątek, 26 października 2018 09:54:48 UTC+2 użytkownik Lukasz
> napisał:
>>
>> Hello All!
>> I have a question related to RBTools app (version 1.0.1).
>>
>> We have the following workflow - user pushes his changes to some
>> defect/task branch (GIT) and post-receive hook calling RBT (post) creates a
>> new review request in ReviewBoard (3.0.9).
>>
>> It's OK by the time when developer decides to push some new changes or
>> fix to the same GIT branch. We expect that previously created review
>> request would be updated with new revision and the same ID, but instead we
>> have another review request with new ID.
>>
>> We are using the following command:
>>
>> rbt post --debug --publish --submit-as={user_id} --server=http://{RB_url}
>> --username={user_id} --password={user_passwd} --disable-proxy
>> --repository={repo_name} --branch=master --bugs-closed={defect_branch}
>> --target-people={user_id} master..{defect_branch}
>>
>>
>> We tested* --update* option but it's doesn't match proper review request
>> ID and whats more - asking for update confirmation (we need a "silent" call
>> without user prompt).
>>
>> Best option would be to use *-r {review_request_id}* argument, but there
>> are several issues:
>>
>> 1. It's not the recommended way according to your blog:
>> https://blog.beanbaginc.com/2014/12/08/5-tips-for-your-rbtools-workflow/
>>  ("*It’s much nicer. Get in the habit of using -u**. It’s the wave of
>> the future.*").
>>
>> 2. We need to know the *review request ID *for the particular
>> defect/task branch. What is the best way to get it without our changes,
>> using built-in methods? Via RB API? We haven't found any useful examples.
>>
>> To sum up, we want to use RBT command in GIT post-receive hook, which
>> creates new review request in ReviewBoard if changes are pushed for
>> defect/task branch for the first time and updates this review request with
>> new revisions for each GIT push on this branch (without user confirmation:
>> Update? Yes/No).
>>
>> We would be grateful for any h

Re: RBTools - review request creation with updates

2018-10-28 Thread Lukasz
@Christian Hammond, @RB/RBT Developers/Users: creating review requests with 
updates in GIT hook is a very important part of our process and we are 
stuck in it.

Could you give us any response or should we ask on Reviewboard-Community 
group?
Maybe some part of our post is not understandable?

Regards,
Lukasz

W dniu piątek, 26 października 2018 09:54:48 UTC+2 użytkownik Lukasz 
napisał:
>
> Hello All!
> I have a question related to RBTools app (version 1.0.1).
>
> We have the following workflow - user pushes his changes to some 
> defect/task branch (GIT) and post-receive hook calling RBT (post) creates a 
> new review request in ReviewBoard (3.0.9).
>
> It's OK by the time when developer decides to push some new changes or fix 
> to the same GIT branch. We expect that previously created review request 
> would be updated with new revision and the same ID, but instead we have 
> another review request with new ID.
>
> We are using the following command:
>
> rbt post --debug --publish --submit-as={user_id} --server=http://{RB_url} 
> --username={user_id} --password={user_passwd} --disable-proxy 
> --repository={repo_name} --branch=master --bugs-closed={defect_branch} 
> --target-people={user_id} master..{defect_branch}
>
>
> We tested* --update* option but it's doesn't match proper review request 
> ID and whats more - asking for update confirmation (we need a "silent" call 
> without user prompt).
>
> Best option would be to use *-r {review_request_id}* argument, but there 
> are several issues:
>
> 1. It's not the recommended way according to your blog: 
> https://blog.beanbaginc.com/2014/12/08/5-tips-for-your-rbtools-workflow/
>  ("*It’s much nicer. Get in the habit of using -u**. It’s the wave of the 
> future.*").
>
> 2. We need to know the *review request ID *for the particular defect/task 
> branch. What is the best way to get it without our changes, using built-in 
> methods? Via RB API? We haven't found any useful examples.
>
> To sum up, we want to use RBT command in GIT post-receive hook, which 
> creates new review request in ReviewBoard if changes are pushed for 
> defect/task branch for the first time and updates this review request with 
> new revisions for each GIT push on this branch (without user confirmation: 
> Update? Yes/No).
>
> We would be grateful for any help or example - how the RBT command line 
> should looks like. 
>
> Best regards,
> Lukasz
>
>
>
>

-- 
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 
"Review Board Community" 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: RBTools 7.0 python api. Different rest methods output for RBClient lib and web frontend.

2018-04-09 Thread David Trowbridge
Hi,

You’re trying to connect to www.reviewboard.org, which is not a review
board server.

-David
On Mon, Apr 9, 2018 at 9:36 AM Vladimir Bazhmin  wrote:

> Greetings,
>
> RBTools 7.0
>
> I've tried the following documentation to establish connection to RB via
> RBTools for python.
>
> https://www.reviewboard.org/docs/rbtools/0.7/api/tutorial/#creating-a-review-request
>
> I wasn't able to connect to RB by using following code:
>
> client = RBClient('http://www.reviewboard.org', username='...',
> password='...')
>
> *rbtools.api.errors.AuthorizationError: The username or password was not
> correct (HTTP 401, API Error 104)*
>
> Credentials were tested in browser.
>
> Though I was able to connect by using api key(which i generated for my
> account profile) and the following code:
>
> client = RBClient('http://www.reviewboard.org', api_key='...')
> print client.get_root()
>
> Code's output provided me with the *default* methods for RB:
>
> ItemResource(transport=http://www.reviewboard.org',
> cookie_file=u'.rbtools-cookies', agent='RBTools/0.7')>,
> payload={u'stat': u'ok', u'uri_templates': {u'product': u'
> http://www.reviewboard.org/api/products/{product_name}/',
> u'store_categories': u'http://www.reviewboard.org/api/store/categories/',
> u'releases': u'
> http://www.reviewboard.org/api/products/{product_name}/releases/',
> u'store_screenshot': u'
> http://www.reviewboard.org/api/store/products/{product_slug}/screenshots/{screenshot_id}/',
> u'store_screenshots': u'
> http://www.reviewboard.org/api/store/products/{product_slug}/screenshots/',
> u'store_product': u'
> http://www.reviewboard.org/api/store/products/{product_slug}/',
> u'release': u'
> http://www.reviewboard.org/api/products/{product_name}/releases/{release_id}/',
> u'products': u'http://www.reviewboard.org/api/products/',
> u'store_releases': u'
> http://www.reviewboard.org/api/store/products/{product_slug}/releases/',
> u'store_category': u'
> http://www.reviewboard.org/api/store/categories/{category_slug}/',
> u'store_products': u'http://www.reviewboard.org/api/store/products/',
> u'root': u'http://www.reviewboard.org/api/', u'store': u'
> http://www.reviewboard.org/api/store/', u'store_release': u'
> http://www.reviewboard.org/api/store/products/{product_slug}/releases/{version}/'},
> u'links': {u'self': {u'href': u'http://www.reviewboard.org/api/',
> u'method': u'GET'}, u'products': {u'href': u'
> http://www.reviewboard.org/api/products/', u'method': u'GET'}, u'store':
> {u'href': u'http://www.reviewboard.org/api/store/', u'method': u'GET'}}},
> url=u'http://www.reviewboard.org/api/', token=u'uri_templates')
>
> By following the above mentioned documentation I tried to get repositories:
>
> repos = root.get_repositories()
>
> And I've got the following error:
>
> *AttributeError*
>
> Which is logical if we watch the output because it doesn't contain the
> needed method:
>
> *https://reviewboard.eng.vmware.com/api/repositories/
> *
>
> After that I tried to check the link "http://www.reviewboard.org/api/";
> and managed to find many new methods which were needed.
> One of them for example was to get repositories.
>
> Could You please correct me what I'm doing wrong to get these
> *non-default* methods. Many thanks!
>
> Regards,
> Vladimir Bazhmin
>
>
> --
> 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
> "Review Board Community" 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 
"Review Board Community" 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: rbtools error

2017-08-16 Thread David Trowbridge
Can you run with --debug and send us the full output?

Also note that you're running a pre-release of 0.7.5. It might be worth
upgrading to 0.7.10 and seeing if your bug is already fixed.


-David

On Wed, Aug 16, 2017 at 11:05 PM eran meiri  wrote:

> Hello, I am having some trouble with using rbtools with windows
>
> this is the error :
> C:\Program Files
> (x86)\RBTools\Python27\lib\site-packages\rbtools-0.7.5alpha0-py2.7.egg\rbtools\commands\main.py:101:
> UnicodeWarning: Unicode equal comparison failed to convert both arguments
> to Unicode -
>
> interpreting them as being unequal
>
>   elif opt.help or '--help' in args or '-h' in args:
>
> CRITICAL: 'ascii' codec can't decode byte 0xe2 in position 0: ordinal not
> in range(128)
>
>
>
> any help would be appreciated
>
>
> --
> 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: RBTools 0.7.10 is out

2017-05-24 Thread Stephen Gallagher
Fedora and EPEL packages are on their way to their respective
updates-testing repositories as well.
On Wed, May 24, 2017 at 1:08 PM Christian Hammond 
wrote:

> Hi everyone,
>
> We've put out a new release of RBTools 0.7.10, which includes fixes for
> Git, Git-SVN, Subversion, Team Foundation Server, ClearCase, and macOS.
>
> There's a complete write-up about the release at
> https://www.reviewboard.org/news/2017/05/24/rbtools-0-7-10-now-out/.
>
> One item I'd like to point people to is the blurb about the macOS
> installer. In the past, we had some... issues... with this installer, due
> to a variety of possible differences in Python installs across versions
> (and when using homebrew or python.org's installers).
>
> I believe I've finally fixed these issues basically for good, but want
> some testers before we put it up on the website again. Anyone want to beta
> test?
>
> Christian
>
> --
> Christian Hammond
> President/CEO of Beanbag 
> Makers of Review Board 
>
> --
> 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: RBTools – wrong library?

2017-03-01 Thread spacekangaroo
Thanks a lot Christian,

now it's working.

regards Daniel

Am Montag, 27. Februar 2017 19:57:35 UTC+1 schrieb Christian Hammond:
>
> Hi Daniel,
>
> The Python environment installed by the package is meant to be 
> self-contained, and the Python modules within it can't be copied around. 
> What you're seeing is a result of that.
>
> If you'd like RBTools to be installed into an existing Python environment, 
> then you'll need to install it using pip instead of the Windows installer:
>
> pip install -U RBTools
>
> First, though, you'll need to remove the directories you copied ito 
> site-packages.
>
> Let me know if that helps or if you're still hitting problems.
>
> Christian
>
>
> On Mon, Feb 27, 2017 at 08:47 spacekangaroo  > wrote:
>
>> Hello everybody,
>>
>>  
>>
>> I using Python 2.7 and have loaded RBTools-0.7.9.exe from 
>> https://www.reviewboard.org/downloads/rbtools/ … it’s using Python 2.7 
>> too.
>>
>>
>> I’ve copied the folder Python27\Lib\site-packages\rbtools to my python 
>> site-packages folder …
>>
>>  
>>
>> By instantiate the client 
>>
>> from rbtools.api.client import RBClient
>>
>> I get the following fault
>>
>>  
>>
>> File "C:\Python27\lib\site-packages\rbtools\api\client.py", line 3, in 
>>  from urllib.parse import urlparse
>>
>> ImportError: No module named parse
>>
>>  
>>
>> It‘s true - in client.py line 3 the class urlparse should be imported
>>
>> urllib.parse import urlparse
>>
>> but they don’t exist at this place
>>
>>  
>>
>> I’ve changed 
>> urllib.parse import urlparse
>>
>> to 
>>
>> import urlparse
>>
>> and now it’s working … and I get a fault in the next line
>>
>> File "C:\Python27\lib\site-packages\rbtools\api\client.py", line 4, in 
>>  import SyncTransport
>> ImportError: No module named SyncTransport
>>
>>  
>>
>> What’s wrong with RBTools? Do I need something else?
>> Sure I make a beginner error - has someone a tip for me?
>>
>> Thanks
>> Daniel
>>
>> -- 
>> 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.
>>
> -- 
> -- 
> Christian Hammond
> President/CEO of Beanbag 
> Makers of Review Board 
>

-- 
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: RBTools – wrong library?

2017-02-27 Thread Christian Hammond
Hi Daniel,

The Python environment installed by the package is meant to be
self-contained, and the Python modules within it can't be copied around.
What you're seeing is a result of that.

If you'd like RBTools to be installed into an existing Python environment,
then you'll need to install it using pip instead of the Windows installer:

pip install -U RBTools

First, though, you'll need to remove the directories you copied ito
site-packages.

Let me know if that helps or if you're still hitting problems.

Christian


On Mon, Feb 27, 2017 at 08:47 spacekangaroo  wrote:

> Hello everybody,
>
>
>
> I using Python 2.7 and have loaded RBTools-0.7.9.exe from
> https://www.reviewboard.org/downloads/rbtools/ … it’s using Python 2.7
> too.
>
>
> I’ve copied the folder Python27\Lib\site-packages\rbtools to my python
> site-packages folder …
>
>
>
> By instantiate the client
>
> from rbtools.api.client import RBClient
>
> I get the following fault
>
>
>
> File "C:\Python27\lib\site-packages\rbtools\api\client.py", line 3, in
>  from urllib.parse import urlparse
>
> ImportError: No module named parse
>
>
>
> It‘s true - in client.py line 3 the class urlparse should be imported
>
> urllib.parse import urlparse
>
> but they don’t exist at this place
>
>
>
> I’ve changed
> urllib.parse import urlparse
>
> to
>
> import urlparse
>
> and now it’s working … and I get a fault in the next line
>
> File "C:\Python27\lib\site-packages\rbtools\api\client.py", line 4, in
>  import SyncTransport
> ImportError: No module named SyncTransport
>
>
>
> What’s wrong with RBTools? Do I need something else?
> Sure I make a beginner error - has someone a tip for me?
>
> Thanks
> Daniel
>
> --
> 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.
>
-- 
-- 
Christian Hammond
President/CEO of Beanbag 
Makers of Review Board 

-- 
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: RBTools does not support UTF8 parameters? UnicodeDecodeError...

2016-12-04 Thread Hansen Gao
Your patch works like a charm.
Thank you so much :)

On Thursday, December 1, 2016 at 9:02:34 AM UTC+8, Christian Hammond wrote:
>
> Hi,
>
> If you feel comfortable checking out your own RBTools and applying a 
> patch, you can give this change a try: 
> https://reviews.reviewboard.org/r/8559/
>
> Christian
>
> -- 
> Christian Hammond
> President/CEO of Beanbag 
> Makers of Review Board 
>
> On Wed, Nov 30, 2016 at 4:51 PM, Christian Hammond  > wrote:
>
>> Hi Hansen,
>>
>> Sorry for the trouble. I've identified the problem and am checking on a 
>> fix. I'll point you to the review request when I have this working.
>>
>> Christian
>>
>> -- 
>> Christian Hammond
>> President/CEO of Beanbag 
>> Makers of Review Board 
>>
>> On Tue, Nov 29, 2016 at 7:01 AM, Hansen Gao > > wrote:
>>
>>> My bash and python default encoding are both UTF8.
>>> I do not know why I can not pass chinese characters as rbt parameters.
>>> Can any one help me?
>>>
>>> $echo $LANG
>>> en_US.UTF-8
>>>
>>>
>>> $python
>>> Python 2.7.9 (default, Jun 29 2016, 13:08:31)
>>> [GCC 4.9.2] on linux2
>>> Type "help", "copyright", "credits" or "license" for more information.
>>> >>> import sys
>>> >>> print(sys.getdefaultencoding())
>>> UTF8
>>> >>> print(sys.stdout.encoding)
>>> UTF-8
>>> >>> s='测试'
>>> >>> s
>>> '\xe6\xb5\x8b\xe8\xaf\x95'
>>> >>> print(s)
>>> 测试
>>> >>> sd=s.decode()
>>> >>> sd
>>> u'\u6d4b\u8bd5'
>>> >>> print(sd)
>>> 测试
>>>
>>>
>>> $rbt post -p --repository REPO1 --repository-type svn --server http://
>>> 127.0.0.1 --api-token apitoken123 --summary REPO1_Rev304 --description 
>>> 测试 --debug 304
>>> >>> RBTools 0.7.7
>>> >>> Python 2.7.9 (default, Jun 29 2016, 13:08:31)
>>> [GCC 4.9.2]
>>> >>> Running on Linux-3.16.0-4-amd64-x86_64-with-debian-8.1
>>> >>> Home = /home/neohope
>>> >>> Current directory = /home/neohope/repository/REPO1
>>> Traceback (most recent call last):
>>>   File "/usr/local/bin/rbt", line 11, in 
>>> load_entry_point('RBTools==0.7.7', 'console_scripts', 'rbt')()
>>>   File 
>>> "/usr/local/lib/python2.7/dist-packages/RBTools-0.7.7-py2.7.egg/rbtools/commands/main.py"
>>> , line 133, in main
>>> command.run_from_argv([RB_MAIN, command_name] + args)
>>>   File 
>>> "/usr/local/lib/python2.7/dist-packages/RBTools-0.7.7-py2.7.egg/rbtools/commands/__init__.py"
>>> , line 658, in run_from_argv
>>> logging.debug('Command line: %s', subprocess.list2cmdline(argv))
>>>   File "/usr/lib/python2.7/subprocess.py", line 644, in list2cmdline
>>> return ''.join(result)
>>>   File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
>>> return codecs.utf_8_decode(input, errors, True)
>>> UnicodeDecodeError: 'utf8' codec can't decode byte 0xe6 in position 0: 
>>> unexpected end of dataEnter code here...
>>>
>>>
>>>
>>> -- 
>>> 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.


Re: RBTools does not support UTF8 parameters? UnicodeDecodeError...

2016-11-30 Thread Christian Hammond
Hi,

If you feel comfortable checking out your own RBTools and applying a patch,
you can give this change a try: https://reviews.reviewboard.org/r/8559/

Christian

-- 
Christian Hammond
President/CEO of Beanbag 
Makers of Review Board 

On Wed, Nov 30, 2016 at 4:51 PM, Christian Hammond  wrote:

> Hi Hansen,
>
> Sorry for the trouble. I've identified the problem and am checking on a
> fix. I'll point you to the review request when I have this working.
>
> Christian
>
> --
> Christian Hammond
> President/CEO of Beanbag 
> Makers of Review Board 
>
> On Tue, Nov 29, 2016 at 7:01 AM, Hansen Gao  wrote:
>
>> My bash and python default encoding are both UTF8.
>> I do not know why I can not pass chinese characters as rbt parameters.
>> Can any one help me?
>>
>> $echo $LANG
>> en_US.UTF-8
>>
>>
>> $python
>> Python 2.7.9 (default, Jun 29 2016, 13:08:31)
>> [GCC 4.9.2] on linux2
>> Type "help", "copyright", "credits" or "license" for more information.
>> >>> import sys
>> >>> print(sys.getdefaultencoding())
>> UTF8
>> >>> print(sys.stdout.encoding)
>> UTF-8
>> >>> s='测试'
>> >>> s
>> '\xe6\xb5\x8b\xe8\xaf\x95'
>> >>> print(s)
>> 测试
>> >>> sd=s.decode()
>> >>> sd
>> u'\u6d4b\u8bd5'
>> >>> print(sd)
>> 测试
>>
>>
>> $rbt post -p --repository REPO1 --repository-type svn --server http://
>> 127.0.0.1 --api-token apitoken123 --summary REPO1_Rev304 --description
>> 测试 --debug 304
>> >>> RBTools 0.7.7
>> >>> Python 2.7.9 (default, Jun 29 2016, 13:08:31)
>> [GCC 4.9.2]
>> >>> Running on Linux-3.16.0-4-amd64-x86_64-with-debian-8.1
>> >>> Home = /home/neohope
>> >>> Current directory = /home/neohope/repository/REPO1
>> Traceback (most recent call last):
>>   File "/usr/local/bin/rbt", line 11, in 
>> load_entry_point('RBTools==0.7.7', 'console_scripts', 'rbt')()
>>   File "/usr/local/lib/python2.7/dist-packages/RBTools-0.7.7-py2.7.
>> egg/rbtools/commands/main.py", line 133, in main
>> command.run_from_argv([RB_MAIN, command_name] + args)
>>   File "/usr/local/lib/python2.7/dist-packages/RBTools-0.7.7-py2.7.
>> egg/rbtools/commands/__init__.py", line 658, in run_from_argv
>> logging.debug('Command line: %s', subprocess.list2cmdline(argv))
>>   File "/usr/lib/python2.7/subprocess.py", line 644, in list2cmdline
>> return ''.join(result)
>>   File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
>> return codecs.utf_8_decode(input, errors, True)
>> UnicodeDecodeError: 'utf8' codec can't decode byte 0xe6 in position 0:
>> unexpected end of dataEnter code here...
>>
>>
>>
>> --
>> 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: RBTools does not support UTF8 parameters? UnicodeDecodeError...

2016-11-30 Thread Christian Hammond
Hi Hansen,

Sorry for the trouble. I've identified the problem and am checking on a
fix. I'll point you to the review request when I have this working.

Christian

-- 
Christian Hammond
President/CEO of Beanbag 
Makers of Review Board 

On Tue, Nov 29, 2016 at 7:01 AM, Hansen Gao  wrote:

> My bash and python default encoding are both UTF8.
> I do not know why I can not pass chinese characters as rbt parameters.
> Can any one help me?
>
> $echo $LANG
> en_US.UTF-8
>
>
> $python
> Python 2.7.9 (default, Jun 29 2016, 13:08:31)
> [GCC 4.9.2] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import sys
> >>> print(sys.getdefaultencoding())
> UTF8
> >>> print(sys.stdout.encoding)
> UTF-8
> >>> s='测试'
> >>> s
> '\xe6\xb5\x8b\xe8\xaf\x95'
> >>> print(s)
> 测试
> >>> sd=s.decode()
> >>> sd
> u'\u6d4b\u8bd5'
> >>> print(sd)
> 测试
>
>
> $rbt post -p --repository REPO1 --repository-type svn --server http://
> 127.0.0.1 --api-token apitoken123 --summary REPO1_Rev304 --description 测试
> --debug 304
> >>> RBTools 0.7.7
> >>> Python 2.7.9 (default, Jun 29 2016, 13:08:31)
> [GCC 4.9.2]
> >>> Running on Linux-3.16.0-4-amd64-x86_64-with-debian-8.1
> >>> Home = /home/neohope
> >>> Current directory = /home/neohope/repository/REPO1
> Traceback (most recent call last):
>   File "/usr/local/bin/rbt", line 11, in 
> load_entry_point('RBTools==0.7.7', 'console_scripts', 'rbt')()
>   File "/usr/local/lib/python2.7/dist-packages/RBTools-0.7.7-
> py2.7.egg/rbtools/commands/main.py", line 133, in main
> command.run_from_argv([RB_MAIN, command_name] + args)
>   File "/usr/local/lib/python2.7/dist-packages/RBTools-0.7.7-
> py2.7.egg/rbtools/commands/__init__.py", line 658, in run_from_argv
> logging.debug('Command line: %s', subprocess.list2cmdline(argv))
>   File "/usr/lib/python2.7/subprocess.py", line 644, in list2cmdline
> return ''.join(result)
>   File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
> return codecs.utf_8_decode(input, errors, True)
> UnicodeDecodeError: 'utf8' codec can't decode byte 0xe6 in position 0:
> unexpected end of dataEnter code here...
>
>
>
> --
> 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: RbTools 0.7.4 - ERROR: The current directory does not contain a checkout from a supported source code repository.

2016-07-22 Thread Massimiliano Scifo
>From what i see you are in the folder of rbt, move to the folder checked 
out with your versioning system 

Il giorno lunedì 15 giugno 2015 19:49:55 UTC+1, Diwan Chandrabose ha 
scritto:
>
> I am trying to use RBTools to post review for p4 changesets. Getting 
> following error, even when I try "rbt diff -d". What could be the issue? 
> "p4 info"  works fine.
>
> C:\Program Files (x86)\RBTools\bin>rbt diff -d
> >>> RBTools 0.7.1 alpha 0 (dev)
> >>> Python 2.7.6 (default, Nov 10 2013, 19:24:18) [MSC v.1500 32 bit 
> (Intel)]
> >>> Running on Windows-7-6.1.7601-SP1
> >>> Home = C:\Users\diwanc\AppData\Roaming
> >>> Current directory = C:\Program Files (x86)\RBTools\bin
> >>> Checking for a Subversion repository...
> >>> Unable to execute "svn help": skipping SVN
> >>> Checking for a Git repository...
> >>> Unable to execute "git --help" or "git.cmd --help": skipping Git
> >>> Checking for a Mercurial repository...
> >>> Unable to execute "hg --help": skipping Mercurial
> >>> Checking for a CVS repository...
> >>> Unable to execute "cvs": skipping CVS
> >>> Checking for a Perforce repository...
> >>> Running: p4 info
> >>> Checking for a Plastic repository...
> >>> Unable to execute "cm version": skipping Plastic
> >>> Checking for a ClearCase repository...
> >>> Unable to execute "cleartool help": skipping ClearCase
> >>> Checking for a Bazaar repository...
> >>> Unable to execute "bzr help": skipping Bazaar
> >>> Checking for a TFS repository...
> >>> Unable to execute "tf help": skipping TFS
> ERROR: The current directory does not contain a checkout from a supported 
> source
>  code repository.
>

-- 
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: RbTools 0.7.4 - ERROR: The current directory does not contain a checkout from a supported source code repository.

2016-07-19 Thread Diganta Kumar Sahoo


On Tuesday, June 16, 2015 at 12:19:55 AM UTC+5:30, Diwan Chandrabose wrote:
>
> I am trying to use RBTools to post review for p4 changesets. Getting 
> following error, even when I try "rbt diff -d". What could be the issue? 
> "p4 info"  works fine.
>
> C:\Program Files (x86)\RBTools\bin>rbt diff -d
> >>> RBTools 0.7.1 alpha 0 (dev)
> >>> Python 2.7.6 (default, Nov 10 2013, 19:24:18) [MSC v.1500 32 bit 
> (Intel)]
> >>> Running on Windows-7-6.1.7601-SP1
> >>> Home = C:\Users\diwanc\AppData\Roaming
> >>> Current directory = C:\Program Files (x86)\RBTools\bin
> >>> Checking for a Subversion repository...
> >>> Unable to execute "svn help": skipping SVN
> >>> Checking for a Git repository...
> >>> Unable to execute "git --help" or "git.cmd --help": skipping Git
> >>> Checking for a Mercurial repository...
> >>> Unable to execute "hg --help": skipping Mercurial
> >>> Checking for a CVS repository...
> >>> Unable to execute "cvs": skipping CVS
> >>> Checking for a Perforce repository...
> >>> Running: p4 info
> >>> Checking for a Plastic repository...
> >>> Unable to execute "cm version": skipping Plastic
> >>> Checking for a ClearCase repository...
> >>> Unable to execute "cleartool help": skipping ClearCase
> >>> Checking for a Bazaar repository...
> >>> Unable to execute "bzr help": skipping Bazaar
> >>> Checking for a TFS repository...
> >>> Unable to execute "tf help": skipping TFS
> ERROR: The current directory does not contain a checkout from a supported 
> source
>  code repository.
>


I am also facing above issue while i am doing rbt setup-repo -d in client 
machine not in reviewboard machine.

Any help ?

Thanks,
Diganta 

-- 
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: RBTools 0.7.6 broke matching SVN repositories by UUID [again]

2016-06-09 Thread Christian Hammond
Ah, I found the problem. It's subtle, but I know what's going on. I'll have
a fix in the works, and if you're up for applying the patch and testing it,
I'd appreciate it.

It will be up at https://reviews.reviewboard.org/r/8226/

Christian

-- 
Christian Hammond
President/CEO of Beanbag 
Makers of Review Board 

On Thu, Jun 9, 2016 at 1:58 AM, Christian Hammond 
wrote:

> Hi Alexey,
>
> Can you go into more detail of how your servers are set up and how it
> should be matching?
>
> I see a couple of changes in 0.7.6 around the repository lookup code, but
> unless I'm missing something, neither should have changed any behavior from
> 0.7.5.
>
> Christian
>
> --
> Christian Hammond
> President/CEO of Beanbag 
> Makers of Review Board 
>
> On Wed, Jun 8, 2016 at 11:34 AM, Alexey Neyman 
> wrote:
>
>> Hi,
>>
>> I noticed that with 0.7.6 version of RBTools, 'rbt post' again stopped
>> working if the checked out path is not exactly the same as the path
>> configured in ReviewBoard. We have a few aliases for the SVN server, and if
>> a working copy is checked out using a different alias - rbt post then
>> complains:
>>
>> >>> Making HTTP POST request to http:///api/validation/diffs/
>> >>> Got API Error 206 (HTTP code 400): The repository path specified is
>> not in the list of known repositories.
>> >>> Error data: {u'stat': u'fail', u'repository': u'',
>> u'err': {u'msg': u'The repository path specified is not in the list of
>> known repositories.', u'code': 206}}
>> Traceback (most recent call last):
>>   File "/usr/bin/rbt", line 9, in 
>> load_entry_point('RBTools==0.7.6', 'console_scripts', 'rbt')()
>>   File
>> "/usr/lib/python2.6/site-packages/RBTools-0.7.6-py2.6.egg/rbtools/commands/main.py",
>> line 133, in main
>> command.run_from_argv([RB_MAIN, command_name] + args)
>>   File
>> "/usr/lib/python2.6/site-packages/RBTools-0.7.6-py2.6.egg/rbtools/commands/__init__.py",
>> line 629, in run_from_argv
>> exit_code = self.main(*args) or 0
>>   File
>> "/usr/lib/python2.6/site-packages/RBTools-0.7.6-py2.6.egg/rbtools/commands/post.py",
>> line 756, in main
>> (msg_prefix, e))
>> rbtools.commands.CommandError: Error validating diff
>>
>> The diff from the same working copy can be posted fine after a downgrade
>> to 0.7.5.
>>
>> Regards,
>> Alexey.
>>
>> --
>> 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: RBTools 0.7.6 broke matching SVN repositories by UUID [again]

2016-06-09 Thread Christian Hammond
Hi Alexey,

Can you go into more detail of how your servers are set up and how it
should be matching?

I see a couple of changes in 0.7.6 around the repository lookup code, but
unless I'm missing something, neither should have changed any behavior from
0.7.5.

Christian

-- 
Christian Hammond
President/CEO of Beanbag 
Makers of Review Board 

On Wed, Jun 8, 2016 at 11:34 AM, Alexey Neyman 
wrote:

> Hi,
>
> I noticed that with 0.7.6 version of RBTools, 'rbt post' again stopped
> working if the checked out path is not exactly the same as the path
> configured in ReviewBoard. We have a few aliases for the SVN server, and if
> a working copy is checked out using a different alias - rbt post then
> complains:
>
> >>> Making HTTP POST request to http:///api/validation/diffs/
> >>> Got API Error 206 (HTTP code 400): The repository path specified is
> not in the list of known repositories.
> >>> Error data: {u'stat': u'fail', u'repository': u'',
> u'err': {u'msg': u'The repository path specified is not in the list of
> known repositories.', u'code': 206}}
> Traceback (most recent call last):
>   File "/usr/bin/rbt", line 9, in 
> load_entry_point('RBTools==0.7.6', 'console_scripts', 'rbt')()
>   File
> "/usr/lib/python2.6/site-packages/RBTools-0.7.6-py2.6.egg/rbtools/commands/main.py",
> line 133, in main
> command.run_from_argv([RB_MAIN, command_name] + args)
>   File
> "/usr/lib/python2.6/site-packages/RBTools-0.7.6-py2.6.egg/rbtools/commands/__init__.py",
> line 629, in run_from_argv
> exit_code = self.main(*args) or 0
>   File
> "/usr/lib/python2.6/site-packages/RBTools-0.7.6-py2.6.egg/rbtools/commands/post.py",
> line 756, in main
> (msg_prefix, e))
> rbtools.commands.CommandError: Error validating diff
>
> The diff from the same working copy can be posted fine after a downgrade
> to 0.7.5.
>
> Regards,
> Alexey.
>
> --
> 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: RBTools SSL Disable Option Doesnt Work For Windows

2016-03-24 Thread Christian Hammond
Hi John,

The RBTools for Windows installer depends on a distribution of Python
called PortablePython. This was never updated to a modern Python 2.x
release, which is why this flag didn't work. In fact, they're no longer
maintaining PortablePython, so we're looking at alternatives. The next
release of RBTools may have to continue using the same build of Python, but
this is something I'm intending to fix in the future.

Christian


On Thursday, March 24, 2016, john levin  wrote:

> Hello,
>
> We have noted that the latest version of rbtools doesnt work with option
> --disable-ssl-verifications.
>
> Looks like the inbuilt python version is not supported. So we have
> compiled with python 2.7.11 and it works. Will this be fixed ?
>
> /BR
> John
>
> --
> 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.
>


-- 
-- 
Christian Hammond
President/CEO of Beanbag 
Makers of Review Board 

-- 
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: RBtools Compilation Error

2016-03-19 Thread Christian Hammond
Hi John,

Can you show me a debug log with the handshake failure, and tell me about
the cert being used? Is it self-signed?

I'm assuming this is a separate issue from the installer error now. (We
haven't really built that to be used outside of our packaging setup, so if
that works at all, awesome).

Christian


On Thursday, March 17, 2016, john levin  wrote:

> Ok. I have ignored ICE60 with -sice option.. and it went through. However,
> the issue i'm facing (SSL Handshake Failure is still happening).
>
> Was Trying the solution from
> https://github.com/reviewboard/rbtools/pull/53
>
> but didnt workedout. Can any one help me out solve this ssl handshake
> failure issue.
>
> Thanks in Advance !
>
> /BR
> John
>
> On Thursday, March 17, 2016 at 4:40:16 PM UTC+5:30, john levin wrote:
>>
>> Hi,
>>
>> I'm compiling rbtools in windows and i'm stuck with he below errors. Any
>> help apprciated.
>>
>> "D:\ReviewBoard\RBTOOLS_SOURCE\rbtools-master\rbtools-master\contrib\installers\windows\wix\rbtools.sln"
>> (default target) (1) ->
>> "D:\ReviewBoard\RBTOOLS_SOURCE\rbtools-master\rbtools-master\contrib\installers\windows\wix\rbtools.wixproj"
>> (default target) (2) ->
>> (Link target) ->
>>
>> D:\ReviewBoard\RBTOOLS_SOURCE\rbtools-master\rbtools-master\build\windows-pkg\stage\rbtools.wxs(41586):
>> error LGHT1076: ICE60: The file fil5B9BF04AEE68F07D
>> FE56B078DB7FB24D is not a Font, and its version is not a companion file
>> reference. It should have a language specified in the Language column.
>> [D:\ReviewBoar
>>
>> d\RBTOOLS_SOURCE\rbtools-master\rbtools-master\contrib\installers\windows\wix\rbtools.wixproj]
>>
>> D:\ReviewBoard\RBTOOLS_SOURCE\rbtools-master\rbtools-master\build\windows-pkg\stage\rbtools.wxs(41592):
>> error LGHT1076: ICE60: The file filA286A9D53EEC122F
>> E98CE2CA63189DA6 is not a Font, and its version is not a companion file
>> reference. It should have a language specified in the Language column.
>> [D:\ReviewBoar
>>
>> d\RBTOOLS_SOURCE\rbtools-master\rbtools-master\contrib\installers\windows\wix\rbtools.wixproj]
>>
>> D:\ReviewBoard\RBTOOLS_SOURCE\rbtools-master\rbtools-master\build\windows-pkg\stage\rbtools.wxs(44838):
>> error LGHT1076: ICE60: The file fil2631307FE9B6EE05
>> FBDBA2BECCBC90C4 is not a Font, and its version is not a companion file
>> reference. It should have a language specified in the Language column.
>> [D:\ReviewBoar
>>
>> d\RBTOOLS_SOURCE\rbtools-master\rbtools-master\contrib\installers\windows\wix\rbtools.wixproj]
>>
>> D:\ReviewBoard\RBTOOLS_SOURCE\rbtools-master\rbtools-master\build\windows-pkg\stage\rbtools.wxs(44841):
>> error LGHT1076: ICE60: The file filA52608E0F7014D85
>> E52877B55E1ED412 is not a Font, and its version is not a companion file
>> reference. It should have a language specified in the Language column.
>> [D:\ReviewBoar
>>
>> d\RBTOOLS_SOURCE\rbtools-master\rbtools-master\contrib\installers\windows\wix\rbtools.wixproj]
>>
>> D:\ReviewBoard\RBTOOLS_SOURCE\rbtools-master\rbtools-master\build\windows-pkg\stage\rbtools.wxs(44844):
>> error LGHT1076: ICE60: The file filF682E3180E827B9A
>> 9D4AB7DFC036813D is not a Font, and its version is not a companion file
>> reference. It should have a language specified in the Language column.
>> [D:\ReviewBoar
>>
>> d\RBTOOLS_SOURCE\rbtools-master\rbtools-master\contrib\installers\windows\wix\rbtools.wixproj]
>>
>> D:\ReviewBoard\RBTOOLS_SOURCE\rbtools-master\rbtools-master\build\windows-pkg\stage\rbtools.wxs(44847):
>> error LGHT1076: ICE60: The file filBEF3D1DA496B9078
>> 2FFAC475F5E450E6 is not a Font, and its version is not a companion file
>> reference. It should have a language specified in the Language column.
>> [D:\ReviewBoar
>>
>> d\RBTOOLS_SOURCE\rbtools-master\rbtools-master\contrib\installers\windows\wix\rbtools.wixproj]
>>
>> D:\ReviewBoard\RBTOOLS_SOURCE\rbtools-master\rbtools-master\build\windows-pkg\stage\rbtools.wxs(44850):
>> error LGHT1076: ICE60: The file fil500E7DEADAEB5ED6
>> 3201167B153E994A is not a Font, and its version is not a companion file
>> reference. It should have a language specified in the Language column.
>> [D:\ReviewBoar
>>
>> d\RBTOOLS_SOURCE\rbtools-master\rbtools-master\contrib\installers\windows\wix\rbtools.wixproj]
>>
>> D:\ReviewBoard\RBTOOLS_SOURCE\rbtools-master\rbtools-master\build\windows-pkg\stage\rbtools.wxs(44853):
>> error LGHT1076: ICE60: The file fil129F623871E94093
>> A14C206A7C0A8C9D is not a Font, and its version is not a companion file
>> reference. It should have a language specified in the Language column.
>> [D:\ReviewBoar
>>
>> d\RBTOOLS_SOURCE\rbtools-master\rbtools-master\contrib\installers\windows\wix\rbtools.wixproj]
>>
>> D:\ReviewBoard\RBTOOLS_SOURCE\rbtools-master\rbtools-master\build\windows-pkg\stage\rbtools.wxs(44856):
>> error LGHT1076: ICE60: The file filE54047363C75F291
>> C5381D78931F4A44 is not a Font, and its version is not a companion file
>> reference. It should have a language specified in the Language column.
>> [D:\ReviewBoar
>>
>

Re: RBtools Compilation Error

2016-03-19 Thread john levin
Ok. I have ignored ICE60 with -sice option.. and it went through. However, 
the issue i'm facing (SSL Handshake Failure is still happening). 

Was Trying the solution from https://github.com/reviewboard/rbtools/pull/53 

but didnt workedout. Can any one help me out solve this ssl handshake 
failure issue.

Thanks in Advance !

/BR
John

On Thursday, March 17, 2016 at 4:40:16 PM UTC+5:30, john levin wrote:
>
> Hi,
>
> I'm compiling rbtools in windows and i'm stuck with he below errors. Any 
> help apprciated. 
>
> "D:\ReviewBoard\RBTOOLS_SOURCE\rbtools-master\rbtools-master\contrib\installers\windows\wix\rbtools.sln"
>  
> (default target) (1) ->
> "D:\ReviewBoard\RBTOOLS_SOURCE\rbtools-master\rbtools-master\contrib\installers\windows\wix\rbtools.wixproj"
>  
> (default target) (2) ->
> (Link target) ->
>   
> D:\ReviewBoard\RBTOOLS_SOURCE\rbtools-master\rbtools-master\build\windows-pkg\stage\rbtools.wxs(41586):
>  
> error LGHT1076: ICE60: The file fil5B9BF04AEE68F07D
> FE56B078DB7FB24D is not a Font, and its version is not a companion file 
> reference. It should have a language specified in the Language column. 
> [D:\ReviewBoar
>
> d\RBTOOLS_SOURCE\rbtools-master\rbtools-master\contrib\installers\windows\wix\rbtools.wixproj]
>   
> D:\ReviewBoard\RBTOOLS_SOURCE\rbtools-master\rbtools-master\build\windows-pkg\stage\rbtools.wxs(41592):
>  
> error LGHT1076: ICE60: The file filA286A9D53EEC122F
> E98CE2CA63189DA6 is not a Font, and its version is not a companion file 
> reference. It should have a language specified in the Language column. 
> [D:\ReviewBoar
>
> d\RBTOOLS_SOURCE\rbtools-master\rbtools-master\contrib\installers\windows\wix\rbtools.wixproj]
>   
> D:\ReviewBoard\RBTOOLS_SOURCE\rbtools-master\rbtools-master\build\windows-pkg\stage\rbtools.wxs(44838):
>  
> error LGHT1076: ICE60: The file fil2631307FE9B6EE05
> FBDBA2BECCBC90C4 is not a Font, and its version is not a companion file 
> reference. It should have a language specified in the Language column. 
> [D:\ReviewBoar
>
> d\RBTOOLS_SOURCE\rbtools-master\rbtools-master\contrib\installers\windows\wix\rbtools.wixproj]
>   
> D:\ReviewBoard\RBTOOLS_SOURCE\rbtools-master\rbtools-master\build\windows-pkg\stage\rbtools.wxs(44841):
>  
> error LGHT1076: ICE60: The file filA52608E0F7014D85
> E52877B55E1ED412 is not a Font, and its version is not a companion file 
> reference. It should have a language specified in the Language column. 
> [D:\ReviewBoar
>
> d\RBTOOLS_SOURCE\rbtools-master\rbtools-master\contrib\installers\windows\wix\rbtools.wixproj]
>   
> D:\ReviewBoard\RBTOOLS_SOURCE\rbtools-master\rbtools-master\build\windows-pkg\stage\rbtools.wxs(44844):
>  
> error LGHT1076: ICE60: The file filF682E3180E827B9A
> 9D4AB7DFC036813D is not a Font, and its version is not a companion file 
> reference. It should have a language specified in the Language column. 
> [D:\ReviewBoar
>
> d\RBTOOLS_SOURCE\rbtools-master\rbtools-master\contrib\installers\windows\wix\rbtools.wixproj]
>   
> D:\ReviewBoard\RBTOOLS_SOURCE\rbtools-master\rbtools-master\build\windows-pkg\stage\rbtools.wxs(44847):
>  
> error LGHT1076: ICE60: The file filBEF3D1DA496B9078
> 2FFAC475F5E450E6 is not a Font, and its version is not a companion file 
> reference. It should have a language specified in the Language column. 
> [D:\ReviewBoar
>
> d\RBTOOLS_SOURCE\rbtools-master\rbtools-master\contrib\installers\windows\wix\rbtools.wixproj]
>   
> D:\ReviewBoard\RBTOOLS_SOURCE\rbtools-master\rbtools-master\build\windows-pkg\stage\rbtools.wxs(44850):
>  
> error LGHT1076: ICE60: The file fil500E7DEADAEB5ED6
> 3201167B153E994A is not a Font, and its version is not a companion file 
> reference. It should have a language specified in the Language column. 
> [D:\ReviewBoar
>
> d\RBTOOLS_SOURCE\rbtools-master\rbtools-master\contrib\installers\windows\wix\rbtools.wixproj]
>   
> D:\ReviewBoard\RBTOOLS_SOURCE\rbtools-master\rbtools-master\build\windows-pkg\stage\rbtools.wxs(44853):
>  
> error LGHT1076: ICE60: The file fil129F623871E94093
> A14C206A7C0A8C9D is not a Font, and its version is not a companion file 
> reference. It should have a language specified in the Language column. 
> [D:\ReviewBoar
>
> d\RBTOOLS_SOURCE\rbtools-master\rbtools-master\contrib\installers\windows\wix\rbtools.wixproj]
>   
> D:\ReviewBoard\RBTOOLS_SOURCE\rbtools-master\rbtools-master\build\windows-pkg\stage\rbtools.wxs(44856):
>  
> error LGHT1076: ICE60: The file filE54047363C75F291
> C5381D78931F4A44 is not a Font, and its version is not a companion file 
> reference. It should have a language specified in the Language column. 
> [D:\ReviewBoar
>
> d\RBTOOLS_SOURCE\rbtools-master\rbtools-master\contrib\installers\windows\wix\rbtools.wixproj]
>   
> D:\ReviewBoard\RBTOOLS_SOURCE\rbtools-master\rbtools-master\build\windows-pkg\stage\rbtools.wxs(44871):
>  
> error LGHT1076: ICE60: The file filEA9C8654826628B9
> 3CDC8E834CCE4700 is not a Font, and its version is not a companion file 
> reference. It should have a langu

Re: RBTools 0.7.4: rbt post --diff-only no longer works

2016-03-15 Thread Steve
Hi David,

Ticket opened: https://hellosplat.com/s/beanbag/tickets/4368/

--Steve

On Monday, March 14, 2016 at 2:34:51 PM UTC-7, David Trowbridge wrote:
>
> I don't think we've heard about this before. Mind filing a bug?
>
> -David
>
> On Thu, Mar 10, 2016 at 9:15 AM Steve > 
> wrote:
>
>> I've noticed that the --diff-only option to rbt post is no longer working 
>> the way it used to with Perforce.  It may be trying to be too clever. If I 
>> create a review with this perforce change description:
>>
>> Description:
>>Bogus review request to test --diff-only option
>>
>>
>> Using
>>
>> $ rbt post CL
>>
>> I get a review request where both the title and description read: "Bogus 
>> review request to test --diff-only option".  That's good.  Then I modify 
>> the file and the change list description so the new change list description 
>> reads:
>>
>>
>> Description:
>> Bogus review request to test --diff-only option
>>
>>I'm adding this comment for Rev 2. Using --diff-only, this 
>> text should not appear in ReviewBoard
>>
>>
>> and do
>>
>> $ rbt post --diff-only CL
>>
>> When I look at the new review draft, the title remains the same (good), 
>> but the description field now says:
>>
>>
>>"I'm adding this comment for Rev 2. Using --diff-only, this text 
>> should not appear in ReviewBoard"
>>
>> which is not good.
>>
>> Even worse is this case:
>>
>> I edit the description field in Review Board to add aditional information 
>> directly. It now reads:
>>
>> '''
>> Bogus review request to test --diff-only option
>>
>> Someone reported a problem with 'rbt post --diff-only'  I'm using this 
>> bogus review request to test and see if this is broken. I expect this 
>> comment to remain after an update using --diff-only.
>> '''
>>
>> Now I run
>>
>> $ rbt post --diff-only CL
>>
>> And my description in Review Board has been overwritten with the 
>> description in my perforce change list.
>>
>> I searched for '--diff-only' in the bug tracker and didn't find anything, 
>> so I'm posting here to see if this is a known issue.
>>
>> Thanks
>>
>> --Steve
>>
>> -- 
>> 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.
>>
> -- 
> -David
>

-- 
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: RBTools 0.7.4: rbt post --diff-only no longer works

2016-03-14 Thread David Trowbridge
I don't think we've heard about this before. Mind filing a bug?

-David

On Thu, Mar 10, 2016 at 9:15 AM Steve  wrote:

> I've noticed that the --diff-only option to rbt post is no longer working
> the way it used to with Perforce.  It may be trying to be too clever. If I
> create a review with this perforce change description:
>
> Description:
>Bogus review request to test --diff-only option
>
>
> Using
>
> $ rbt post CL
>
> I get a review request where both the title and description read: "Bogus
> review request to test --diff-only option".  That's good.  Then I modify
> the file and the change list description so the new change list description
> reads:
>
>
> Description:
> Bogus review request to test --diff-only option
>
>I'm adding this comment for Rev 2. Using --diff-only, this text
> should not appear in ReviewBoard
>
>
> and do
>
> $ rbt post --diff-only CL
>
> When I look at the new review draft, the title remains the same (good),
> but the description field now says:
>
>
>"I'm adding this comment for Rev 2. Using --diff-only, this text should
> not appear in ReviewBoard"
>
> which is not good.
>
> Even worse is this case:
>
> I edit the description field in Review Board to add aditional information
> directly. It now reads:
>
> '''
> Bogus review request to test --diff-only option
>
> Someone reported a problem with 'rbt post --diff-only'  I'm using this
> bogus review request to test and see if this is broken. I expect this
> comment to remain after an update using --diff-only.
> '''
>
> Now I run
>
> $ rbt post --diff-only CL
>
> And my description in Review Board has been overwritten with the
> description in my perforce change list.
>
> I searched for '--diff-only' in the bug tracker and didn't find anything,
> so I'm posting here to see if this is a known issue.
>
> Thanks
>
> --Steve
>
> --
> 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.
>
-- 
-David

-- 
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: RBtools 0.7.4 error 105 path not found.

2015-12-08 Thread Christian Hammond
Hi Rob,

We've made a lot of improvements to Bitbucket support since we released
2.0.1 in May of last year. You might find 2.0.21 to work better for you.

Christian

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

On Tue, Dec 8, 2015 at 6:52 AM, Rob Dejournett 
wrote:

> Also the server log is here:
>
> 2015-12-08 14:49:54,420 - ERROR - None - rdejournett -
> /api/review-requests/5110/diffs/ - Error uploading new diff: Not Found
> Traceback (most recent call last):
>   File
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.1-py2.6.egg/reviewboard/webapi/resources/diff.py",
> line 292, in create
> request.FILES.get('parent_diff_path'))
>   File
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.1-py2.6.egg/reviewboard/reviews/forms.py",
> line 116, in create
> history)
>   File
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.1-py2.6.egg/reviewboard/diffviewer/forms.py",
> line 69, in create
> request=self.request)
>   File
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.1-py2.6.egg/reviewboard/diffviewer/managers.py",
> line 156, in create_from_upload
> save=save)
>   File
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.1-py2.6.egg/reviewboard/diffviewer/managers.py",
> line 210, in create_from_data
> limit_to=diff_filenames):
>   File
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.1-py2.6.egg/reviewboard/diffviewer/managers.py",
> line 300, in _process_files
> request=request))):
>   File
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.1-py2.6.egg/reviewboard/scmtools/models.py",
> line 238, in get_file_exists
> base_commit_id, request)
>   File
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.1-py2.6.egg/reviewboard/scmtools/models.py",
> line 415, in _get_file_exists_uncached
> base_commit_id=base_commit_id)
>   File
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.1-py2.6.egg/reviewboard/hostingsvcs/bitbucket.py",
> line 177, in get_file_exists
> self._api_get_src(repository, path, revision, base_commit_id)
>   File
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.1-py2.6.egg/reviewboard/hostingsvcs/bitbucket.py",
> line 214, in _api_get_src
> return self._api_get(url, raw_content=True)
>   File
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.1-py2.6.egg/reviewboard/hostingsvcs/bitbucket.py",
> line 265, in _api_get
> raise Exception(e.read())
> Exception: Not Found
>
>
> On Tuesday, December 8, 2015 at 9:03:25 AM UTC-5, Rob Dejournett wrote:
>>
>> It's reviewboard 2.0.1, we are using Git version 1.9.5.  I am not the
>> review board administrator, but I have access to the linux box.  If you can
>> point me to where the logs are that'd be really helpful.
>>
>> Thanks!
>>
>>
>> On Monday, December 7, 2015 at 5:02:33 PM UTC-5, David Trowbridge wrote:
>>>
>>> What version of Review Board? What version control system (and version
>>> thereof)? Is there anything in the server log?
>>>
>>> -David
>>>
>>>
>>> On Mon, Dec 7, 2015 at 11:43 AM Rob Dejournett 
>>> wrote:
>>>
 Sorry if this is a double post.  Getting error with some files posting
 using RBTools.  Java files seem to work fine.  I use something called Mirth
 Connect which generates XML files as code.  Basically when RBT tries to
 upload the diff it fails with the 105 error.  Attached is the diff.

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

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

Re: RBtools 0.7.4 error 105 path not found.

2015-12-08 Thread Rob Dejournett
Also the server log is here:

2015-12-08 14:49:54,420 - ERROR - None - rdejournett - 
/api/review-requests/5110/diffs/ - Error uploading new diff: Not Found
Traceback (most recent call last):
  File 
"/usr/lib/python2.6/site-packages/ReviewBoard-2.0.1-py2.6.egg/reviewboard/webapi/resources/diff.py",
 
line 292, in create
request.FILES.get('parent_diff_path'))
  File 
"/usr/lib/python2.6/site-packages/ReviewBoard-2.0.1-py2.6.egg/reviewboard/reviews/forms.py",
 
line 116, in create
history)
  File 
"/usr/lib/python2.6/site-packages/ReviewBoard-2.0.1-py2.6.egg/reviewboard/diffviewer/forms.py",
 
line 69, in create
request=self.request)
  File 
"/usr/lib/python2.6/site-packages/ReviewBoard-2.0.1-py2.6.egg/reviewboard/diffviewer/managers.py",
 
line 156, in create_from_upload
save=save)
  File 
"/usr/lib/python2.6/site-packages/ReviewBoard-2.0.1-py2.6.egg/reviewboard/diffviewer/managers.py",
 
line 210, in create_from_data
limit_to=diff_filenames):
  File 
"/usr/lib/python2.6/site-packages/ReviewBoard-2.0.1-py2.6.egg/reviewboard/diffviewer/managers.py",
 
line 300, in _process_files
request=request))):
  File 
"/usr/lib/python2.6/site-packages/ReviewBoard-2.0.1-py2.6.egg/reviewboard/scmtools/models.py",
 
line 238, in get_file_exists
base_commit_id, request)
  File 
"/usr/lib/python2.6/site-packages/ReviewBoard-2.0.1-py2.6.egg/reviewboard/scmtools/models.py",
 
line 415, in _get_file_exists_uncached
base_commit_id=base_commit_id)
  File 
"/usr/lib/python2.6/site-packages/ReviewBoard-2.0.1-py2.6.egg/reviewboard/hostingsvcs/bitbucket.py",
 
line 177, in get_file_exists
self._api_get_src(repository, path, revision, base_commit_id)
  File 
"/usr/lib/python2.6/site-packages/ReviewBoard-2.0.1-py2.6.egg/reviewboard/hostingsvcs/bitbucket.py",
 
line 214, in _api_get_src
return self._api_get(url, raw_content=True)
  File 
"/usr/lib/python2.6/site-packages/ReviewBoard-2.0.1-py2.6.egg/reviewboard/hostingsvcs/bitbucket.py",
 
line 265, in _api_get
raise Exception(e.read())
Exception: Not Found


On Tuesday, December 8, 2015 at 9:03:25 AM UTC-5, Rob Dejournett wrote:
>
> It's reviewboard 2.0.1, we are using Git version 1.9.5.  I am not the 
> review board administrator, but I have access to the linux box.  If you can 
> point me to where the logs are that'd be really helpful.
>
> Thanks!
>
>
> On Monday, December 7, 2015 at 5:02:33 PM UTC-5, David Trowbridge wrote:
>>
>> What version of Review Board? What version control system (and version 
>> thereof)? Is there anything in the server log?
>>
>> -David
>>
>>
>> On Mon, Dec 7, 2015 at 11:43 AM Rob Dejournett  
>> wrote:
>>
>>> Sorry if this is a double post.  Getting error with some files posting 
>>> using RBTools.  Java files seem to work fine.  I use something called Mirth 
>>> Connect which generates XML files as code.  Basically when RBT tries to 
>>> upload the diff it fails with the 105 error.  Attached is the diff.
>>>
>>> -- 
>>> 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.
>>>
>> -- 
>> -David 
>
>

-- 
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: RBtools 0.7.4 error 105 path not found.

2015-12-08 Thread Rob Dejournett
It's reviewboard 2.0.1, we are using Git version 1.9.5.  I am not the 
review board administrator, but I have access to the linux box.  If you can 
point me to where the logs are that'd be really helpful.

Thanks!


On Monday, December 7, 2015 at 5:02:33 PM UTC-5, David Trowbridge wrote:
>
> What version of Review Board? What version control system (and version 
> thereof)? Is there anything in the server log?
>
> -David
>
>
> On Mon, Dec 7, 2015 at 11:43 AM Rob Dejournett  > wrote:
>
>> Sorry if this is a double post.  Getting error with some files posting 
>> using RBTools.  Java files seem to work fine.  I use something called Mirth 
>> Connect which generates XML files as code.  Basically when RBT tries to 
>> upload the diff it fails with the 105 error.  Attached is the diff.
>>
>> -- 
>> 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.
>>
> -- 
> -David 

-- 
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: RBtools 0.7.4 error 105 path not found.

2015-12-07 Thread David Trowbridge
What version of Review Board? What version control system (and version
thereof)? Is there anything in the server log?

-David


On Mon, Dec 7, 2015 at 11:43 AM Rob Dejournett 
wrote:

> Sorry if this is a double post.  Getting error with some files posting
> using RBTools.  Java files seem to work fine.  I use something called Mirth
> Connect which generates XML files as code.  Basically when RBT tries to
> upload the diff it fails with the 105 error.  Attached is the diff.
>
> --
> 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.
>
-- 
-David

-- 
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: RBTools 0.7.5 under Windows

2015-11-24 Thread jerome
Hi, 
thanks for the tips, I doubt the problem is server side, since using the 
TortoiseHg Review Board extension work (I still have hard time submiting 
what I really want with it, like revision range or local uncommited 
changes), also using the RBTools python API work and I'm able to create 
code review with the same server url. I started doing my own python scripts 
to submit my diff file, which I will generate with hg.exe diff tools (at 
least I can make this one work and able to predict what is going to happen 
and which revision I'm submiting). I'm creating a standalone GUI interface 
to do this and may end up doing TortoiseHG GUI extension to have something 
well integrated someday.

Maybe setup-repos need some additional infrastructure compare to creating 
review, but I have no info or clue with debug what this might be.

Thanks for tips, I will try this out of curiousity,
Jerome

On Monday, November 23, 2015 at 7:19:49 PM UTC-5, David Trowbridge wrote:
>
> For the first problem (with rbt setup-repo), it's detecting your local 
> repository's "upstream" URL as D:\LocalProject\Bodycad, which obviously 
> doesn't have a matching counterpart on the server. I'm not sure if 
> setup-repo has a bug for hg repositories, or if it's just something strange 
> about your environment.
>
> For the option problems, I vaguely recall there being some weirdness with 
> option parsing on Windows, depending on how Python was built.
>
> Can you try it like this? (with an =)
> rbt diff --tracking-branch=default 29748
>
> -David
>
>
> On Mon, Nov 23, 2015 at 11:26 AM > wrote:
>
>> Hi,
>> I have installed ReviewBoard under Windows (bitnami stack) and got the 
>> Mercurial extension to work (kinda still confuse about what revision I 
>> submit with it) inside TortoiseHG (the repos is mercurial based). But I 
>> cannot make the RBTools for Windows to work. I guess my server settings are 
>> corrects since the tortoise plugin work and I can post review that way.
>>
>> I try the following command to setup the local repos client side:
>> *rbt setup-repo --debug*
>>
>> >>> RBTools 0.7.5 alpha 0 (dev)
>> >>> Python 2.7.6 (default, Nov 10 2013, 19:24:18) [MSC v.1500 32 bit 
>> (Intel)]
>> >>> Running on Windows-8-6.2.9200
>> >>> Home = C:\Users\Jerome\AppData\Roaming
>> >>> Current directory = D:\LocalProject\Bodycad
>> Enter the Review Board server URL: 
>> http://codereview.buildserver/reviewboard/
>> >>> Checking for a Subversion repository...
>> >>> Unable to execute "svn help": skipping SVN
>> >>> Checking for a Git repository...
>> >>> Unable to execute "git --help" or "git.cmd --help": skipping Git
>> >>> Checking for a Mercurial repository...
>> >>> Running: hg root
>> >>> Running: hg showconfig
>> >>> Running: hg svn info
>> >>> Command exited with rc 255: [u'hg', u'svn', u'info']
>> hg: unknown command 'svn'
>> Mercurial Distributed SCM
>>
>> basic commands:
>>
>>  add   add the specified files on the next commit
>>  ...
>>  updateupdate working directory (or switch revisions)
>>
>> (use "hg help" for the full list of commands or "hg -v" for details)
>> ---
>> >>> repository info: Path: D:\LocalProject\Bodycad, Base path: /, 
>> Supports changesets: False
>> >>> Making HTTP GET request to 
>> http://codereview.buildserver/reviewboard/api/
>> >>> Making HTTP GET request to 
>> http://codereview.buildserver/reviewboard/api/repositories/
>> >>> Cached response for HTTP GET 
>> http://codereview.buildserver/reviewboard/api/repositories/ expired and 
>> was modified
>> No Mercurial repository found or selected for 
>> http://codereview.buildserver/reviewboard. .reviewboardrc not created.
>>
>> I have no idea how to fix this or what it is looking for.  If I look on 
>> the server it tell me setup the rbtools with following parameters 
>> into .reviewboardrc which I did after the fail setup-repo (the setup-repo 
>> cmd doesn't seem to work at all for some reason).
>>
>> REVIEWBOARD_URL = 'http://codereview.buildserver/reviewboard/'
>> REPOSITORY = 'Bodycad'
>>
>>
>> If I probe the 
>> http://codereview.buildserver/reviewboard/api/repositories/ address I 
>> get proper xml with the 3 repos I used with proper address.
>>
>>
>> 
>>
>> Now the rbt cmd usage is confusing, not really sure how to use this 
>> tools, the command line are really confusing, the diff for example:
>>
>> Help say:
>> rbt diff [options] [revisions]
>>
>> * Case 1  --revision-range is deprecated but still into the --help:
>> *rbt diff --revision-range 29742:29768*
>> ERROR: The --revision-range argument has been removed. To create a diff 
>> for one or more specific revisions, pass those revisions as arguments. For 
>> more information, see the RBTools 0.6 Release Notes.
>>
>> * Case 2 rev specification ?!?
>>
>> *rbt diff 29742*
>> Could not determine remote branch to use for diff creation. Specify 
>> --tracking-branch to continue.
>>
>> *rbt diff 29742 --tracking-branch default*
>> CRITICAL: Too many revisions specified
>>
>> 

Re: RBTools 0.7.5 under Windows

2015-11-23 Thread David Trowbridge
For the first problem (with rbt setup-repo), it's detecting your local
repository's "upstream" URL as D:\LocalProject\Bodycad, which obviously
doesn't have a matching counterpart on the server. I'm not sure if
setup-repo has a bug for hg repositories, or if it's just something strange
about your environment.

For the option problems, I vaguely recall there being some weirdness with
option parsing on Windows, depending on how Python was built.

Can you try it like this? (with an =)
rbt diff --tracking-branch=default 29748

-David


On Mon, Nov 23, 2015 at 11:26 AM  wrote:

> Hi,
> I have installed ReviewBoard under Windows (bitnami stack) and got the
> Mercurial extension to work (kinda still confuse about what revision I
> submit with it) inside TortoiseHG (the repos is mercurial based). But I
> cannot make the RBTools for Windows to work. I guess my server settings are
> corrects since the tortoise plugin work and I can post review that way.
>
> I try the following command to setup the local repos client side:
> *rbt setup-repo --debug*
>
> >>> RBTools 0.7.5 alpha 0 (dev)
> >>> Python 2.7.6 (default, Nov 10 2013, 19:24:18) [MSC v.1500 32 bit
> (Intel)]
> >>> Running on Windows-8-6.2.9200
> >>> Home = C:\Users\Jerome\AppData\Roaming
> >>> Current directory = D:\LocalProject\Bodycad
> Enter the Review Board server URL:
> http://codereview.buildserver/reviewboard/
> >>> Checking for a Subversion repository...
> >>> Unable to execute "svn help": skipping SVN
> >>> Checking for a Git repository...
> >>> Unable to execute "git --help" or "git.cmd --help": skipping Git
> >>> Checking for a Mercurial repository...
> >>> Running: hg root
> >>> Running: hg showconfig
> >>> Running: hg svn info
> >>> Command exited with rc 255: [u'hg', u'svn', u'info']
> hg: unknown command 'svn'
> Mercurial Distributed SCM
>
> basic commands:
>
>  add   add the specified files on the next commit
>  ...
>  updateupdate working directory (or switch revisions)
>
> (use "hg help" for the full list of commands or "hg -v" for details)
> ---
> >>> repository info: Path: D:\LocalProject\Bodycad, Base path: /, Supports
> changesets: False
> >>> Making HTTP GET request to
> http://codereview.buildserver/reviewboard/api/
> >>> Making HTTP GET request to
> http://codereview.buildserver/reviewboard/api/repositories/
> >>> Cached response for HTTP GET
> http://codereview.buildserver/reviewboard/api/repositories/ expired and
> was modified
> No Mercurial repository found or selected for
> http://codereview.buildserver/reviewboard. .reviewboardrc not created.
>
> I have no idea how to fix this or what it is looking for.  If I look on
> the server it tell me setup the rbtools with following parameters
> into .reviewboardrc which I did after the fail setup-repo (the setup-repo
> cmd doesn't seem to work at all for some reason).
>
> REVIEWBOARD_URL = 'http://codereview.buildserver/reviewboard/'
> REPOSITORY = 'Bodycad'
>
>
> If I probe the http://codereview.buildserver/reviewboard/api/repositories/ 
> address
> I get proper xml with the 3 repos I used with proper address.
>
>
> 
>
> Now the rbt cmd usage is confusing, not really sure how to use this tools,
> the command line are really confusing, the diff for example:
>
> Help say:
> rbt diff [options] [revisions]
>
> * Case 1  --revision-range is deprecated but still into the --help:
> *rbt diff --revision-range 29742:29768*
> ERROR: The --revision-range argument has been removed. To create a diff
> for one or more specific revisions, pass those revisions as arguments. For
> more information, see the RBTools 0.6 Release Notes.
>
> * Case 2 rev specification ?!?
>
> *rbt diff 29742*
> Could not determine remote branch to use for diff creation. Specify
> --tracking-branch to continue.
>
> *rbt diff 29742 --tracking-branch default*
> CRITICAL: Too many revisions specified
>
> this get worst if specify the tracking branche brefore the revision:
> *rbt diff --tracking-branch default  29748*
> Failed to execute command: [u'hg', u'-q', u'outgoing', u'--template',
> u'{rev}\\t{node|short}\\t{branch}\\n', 'default', u'-r', u'b0c79348cdd4']
> abort: repository default not found!
>
> ?!?! how are we suppose to use this command exactly!?!
>
> I have some similar un-understanding about the post command and what is
> really taken!?
>
> What I want to do:
>
>1. Preview the diff and show it to the user before posting to confirm
>2. Able to use uncommited work and/or commited work between 2 revision
>into a particular branch
>3. post the diff for review
>
> If somebody can shed some light on how to use this tool with mercurial I'm
> clearly not understanding something here and the doc doesn't provide any
> additional information over the help.
>
> Thanks,
> Jerome
>
>
> --
> 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! 

Re: RBTools: rbt post --diff-filename broken in 0.6.3 and 0.7.x

2015-07-08 Thread Steve
I was just notified by the issue tracker that a fix has been submitted for 
the diff-filename issue.  I'll test drive it as soon as it becomes 
available.

I hope a fix can be submitted soon for issue 3864 too so we can move to 0.7 
:)

Thanks!

--steve

On Tuesday, July 7, 2015 at 8:57:43 AM UTC-7, Steve wrote:
>
> Hi Chris,
>
> Issue 3864 is preventing us from upgrading to 0.7.x.  The issue prevents 
> us from creating reviews for change lists already submitted.
>
>
> https://code.google.com/p/reviewboard/issues/detail?id=3864&q=seide&colspec=ID%20Type%20Status%20Priority%20Component%20Owner%20Summary%20Milestone
>
>
> Also, just to clarify, the problem with 'rbt post --diff-filename' exists 
> in 0.7.3 as well.  See issue 3908:
>
>
> https://code.google.com/p/reviewboard/issues/detail?id=3908&q=seide&colspec=ID%20Type%20Status%20Priority%20Component%20Owner%20Summary%20Milestone
>
>
> Thanks!
>
> --Steve
>
>
> On Sunday, July 5, 2015 at 11:08:38 PM UTC-7, Christian Hammond wrote:
>>
>> Hi Steve,
>>
>> We won't be performing any more 0.6.x releases. What issues are 
>> preventing you from using 0.7.x?
>>
>> Christian
>>
>> -- 
>> Christian Hammond - chi...@chipx86.com
>> Review Board - https://www.reviewboard.org
>> Beanbag, Inc. - https://www.beanbaginc.com
>>
>> On Thu, Jul 2, 2015 at 11:54 AM, Steve  wrote:
>>
>>> We recently upgraded from RBTools 0.5.2 to 0.6.3 (Certain bugs in 0.7.x 
>>> prevent us from upgrading to that version).  One of my users found the 
>>> --diff-filename option no longer works:
>>>
>>> $ rbt post --diff-filename mydiff 823
>>>
>>> Traceback (most recent call last):
>>>   File "/home/sallan/envs/rbtools-0.7.3/bin/rbt", line 9, in 
>>> load_entry_point('RBTools==0.7.3', 'console_scripts', 'rbt')()
>>>   File 
>>> "/home/sallan/envs/rbtools-0.7.3/lib/python2.6/site-packages/RBTools-0.7.3-py2.6.egg/rbtools/commands/main.py",
>>>  line 133, in main
>>> command.run_from_argv([RB_MAIN, command_name] + args)
>>>   File 
>>> "/home/sallan/envs/rbtools-0.7.3/lib/python2.6/site-packages/RBTools-0.7.3-py2.6.egg/rbtools/commands/__init__.py",
>>>  line 612, in run_from_argv
>>> exit_code = self.main(*args) or 0
>>>   File 
>>> "/home/sallan/envs/rbtools-0.7.3/lib/python2.6/site-packages/RBTools-0.7.3-py2.6.egg/rbtools/commands/post.py",
>>>  line 751, in main
>>> if repository_info.supports_changesets and 'changenum' in diff_info:
>>> UnboundLocalError: local variable 'diff_info' referenced before assignment
>>>
>>>
>>>
>>> Same error with 0.6.3.  The same command works properly with RBTools 0.5.2. 
>>>  I opened issue 3908, but I wanted to post here as well for greater 
>>> visibility.
>>>
>>>
>>> Thanks
>>>
>>>
>>> --Steve 
>>>
>>>
>>>  -- 
>>> 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.


Re: RBTools: rbt post --diff-filename broken in 0.6.3 and 0.7.x

2015-07-07 Thread Steve
Hi Chris,

Issue 3864 is preventing us from upgrading to 0.7.x.  The issue prevents us 
from creating reviews for change lists already submitted.

https://code.google.com/p/reviewboard/issues/detail?id=3864&q=seide&colspec=ID%20Type%20Status%20Priority%20Component%20Owner%20Summary%20Milestone


Also, just to clarify, the problem with 'rbt post --diff-filename' exists 
in 0.7.3 as well.  See issue 3908:

https://code.google.com/p/reviewboard/issues/detail?id=3908&q=seide&colspec=ID%20Type%20Status%20Priority%20Component%20Owner%20Summary%20Milestone


Thanks!

--Steve


On Sunday, July 5, 2015 at 11:08:38 PM UTC-7, Christian Hammond wrote:
>
> Hi Steve,
>
> We won't be performing any more 0.6.x releases. What issues are preventing 
> you from using 0.7.x?
>
> Christian
>
> -- 
> Christian Hammond - chi...@chipx86.com 
> Review Board - https://www.reviewboard.org
> Beanbag, Inc. - https://www.beanbaginc.com
>
> On Thu, Jul 2, 2015 at 11:54 AM, Steve > 
> wrote:
>
>> We recently upgraded from RBTools 0.5.2 to 0.6.3 (Certain bugs in 0.7.x 
>> prevent us from upgrading to that version).  One of my users found the 
>> --diff-filename option no longer works:
>>
>> $ rbt post --diff-filename mydiff 823
>>
>> Traceback (most recent call last):
>>   File "/home/sallan/envs/rbtools-0.7.3/bin/rbt", line 9, in 
>> load_entry_point('RBTools==0.7.3', 'console_scripts', 'rbt')()
>>   File 
>> "/home/sallan/envs/rbtools-0.7.3/lib/python2.6/site-packages/RBTools-0.7.3-py2.6.egg/rbtools/commands/main.py",
>>  line 133, in main
>> command.run_from_argv([RB_MAIN, command_name] + args)
>>   File 
>> "/home/sallan/envs/rbtools-0.7.3/lib/python2.6/site-packages/RBTools-0.7.3-py2.6.egg/rbtools/commands/__init__.py",
>>  line 612, in run_from_argv
>> exit_code = self.main(*args) or 0
>>   File 
>> "/home/sallan/envs/rbtools-0.7.3/lib/python2.6/site-packages/RBTools-0.7.3-py2.6.egg/rbtools/commands/post.py",
>>  line 751, in main
>> if repository_info.supports_changesets and 'changenum' in diff_info:
>> UnboundLocalError: local variable 'diff_info' referenced before assignment
>>
>>
>>
>> Same error with 0.6.3.  The same command works properly with RBTools 0.5.2.  
>> I opened issue 3908, but I wanted to post here as well for greater 
>> visibility.
>>
>>
>> Thanks
>>
>>
>> --Steve 
>>
>>
>>  -- 
>> 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.


Re: RBTools: rbt post --diff-filename broken in 0.6.3 and 0.7.x

2015-07-05 Thread Christian Hammond
Hi Steve,

We won't be performing any more 0.6.x releases. What issues are preventing
you from using 0.7.x?

Christian

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

On Thu, Jul 2, 2015 at 11:54 AM, Steve  wrote:

> We recently upgraded from RBTools 0.5.2 to 0.6.3 (Certain bugs in 0.7.x
> prevent us from upgrading to that version).  One of my users found the
> --diff-filename option no longer works:
>
> $ rbt post --diff-filename mydiff 823
>
> Traceback (most recent call last):
>   File "/home/sallan/envs/rbtools-0.7.3/bin/rbt", line 9, in 
> load_entry_point('RBTools==0.7.3', 'console_scripts', 'rbt')()
>   File 
> "/home/sallan/envs/rbtools-0.7.3/lib/python2.6/site-packages/RBTools-0.7.3-py2.6.egg/rbtools/commands/main.py",
>  line 133, in main
> command.run_from_argv([RB_MAIN, command_name] + args)
>   File 
> "/home/sallan/envs/rbtools-0.7.3/lib/python2.6/site-packages/RBTools-0.7.3-py2.6.egg/rbtools/commands/__init__.py",
>  line 612, in run_from_argv
> exit_code = self.main(*args) or 0
>   File 
> "/home/sallan/envs/rbtools-0.7.3/lib/python2.6/site-packages/RBTools-0.7.3-py2.6.egg/rbtools/commands/post.py",
>  line 751, in main
> if repository_info.supports_changesets and 'changenum' in diff_info:
> UnboundLocalError: local variable 'diff_info' referenced before assignment
>
>
>
> Same error with 0.6.3.  The same command works properly with RBTools 0.5.2.  
> I opened issue 3908, but I wanted to post here as well for greater visibility.
>
>
> Thanks
>
>
> --Steve
>
>
>  --
> 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: RBTools for Python 3.x

2015-06-17 Thread Christian Hammond
Hi Monika,

We're slowly getting our codebase in shape for that, but we're unlikely to ship 
Python 3.x builds for a little while. We don't yet have enough test coverage or 
time to put into it, and Python 2.x will remain available on systems for a good 
long while still.

I expect we'll have Python 3.x builds by RBTools 1.0, but I can't offer any ETA 
on that.

That all said, if someone wants to help us get things in shape for Python 3.x, 
we're happy to take patches! :)

Christian 

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

-Original Message-
From: Monika 
Reply: reviewboard@googlegroups.com >
Date: June 17, 2015 at 10:50:36 AM
To: reviewboard@googlegroups.com >
Subject:  RBTools for Python 3.x

> Hi
>  
> Just a quick question: I've read somewhere here that you were working on
> RBTools for Python 3.x. Could you please tell me if you're far from the
> end? Is it a matter of a month or more like six months?
>  
> Thanks in advance
> Monika
>  
> --
> 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: RbTools 0.7.4 - ERROR: The current directory does not contain a checkout from a supported source code repository.

2015-06-16 Thread Griffin Myers
I think that error message is a red herring and should already be fixed in 
4678679 
(https://github.com/reviewboard/rbtools/commit/4f344a9efb2c3534e46b117e6bad15856a3a7be9).

On Tuesday, June 16, 2015 at 3:34:59 PM UTC-4, David Trowbridge wrote:
>
>
> On Tue, Jun 16, 2015 at 3:33 AM, > wrote:
>
>> >>> Running: git version
>> ERROR: Could not load SCM Client "git": [Error 2] The system cannot find 
>> the fil
>> e specified
>>
>
> This looks like it's unable to find the command-line "git" in your path. 
> This is odd, because it should be detecting that you're on windows and 
> therefore trying git.cmd
>
> I've never seen this error case before, and I don't see anything 
> immediately wrong with the code, so I can't give you an easy answer. 
> Perhaps you could help us with some debugging?
>
> -David
>

-- 
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: RbTools 0.7.4 - ERROR: The current directory does not contain a checkout from a supported source code repository.

2015-06-16 Thread David Trowbridge
On Tue, Jun 16, 2015 at 3:33 AM,  wrote:

> >>> Running: git version
> ERROR: Could not load SCM Client "git": [Error 2] The system cannot find
> the fil
> e specified
>

This looks like it's unable to find the command-line "git" in your path.
This is odd, because it should be detecting that you're on windows and
therefore trying git.cmd

I've never seen this error case before, and I don't see anything
immediately wrong with the code, so I can't give you an easy answer.
Perhaps you could help us with some debugging?

-David

-- 
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: RbTools 0.7.4 - ERROR: The current directory does not contain a checkout from a supported source code repository.

2015-06-16 Thread diwan . bose
Thanks David. Its the same with 0.7.4 as well.

>>> RBTools 0.7.4
>>> Python 2.7.6 (default, Nov 10 2013, 19:24:18) [MSC v.1500 32 bit 
(Intel)]
>>> Running on Windows-7-6.1.7601-SP1
>>> Home = C:\Users\diwanc\AppData\Roaming
>>> Current directory = C:\Program Files (x86)\RBTools\bin
>>> Running: git version
ERROR: Could not load SCM Client "git": [Error 2] The system cannot find 
the fil
e specified
>>> Checking for a Subversion repository...
>>> Unable to execute "svn help": skipping SVN
>>> Checking for a Mercurial repository...
>>> Unable to execute "hg --help": skipping Mercurial
>>> Checking for a CVS repository...
>>> Unable to execute "cvs": skipping CVS
>>> Checking for a Perforce repository...
>>> Running: p4 info
>>> Checking for a Plastic repository...
>>> Unable to execute "cm version": skipping Plastic
>>> Checking for a ClearCase repository...
>>> Unable to execute "cleartool help": skipping ClearCase
>>> Checking for a Bazaar repository...
>>> Unable to execute "bzr help": skipping Bazaar
>>> Checking for a TFS repository...
>>> Unable to execute "tf help": skipping TFS
ERROR: The current directory does not contain a checkout from a supported 
source
 code repository.

On Tuesday, June 16, 2015 at 3:07:29 AM UTC+5:30, David Trowbridge wrote:
>
> It looks like you're not actually running 0.7.4, but rather some 
> pre-release of 0.7.1. Can you update to the latest and try again?
>
> -David
>
> On Mon, Jun 15, 2015 at 4:07 AM, > wrote:
>
>> I am trying to use RBTools to post review for p4 changesets. Getting 
>> following error, even when I try "rbt diff -d". What could be the issue? 
>> "p4 info"  works fine.
>>
>> C:\Program Files (x86)\RBTools\bin>rbt diff -d
>> >>> RBTools 0.7.1 alpha 0 (dev)
>> >>> Python 2.7.6 (default, Nov 10 2013, 19:24:18) [MSC v.1500 32 bit 
>> (Intel)]
>> >>> Running on Windows-7-6.1.7601-SP1
>> >>> Home = C:\Users\diwanc\AppData\Roaming
>> >>> Current directory = C:\Program Files (x86)\RBTools\bin
>> >>> Checking for a Subversion repository...
>> >>> Unable to execute "svn help": skipping SVN
>> >>> Checking for a Git repository...
>> >>> Unable to execute "git --help" or "git.cmd --help": skipping Git
>> >>> Checking for a Mercurial repository...
>> >>> Unable to execute "hg --help": skipping Mercurial
>> >>> Checking for a CVS repository...
>> >>> Unable to execute "cvs": skipping CVS
>> >>> Checking for a Perforce repository...
>> >>> Running: p4 info
>> >>> Checking for a Plastic repository...
>> >>> Unable to execute "cm version": skipping Plastic
>> >>> Checking for a ClearCase repository...
>> >>> Unable to execute "cleartool help": skipping ClearCase
>> >>> Checking for a Bazaar repository...
>> >>> Unable to execute "bzr help": skipping Bazaar
>> >>> Checking for a TFS repository...
>> >>> Unable to execute "tf help": skipping TFS
>> ERROR: The current directory does not contain a checkout from a supported 
>> source
>>  code repository.
>>
>> -- 
>> 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.


Re: RbTools 0.7.4 - ERROR: The current directory does not contain a checkout from a supported source code repository.

2015-06-15 Thread David Trowbridge
It looks like you're not actually running 0.7.4, but rather some
pre-release of 0.7.1. Can you update to the latest and try again?

-David

On Mon, Jun 15, 2015 at 4:07 AM,  wrote:

> I am trying to use RBTools to post review for p4 changesets. Getting
> following error, even when I try "rbt diff -d". What could be the issue?
> "p4 info"  works fine.
>
> C:\Program Files (x86)\RBTools\bin>rbt diff -d
> >>> RBTools 0.7.1 alpha 0 (dev)
> >>> Python 2.7.6 (default, Nov 10 2013, 19:24:18) [MSC v.1500 32 bit
> (Intel)]
> >>> Running on Windows-7-6.1.7601-SP1
> >>> Home = C:\Users\diwanc\AppData\Roaming
> >>> Current directory = C:\Program Files (x86)\RBTools\bin
> >>> Checking for a Subversion repository...
> >>> Unable to execute "svn help": skipping SVN
> >>> Checking for a Git repository...
> >>> Unable to execute "git --help" or "git.cmd --help": skipping Git
> >>> Checking for a Mercurial repository...
> >>> Unable to execute "hg --help": skipping Mercurial
> >>> Checking for a CVS repository...
> >>> Unable to execute "cvs": skipping CVS
> >>> Checking for a Perforce repository...
> >>> Running: p4 info
> >>> Checking for a Plastic repository...
> >>> Unable to execute "cm version": skipping Plastic
> >>> Checking for a ClearCase repository...
> >>> Unable to execute "cleartool help": skipping ClearCase
> >>> Checking for a Bazaar repository...
> >>> Unable to execute "bzr help": skipping Bazaar
> >>> Checking for a TFS repository...
> >>> Unable to execute "tf help": skipping TFS
> ERROR: The current directory does not contain a checkout from a supported
> source
>  code repository.
>
> --
> 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: RBTools 0.7.4 is released

2015-06-11 Thread Stephen Gallagher
On Thu, Jun 11, 2015 at 4:34 AM Christian Hammond 
wrote:

> Hey everyone,
>
> We just released RBTools 0.7.4, which features compatibility fixes for
> Python 2.6, TFS, Mercurial, amongst a few other improvements.
>
> To get the latest release, head over to the RBTools Downloads page at
> https://www.reviewboard.org/downloads/rbtools/
>
> For the full list of changes, see the release notes at
> https://www.reviewboard.org/docs/releasenotes/rbtools/0.7.4/
>
> News post is up at
> https://www.reviewboard.org/news/2015/06/11/rbtools-0-7-4-out/
>
>
Updates are also on their way to Fedora updates-testing and epel-testing:
https://admin.fedoraproject.org/updates/search/RBTools

-- 
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: RBTools: when and how is .rbtools-cookies written?

2015-06-04 Thread Steve
I figured out my problem.  I need to refresh the api after I post to get a 
valid session.

# Bad way
rbt_api = rbclient.get_root()
post.Post().run_from_argv(args)
# Enter username/password
rr = rbt_api.get_review_request(...)

That didn't work.  This does

# Works
post.Post().run_from_argv(args)
# Enter username/password
rbt_api = rbclient.get_root()
rr = rbt_api.get_review_request(...)  

I don't fully understand the sequence, but it works and seems sensible so I 
thought I'd post it in case someone else runs into something similar.

Thanks

--Steve


On Wednesday, June 3, 2015 at 4:30:55 PM UTC-7, Steve wrote:
>
> Thanks Barret,
>
> I'm very confused about the cookie file behavior.  I tried to simplify it 
> as much as possible and found this:
>
> $ rbt post 814
>
> will write a new cookie file with a session id,  but calling rbt from a 
> python script in any of these ways:
>
> subprocess.call("rbt post 814", shel=True)
>
> subprocess.call(['rbt', 'post', '814'])
>
> or even
>
> os.system("rbt post 814")
>
> writes a cookie file with just the header and no session id.  I'm baffled.
>
> How are others calling rbt from python scripts and getting authentication 
> to work?
>
> --Steve
>
>
> On Tuesday, June 2, 2015 at 10:38:23 AM UTC-7, Barret Rennie wrote:
>>
>> Hey Steve,
>>
>> The cookie file is written inside of the ReviewBoardServer class (in 
>> rbtools.api.request) when it is instantiated.
>>
>> Regards,
>> Barret Rennie
>>
>> On Jun 2, 2015, at 11:29 AM, Steve  wrote:
>>
>> I have a wrapper to rbt that calls directly into Post.run_from_argv(). 
>>  I'm seeing different behavior regarding the saving of credentials in the 
>> .rbtools-cookies file and am hoping someone can tell me where to look in 
>> the code to understand this.  I've been stepping through the debugger, but 
>> getting lost.
>>
>> Here's the problem I'm having.  On my main dev box, when prompted for 
>> login, I get a proper .rbtools-cookies file.  But on my test machines, the 
>> file gets written with only the header - no cookie - so I get prompted 
>> every time.  
>>
>> Every configuration is using RBTools 0.6.3 and RB 2.0.15.  The only 
>> difference that I can see is in python versions. 
>>
>> This works:
>>
>> RBTools 0.6.3, RB 2.0.15
>> Python 2.7.8
>>
>> These combos don't work:
>>
>> RBTools 0.6.3 RB 2.0.15
>> Python 2.7.5, Python 2.6.6
>>
>> I don't know if this is significant, but the successful case has this 
>> line in the header:
>>
>> # http://curl.haxx.se/rfc/cookie_spec.html
>>
>> and all the others have this:
>>
>> # http://www.netscape.com/newsref/std/cookie_spec.html
>>
>> which may indicate a different authentication module is being used.  In 
>> every case, rbt itself works correctly, so the problem is coming from my 
>> calling directly into run_from_argv.  I don't expect anyone to solve this 
>> for me but if I could get some clues as to where to look for the code that 
>> saves the cookie file that would be very helpful.
>>
>> Thanks!
>>
>> --Steve
>>
>>
>> -- 
>> 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.


Re: RBTools: when and how is .rbtools-cookies written?

2015-06-03 Thread Steve
Thanks Barret,

I'm very confused about the cookie file behavior.  I tried to simplify it 
as much as possible and found this:

$ rbt post 814

will write a new cookie file with a session id,  but calling rbt from a 
python script in any of these ways:

subprocess.call("rbt post 814", shel=True)

subprocess.call(['rbt', 'post', '814'])

or even

os.system("rbt post 814")

writes a cookie file with just the header and no session id.  I'm baffled.

How are others calling rbt from python scripts and getting authentication 
to work?

--Steve


On Tuesday, June 2, 2015 at 10:38:23 AM UTC-7, Barret Rennie wrote:
>
> Hey Steve,
>
> The cookie file is written inside of the ReviewBoardServer class (in 
> rbtools.api.request) when it is instantiated.
>
> Regards,
> Barret Rennie
>
> On Jun 2, 2015, at 11:29 AM, Steve > 
> wrote:
>
> I have a wrapper to rbt that calls directly into Post.run_from_argv(). 
>  I'm seeing different behavior regarding the saving of credentials in the 
> .rbtools-cookies file and am hoping someone can tell me where to look in 
> the code to understand this.  I've been stepping through the debugger, but 
> getting lost.
>
> Here's the problem I'm having.  On my main dev box, when prompted for 
> login, I get a proper .rbtools-cookies file.  But on my test machines, the 
> file gets written with only the header - no cookie - so I get prompted 
> every time.  
>
> Every configuration is using RBTools 0.6.3 and RB 2.0.15.  The only 
> difference that I can see is in python versions. 
>
> This works:
>
> RBTools 0.6.3, RB 2.0.15
> Python 2.7.8
>
> These combos don't work:
>
> RBTools 0.6.3 RB 2.0.15
> Python 2.7.5, Python 2.6.6
>
> I don't know if this is significant, but the successful case has this line 
> in the header:
>
> # http://curl.haxx.se/rfc/cookie_spec.html
>
> and all the others have this:
>
> # http://www.netscape.com/newsref/std/cookie_spec.html
>
> which may indicate a different authentication module is being used.  In 
> every case, rbt itself works correctly, so the problem is coming from my 
> calling directly into run_from_argv.  I don't expect anyone to solve this 
> for me but if I could get some clues as to where to look for the code that 
> saves the cookie file that would be very helpful.
>
> Thanks!
>
> --Steve
>
>
> -- 
> 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.


Re: RBTools: when and how is .rbtools-cookies written?

2015-06-02 Thread Barret Rennie
Hey Steve,

The cookie file is written inside of the ReviewBoardServer class (in 
rbtools.api.request) when it is instantiated.

Regards,
Barret Rennie
> On Jun 2, 2015, at 11:29 AM, Steve  wrote:
> 
> I have a wrapper to rbt that calls directly into Post.run_from_argv().  I'm 
> seeing different behavior regarding the saving of credentials in the 
> .rbtools-cookies file and am hoping someone can tell me where to look in the 
> code to understand this.  I've been stepping through the debugger, but 
> getting lost.
> 
> Here's the problem I'm having.  On my main dev box, when prompted for login, 
> I get a proper .rbtools-cookies file.  But on my test machines, the file gets 
> written with only the header - no cookie - so I get prompted every time.  
> 
> Every configuration is using RBTools 0.6.3 and RB 2.0.15.  The only 
> difference that I can see is in python versions. 
> 
> This works:
> 
> RBTools 0.6.3, RB 2.0.15
> Python 2.7.8
> 
> These combos don't work:
> 
> RBTools 0.6.3 RB 2.0.15
> Python 2.7.5, Python 2.6.6
> 
> I don't know if this is significant, but the successful case has this line in 
> the header:
> 
> # http://curl.haxx.se/rfc/cookie_spec.html
> 
> and all the others have this:
> 
> # http://www.netscape.com/newsref/std/cookie_spec.html
> 
> which may indicate a different authentication module is being used.  In every 
> case, rbt itself works correctly, so the problem is coming from my calling 
> directly into run_from_argv.  I don't expect anyone to solve this for me but 
> if I could get some clues as to where to look for the code that saves the 
> cookie file that would be very helpful.
> 
> Thanks!
> 
> --Steve
> 
> 
> -- 
> 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: RBTools 0.7.3 is released!

2015-06-01 Thread Jam
It' seems something wrong when i run "rbt setup-repo" in the svn source 
directory ? 

*H:\test>rbt setup-repo*
*ERROR: Could not load SCM Client "git": [Error 2]*

*GNU diff is required in order to generate diffs. Make sure it is installed*
*and in the path.*

*On Windows, you can install this from:*
*http://gnuwin32.sourceforge.net/packages/diffutils.htm*



On Thursday, May 28, 2015 at 8:48:26 AM UTC+8, Christian Hammond wrote:
>
> Hey everyone,
>
> We've put out a new release of RBTools 0.7.3, which fixes quite a number 
> of bugs, including those annoying Unicode issues many of you have hit. It 
> also has some new useful features you may want, like auto-stamping of 
> commits when posting changes for review.
>
> Along with this, we've added official support for Python Wheel packages, 
> allowing you to cleanly install with pip. We'll be extending this support 
> to Review Board in the next release.
>
> We're also now signing all our builds with our official PGP key (
> https://keybase.io/beanbag), so that you can verify anything you download 
> from us is legit.
>
> See the news post for more information:
>
>
> https://www.reviewboard.org/news/2015/05/27/rbtools-0-7-3-out-unicode-fixes-and-more/
>
> Christian
>
> -- 
> Christian Hammond - chri...@beanbaginc.com 
> Review Board - http://www.reviewboard.org
> Beanbag, Inc. - http://www.beanbaginc.com
>  

-- 
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: RBTools 0.7.3 is released!

2015-05-29 Thread Stephen Gallagher
On Wed, May 27, 2015 at 8:48 PM Christian Hammond 
wrote:

> Hey everyone,
>
> We've put out a new release of RBTools 0.7.3, which fixes quite a number
> of bugs, including those annoying Unicode issues many of you have hit. It
> also has some new useful features you may want, like auto-stamping of
> commits when posting changes for review.
>
> Along with this, we've added official support for Python Wheel packages,
> allowing you to cleanly install with pip. We'll be extending this support
> to Review Board in the next release.
>
> We're also now signing all our builds with our official PGP key (
> https://keybase.io/beanbag), so that you can verify anything you download
> from us is legit.
>
> See the news post for more information:
>
>
> https://www.reviewboard.org/news/2015/05/27/rbtools-0-7-3-out-unicode-fixes-and-more/
>
>
I've built RBTools 0.7.3 for Fedora and EPEL:
https://admin.fedoraproject.org/updates/search/RBTools

Should turn up in the updates-testing repositories within 48 hours or you
can download them directly from the link above. Please provide positive
karma if you want to see it pushed to stable quickly.

-- 
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: RBTools 0.7.3 is released!

2015-05-28 Thread Christian Hammond
Thanks, Steve, and sorry for the trouble. We'll start looking into this, and 
will follow up with you on the bug report.

Christian 

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

-Original Message-
From: Steve 
Reply: Steve >
Date: May 28, 2015 at 3:23:23 PM
To: reviewboard@googlegroups.com >
Cc: christ...@beanbaginc.com >
Subject:  Re: RBTools 0.7.3 is released!

> I just tested 0.7.3 and one of the bugs marked as fixed is showing a
> different error now. I added a comment to the bug with the new error, but
> I'm not sure if that will automatically reopen it or not. In some ways
> it's worse now because I had a workaround for the original problem, but not
> for the new one.
>  
> The bug is 3864. Please let me know if I need to do anything more to get
> this issue reopened.
>  
> Thanks!
>  
> --Steve
>  
> On Wednesday, May 27, 2015 at 5:48:26 PM UTC-7, Christian Hammond wrote:
>>
>> Hey everyone,
>>
>> We've put out a new release of RBTools 0.7.3, which fixes quite a number
>> of bugs, including those annoying Unicode issues many of you have hit. It
>> also has some new useful features you may want, like auto-stamping of
>> commits when posting changes for review.
>>
>> Along with this, we've added official support for Python Wheel packages,
>> allowing you to cleanly install with pip. We'll be extending this support
>> to Review Board in the next release.
>>
>> We're also now signing all our builds with our official PGP key (
>> https://keybase.io/beanbag), so that you can verify anything you download
>> from us is legit.
>>
>> See the news post for more information:
>>
>>
>> https://www.reviewboard.org/news/2015/05/27/rbtools-0-7-3-out-unicode-fixes-and-more/
>>
>> Christian
>>
>> --
>> Christian Hammond - chri...@beanbaginc.com 
>> Review Board - http://www.reviewboard.org
>> Beanbag, Inc. - http://www.beanbaginc.com
>>
>  

-- 
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: RBTools 0.7.3 is released!

2015-05-28 Thread Steve
I just tested 0.7.3 and one of the bugs marked as fixed is showing a 
different error now. I added a comment to the bug with the new error,  but 
I'm not sure if that will automatically reopen it or not.  In some ways 
it's worse now because I had a workaround for the original problem, but not 
for the new one.

The bug is 3864.  Please let me know if I need to do anything more to get 
this issue reopened.

Thanks!

--Steve

On Wednesday, May 27, 2015 at 5:48:26 PM UTC-7, Christian Hammond wrote:
>
> Hey everyone,
>
> We've put out a new release of RBTools 0.7.3, which fixes quite a number 
> of bugs, including those annoying Unicode issues many of you have hit. It 
> also has some new useful features you may want, like auto-stamping of 
> commits when posting changes for review.
>
> Along with this, we've added official support for Python Wheel packages, 
> allowing you to cleanly install with pip. We'll be extending this support 
> to Review Board in the next release.
>
> We're also now signing all our builds with our official PGP key (
> https://keybase.io/beanbag), so that you can verify anything you download 
> from us is legit.
>
> See the news post for more information:
>
>
> https://www.reviewboard.org/news/2015/05/27/rbtools-0-7-3-out-unicode-fixes-and-more/
>
> Christian
>
> -- 
> Christian Hammond - chri...@beanbaginc.com 
> Review Board - http://www.reviewboard.org
> Beanbag, Inc. - http://www.beanbaginc.com
>  

-- 
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: RBTools 0.7.2 python3.4 build doesn't work ('no module named urllib2')

2015-05-22 Thread David Trowbridge
Bruce,

We're making progress on getting RBTools to be Python 3.x ready, but it's
not there yet. Most of the time, when there are multiple versions of python
installed, there will also be multiple versions of easy_install, so you can
probably do `easy_install-2.7 RBTools` and it will work.

-David

On Fri, May 22, 2015 at 2:00 PM B Cran  wrote:

> I'm running OpenSUSE 13.2, and by default it installs libreoffice with
> python 3.4.
>
> This causes 'easy_install RBTools' to install the python3.4 version
> instead of the 2.7 one. Unfortunately 'rbt post' subsequently fails with:
>
> > rbt post
> ERROR: Could not load SCM Client "tfs": No module named 'urllib2'
> ERROR: Could not reach the Review Board server at https://reviews
>
> I just checked and uninstalling libreoffice and python 3.4 causes the 2.7
> version of RBTools to be installed which seems to work fine.
>
> --
> Bruce
>
> --
> 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: RBTools 0.7.2 for RH6?

2015-05-19 Thread Justin Georgeson
thanks!

On Tuesday, May 19, 2015 at 12:48:02 PM UTC-5, Stephen Gallagher wrote:
>
>
>
> On Tue, May 19, 2015 at 12:45 PM Justin Georgeson  > wrote:
>
>> EPEL only has 0.7.2 for RH7. Is RH6 not supported for 0.7.2?
>>
>>
> It has been sitting in the epel-testing repository since March, but no one 
> has bothered testing it and providing feedback. I lost track of it and 
> hadn't pushed it stable.
>
> I just did this, so it'll appear in the repos within 48 hours (or you can 
> get it faster with 'yum update --enablerepo=epel-testing RBTools'
>

-- 
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: RBTools 0.7.2 for RH6?

2015-05-19 Thread Stephen Gallagher
On Tue, May 19, 2015 at 12:45 PM Justin Georgeson 
wrote:

> EPEL only has 0.7.2 for RH7. Is RH6 not supported for 0.7.2?
>
>
It has been sitting in the epel-testing repository since March, but no one
has bothered testing it and providing feedback. I lost track of it and
hadn't pushed it stable.

I just did this, so it'll appear in the repos within 48 hours (or you can
get it faster with 'yum update --enablerepo=epel-testing RBTools'

-- 
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: rbtools: How can I supress the INFO messages?

2015-05-10 Thread Steve
Thanks.  I saw that but I couldn't figure out how to change the logging 
level.  Having my script do this didn't work:

logging.basicConfig(level=logging.ERROR)

Nor did this:

logger = logging.getLogger()
logger.setLevel(logging.ERROR)

However, this worked:

logging.disable(logging.INFO)

I don't know enough about logging to know it that's the preferred method, 
but it gets the job done :)

--Steve

On Saturday, May 9, 2015 at 8:22:37 PM UTC-7, David Trowbridge wrote:
>
> I suggest looking at the init_logging method in 
> rbtools/commands/__init__.py
>
> -David
>
> On Sat, May 9, 2015 at 2:47 AM Steve > 
> wrote:
>
>> This is a problem of my own creation, but hopefully someone can help me 
>> out.  I'm essentially wrapping the functionality provided by the rbt suite 
>> of commands with an in-house script.  What I'm doing is processing the 
>> input args, performing specific tasks that we need, and then eventually 
>> passing the rest on via run_from_argv().
>>
>> For example, to create new review,  the code distills down to this:
>>
>> from rbtools.commands import post
>> p = post.Post()
>> p.run_from_argv(args)
>>
>> This works fine, except that the logging messages from Post are now being 
>> printed to the console:
>>
>> $ myrbt post 821
>> .INFO:root:Generating diff for pending changeset 821
>> Generating diff for pending changeset 821
>> Review request #9 posted.
>>
>> I am hopelessly lost when it comes to using python logging, but I know 
>> that  rbt suppress these message and I can't figure out how.  Can someone 
>> nudge me in the right direction?
>>
>> Thanks!
>>
>> --Steve
>>
>>
>>  -- 
>> 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.


Re: rbtools: How can I supress the INFO messages?

2015-05-09 Thread David Trowbridge
I suggest looking at the init_logging method in rbtools/commands/__init__.py

-David

On Sat, May 9, 2015 at 2:47 AM Steve  wrote:

> This is a problem of my own creation, but hopefully someone can help me
> out.  I'm essentially wrapping the functionality provided by the rbt suite
> of commands with an in-house script.  What I'm doing is processing the
> input args, performing specific tasks that we need, and then eventually
> passing the rest on via run_from_argv().
>
> For example, to create new review,  the code distills down to this:
>
> from rbtools.commands import post
> p = post.Post()
> p.run_from_argv(args)
>
> This works fine, except that the logging messages from Post are now being
> printed to the console:
>
> $ myrbt post 821
> .INFO:root:Generating diff for pending changeset 821
> Generating diff for pending changeset 821
> Review request #9 posted.
>
> I am hopelessly lost when it comes to using python logging, but I know
> that  rbt suppress these message and I can't figure out how.  Can someone
> nudge me in the right direction?
>
> Thanks!
>
> --Steve
>
>
>  --
> 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: RBTools 0.7.2: posting a review using a range of perforce change lists no longer works

2015-05-06 Thread Steve
Hi Chris, 

Just to close the loop on this topic - the problem with the diffs that I 
mentioned turned out to be a memcache issue.  Turns out that using memcache 
on a test machine where you're continually deleting and recreating a 
perforce depot and rb site, thus reusing change list numbers, can be very 
confusing to memcached :)  I turned off memcache and then got the diffs I 
was expecting.

--Steve

On Wednesday, May 6, 2015 at 10:49:14 AM UTC-7, Steve wrote:
>
> Issue 3864 created.
>
> Thanks!
>
> --Steve
>
>
> On Tuesday, May 5, 2015 at 7:14:07 PM UTC-7, Christian Hammond wrote:
>>
>> Hi Steve,
>>
>> Glad it hear it (with the exception of the diff not being correct).
>>
>> I'd appreciate a bug report on it. I won't be able to get to this right 
>> away, so having all these details will help for later.
>>
>> Thanks!
>>
>> Christian
>>
>> -- 
>> Christian Hammond - chi...@chipx86.com
>> Review Board - http://www.reviewboard.org
>> Beanbag, Inc. - http://www.beanbaginc.com
>>
>> On Tue, May 5, 2015 at 7:10 PM, Steve  wrote:
>>
>>> Hi Chris,
>>>
>>> The good news is, your diagnosis is correct.  Use of '-g no' got past 
>>> the error.  The bad news is, the diff posted is not correct.  But I found 
>>> that the diff posted with 0.6.3 is the same incorrect diff (it's incomplete 
>>> and appears to be a single change instead of a range), so I'm going to have 
>>> to investigate that some more and get back to you.
>>>
>>> Do I need to file a bug on this issue, or do you have enough already to 
>>> resolve it?
>>>
>>> Thanks!
>>>
>>> --Steve
>>>
>>> On Tuesday, May 5, 2015 at 6:52:29 PM UTC-7, Christian Hammond wrote:

 Hi Steve,

 This looks like a bug with the commit message guessing feature and 
 Perforce revision ranges. Can you try running the same command with '-g 
 no' 
 ?

 Christian

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

 On Tue, May 5, 2015 at 6:04 PM, Steve  wrote:

> I've been doing a fair amount of testing of RBTools in preparation for 
> moving to RB 2.0 and I've come across a few important issues that are 
> preventing us from moving to RBTools 0.7.  The 2 most significant ones 
> appear to be regressions as my tests pass in 0.6.3 but fail in 0.7.2.
>
> The first issue has already been reported by someone else as issue 
> 3843.  I've reproduced it and added a comment saying that it doesn't 
> happen 
> in 0.6.3 and I can provide a test file if desired.
>
> The second issue comes up when I try to post a review using a range of 
> perforce change lists.  This always worked for us with post-review, and 
> it 
> works with RBTools 0.6.3, but fails with 0.7.2.  Here's an example:
>
> $  rbt --version
> RBTools 0.6.3
> $ rbt post  //depot/Jam/MAIN/src/...@813,@823
> Review request #11 posted.
>
> http://localhost/r/11/
> http://localhost/r/11/diff/
>
> I discarded that review and then ran the same exact command against 
> the same repo using RBTools 0.7.2. I had to add the debug option to get 
> any 
> useful output:
> $  rbt --version
> RBTools 0.7.2
> $ rbt post  -d  //depot/Jam/MAIN/src/...@813,@823
>
> 
>
> +Test submitting a review with a shelve and no ship its.
> ---
> >>> Writing "//depot/Jam/MAIN/src/RELNOTES#77" to "/tmp/tmpQNewPu"
> >>> Running: p4 print -o /tmp/tmpQNewPu -q 
> //depot/Jam/MAIN/src/RELNOTES#77
> >>> Writing "//depot/Jam/MAIN/src/RELNOTES#78" to "/tmp/tmpUJo72G"
> >>> Running: p4 print -o /tmp/tmpUJo72G -q 
> //depot/Jam/MAIN/src/RELNOTES#78
> >>> Running: diff -urNp /tmp/tmpQNewPu /tmp/tmpUJo72G
> >>> Command exited with rc 1: [u'diff', u'-urNp', '/tmp/tmpQNewPu', 
> '/tmp/tmpUJo72G']
> --- /tmp/tmpQNewPu  2015-05-05 17:54:57.889010010 -0700
> +++ /tmp/tmpUJo72G  2015-05-05 17:54:57.893009847 -0700
> @@ -548,3 +548,4 @@ Release notes for Jam 2.0.
>  
> A poorly set $(JAMSHELL) is likely to result in silent
> failure.
> +Test creating with 2 jobs.
> ---
> >>> Making HTTP GET request to http://localhost/api/validation/diffs/
> >>> Cached response for HTTP GET 
> http://localhost/api/validation/diffs/ expired and was modified
> >>> Making HTTP POST request to http://localhost/api/validation/diffs/
> Traceback (most recent call last):
>   File "/home/sallan/envs/rbtools-0.7.2/bin/rbt", line 9, in 
> load_entry_point('RBTools==0.7.2', 'console_scripts', 'rbt')()
>   File 
> "/home/sallan/envs/rbtools-0.7.2/local/lib/python2.7/site-packages/RBTools-0.7.2-py2.7.egg/rbtools/commands/main.py",
>  
> line 133, in main
> command.run_from_argv([RB_MAIN, command_name] + args)
>   File 
> "/home/sallan/envs/rbtools-0.7.2/local/lib/python2

Re: RBTools 0.7.2: posting a review using a range of perforce change lists no longer works

2015-05-06 Thread Steve
Issue 3864 created.

Thanks!

--Steve


On Tuesday, May 5, 2015 at 7:14:07 PM UTC-7, Christian Hammond wrote:
>
> Hi Steve,
>
> Glad it hear it (with the exception of the diff not being correct).
>
> I'd appreciate a bug report on it. I won't be able to get to this right 
> away, so having all these details will help for later.
>
> Thanks!
>
> Christian
>
> -- 
> Christian Hammond - chi...@chipx86.com 
> Review Board - http://www.reviewboard.org
> Beanbag, Inc. - http://www.beanbaginc.com
>
> On Tue, May 5, 2015 at 7:10 PM, Steve > 
> wrote:
>
>> Hi Chris,
>>
>> The good news is, your diagnosis is correct.  Use of '-g no' got past the 
>> error.  The bad news is, the diff posted is not correct.  But I found that 
>> the diff posted with 0.6.3 is the same incorrect diff (it's incomplete and 
>> appears to be a single change instead of a range), so I'm going to have to 
>> investigate that some more and get back to you.
>>
>> Do I need to file a bug on this issue, or do you have enough already to 
>> resolve it?
>>
>> Thanks!
>>
>> --Steve
>>
>> On Tuesday, May 5, 2015 at 6:52:29 PM UTC-7, Christian Hammond wrote:
>>>
>>> Hi Steve,
>>>
>>> This looks like a bug with the commit message guessing feature and 
>>> Perforce revision ranges. Can you try running the same command with '-g no' 
>>> ?
>>>
>>> Christian
>>>
>>> -- 
>>> Christian Hammond - chi...@chipx86.com
>>> Review Board - http://www.reviewboard.org
>>> Beanbag, Inc. - http://www.beanbaginc.com
>>>
>>> On Tue, May 5, 2015 at 6:04 PM, Steve  wrote:
>>>
 I've been doing a fair amount of testing of RBTools in preparation for 
 moving to RB 2.0 and I've come across a few important issues that are 
 preventing us from moving to RBTools 0.7.  The 2 most significant ones 
 appear to be regressions as my tests pass in 0.6.3 but fail in 0.7.2.

 The first issue has already been reported by someone else as issue 
 3843.  I've reproduced it and added a comment saying that it doesn't 
 happen 
 in 0.6.3 and I can provide a test file if desired.

 The second issue comes up when I try to post a review using a range of 
 perforce change lists.  This always worked for us with post-review, and it 
 works with RBTools 0.6.3, but fails with 0.7.2.  Here's an example:

 $  rbt --version
 RBTools 0.6.3
 $ rbt post  //depot/Jam/MAIN/src/...@813,@823
 Review request #11 posted.

 http://localhost/r/11/
 http://localhost/r/11/diff/

 I discarded that review and then ran the same exact command against the 
 same repo using RBTools 0.7.2. I had to add the debug option to get any 
 useful output:
 $  rbt --version
 RBTools 0.7.2
 $ rbt post  -d  //depot/Jam/MAIN/src/...@813,@823

 

 +Test submitting a review with a shelve and no ship its.
 ---
 >>> Writing "//depot/Jam/MAIN/src/RELNOTES#77" to "/tmp/tmpQNewPu"
 >>> Running: p4 print -o /tmp/tmpQNewPu -q 
 //depot/Jam/MAIN/src/RELNOTES#77
 >>> Writing "//depot/Jam/MAIN/src/RELNOTES#78" to "/tmp/tmpUJo72G"
 >>> Running: p4 print -o /tmp/tmpUJo72G -q 
 //depot/Jam/MAIN/src/RELNOTES#78
 >>> Running: diff -urNp /tmp/tmpQNewPu /tmp/tmpUJo72G
 >>> Command exited with rc 1: [u'diff', u'-urNp', '/tmp/tmpQNewPu', 
 '/tmp/tmpUJo72G']
 --- /tmp/tmpQNewPu  2015-05-05 17:54:57.889010010 -0700
 +++ /tmp/tmpUJo72G  2015-05-05 17:54:57.893009847 -0700
 @@ -548,3 +548,4 @@ Release notes for Jam 2.0.
  
 A poorly set $(JAMSHELL) is likely to result in silent
 failure.
 +Test creating with 2 jobs.
 ---
 >>> Making HTTP GET request to http://localhost/api/validation/diffs/
 >>> Cached response for HTTP GET http://localhost/api/validation/diffs/ 
 expired and was modified
 >>> Making HTTP POST request to http://localhost/api/validation/diffs/
 Traceback (most recent call last):
   File "/home/sallan/envs/rbtools-0.7.2/bin/rbt", line 9, in 
 load_entry_point('RBTools==0.7.2', 'console_scripts', 'rbt')()
   File 
 "/home/sallan/envs/rbtools-0.7.2/local/lib/python2.7/site-packages/RBTools-0.7.2-py2.7.egg/rbtools/commands/main.py",
  
 line 133, in main
 command.run_from_argv([RB_MAIN, command_name] + args)
   File 
 "/home/sallan/envs/rbtools-0.7.2/local/lib/python2.7/site-packages/RBTools-0.7.2-py2.7.egg/rbtools/commands/__init__.py",
  
 line 555, in run_from_argv
 exit_code = self.main(*args) or 0
   File 
 "/home/sallan/envs/rbtools-0.7.2/local/lib/python2.7/site-packages/RBTools-0.7.2-py2.7.egg/rbtools/commands/post.py",
  
 line 714, in main
 self.check_guess_fields()
   File 
 "/home/sallan/envs/rbtools-0.7.2/local/lib/python2.7/site-packages/RBTools-0.7.2-py2.7.egg/rbtools/commands/post.py",
  
 line 553, in check_guess_fields
 assert self.revisions
 AssertionError


 When I ran i

Re: RBTools 0.7.2: posting a review using a range of perforce change lists no longer works

2015-05-05 Thread Christian Hammond
Hi Steve,

Glad it hear it (with the exception of the diff not being correct).

I'd appreciate a bug report on it. I won't be able to get to this right
away, so having all these details will help for later.

Thanks!

Christian

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

On Tue, May 5, 2015 at 7:10 PM, Steve  wrote:

> Hi Chris,
>
> The good news is, your diagnosis is correct.  Use of '-g no' got past the
> error.  The bad news is, the diff posted is not correct.  But I found that
> the diff posted with 0.6.3 is the same incorrect diff (it's incomplete and
> appears to be a single change instead of a range), so I'm going to have to
> investigate that some more and get back to you.
>
> Do I need to file a bug on this issue, or do you have enough already to
> resolve it?
>
> Thanks!
>
> --Steve
>
> On Tuesday, May 5, 2015 at 6:52:29 PM UTC-7, Christian Hammond wrote:
>>
>> Hi Steve,
>>
>> This looks like a bug with the commit message guessing feature and
>> Perforce revision ranges. Can you try running the same command with '-g no'
>> ?
>>
>> Christian
>>
>> --
>> Christian Hammond - chi...@chipx86.com
>> Review Board - http://www.reviewboard.org
>> Beanbag, Inc. - http://www.beanbaginc.com
>>
>> On Tue, May 5, 2015 at 6:04 PM, Steve  wrote:
>>
>>> I've been doing a fair amount of testing of RBTools in preparation for
>>> moving to RB 2.0 and I've come across a few important issues that are
>>> preventing us from moving to RBTools 0.7.  The 2 most significant ones
>>> appear to be regressions as my tests pass in 0.6.3 but fail in 0.7.2.
>>>
>>> The first issue has already been reported by someone else as issue
>>> 3843.  I've reproduced it and added a comment saying that it doesn't happen
>>> in 0.6.3 and I can provide a test file if desired.
>>>
>>> The second issue comes up when I try to post a review using a range of
>>> perforce change lists.  This always worked for us with post-review, and it
>>> works with RBTools 0.6.3, but fails with 0.7.2.  Here's an example:
>>>
>>> $  rbt --version
>>> RBTools 0.6.3
>>> $ rbt post  //depot/Jam/MAIN/src/...@813,@823
>>> Review request #11 posted.
>>>
>>> http://localhost/r/11/
>>> http://localhost/r/11/diff/
>>>
>>> I discarded that review and then ran the same exact command against the
>>> same repo using RBTools 0.7.2. I had to add the debug option to get any
>>> useful output:
>>> $  rbt --version
>>> RBTools 0.7.2
>>> $ rbt post  -d  //depot/Jam/MAIN/src/...@813,@823
>>>
>>> 
>>>
>>> +Test submitting a review with a shelve and no ship its.
>>> ---
>>> >>> Writing "//depot/Jam/MAIN/src/RELNOTES#77" to "/tmp/tmpQNewPu"
>>> >>> Running: p4 print -o /tmp/tmpQNewPu -q
>>> //depot/Jam/MAIN/src/RELNOTES#77
>>> >>> Writing "//depot/Jam/MAIN/src/RELNOTES#78" to "/tmp/tmpUJo72G"
>>> >>> Running: p4 print -o /tmp/tmpUJo72G -q
>>> //depot/Jam/MAIN/src/RELNOTES#78
>>> >>> Running: diff -urNp /tmp/tmpQNewPu /tmp/tmpUJo72G
>>> >>> Command exited with rc 1: [u'diff', u'-urNp', '/tmp/tmpQNewPu',
>>> '/tmp/tmpUJo72G']
>>> --- /tmp/tmpQNewPu  2015-05-05 17:54:57.889010010 -0700
>>> +++ /tmp/tmpUJo72G  2015-05-05 17:54:57.893009847 -0700
>>> @@ -548,3 +548,4 @@ Release notes for Jam 2.0.
>>>
>>> A poorly set $(JAMSHELL) is likely to result in silent
>>> failure.
>>> +Test creating with 2 jobs.
>>> ---
>>> >>> Making HTTP GET request to http://localhost/api/validation/diffs/
>>> >>> Cached response for HTTP GET http://localhost/api/validation/diffs/
>>> expired and was modified
>>> >>> Making HTTP POST request to http://localhost/api/validation/diffs/
>>> Traceback (most recent call last):
>>>   File "/home/sallan/envs/rbtools-0.7.2/bin/rbt", line 9, in 
>>> load_entry_point('RBTools==0.7.2', 'console_scripts', 'rbt')()
>>>   File
>>> "/home/sallan/envs/rbtools-0.7.2/local/lib/python2.7/site-packages/RBTools-0.7.2-py2.7.egg/rbtools/commands/main.py",
>>> line 133, in main
>>> command.run_from_argv([RB_MAIN, command_name] + args)
>>>   File
>>> "/home/sallan/envs/rbtools-0.7.2/local/lib/python2.7/site-packages/RBTools-0.7.2-py2.7.egg/rbtools/commands/__init__.py",
>>> line 555, in run_from_argv
>>> exit_code = self.main(*args) or 0
>>>   File
>>> "/home/sallan/envs/rbtools-0.7.2/local/lib/python2.7/site-packages/RBTools-0.7.2-py2.7.egg/rbtools/commands/post.py",
>>> line 714, in main
>>> self.check_guess_fields()
>>>   File
>>> "/home/sallan/envs/rbtools-0.7.2/local/lib/python2.7/site-packages/RBTools-0.7.2-py2.7.egg/rbtools/commands/post.py",
>>> line 553, in check_guess_fields
>>> assert self.revisions
>>> AssertionError
>>>
>>>
>>> When I ran it under a debugger, I found that it was trying to run
>>>
>>> p4 change  //depot/Jam/MAIN/src/...@813,@823
>>>
>>> which understandably failed.  So something changed drastically between
>>> 0.6 and 0.7.  Any ideas as to why this use case no longer works in 0.7?
>>>
>>> Please let me know if I can provide any more 

Re: RBTools 0.7.2: posting a review using a range of perforce change lists no longer works

2015-05-05 Thread Steve
Hi Chris,

The good news is, your diagnosis is correct.  Use of '-g no' got past the 
error.  The bad news is, the diff posted is not correct.  But I found that 
the diff posted with 0.6.3 is the same incorrect diff (it's incomplete and 
appears to be a single change instead of a range), so I'm going to have to 
investigate that some more and get back to you.

Do I need to file a bug on this issue, or do you have enough already to 
resolve it?

Thanks!

--Steve

On Tuesday, May 5, 2015 at 6:52:29 PM UTC-7, Christian Hammond wrote:
>
> Hi Steve,
>
> This looks like a bug with the commit message guessing feature and 
> Perforce revision ranges. Can you try running the same command with '-g no' 
> ?
>
> Christian
>
> -- 
> Christian Hammond - chi...@chipx86.com 
> Review Board - http://www.reviewboard.org
> Beanbag, Inc. - http://www.beanbaginc.com
>
> On Tue, May 5, 2015 at 6:04 PM, Steve > 
> wrote:
>
>> I've been doing a fair amount of testing of RBTools in preparation for 
>> moving to RB 2.0 and I've come across a few important issues that are 
>> preventing us from moving to RBTools 0.7.  The 2 most significant ones 
>> appear to be regressions as my tests pass in 0.6.3 but fail in 0.7.2.
>>
>> The first issue has already been reported by someone else as issue 3843.  
>> I've reproduced it and added a comment saying that it doesn't happen in 
>> 0.6.3 and I can provide a test file if desired.
>>
>> The second issue comes up when I try to post a review using a range of 
>> perforce change lists.  This always worked for us with post-review, and it 
>> works with RBTools 0.6.3, but fails with 0.7.2.  Here's an example:
>>
>> $  rbt --version
>> RBTools 0.6.3
>> $ rbt post  //depot/Jam/MAIN/src/...@813,@823
>> Review request #11 posted.
>>
>> http://localhost/r/11/
>> http://localhost/r/11/diff/
>>
>> I discarded that review and then ran the same exact command against the 
>> same repo using RBTools 0.7.2. I had to add the debug option to get any 
>> useful output:
>> $  rbt --version
>> RBTools 0.7.2
>> $ rbt post  -d  //depot/Jam/MAIN/src/...@813,@823
>>
>> 
>>
>> +Test submitting a review with a shelve and no ship its.
>> ---
>> >>> Writing "//depot/Jam/MAIN/src/RELNOTES#77" to "/tmp/tmpQNewPu"
>> >>> Running: p4 print -o /tmp/tmpQNewPu -q 
>> //depot/Jam/MAIN/src/RELNOTES#77
>> >>> Writing "//depot/Jam/MAIN/src/RELNOTES#78" to "/tmp/tmpUJo72G"
>> >>> Running: p4 print -o /tmp/tmpUJo72G -q 
>> //depot/Jam/MAIN/src/RELNOTES#78
>> >>> Running: diff -urNp /tmp/tmpQNewPu /tmp/tmpUJo72G
>> >>> Command exited with rc 1: [u'diff', u'-urNp', '/tmp/tmpQNewPu', 
>> '/tmp/tmpUJo72G']
>> --- /tmp/tmpQNewPu  2015-05-05 17:54:57.889010010 -0700
>> +++ /tmp/tmpUJo72G  2015-05-05 17:54:57.893009847 -0700
>> @@ -548,3 +548,4 @@ Release notes for Jam 2.0.
>>  
>> A poorly set $(JAMSHELL) is likely to result in silent
>> failure.
>> +Test creating with 2 jobs.
>> ---
>> >>> Making HTTP GET request to http://localhost/api/validation/diffs/
>> >>> Cached response for HTTP GET http://localhost/api/validation/diffs/ 
>> expired and was modified
>> >>> Making HTTP POST request to http://localhost/api/validation/diffs/
>> Traceback (most recent call last):
>>   File "/home/sallan/envs/rbtools-0.7.2/bin/rbt", line 9, in 
>> load_entry_point('RBTools==0.7.2', 'console_scripts', 'rbt')()
>>   File 
>> "/home/sallan/envs/rbtools-0.7.2/local/lib/python2.7/site-packages/RBTools-0.7.2-py2.7.egg/rbtools/commands/main.py",
>>  
>> line 133, in main
>> command.run_from_argv([RB_MAIN, command_name] + args)
>>   File 
>> "/home/sallan/envs/rbtools-0.7.2/local/lib/python2.7/site-packages/RBTools-0.7.2-py2.7.egg/rbtools/commands/__init__.py",
>>  
>> line 555, in run_from_argv
>> exit_code = self.main(*args) or 0
>>   File 
>> "/home/sallan/envs/rbtools-0.7.2/local/lib/python2.7/site-packages/RBTools-0.7.2-py2.7.egg/rbtools/commands/post.py",
>>  
>> line 714, in main
>> self.check_guess_fields()
>>   File 
>> "/home/sallan/envs/rbtools-0.7.2/local/lib/python2.7/site-packages/RBTools-0.7.2-py2.7.egg/rbtools/commands/post.py",
>>  
>> line 553, in check_guess_fields
>> assert self.revisions
>> AssertionError
>>
>>
>> When I ran it under a debugger, I found that it was trying to run 
>>
>> p4 change  //depot/Jam/MAIN/src/...@813,@823
>>
>> which understandably failed.  So something changed drastically between 
>> 0.6 and 0.7.  Any ideas as to why this use case no longer works in 0.7? 
>>
>> Please let me know if I can provide any more information.
>>
>> Thanks!
>>
>> --Steve
>>
>> -- 
>> 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, 

Re: RBTools 0.7.2: posting a review using a range of perforce change lists no longer works

2015-05-05 Thread Christian Hammond
Hi Steve,

This looks like a bug with the commit message guessing feature and Perforce
revision ranges. Can you try running the same command with '-g no' ?

Christian

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

On Tue, May 5, 2015 at 6:04 PM, Steve  wrote:

> I've been doing a fair amount of testing of RBTools in preparation for
> moving to RB 2.0 and I've come across a few important issues that are
> preventing us from moving to RBTools 0.7.  The 2 most significant ones
> appear to be regressions as my tests pass in 0.6.3 but fail in 0.7.2.
>
> The first issue has already been reported by someone else as issue 3843.
> I've reproduced it and added a comment saying that it doesn't happen in
> 0.6.3 and I can provide a test file if desired.
>
> The second issue comes up when I try to post a review using a range of
> perforce change lists.  This always worked for us with post-review, and it
> works with RBTools 0.6.3, but fails with 0.7.2.  Here's an example:
>
> $  rbt --version
> RBTools 0.6.3
> $ rbt post  //depot/Jam/MAIN/src/...@813,@823
> Review request #11 posted.
>
> http://localhost/r/11/
> http://localhost/r/11/diff/
>
> I discarded that review and then ran the same exact command against the
> same repo using RBTools 0.7.2. I had to add the debug option to get any
> useful output:
> $  rbt --version
> RBTools 0.7.2
> $ rbt post  -d  //depot/Jam/MAIN/src/...@813,@823
>
> 
>
> +Test submitting a review with a shelve and no ship its.
> ---
> >>> Writing "//depot/Jam/MAIN/src/RELNOTES#77" to "/tmp/tmpQNewPu"
> >>> Running: p4 print -o /tmp/tmpQNewPu -q //depot/Jam/MAIN/src/RELNOTES#77
> >>> Writing "//depot/Jam/MAIN/src/RELNOTES#78" to "/tmp/tmpUJo72G"
> >>> Running: p4 print -o /tmp/tmpUJo72G -q //depot/Jam/MAIN/src/RELNOTES#78
> >>> Running: diff -urNp /tmp/tmpQNewPu /tmp/tmpUJo72G
> >>> Command exited with rc 1: [u'diff', u'-urNp', '/tmp/tmpQNewPu',
> '/tmp/tmpUJo72G']
> --- /tmp/tmpQNewPu  2015-05-05 17:54:57.889010010 -0700
> +++ /tmp/tmpUJo72G  2015-05-05 17:54:57.893009847 -0700
> @@ -548,3 +548,4 @@ Release notes for Jam 2.0.
>
> A poorly set $(JAMSHELL) is likely to result in silent
> failure.
> +Test creating with 2 jobs.
> ---
> >>> Making HTTP GET request to http://localhost/api/validation/diffs/
> >>> Cached response for HTTP GET http://localhost/api/validation/diffs/
> expired and was modified
> >>> Making HTTP POST request to http://localhost/api/validation/diffs/
> Traceback (most recent call last):
>   File "/home/sallan/envs/rbtools-0.7.2/bin/rbt", line 9, in 
> load_entry_point('RBTools==0.7.2', 'console_scripts', 'rbt')()
>   File
> "/home/sallan/envs/rbtools-0.7.2/local/lib/python2.7/site-packages/RBTools-0.7.2-py2.7.egg/rbtools/commands/main.py",
> line 133, in main
> command.run_from_argv([RB_MAIN, command_name] + args)
>   File
> "/home/sallan/envs/rbtools-0.7.2/local/lib/python2.7/site-packages/RBTools-0.7.2-py2.7.egg/rbtools/commands/__init__.py",
> line 555, in run_from_argv
> exit_code = self.main(*args) or 0
>   File
> "/home/sallan/envs/rbtools-0.7.2/local/lib/python2.7/site-packages/RBTools-0.7.2-py2.7.egg/rbtools/commands/post.py",
> line 714, in main
> self.check_guess_fields()
>   File
> "/home/sallan/envs/rbtools-0.7.2/local/lib/python2.7/site-packages/RBTools-0.7.2-py2.7.egg/rbtools/commands/post.py",
> line 553, in check_guess_fields
> assert self.revisions
> AssertionError
>
>
> When I ran it under a debugger, I found that it was trying to run
>
> p4 change  //depot/Jam/MAIN/src/...@813,@823
>
> which understandably failed.  So something changed drastically between 0.6
> and 0.7.  Any ideas as to why this use case no longer works in 0.7?
>
> Please let me know if I can provide any more information.
>
> Thanks!
>
> --Steve
>
> --
> 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: RBtools version for ReviewBoard 2.0.12

2015-05-04 Thread Christian Hammond
Hi Satish,

RBTools 0.2 is 5 years old, and our first public release. You'll definitely
want a modern version of RBTools for modern versions of Review Board.

We removed post-review (a pretty hacky script from the olden days of Review
Board) some time ago, replacing the bulk of its responsibilities with 'rbt
post' (which is quite similar, but far better) and a handful of other
commands (rbt close, rbt diff, etc.).

You'll definitely want to grab the newer versions of RBTools. I know it'll
be an adjustment, with the command name change, but there's a lot of
improvements in modern RBTools over the old post-review. For instance:

* Aliases (
http://blog.beanbaginc.com/2015/01/19/composing-workflows-using-aliases-in-rbtools/
)
* Better posting of revision ranges/branches, if using Git/Mercurial/etc. (
http://blog.beanbaginc.com/2015/01/26/an-effective-rbtools-workflow-for-git/
)
* Quickly attaching files, checking status of outgoing review requests, and
other useful tasks (
http://blog.beanbaginc.com/2014/12/08/5-tips-for-your-rbtools-workflow/)
* Performance improvements
*A full Python API for Review Board
* Native installers for Windows and Mac (
https://www.reviewboard.org/downloads/)

Plus lots of bug/compatibility fixes and other features we've accumulated
over the years.

Christian

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

On Sun, May 3, 2015 at 11:31 PM, Satish Thareja 
wrote:

> Hi,
>
> We have a setup of Review Board Server version 1.7.12 and we are looking
> for an upgrade to the latest version 2.0.x.
> We need to test the new version before we roll out the changes to the
> users.
>
> I did a fresh install of Review Board 2.0.12 on a test machine for the
> same.
> When I try to do a post-review to the new Review Board server I get the
> following message:
>
> >>> Got API Error 206 (HTTP code 400): The repository path specified is
> not in the list of known repositories.
>
> However, the review gets posted to the older server without any issues.
>
> I also tried updating the RBTools to version 0.7 on a test client machine.
> (older RBTools version 0.2).
> The review got posted successfully using rbt command ( is *post-review*
> command deprecated now??)
>
> So, do we need to make sure the client piece also gets updated in order to
> communicate with the latest Review Board server?
>
> Thanks
> Satish
>
> --
> 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: rbtools (v0.7.2) exit code and Jenkins-CI?

2015-04-30 Thread MoonWalker
seems like these guys are using the Python API to do something 
similar https://wiki.jenkins-ci.org/display/JENKINS/Jenkins-Reviewbot . 

On Friday, May 1, 2015 at 9:11:39 AM UTC+10, David Trowbridge wrote:
>
> We don't have any concrete plans but we do add things as good ideas come 
> up (time permitting). As I said, it would probably be pretty easy to 
> implement your own command to do exactly what you want by using rbt's 
> python API and reusing some of the code in the rbtools modules.
>
> -David
>
> On Thu, Apr 30, 2015 at 3:53 PM MoonWalker  > wrote:
>
>> Any plans to expand the set of commands supported by rbt ?. Do you 
>> recommend a workaround to achieve something similar of what I need? 
>>
>>
>> On Friday, May 1, 2015 at 8:48:02 AM UTC+10, David Trowbridge wrote:
>>
>>> With the built-in commands, no. With the python API that's part of rbt, 
>>> yes.
>>>
>>> -David
>>>
>>> On Thu, Apr 30, 2015 at 3:40 PM MoonWalker  
>>> wrote:
>>>
 Is it possible to post a comment to a given review by using rbt?


 On Friday, May 1, 2015 at 8:36:53 AM UTC+10, David Trowbridge wrote:

> Given that you seem to have such a specialized need, you may want to 
> consider implementing your own rbt command using the Python API.
>
> -David
>
> On Thu, Apr 30, 2015 at 3:33 PM MoonWalker  
> wrote:
>
>> But the -u flag will update the existent review isn't it wont add a 
>> comment?, Also I need to get some sort of feedback from the rbt tool to 
>> find out if 1) new review 2) existent review 3) error
>>
>>
>> On Friday, May 1, 2015 at 8:00:51 AM UTC+10, David Trowbridge wrote:
>>
>>> Perhaps the -u flag will do what you want?
>>>
>>> -David
>>>
>>> On Thu, Apr 30, 2015 at 2:58 PM MoonWalker  
>>> wrote:
>>>
>> I double check and seems like it does return 0 = OK 1 = fail.

 This will be enough for one scenario, but not sure how to implement 
 something like this:

 1) Post new review:
 * if this review has been posted already then rbt will return 
 review #.
 * if any error happen then return error code.
 * if everything goes well then exit code = 0

 2) If review exist then Post a comment using the review number.

 Basically I want to accomplish this in a single Jenkins job.

 Tyx for your help

 --
 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, 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, 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, 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 RBComm

Re: rbtools (v0.7.2) exit code and Jenkins-CI?

2015-04-30 Thread David Trowbridge
We don't have any concrete plans but we do add things as good ideas come up
(time permitting). As I said, it would probably be pretty easy to implement
your own command to do exactly what you want by using rbt's python API and
reusing some of the code in the rbtools modules.

-David

On Thu, Apr 30, 2015 at 3:53 PM MoonWalker 
wrote:

> Any plans to expand the set of commands supported by rbt ?. Do you
> recommend a workaround to achieve something similar of what I need?
>
>
> On Friday, May 1, 2015 at 8:48:02 AM UTC+10, David Trowbridge wrote:
>
>> With the built-in commands, no. With the python API that's part of rbt,
>> yes.
>>
>> -David
>>
>> On Thu, Apr 30, 2015 at 3:40 PM MoonWalker  wrote:
>>
>>> Is it possible to post a comment to a given review by using rbt?
>>>
>>>
>>> On Friday, May 1, 2015 at 8:36:53 AM UTC+10, David Trowbridge wrote:
>>>
 Given that you seem to have such a specialized need, you may want to
 consider implementing your own rbt command using the Python API.

 -David

 On Thu, Apr 30, 2015 at 3:33 PM MoonWalker 
 wrote:

> But the -u flag will update the existent review isn't it wont add a
> comment?, Also I need to get some sort of feedback from the rbt tool to
> find out if 1) new review 2) existent review 3) error
>
>
> On Friday, May 1, 2015 at 8:00:51 AM UTC+10, David Trowbridge wrote:
>
>> Perhaps the -u flag will do what you want?
>>
>> -David
>>
>> On Thu, Apr 30, 2015 at 2:58 PM MoonWalker 
>> wrote:
>>
> I double check and seems like it does return 0 = OK 1 = fail.
>>>
>>> This will be enough for one scenario, but not sure how to implement
>>> something like this:
>>>
>>> 1) Post new review:
>>> * if this review has been posted already then rbt will return review
>>> #.
>>> * if any error happen then return error code.
>>> * if everything goes well then exit code = 0
>>>
>>> 2) If review exist then Post a comment using the review number.
>>>
>>> Basically I want to accomplish this in a single Jenkins job.
>>>
>>> Tyx for your help
>>>
>>> --
>>> 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, 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, 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/opto

Re: rbtools (v0.7.2) exit code and Jenkins-CI?

2015-04-30 Thread MoonWalker
Any plans to expand the set of commands supported by rbt ?. Do you 
recommend a workaround to achieve something similar of what I need? 

On Friday, May 1, 2015 at 8:48:02 AM UTC+10, David Trowbridge wrote:
>
> With the built-in commands, no. With the python API that's part of rbt, 
> yes.
>
> -David
>
> On Thu, Apr 30, 2015 at 3:40 PM MoonWalker  > wrote:
>
>> Is it possible to post a comment to a given review by using rbt?
>>
>>
>> On Friday, May 1, 2015 at 8:36:53 AM UTC+10, David Trowbridge wrote:
>>
>>> Given that you seem to have such a specialized need, you may want to 
>>> consider implementing your own rbt command using the Python API.
>>>
>>> -David
>>>
>>> On Thu, Apr 30, 2015 at 3:33 PM MoonWalker  
>>> wrote:
>>>
 But the -u flag will update the existent review isn't it wont add a 
 comment?, Also I need to get some sort of feedback from the rbt tool to 
 find out if 1) new review 2) existent review 3) error


 On Friday, May 1, 2015 at 8:00:51 AM UTC+10, David Trowbridge wrote:

> Perhaps the -u flag will do what you want?
>
> -David
>
> On Thu, Apr 30, 2015 at 2:58 PM MoonWalker  
> wrote:
>
 I double check and seems like it does return 0 = OK 1 = fail.
>>
>> This will be enough for one scenario, but not sure how to implement 
>> something like this:
>>
>> 1) Post new review:
>> * if this review has been posted already then rbt will return review 
>> #.
>> * if any error happen then return error code.
>> * if everything goes well then exit code = 0
>>
>> 2) If review exist then Post a comment using the review number.
>>
>> Basically I want to accomplish this in a single Jenkins job.
>>
>> Tyx for your help
>>
>> --
>> 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, 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, 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: rbtools (v0.7.2) exit code and Jenkins-CI?

2015-04-30 Thread David Trowbridge
With the built-in commands, no. With the python API that's part of rbt, yes.

-David

On Thu, Apr 30, 2015 at 3:40 PM MoonWalker 
wrote:

> Is it possible to post a comment to a given review by using rbt?
>
>
> On Friday, May 1, 2015 at 8:36:53 AM UTC+10, David Trowbridge wrote:
>
>> Given that you seem to have such a specialized need, you may want to
>> consider implementing your own rbt command using the Python API.
>>
>> -David
>>
>> On Thu, Apr 30, 2015 at 3:33 PM MoonWalker  wrote:
>>
>>> But the -u flag will update the existent review isn't it wont add a
>>> comment?, Also I need to get some sort of feedback from the rbt tool to
>>> find out if 1) new review 2) existent review 3) error
>>>
>>>
>>> On Friday, May 1, 2015 at 8:00:51 AM UTC+10, David Trowbridge wrote:
>>>
 Perhaps the -u flag will do what you want?

 -David

 On Thu, Apr 30, 2015 at 2:58 PM MoonWalker 
 wrote:

>>> I double check and seems like it does return 0 = OK 1 = fail.
>
> This will be enough for one scenario, but not sure how to implement
> something like this:
>
> 1) Post new review:
> * if this review has been posted already then rbt will return review #.
> * if any error happen then return error code.
> * if everything goes well then exit code = 0
>
> 2) If review exist then Post a comment using the review number.
>
> Basically I want to accomplish this in a single Jenkins job.
>
> Tyx for your help
>
> --
> 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, 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: rbtools (v0.7.2) exit code and Jenkins-CI?

2015-04-30 Thread MoonWalker
Is it possible to post a comment to a given review by using rbt?

On Friday, May 1, 2015 at 8:36:53 AM UTC+10, David Trowbridge wrote:
>
> Given that you seem to have such a specialized need, you may want to 
> consider implementing your own rbt command using the Python API.
>
> -David
>
> On Thu, Apr 30, 2015 at 3:33 PM MoonWalker  > wrote:
>
>> But the -u flag will update the existent review isn't it wont add a 
>> comment?, Also I need to get some sort of feedback from the rbt tool to 
>> find out if 1) new review 2) existent review 3) error
>>
>>
>> On Friday, May 1, 2015 at 8:00:51 AM UTC+10, David Trowbridge wrote:
>>
>>> Perhaps the -u flag will do what you want?
>>>
>>> -David
>>>
>>> On Thu, Apr 30, 2015 at 2:58 PM MoonWalker  
>>> wrote:
>>>
>> I double check and seems like it does return 0 = OK 1 = fail.

 This will be enough for one scenario, but not sure how to implement 
 something like this:

 1) Post new review:
 * if this review has been posted already then rbt will return review #.
 * if any error happen then return error code.
 * if everything goes well then exit code = 0

 2) If review exist then Post a comment using the review number.

 Basically I want to accomplish this in a single Jenkins job.

 Tyx for your help

 --
 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, 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: rbtools (v0.7.2) exit code and Jenkins-CI?

2015-04-30 Thread David Trowbridge
Given that you seem to have such a specialized need, you may want to
consider implementing your own rbt command using the Python API.

-David

On Thu, Apr 30, 2015 at 3:33 PM MoonWalker 
wrote:

> But the -u flag will update the existent review isn't it wont add a
> comment?, Also I need to get some sort of feedback from the rbt tool to
> find out if 1) new review 2) existent review 3) error
>
>
> On Friday, May 1, 2015 at 8:00:51 AM UTC+10, David Trowbridge wrote:
>
>> Perhaps the -u flag will do what you want?
>>
>> -David
>>
>> On Thu, Apr 30, 2015 at 2:58 PM MoonWalker  wrote:
>>
> I double check and seems like it does return 0 = OK 1 = fail.
>>>
>>> This will be enough for one scenario, but not sure how to implement
>>> something like this:
>>>
>>> 1) Post new review:
>>> * if this review has been posted already then rbt will return review #.
>>> * if any error happen then return error code.
>>> * if everything goes well then exit code = 0
>>>
>>> 2) If review exist then Post a comment using the review number.
>>>
>>> Basically I want to accomplish this in a single Jenkins job.
>>>
>>> Tyx for your help
>>>
>>> --
>>> 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: rbtools (v0.7.2) exit code and Jenkins-CI?

2015-04-30 Thread MoonWalker
But the -u flag will update the existent review isn't it wont add a 
comment?, Also I need to get some sort of feedback from the rbt tool to 
find out if 1) new review 2) existent review 3) error

On Friday, May 1, 2015 at 8:00:51 AM UTC+10, David Trowbridge wrote:
>
> Perhaps the -u flag will do what you want?
>
> -David
>
> On Thu, Apr 30, 2015 at 2:58 PM MoonWalker  > wrote:
>
>> I double check and seems like it does return 0 = OK 1 = fail.
>>
>> This will be enough for one scenario, but not sure how to implement 
>> something like this:
>>
>> 1) Post new review:
>> * if this review has been posted already then rbt will return review #.
>> * if any error happen then return error code.
>> * if everything goes well then exit code = 0
>>
>> 2) If review exist then Post a comment using the review number.
>>
>> Basically I want to accomplish this in a single Jenkins job.
>>
>> Tyx for your help
>>
>> --
>> 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.


Re: rbtools (v0.7.2) exit code and Jenkins-CI?

2015-04-30 Thread David Trowbridge
Perhaps the -u flag will do what you want?

-David

On Thu, Apr 30, 2015 at 2:58 PM MoonWalker 
wrote:

> I double check and seems like it does return 0 = OK 1 = fail.
>
> This will be enough for one scenario, but not sure how to implement
> something like this:
>
> 1) Post new review:
> * if this review has been posted already then rbt will return review #.
> * if any error happen then return error code.
> * if everything goes well then exit code = 0
>
> 2) If review exist then Post a comment using the review number.
>
> Basically I want to accomplish this in a single Jenkins job.
>
> Tyx for your help
>
> --
> 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: RBtools and submitter issue and other questions

2015-04-30 Thread David Trowbridge
Yeah, might be. You could create a similar account in review board that has
the right permissions to post as other users, and then have that one
permanently logged in via the cookie.

-David

On Thu, Apr 30, 2015 at 1:11 PM Steve  wrote:

> We have a shared perforce account for doing merges called merge_master.
> Here's a typical workflow:
>
> $ ssh sallan@mergehost
> $ sudo su - merge_master
> $ run_merge 
>
> Once conflicts are resolved, we sometimes post for a review, but we want
> to do that as ourselves, not as merge_master
>
> We've been doing that with --username
>
> $ rbt post --username sallan CL
>
> But that leaves a cookie behind in my name, so if the next person comes
> along and runs rbt without --username, they end up creating a review in my
> name, which is awkward. Maybe using --submit-as would be better?
>
>
> --steve
>
>
> On Thursday, April 30, 2015 at 11:35:32 AM UTC-7, David Trowbridge wrote:
>
>> Can you clarify your use case? These two things shouldn't be easy to
>> misuse.
>>
>> -David
>>
> On Thu, Apr 30, 2015 at 11:31 AM Steve  wrote:
>>
>>> Thanks David.  I think I've been using --username when I should be using
>>> --submit-as.  How does RB authenticate the --submit-as user?
>>>
>>> --Steve
>>>
>>>
>>> On Wednesday, April 29, 2015 at 5:02:49 PM UTC-7, David Trowbridge wrote:
>>>
 --username is for authenticating to the review board server.
 --submit-as is for impersonating another user (assuming the authenticated
 user has the right permissions) after authentication.

 The aforementioned scenario (having a post-commit hook or CI task) to
 post review requests on behalf of others is the use case for --submit-as.

 -David

>>> On Wed, Apr 29, 2015 at 3:42 PM Steve  wrote:

>>> Which makes me wonder - what is the difference between the --username
> and --submit-as options?
>
> --Steve
>
>
> On Tuesday, April 28, 2015 at 11:11:13 PM UTC-7, MoonWalker wrote:
>>
>> Found it :-). Seems like --submit-as  will do the trick
>>
>> On Wednesday, April 29, 2015 at 3:19:39 PM UTC+10, MoonWalker wrote:
>>>
>>> We are using Jenkins in our CI, and we have a job that takes care of
>>> doing some testing and if everything goes well a review will be posted 
>>> in
>>> Reviewboard (2.0.15). Everything seems okay, the issue that I am facing 
>>> is
>>> that I had to create a new user in RB called jenkins and the user that
>>> trigger the job is not able to modify the review because he was not the
>>> direct submitter. Is there any way to make a group capable to modify by
>>> default any review that targets the group?.
>>>
>>  --
> 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, 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: RBtools and submitter issue and other questions

2015-04-30 Thread Steve
We have a shared perforce account for doing merges called merge_master.  
Here's a typical workflow:

$ ssh sallan@mergehost
$ sudo su - merge_master
$ run_merge 

Once conflicts are resolved, we sometimes post for a review, but we want to 
do that as ourselves, not as merge_master

We've been doing that with --username

$ rbt post --username sallan CL

But that leaves a cookie behind in my name, so if the next person comes 
along and runs rbt without --username, they end up creating a review in my 
name, which is awkward. Maybe using --submit-as would be better?

--steve

On Thursday, April 30, 2015 at 11:35:32 AM UTC-7, David Trowbridge wrote:
>
> Can you clarify your use case? These two things shouldn't be easy to 
> misuse.
>
> -David
> On Thu, Apr 30, 2015 at 11:31 AM Steve > 
> wrote:
>
>> Thanks David.  I think I've been using --username when I should be using 
>> --submit-as.  How does RB authenticate the --submit-as user?
>>
>> --Steve
>>
>>
>> On Wednesday, April 29, 2015 at 5:02:49 PM UTC-7, David Trowbridge wrote:
>>
>>> --username is for authenticating to the review board server. --submit-as 
>>> is for impersonating another user (assuming the authenticated user has the 
>>> right permissions) after authentication.
>>>
>>> The aforementioned scenario (having a post-commit hook or CI task) to 
>>> post review requests on behalf of others is the use case for --submit-as.
>>>
>>> -David
>>>
>> On Wed, Apr 29, 2015 at 3:42 PM Steve  wrote:
>>>
>> Which makes me wonder - what is the difference between the --username and 
 --submit-as options?

 --Steve


 On Tuesday, April 28, 2015 at 11:11:13 PM UTC-7, MoonWalker wrote:
>
> Found it :-). Seems like --submit-as  will do the trick
>
> On Wednesday, April 29, 2015 at 3:19:39 PM UTC+10, MoonWalker wrote:
>>
>> We are using Jenkins in our CI, and we have a job that takes care of 
>> doing some testing and if everything goes well a review will be posted 
>> in 
>> Reviewboard (2.0.15). Everything seems okay, the issue that I am facing 
>> is 
>> that I had to create a new user in RB called jenkins and the user that 
>> trigger the job is not able to modify the review because he was not the 
>> direct submitter. Is there any way to make a group capable to modify by 
>> default any review that targets the group?.  
>>
>  -- 
 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, 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: RBtools and submitter issue and other questions

2015-04-30 Thread David Trowbridge
Can you clarify your use case? These two things shouldn't be easy to misuse.

-David
On Thu, Apr 30, 2015 at 11:31 AM Steve  wrote:

> Thanks David.  I think I've been using --username when I should be using
> --submit-as.  How does RB authenticate the --submit-as user?
>
> --Steve
>
>
> On Wednesday, April 29, 2015 at 5:02:49 PM UTC-7, David Trowbridge wrote:
>
>> --username is for authenticating to the review board server. --submit-as
>> is for impersonating another user (assuming the authenticated user has the
>> right permissions) after authentication.
>>
>> The aforementioned scenario (having a post-commit hook or CI task) to
>> post review requests on behalf of others is the use case for --submit-as.
>>
>> -David
>>
> On Wed, Apr 29, 2015 at 3:42 PM Steve  wrote:
>>
> Which makes me wonder - what is the difference between the --username and
>>> --submit-as options?
>>>
>>> --Steve
>>>
>>>
>>> On Tuesday, April 28, 2015 at 11:11:13 PM UTC-7, MoonWalker wrote:

 Found it :-). Seems like --submit-as  will do the trick

 On Wednesday, April 29, 2015 at 3:19:39 PM UTC+10, MoonWalker wrote:
>
> We are using Jenkins in our CI, and we have a job that takes care of
> doing some testing and if everything goes well a review will be posted in
> Reviewboard (2.0.15). Everything seems okay, the issue that I am facing is
> that I had to create a new user in RB called jenkins and the user that
> trigger the job is not able to modify the review because he was not the
> direct submitter. Is there any way to make a group capable to modify by
> default any review that targets the group?.
>
  --
>>> 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: RBtools and submitter issue and other questions

2015-04-30 Thread Steve
Thanks David.  I think I've been using --username when I should be using 
--submit-as.  How does RB authenticate the --submit-as user?

--Steve

On Wednesday, April 29, 2015 at 5:02:49 PM UTC-7, David Trowbridge wrote:
>
> --username is for authenticating to the review board server. --submit-as 
> is for impersonating another user (assuming the authenticated user has the 
> right permissions) after authentication.
>
> The aforementioned scenario (having a post-commit hook or CI task) to post 
> review requests on behalf of others is the use case for --submit-as.
>
> -David
> On Wed, Apr 29, 2015 at 3:42 PM Steve > 
> wrote:
>
>> Which makes me wonder - what is the difference between the --username and 
>> --submit-as options?
>>
>> --Steve
>>
>>
>> On Tuesday, April 28, 2015 at 11:11:13 PM UTC-7, MoonWalker wrote:
>>>
>>> Found it :-). Seems like --submit-as  will do the trick
>>>
>>> On Wednesday, April 29, 2015 at 3:19:39 PM UTC+10, MoonWalker wrote:

 We are using Jenkins in our CI, and we have a job that takes care of 
 doing some testing and if everything goes well a review will be posted in 
 Reviewboard (2.0.15). Everything seems okay, the issue that I am facing is 
 that I had to create a new user in RB called jenkins and the user that 
 trigger the job is not able to modify the review because he was not the 
 direct submitter. Is there any way to make a group capable to modify by 
 default any review that targets the group?.  

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


Re: RBtools and submitter issue and other questions

2015-04-29 Thread MoonWalker
That is right. We are using a standard user "Jenkins" with default psw, but 
if we do not add  --submit-as  and the user that trigger the job, the user 
wont be able to modify the review, because the user that created such 
review is "Jenkins"

On Thursday, April 30, 2015 at 10:02:49 AM UTC+10, David Trowbridge wrote:
>
> --username is for authenticating to the review board server. --submit-as 
> is for impersonating another user (assuming the authenticated user has the 
> right permissions) after authentication.
>
> The aforementioned scenario (having a post-commit hook or CI task) to post 
> review requests on behalf of others is the use case for --submit-as.
>
> -David
> On Wed, Apr 29, 2015 at 3:42 PM Steve > 
> wrote:
>
>> Which makes me wonder - what is the difference between the --username and 
>> --submit-as options?
>>
>> --Steve
>>
>>
>> On Tuesday, April 28, 2015 at 11:11:13 PM UTC-7, MoonWalker wrote:
>>>
>>> Found it :-). Seems like --submit-as  will do the trick
>>>
>>> On Wednesday, April 29, 2015 at 3:19:39 PM UTC+10, MoonWalker wrote:

 We are using Jenkins in our CI, and we have a job that takes care of 
 doing some testing and if everything goes well a review will be posted in 
 Reviewboard (2.0.15). Everything seems okay, the issue that I am facing is 
 that I had to create a new user in RB called jenkins and the user that 
 trigger the job is not able to modify the review because he was not the 
 direct submitter. Is there any way to make a group capable to modify by 
 default any review that targets the group?.  

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


Re: RBtools and submitter issue and other questions

2015-04-29 Thread David Trowbridge
--username is for authenticating to the review board server. --submit-as is
for impersonating another user (assuming the authenticated user has the
right permissions) after authentication.

The aforementioned scenario (having a post-commit hook or CI task) to post
review requests on behalf of others is the use case for --submit-as.

-David
On Wed, Apr 29, 2015 at 3:42 PM Steve  wrote:

> Which makes me wonder - what is the difference between the --username and
> --submit-as options?
>
> --Steve
>
>
> On Tuesday, April 28, 2015 at 11:11:13 PM UTC-7, MoonWalker wrote:
>>
>> Found it :-). Seems like --submit-as  will do the trick
>>
>> On Wednesday, April 29, 2015 at 3:19:39 PM UTC+10, MoonWalker wrote:
>>>
>>> We are using Jenkins in our CI, and we have a job that takes care of
>>> doing some testing and if everything goes well a review will be posted in
>>> Reviewboard (2.0.15). Everything seems okay, the issue that I am facing is
>>> that I had to create a new user in RB called jenkins and the user that
>>> trigger the job is not able to modify the review because he was not the
>>> direct submitter. Is there any way to make a group capable to modify by
>>> default any review that targets the group?.
>>>
>>  --
> 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: RBtools and submitter issue and other questions

2015-04-29 Thread Steve
Which makes me wonder - what is the difference between the --username and 
--submit-as options?

--Steve

On Tuesday, April 28, 2015 at 11:11:13 PM UTC-7, MoonWalker wrote:
>
> Found it :-). Seems like --submit-as  will do the trick
>
> On Wednesday, April 29, 2015 at 3:19:39 PM UTC+10, MoonWalker wrote:
>>
>> We are using Jenkins in our CI, and we have a job that takes care of 
>> doing some testing and if everything goes well a review will be posted in 
>> Reviewboard (2.0.15). Everything seems okay, the issue that I am facing is 
>> that I had to create a new user in RB called jenkins and the user that 
>> trigger the job is not able to modify the review because he was not the 
>> direct submitter. Is there any way to make a group capable to modify by 
>> default any review that targets the group?.  
>>
>

-- 
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: RBTools: Is this a bug in the way 'rbt --username' handles authentication?

2015-04-29 Thread Steve
Issue 3858 created.

Thanks

--steve

On Tuesday, April 28, 2015 at 6:58:46 PM UTC-7, Christian Hammond wrote:
>
> Hi Steve,
>
> This does seem to be a bug. I think it's worth filing a bug report. Thanks 
> for pointing it out! :)
>
> - Christian
>
> -- 
> Christian Hammond - chi...@chipx86.com 
> Review Board - http://www.reviewboard.org
> Beanbag, Inc. - http://www.beanbaginc.com
>
> On Tue, Apr 28, 2015 at 4:07 PM, Steve > 
> wrote:
>
>> I'm testing out 
>>
>> RB 2.0.15
>> RBTools 0.7.2
>>
>> and I've noticed something about how the --username option is handled 
>> that I think is a bug, but I wanted to run it by you all before filing a 
>> bug report.  
>>
>> What I've found is that when I do
>>
>> rbt post --username me 1234
>>
>> I always get prompted for a password.  If I already have a valid cookie 
>> in .rbtools-cookies file, then I can type anything and the review will go 
>> through.  If however I delete my .rbtools-cookie file, try again then the 
>> authentication is done correctly.  Does that make sense?  It seems somehow 
>> wrong to me.
>>
>> This example may make it clearer.
>>
>> $ rm ~/.rbtools-cookies
>> $ rbt post --username sallan 824
>>
>> Please log in to the Review Board server at localhost.
>> Password: *bogus_password*
>> ERROR: Unexpected API Error: The username or password was not correct 
>> (HTTP 401, API Error 104)
>>
>> $ rbt post --username sallan 824
>>
>> Please log in to the Review Board server at localhost.
>> Password: *correct_password*
>> Generating diff for pending changeset 824
>> Review request #10 posted.
>>
>> http://localhost/r/10/
>> http://localhost/r/10/diff/
>>
>> $ rbt post --username sallan 824
>>
>> Please log in to the Review Board server at localhost.
>> Password: *bogus_password*
>> Generating diff for pending changeset 824
>> Review request #10 posted.
>>
>> http://localhost/r/10/
>> http://localhost/r/10/diff/
>>
>> Notice the second time the bogus_password is accepted because I now have 
>> a cookie. If that's the case, why prompt? Is this a bug? Would you like me 
>> to file a report?
>>
>> --Steve
>>
>>
>>  -- 
>> 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.


Re: RBtools and submitter issue and other questions

2015-04-28 Thread MoonWalker
Found it :-). Seems like --submit-as  will do the trick

On Wednesday, April 29, 2015 at 3:19:39 PM UTC+10, MoonWalker wrote:
>
> We are using Jenkins in our CI, and we have a job that takes care of doing 
> some testing and if everything goes well a review will be posted in 
> Reviewboard (2.0.15). Everything seems okay, the issue that I am facing is 
> that I had to create a new user in RB called jenkins and the user that 
> trigger the job is not able to modify the review because he was not the 
> direct submitter. Is there any way to make a group capable to modify by 
> default any review that targets the group?.  
>

-- 
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: RBTools: Is this a bug in the way 'rbt --username' handles authentication?

2015-04-28 Thread Christian Hammond
Hi Steve,

This does seem to be a bug. I think it's worth filing a bug report. Thanks
for pointing it out! :)

- Christian

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

On Tue, Apr 28, 2015 at 4:07 PM, Steve  wrote:

> I'm testing out
>
> RB 2.0.15
> RBTools 0.7.2
>
> and I've noticed something about how the --username option is handled that
> I think is a bug, but I wanted to run it by you all before filing a bug
> report.
>
> What I've found is that when I do
>
> rbt post --username me 1234
>
> I always get prompted for a password.  If I already have a valid cookie in
> .rbtools-cookies file, then I can type anything and the review will go
> through.  If however I delete my .rbtools-cookie file, try again then the
> authentication is done correctly.  Does that make sense?  It seems somehow
> wrong to me.
>
> This example may make it clearer.
>
> $ rm ~/.rbtools-cookies
> $ rbt post --username sallan 824
>
> Please log in to the Review Board server at localhost.
> Password: *bogus_password*
> ERROR: Unexpected API Error: The username or password was not correct
> (HTTP 401, API Error 104)
>
> $ rbt post --username sallan 824
>
> Please log in to the Review Board server at localhost.
> Password: *correct_password*
> Generating diff for pending changeset 824
> Review request #10 posted.
>
> http://localhost/r/10/
> http://localhost/r/10/diff/
>
> $ rbt post --username sallan 824
>
> Please log in to the Review Board server at localhost.
> Password: *bogus_password*
> Generating diff for pending changeset 824
> Review request #10 posted.
>
> http://localhost/r/10/
> http://localhost/r/10/diff/
>
> Notice the second time the bogus_password is accepted because I now have a
> cookie. If that's the case, why prompt? Is this a bug? Would you like me to
> file a report?
>
> --Steve
>
>
>  --
> 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: RBTools: rbt post -r ID changenum does not update the change list number in the review request

2015-04-27 Thread Steve
Issue 3855 entered.

--Steve


On Tuesday, April 21, 2015 at 3:22:32 PM UTC-7, David Trowbridge wrote:
>
> Would you mind filing a bug on our issue tracker?
>
> Thanks,
> -David
>
> On Tue, Apr 21, 2015 at 2:35 PM Steve > 
> wrote:
>
>> Oops, sorry for forgetting that.
>>
>> Review Board 2.0.15
>> RBTools 0.7.2
>>
>> --steve
>>
>>
>> On Tuesday, April 21, 2015 at 2:22:17 PM UTC-7, David Trowbridge wrote:
>>
>>> What version of Review Board and RBTools are you running?
>>>
>>> -David
>>>
>>> On Tue, Apr 21, 2015 at 2:11 PM Steve  wrote:
>>>
>> Looking further into this, it appears that when I run

 rbt post -r 3 CL

 commit_id for RR 3 gets updated with the new cl number, but changenum 
 does not.  The docs say that changenum is being deprecated in favor of 
 commit_id, but from what I can see, it's the value in changenum that is 
 being displayed in the review web page.

 Is it just me, or are others seeing the same behavior?

 --Steve


 On Monday, April 20, 2015 at 2:40:42 PM UTC-7, Steve wrote:
>
> I've noticed that when I post diffs from a new change list to an 
> existing review request using the -r option that the change list number 
> is 
> not updated in the review.  I think the review request should update the 
> change list since that's the CL that reflects the current set of diffs, 
> but 
> there may be good reasons to not update it.  So I guess my question is, 
> is 
> this a bug or a feature?
>
> Since we use perforce, one of the consequences of not updating it is 
> that when the change list is submitted, it won't get automatically 
> updated 
> in the review request with the actual submitted change list number, 
> because 
> the number in the review is not the one that was submitted.  I hope that 
> wasn't as confusing as it sounds.
>
> Thanks
>
>
> --Steve
>
>  -- 
 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, 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: RBTools: rbt post -r ID changenum does not update the change list number in the review request

2015-04-22 Thread Steve
Actually, maybe I should be testing out 2.5 anyway.  I think I'll give that 
a try first.

--steve

On Wednesday, April 22, 2015 at 2:53:10 PM UTC-7, Steve wrote:
>
> Will do.  Thanks!
>
>
> On Tuesday, April 21, 2015 at 3:22:32 PM UTC-7, David Trowbridge wrote:
>>
>> Would you mind filing a bug on our issue tracker?
>>
>> Thanks,
>> -David
>>
>> On Tue, Apr 21, 2015 at 2:35 PM Steve  wrote:
>>
>>> Oops, sorry for forgetting that.
>>>
>>> Review Board 2.0.15
>>> RBTools 0.7.2
>>>
>>> --steve
>>>
>>>
>>> On Tuesday, April 21, 2015 at 2:22:17 PM UTC-7, David Trowbridge wrote:
>>>
 What version of Review Board and RBTools are you running?

 -David

 On Tue, Apr 21, 2015 at 2:11 PM Steve  wrote:

>>> Looking further into this, it appears that when I run
>
> rbt post -r 3 CL
>
> commit_id for RR 3 gets updated with the new cl number, but changenum 
> does not.  The docs say that changenum is being deprecated in favor of 
> commit_id, but from what I can see, it's the value in changenum that is 
> being displayed in the review web page.
>
> Is it just me, or are others seeing the same behavior?
>
> --Steve
>
>
> On Monday, April 20, 2015 at 2:40:42 PM UTC-7, Steve wrote:
>>
>> I've noticed that when I post diffs from a new change list to an 
>> existing review request using the -r option that the change list number 
>> is 
>> not updated in the review.  I think the review request should update the 
>> change list since that's the CL that reflects the current set of diffs, 
>> but 
>> there may be good reasons to not update it.  So I guess my question is, 
>> is 
>> this a bug or a feature?
>>
>> Since we use perforce, one of the consequences of not updating it is 
>> that when the change list is submitted, it won't get automatically 
>> updated 
>> in the review request with the actual submitted change list number, 
>> because 
>> the number in the review is not the one that was submitted.  I hope that 
>> wasn't as confusing as it sounds.
>>
>> Thanks
>>
>>
>> --Steve
>>
>>  -- 
> 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, 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: RBTools: rbt post -r ID changenum does not update the change list number in the review request

2015-04-22 Thread Steve
Will do.  Thanks!


On Tuesday, April 21, 2015 at 3:22:32 PM UTC-7, David Trowbridge wrote:
>
> Would you mind filing a bug on our issue tracker?
>
> Thanks,
> -David
>
> On Tue, Apr 21, 2015 at 2:35 PM Steve > 
> wrote:
>
>> Oops, sorry for forgetting that.
>>
>> Review Board 2.0.15
>> RBTools 0.7.2
>>
>> --steve
>>
>>
>> On Tuesday, April 21, 2015 at 2:22:17 PM UTC-7, David Trowbridge wrote:
>>
>>> What version of Review Board and RBTools are you running?
>>>
>>> -David
>>>
>>> On Tue, Apr 21, 2015 at 2:11 PM Steve  wrote:
>>>
>> Looking further into this, it appears that when I run

 rbt post -r 3 CL

 commit_id for RR 3 gets updated with the new cl number, but changenum 
 does not.  The docs say that changenum is being deprecated in favor of 
 commit_id, but from what I can see, it's the value in changenum that is 
 being displayed in the review web page.

 Is it just me, or are others seeing the same behavior?

 --Steve


 On Monday, April 20, 2015 at 2:40:42 PM UTC-7, Steve wrote:
>
> I've noticed that when I post diffs from a new change list to an 
> existing review request using the -r option that the change list number 
> is 
> not updated in the review.  I think the review request should update the 
> change list since that's the CL that reflects the current set of diffs, 
> but 
> there may be good reasons to not update it.  So I guess my question is, 
> is 
> this a bug or a feature?
>
> Since we use perforce, one of the consequences of not updating it is 
> that when the change list is submitted, it won't get automatically 
> updated 
> in the review request with the actual submitted change list number, 
> because 
> the number in the review is not the one that was submitted.  I hope that 
> wasn't as confusing as it sounds.
>
> Thanks
>
>
> --Steve
>
>  -- 
 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, 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: RBTools: rbt post -r ID changenum does not update the change list number in the review request

2015-04-21 Thread David Trowbridge
Would you mind filing a bug on our issue tracker?

Thanks,
-David

On Tue, Apr 21, 2015 at 2:35 PM Steve  wrote:

> Oops, sorry for forgetting that.
>
> Review Board 2.0.15
> RBTools 0.7.2
>
> --steve
>
>
> On Tuesday, April 21, 2015 at 2:22:17 PM UTC-7, David Trowbridge wrote:
>
>> What version of Review Board and RBTools are you running?
>>
>> -David
>>
>> On Tue, Apr 21, 2015 at 2:11 PM Steve  wrote:
>>
> Looking further into this, it appears that when I run
>>>
>>> rbt post -r 3 CL
>>>
>>> commit_id for RR 3 gets updated with the new cl number, but changenum
>>> does not.  The docs say that changenum is being deprecated in favor of
>>> commit_id, but from what I can see, it's the value in changenum that is
>>> being displayed in the review web page.
>>>
>>> Is it just me, or are others seeing the same behavior?
>>>
>>> --Steve
>>>
>>>
>>> On Monday, April 20, 2015 at 2:40:42 PM UTC-7, Steve wrote:

 I've noticed that when I post diffs from a new change list to an
 existing review request using the -r option that the change list number is
 not updated in the review.  I think the review request should update the
 change list since that's the CL that reflects the current set of diffs, but
 there may be good reasons to not update it.  So I guess my question is, is
 this a bug or a feature?

 Since we use perforce, one of the consequences of not updating it is
 that when the change list is submitted, it won't get automatically updated
 in the review request with the actual submitted change list number, because
 the number in the review is not the one that was submitted.  I hope that
 wasn't as confusing as it sounds.

 Thanks


 --Steve

  --
>>> 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: RBTools: rbt post -r ID changenum does not update the change list number in the review request

2015-04-21 Thread Steve
Oops, sorry for forgetting that.

Review Board 2.0.15
RBTools 0.7.2

--steve


On Tuesday, April 21, 2015 at 2:22:17 PM UTC-7, David Trowbridge wrote:
>
> What version of Review Board and RBTools are you running?
>
> -David
>
> On Tue, Apr 21, 2015 at 2:11 PM Steve > 
> wrote:
>
>> Looking further into this, it appears that when I run
>>
>> rbt post -r 3 CL
>>
>> commit_id for RR 3 gets updated with the new cl number, but changenum 
>> does not.  The docs say that changenum is being deprecated in favor of 
>> commit_id, but from what I can see, it's the value in changenum that is 
>> being displayed in the review web page.
>>
>> Is it just me, or are others seeing the same behavior?
>>
>> --Steve
>>
>>
>> On Monday, April 20, 2015 at 2:40:42 PM UTC-7, Steve wrote:
>>>
>>> I've noticed that when I post diffs from a new change list to an 
>>> existing review request using the -r option that the change list number is 
>>> not updated in the review.  I think the review request should update the 
>>> change list since that's the CL that reflects the current set of diffs, but 
>>> there may be good reasons to not update it.  So I guess my question is, is 
>>> this a bug or a feature?
>>>
>>> Since we use perforce, one of the consequences of not updating it is 
>>> that when the change list is submitted, it won't get automatically updated 
>>> in the review request with the actual submitted change list number, because 
>>> the number in the review is not the one that was submitted.  I hope that 
>>> wasn't as confusing as it sounds.
>>>
>>> Thanks
>>>
>>>
>>> --Steve
>>>
>>>  -- 
>> 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.


Re: RBTools: rbt post -r ID changenum does not update the change list number in the review request

2015-04-21 Thread David Trowbridge
What version of Review Board and RBTools are you running?

-David

On Tue, Apr 21, 2015 at 2:11 PM Steve  wrote:

> Looking further into this, it appears that when I run
>
> rbt post -r 3 CL
>
> commit_id for RR 3 gets updated with the new cl number, but changenum does
> not.  The docs say that changenum is being deprecated in favor of
> commit_id, but from what I can see, it's the value in changenum that is
> being displayed in the review web page.
>
> Is it just me, or are others seeing the same behavior?
>
> --Steve
>
>
> On Monday, April 20, 2015 at 2:40:42 PM UTC-7, Steve wrote:
>>
>> I've noticed that when I post diffs from a new change list to an existing
>> review request using the -r option that the change list number is not
>> updated in the review.  I think the review request should update the change
>> list since that's the CL that reflects the current set of diffs, but there
>> may be good reasons to not update it.  So I guess my question is, is this a
>> bug or a feature?
>>
>> Since we use perforce, one of the consequences of not updating it is that
>> when the change list is submitted, it won't get automatically updated in
>> the review request with the actual submitted change list number, because
>> the number in the review is not the one that was submitted.  I hope that
>> wasn't as confusing as it sounds.
>>
>> Thanks
>>
>>
>> --Steve
>>
>>  --
> 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: RBTools: rbt post -r ID changenum does not update the change list number in the review request

2015-04-21 Thread Steve
Looking further into this, it appears that when I run

rbt post -r 3 CL

commit_id for RR 3 gets updated with the new cl number, but changenum does 
not.  The docs say that changenum is being deprecated in favor of 
commit_id, but from what I can see, it's the value in changenum that is 
being displayed in the review web page.

Is it just me, or are others seeing the same behavior?

--Steve


On Monday, April 20, 2015 at 2:40:42 PM UTC-7, Steve wrote:
>
> I've noticed that when I post diffs from a new change list to an existing 
> review request using the -r option that the change list number is not 
> updated in the review.  I think the review request should update the change 
> list since that's the CL that reflects the current set of diffs, but there 
> may be good reasons to not update it.  So I guess my question is, is this a 
> bug or a feature?
>
> Since we use perforce, one of the consequences of not updating it is that 
> when the change list is submitted, it won't get automatically updated in 
> the review request with the actual submitted change list number, because 
> the number in the review is not the one that was submitted.  I hope that 
> wasn't as confusing as it sounds.
>
> Thanks
>
>
> --Steve
>
>

-- 
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: RBtools 0.7 - issue posting a review

2015-04-08 Thread Daniel Laird
Ok - Will post the raw contents and other stuff I think is useful to you at 
the email address.
Much appreciated
Dan

On Tuesday, 7 April 2015 23:53:24 UTC+1, Christian Hammond wrote:
>
> Hey Dan,
>
> Would you be able to provide us with the raw contents of that svn diff 
> command? We need some test data to help us repro the problem.
>
> Assuming this is confidential data, you can send that attachment along to 
> sup...@beanbaginc.com  (though we'll still discuss the issue 
> here).
>
> Thanks!
>
> - Christian
>
> -- 
> Christian Hammond - chi...@chipx86.com 
> Review Board - http://www.reviewboard.org
> Beanbag, Inc. - http://www.beanbaginc.com
>
> On Tue, Apr 7, 2015 at 8:59 AM, Daniel Laird  > wrote:
>
>> On a new Ubuntu 14.04 installation I am seeing something similar:
>> (We are testing 14.04 before wider rollout.)
>> >>> Running: svn info --non-interactive
>> >>> Running: diff --version
>> >>> Running: svn --version -q
>> >>> repository info: Path: http://REVIEWBOARD_URL/NAME, Base path: PATH 
>> TO CHANGES, Supports changesets: False
>> >>> Running: svn status -q --ignore-externals
>> >>> Running: svn diff --diff-cmd=diff --notice-ancestry -r BASE
>> Traceback (most recent call last):
>>   File "/usr/local/bin/rbt", line 9, in 
>> load_entry_point('RBTools==0.7.2', 'console_scripts', 'rbt')()
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/RBTools-0.7.2-py2.7.egg/rbtools/commands/main.py",
>>  
>> line 133, in main
>> command.run_from_argv([RB_MAIN, command_name] + args)
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/RBTools-0.7.2-py2.7.egg/rbtools/commands/__init__.py",
>>  
>> line 555, in run_from_argv
>> exit_code = self.main(*args) or 0
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/RBTools-0.7.2-py2.7.egg/rbtools/commands/post.py",
>>  
>> line 639, in main
>> extra_args=extra_args)
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/RBTools-0.7.2-py2.7.egg/rbtools/clients/svn.py",
>>  
>> line 319, in diff
>> diff = self._run_svn(diff_cmd, split_lines=True)
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/RBTools-0.7.2-py2.7.egg/rbtools/clients/svn.py",
>>  
>> line 707, in _run_svn
>> return execute(cmdline, *args, **kwargs)
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/RBTools-0.7.2-py2.7.egg/rbtools/utils/process.py",
>>  
>> line 104, in execute
>> data = [line.decode('utf-8') for line in data]
>>   File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
>> return codecs.utf_8_decode(input, errors, True)
>> UnicodeDecodeError: 'utf8' codec can't decode byte 0xe4 in position 17: 
>> invalid continuation byte
>>
>> I appear to have all the correct locates installed - but no luck.
>> It is running SVN 1.8.8 and Ubuntu 14.04 and the latest RBT- any ideas 
>> what to debug - it does not appear to be log related this time
>> This command:
>> svn diff --diff-cmd=diff --notice-ancestry -r BASE
>> Runs fine on the commandline standalone
>>
>> Dan
>>
>> On Sunday, 15 February 2015 21:20:00 UTC, Daniel Laird wrote:
>>>
>>> After some investigation we found the following:
>>>
>>> # TODO: This can break on systems that don't have the en_US local
>>>
>>> # installed (which isn't very many). Ideally in this case, we could
>>>
>>> # put something in the config file, but that's not plumbed through to 
>>> here.
>>>
>>> env['LC_ALL'] = 'en_US.UTF-8'
>>>
>>> env['LANGUAGE'] = 'en_US.UTF-8'
>>>
>>> We can confirm that it does break things!
>>>
>>> With the 'en_US.UTF-8' locale installed the problem goes away - is there 
>>> a way to check this locale is installed and error nicely rather than 
>>> breaking?
>>> Cheers
>>> Dan
>>>
>>> On Saturday, 31 January 2015 18:49:02 UTC, David Trowbridge wrote:

 Hi Daniel,

 Do you think you could add some code to print out the contents of 'log' 
 inside _convert_symbolic_revision before we try to construct the etree?

 Thanks,
 -David


 On Fri Jan 30 2015 at 4:48:37 AM Daniel Laird <
 daniel@googlemail.com> wrote:

> We have a shared Debian server and we have updated RBtools to 0.7.
>
> When we try to post a review we get the following:
>
> SERVER_NAME> rbt post -d NUM
> >>> RBTools 0.7
> >>> Python 2.7.3 (default, Mar 13 2014, 11:03:55) 
> [GCC 4.7.2]
> >>> Running on Linux-3.2.0-4-amd64-x86_64-with-debian-7.8
> >>> Home = /v/home/rad/USERNAME
> >>> Current directory = /v/space/SERVER_NAME/USERNAME/
> wc/memory_corruption
> >>> Checking for a Subversion repository...
> >>> Running: svn info --non-interactive
> >>> Running: diff --version
> >>> repository info: Path: https://SVN_SERVER/svn-restricted/PROJNAME, 
> Base path: /branches/users/bob/memory_corruption, Supports 
> changesets: False
> >>> Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
> >>> HTTP GET request to http://REVIEWBOARD_SERVER/api/ cannot be 
> cached
> >>> Making 

Re: RBtools 0.7 - issue posting a review

2015-04-07 Thread Christian Hammond
Hey Dan,

Would you be able to provide us with the raw contents of that svn diff
command? We need some test data to help us repro the problem.

Assuming this is confidential data, you can send that attachment along to
supp...@beanbaginc.com (though we'll still discuss the issue here).

Thanks!

- Christian

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

On Tue, Apr 7, 2015 at 8:59 AM, Daniel Laird 
wrote:

> On a new Ubuntu 14.04 installation I am seeing something similar:
> (We are testing 14.04 before wider rollout.)
> >>> Running: svn info --non-interactive
> >>> Running: diff --version
> >>> Running: svn --version -q
> >>> repository info: Path: http://REVIEWBOARD_URL/NAME, Base path: PATH
> TO CHANGES, Supports changesets: False
> >>> Running: svn status -q --ignore-externals
> >>> Running: svn diff --diff-cmd=diff --notice-ancestry -r BASE
> Traceback (most recent call last):
>   File "/usr/local/bin/rbt", line 9, in 
> load_entry_point('RBTools==0.7.2', 'console_scripts', 'rbt')()
>   File
> "/usr/local/lib/python2.7/dist-packages/RBTools-0.7.2-py2.7.egg/rbtools/commands/main.py",
> line 133, in main
> command.run_from_argv([RB_MAIN, command_name] + args)
>   File
> "/usr/local/lib/python2.7/dist-packages/RBTools-0.7.2-py2.7.egg/rbtools/commands/__init__.py",
> line 555, in run_from_argv
> exit_code = self.main(*args) or 0
>   File
> "/usr/local/lib/python2.7/dist-packages/RBTools-0.7.2-py2.7.egg/rbtools/commands/post.py",
> line 639, in main
> extra_args=extra_args)
>   File
> "/usr/local/lib/python2.7/dist-packages/RBTools-0.7.2-py2.7.egg/rbtools/clients/svn.py",
> line 319, in diff
> diff = self._run_svn(diff_cmd, split_lines=True)
>   File
> "/usr/local/lib/python2.7/dist-packages/RBTools-0.7.2-py2.7.egg/rbtools/clients/svn.py",
> line 707, in _run_svn
> return execute(cmdline, *args, **kwargs)
>   File
> "/usr/local/lib/python2.7/dist-packages/RBTools-0.7.2-py2.7.egg/rbtools/utils/process.py",
> line 104, in execute
> data = [line.decode('utf-8') for line in data]
>   File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
> return codecs.utf_8_decode(input, errors, True)
> UnicodeDecodeError: 'utf8' codec can't decode byte 0xe4 in position 17:
> invalid continuation byte
>
> I appear to have all the correct locates installed - but no luck.
> It is running SVN 1.8.8 and Ubuntu 14.04 and the latest RBT- any ideas
> what to debug - it does not appear to be log related this time
> This command:
> svn diff --diff-cmd=diff --notice-ancestry -r BASE
> Runs fine on the commandline standalone
>
> Dan
>
> On Sunday, 15 February 2015 21:20:00 UTC, Daniel Laird wrote:
>>
>> After some investigation we found the following:
>>
>> # TODO: This can break on systems that don't have the en_US local
>>
>> # installed (which isn't very many). Ideally in this case, we could
>>
>> # put something in the config file, but that's not plumbed through to
>> here.
>>
>> env['LC_ALL'] = 'en_US.UTF-8'
>>
>> env['LANGUAGE'] = 'en_US.UTF-8'
>>
>> We can confirm that it does break things!
>>
>> With the 'en_US.UTF-8' locale installed the problem goes away - is there
>> a way to check this locale is installed and error nicely rather than
>> breaking?
>> Cheers
>> Dan
>>
>> On Saturday, 31 January 2015 18:49:02 UTC, David Trowbridge wrote:
>>>
>>> Hi Daniel,
>>>
>>> Do you think you could add some code to print out the contents of 'log'
>>> inside _convert_symbolic_revision before we try to construct the etree?
>>>
>>> Thanks,
>>> -David
>>>
>>>
>>> On Fri Jan 30 2015 at 4:48:37 AM Daniel Laird 
>>> wrote:
>>>
 We have a shared Debian server and we have updated RBtools to 0.7.

 When we try to post a review we get the following:

 SERVER_NAME> rbt post -d NUM
 >>> RBTools 0.7
 >>> Python 2.7.3 (default, Mar 13 2014, 11:03:55)
 [GCC 4.7.2]
 >>> Running on Linux-3.2.0-4-amd64-x86_64-with-debian-7.8
 >>> Home = /v/home/rad/USERNAME
 >>> Current directory = /v/space/SERVER_NAME/USERNAME/
 wc/memory_corruption
 >>> Checking for a Subversion repository...
 >>> Running: svn info --non-interactive
 >>> Running: diff --version
 >>> repository info: Path: https://SVN_SERVER/svn-restricted/PROJNAME,
 Base path: /branches/users/bob/memory_corruption, Supports changesets:
 False
 >>> Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
 >>> HTTP GET request to http://REVIEWBOARD_SERVER/api/ cannot be cached
 >>> Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
 repositories/
 >>> HTTP GET request to http://REVIEWBOARD_SERVER/api/repositories/
 cannot be cached
 >>> Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
 repositories/?max-results=25&start=25
 >>> HTTP GET request to http://REVIEWBOARD_SERVER/api/
 repositories/?max-results=25&start=25 cannot be cached
 >>> Making HT

Re: RBtools 0.7 - issue posting a review

2015-04-07 Thread Daniel Laird
On a new Ubuntu 14.04 installation I am seeing something similar:
(We are testing 14.04 before wider rollout.)
>>> Running: svn info --non-interactive
>>> Running: diff --version
>>> Running: svn --version -q
>>> repository info: Path: http://REVIEWBOARD_URL/NAME, Base path: PATH TO 
CHANGES, Supports changesets: False
>>> Running: svn status -q --ignore-externals
>>> Running: svn diff --diff-cmd=diff --notice-ancestry -r BASE
Traceback (most recent call last):
  File "/usr/local/bin/rbt", line 9, in 
load_entry_point('RBTools==0.7.2', 'console_scripts', 'rbt')()
  File 
"/usr/local/lib/python2.7/dist-packages/RBTools-0.7.2-py2.7.egg/rbtools/commands/main.py",
 
line 133, in main
command.run_from_argv([RB_MAIN, command_name] + args)
  File 
"/usr/local/lib/python2.7/dist-packages/RBTools-0.7.2-py2.7.egg/rbtools/commands/__init__.py",
 
line 555, in run_from_argv
exit_code = self.main(*args) or 0
  File 
"/usr/local/lib/python2.7/dist-packages/RBTools-0.7.2-py2.7.egg/rbtools/commands/post.py",
 
line 639, in main
extra_args=extra_args)
  File 
"/usr/local/lib/python2.7/dist-packages/RBTools-0.7.2-py2.7.egg/rbtools/clients/svn.py",
 
line 319, in diff
diff = self._run_svn(diff_cmd, split_lines=True)
  File 
"/usr/local/lib/python2.7/dist-packages/RBTools-0.7.2-py2.7.egg/rbtools/clients/svn.py",
 
line 707, in _run_svn
return execute(cmdline, *args, **kwargs)
  File 
"/usr/local/lib/python2.7/dist-packages/RBTools-0.7.2-py2.7.egg/rbtools/utils/process.py",
 
line 104, in execute
data = [line.decode('utf-8') for line in data]
  File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xe4 in position 17: 
invalid continuation byte

I appear to have all the correct locates installed - but no luck.
It is running SVN 1.8.8 and Ubuntu 14.04 and the latest RBT- any ideas what 
to debug - it does not appear to be log related this time
This command:
svn diff --diff-cmd=diff --notice-ancestry -r BASE
Runs fine on the commandline standalone

Dan

On Sunday, 15 February 2015 21:20:00 UTC, Daniel Laird wrote:
>
> After some investigation we found the following:
>
> # TODO: This can break on systems that don't have the en_US local
>
> # installed (which isn't very many). Ideally in this case, we could
>
> # put something in the config file, but that's not plumbed through to here.
>
> env['LC_ALL'] = 'en_US.UTF-8'
>
> env['LANGUAGE'] = 'en_US.UTF-8'
>
> We can confirm that it does break things!
>
> With the 'en_US.UTF-8' locale installed the problem goes away - is there a 
> way to check this locale is installed and error nicely rather than breaking?
> Cheers
> Dan
>
> On Saturday, 31 January 2015 18:49:02 UTC, David Trowbridge wrote:
>>
>> Hi Daniel,
>>
>> Do you think you could add some code to print out the contents of 'log' 
>> inside _convert_symbolic_revision before we try to construct the etree?
>>
>> Thanks,
>> -David
>>
>>
>> On Fri Jan 30 2015 at 4:48:37 AM Daniel Laird  
>> wrote:
>>
>>> We have a shared Debian server and we have updated RBtools to 0.7.
>>>
>>> When we try to post a review we get the following:
>>>
>>> SERVER_NAME> rbt post -d NUM
>>> >>> RBTools 0.7
>>> >>> Python 2.7.3 (default, Mar 13 2014, 11:03:55) 
>>> [GCC 4.7.2]
>>> >>> Running on Linux-3.2.0-4-amd64-x86_64-with-debian-7.8
>>> >>> Home = /v/home/rad/USERNAME
>>> >>> Current directory = /v/space/SERVER_NAME/USERNAME/
>>> wc/memory_corruption
>>> >>> Checking for a Subversion repository...
>>> >>> Running: svn info --non-interactive
>>> >>> Running: diff --version
>>> >>> repository info: Path: https://SVN_SERVER/svn-restricted/PROJNAME, 
>>> Base path: /branches/users/bob/memory_corruption, Supports changesets: 
>>> False
>>> >>> Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
>>> >>> HTTP GET request to http://REVIEWBOARD_SERVER/api/ cannot be cached
>>> >>> Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
>>> repositories/
>>> >>> HTTP GET request to http://REVIEWBOARD_SERVER/api/repositories/ 
>>> cannot be cached
>>> >>> Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
>>> repositories/?max-results=25&start=25
>>> >>> HTTP GET request to http://REVIEWBOARD_SERVER/api/
>>> repositories/?max-results=25&start=25 cannot be cached
>>> >>> Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
>>> repositories/1/info/
>>> >>> HTTP GET request to http://REVIEWBOARD_SERVER/api/
>>> repositories/1/info/ cannot be cached
>>> >>> Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
>>> repositories/2/info/
>>> >>> HTTP GET request to http://REVIEWBOARD_SERVER/api/
>>> repositories/2/info/ cannot be cached
>>> >>> Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
>>> repositories/3/info/
>>> >>> HTTP GET request to http://REVIEWBOARD_SERVER/api/
>>> repositories/3/info/ cannot be cached
>>> >>> Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
>>> rep

Re: RBTools 0.7 is released!

2015-03-02 Thread Barret Rennie
Hi again,

You can ignore my last email. As it turns out, the file exclusion was buggier 
than I thought. Patterns are interpreted as relative to the current working 
directory unless they begin with a path separator.

Regards,
Barret
> On Feb 27, 2015, at 5:25 PM, David Carson  wrote:
> 
> Am I the only one who finds a need for more documentation/examples on this?  
> Is there any way, for example, to exclude all files of a certain pattern 
> regardless of the path where such files are found?
> 
> On Friday, February 20, 2015 at 3:19:40 PM UTC-5, David Carson wrote:
> The 'rbt' help for the post command does not explain what kind of pattern 
> (regex, glob, ??) should be used for the new -X option.  Can you clarify?  
> And can this be added to the help screen as well?
> 
> Thanks.
> 
> On Saturday, February 7, 2015 at 11:16:15 AM UTC-5, Stephen Gallagher wrote:
> 
> 
> 
> On Mon, 2015-01-19 at 08:37 -0500, Stephen Gallagher wrote: 
> > 
> >  On Sun, 2015-01-18 at 00:39 -0800, Christian Hammond wrote: 
> > > Hey everyone, 
> > > 
> > > We just put out a release of RBTools 0.7, the latest major evolution of 
> > > RBTools. In it you'll find native installers for Windows and Mac, 
> > > support for custom RBTools command aliases, a new command to land 
> > > reviewed changes, options for excluding files from review, support for 
> > > Microsoft Team Foundation Server, performance enhancements, and more. 
> > > 
> > > See the official announcement for more of the juicy 
> > > details: 
> > > https://www.reviewboard.org/news/2015/01/18/rbtools-0-7-is-here/ 
> > >  
> > > 
> > 
> >  Fedora and EPEL packages are now on their way. You can wait for them 
> > to show up in the updates-testing repositories within 48 hours, or you 
> > can download the RPMs immediately from 
> > https://admin.fedoraproject.org/updates/search/RBTools 
> >  
> > 
> 
> I forgot to send email yesterday, but RBTools 0.7.1 should be available 
> in Fedora 20+ and EPEL 6 and 7 now. You can update with 
> yum update --enablerepo=updates-testing RBTools 
> 
> (Substituting updates-testing with epel-testing as appropriate). 
> 
> 
> -- 
> 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: RBTools 0.7 is released!

2015-03-01 Thread Barret Rennie
Hi again David,

I realized that I gave you some incorrect information about this the other day. 
Patterns should match against the root of the repository (e.g. -X ‘*.foo’ will 
match all files ending in .foo in the entire repository) unless they are 
explicitly local (i.e., they begin with ./). I’ve encountered a few bugs while 
investigating this lately and it happens differently in different SCMs. This 
will all hopefully be fixed in the next RBTools minor release.

Regards,
Barret
> On Feb 27, 2015, at 5:25 PM, David Carson  wrote:
> 
> Am I the only one who finds a need for more documentation/examples on this?  
> Is there any way, for example, to exclude all files of a certain pattern 
> regardless of the path where such files are found?
> 
> On Friday, February 20, 2015 at 3:19:40 PM UTC-5, David Carson wrote:
> The 'rbt' help for the post command does not explain what kind of pattern 
> (regex, glob, ??) should be used for the new -X option.  Can you clarify?  
> And can this be added to the help screen as well?
> 
> Thanks.
> 
> On Saturday, February 7, 2015 at 11:16:15 AM UTC-5, Stephen Gallagher wrote:
> 
> 
> 
> On Mon, 2015-01-19 at 08:37 -0500, Stephen Gallagher wrote: 
> > 
> >  On Sun, 2015-01-18 at 00:39 -0800, Christian Hammond wrote: 
> > > Hey everyone, 
> > > 
> > > We just put out a release of RBTools 0.7, the latest major evolution of 
> > > RBTools. In it you'll find native installers for Windows and Mac, 
> > > support for custom RBTools command aliases, a new command to land 
> > > reviewed changes, options for excluding files from review, support for 
> > > Microsoft Team Foundation Server, performance enhancements, and more. 
> > > 
> > > See the official announcement for more of the juicy 
> > > details: 
> > > https://www.reviewboard.org/news/2015/01/18/rbtools-0-7-is-here/ 
> > >  
> > > 
> > 
> >  Fedora and EPEL packages are now on their way. You can wait for them 
> > to show up in the updates-testing repositories within 48 hours, or you 
> > can download the RPMs immediately from 
> > https://admin.fedoraproject.org/updates/search/RBTools 
> >  
> > 
> 
> I forgot to send email yesterday, but RBTools 0.7.1 should be available 
> in Fedora 20+ and EPEL 6 and 7 now. You can update with 
> yum update --enablerepo=updates-testing RBTools 
> 
> (Substituting updates-testing with epel-testing as appropriate). 
> 
> 
> -- 
> 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: RBTools 0.7 is released!

2015-02-27 Thread Barret Rennie
Hi David,

Sorry for the lack of clarity in the documentation. It will be rectified in the 
next minor release of RBTools.

The pattern support for the -X flag varies by the SCM tool. Hg provides its own 
file exclusion support, so when RBTools is working with a Mercurial repository, 
it will use Mercurial’s patterns, the default of which is globbing. More info 
on Mercurial’s pattern support is available at 
http://hgbook.red-bean.com/read/file-names-and-pattern-matching.html 
. 
However, Git, CVS, SVN, and Perforce don’t support this feature natively and 
currently they only support *NIX shell globs.

With regards to your other question, to exclude all files of a certain pattern 
(e.g., foo.*) regardless of the path, the command *would* be:
rbt diff -X ‘/*foo.*'
or
rbt diff -X '*foo.txt'
if you are in the root directory of the repository. However, case 1 currently 
doesn’t work so you must use the relative path from the root of the repository 
checkout. This, too, will be fixed in the next minor release.

Regards,
Barret

> On Feb 27, 2015, at 5:25 PM, David Carson  wrote:
> 
> Am I the only one who finds a need for more documentation/examples on this?  
> Is there any way, for example, to exclude all files of a certain pattern 
> regardless of the path where such files are found?
> 
> On Friday, February 20, 2015 at 3:19:40 PM UTC-5, David Carson wrote:
> The 'rbt' help for the post command does not explain what kind of pattern 
> (regex, glob, ??) should be used for the new -X option.  Can you clarify?  
> And can this be added to the help screen as well?
> 
> Thanks.
> 
> On Saturday, February 7, 2015 at 11:16:15 AM UTC-5, Stephen Gallagher wrote:
> 
> 
> 
> On Mon, 2015-01-19 at 08:37 -0500, Stephen Gallagher wrote: 
> > 
> >  On Sun, 2015-01-18 at 00:39 -0800, Christian Hammond wrote: 
> > > Hey everyone, 
> > > 
> > > We just put out a release of RBTools 0.7, the latest major evolution of 
> > > RBTools. In it you'll find native installers for Windows and Mac, 
> > > support for custom RBTools command aliases, a new command to land 
> > > reviewed changes, options for excluding files from review, support for 
> > > Microsoft Team Foundation Server, performance enhancements, and more. 
> > > 
> > > See the official announcement for more of the juicy 
> > > details: 
> > > https://www.reviewboard.org/news/2015/01/18/rbtools-0-7-is-here/ 
> > >  
> > > 
> > 
> >  Fedora and EPEL packages are now on their way. You can wait for them 
> > to show up in the updates-testing repositories within 48 hours, or you 
> > can download the RPMs immediately from 
> > https://admin.fedoraproject.org/updates/search/RBTools 
> >  
> > 
> 
> I forgot to send email yesterday, but RBTools 0.7.1 should be available 
> in Fedora 20+ and EPEL 6 and 7 now. You can update with 
> yum update --enablerepo=updates-testing RBTools 
> 
> (Substituting updates-testing with epel-testing as appropriate). 
> 
> 
> -- 
> 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: RBTools 0.7 is released!

2015-02-27 Thread David Carson
Am I the only one who finds a need for more documentation/examples on this? 
 Is there any way, for example, to exclude all files of a certain pattern 
*regardless* of the path where such files are found?

On Friday, February 20, 2015 at 3:19:40 PM UTC-5, David Carson wrote:
>
> The 'rbt' help for the *post* command does not explain what kind of 
> pattern (regex, glob, ??) should be used for the new -X option.  Can you 
> clarify?  And can this be added to the help screen as well?
>
> Thanks.
>
> On Saturday, February 7, 2015 at 11:16:15 AM UTC-5, Stephen Gallagher 
> wrote:
>>
>>
>>
>>
>> On Mon, 2015-01-19 at 08:37 -0500, Stephen Gallagher wrote: 
>> > 
>> >  On Sun, 2015-01-18 at 00:39 -0800, Christian Hammond wrote: 
>> > > Hey everyone, 
>> > > 
>> > > We just put out a release of RBTools 0.7, the latest major evolution 
>> of 
>> > > RBTools. In it you'll find native installers for Windows and Mac, 
>> > > support for custom RBTools command aliases, a new command to land 
>> > > reviewed changes, options for excluding files from review, support 
>> for 
>> > > Microsoft Team Foundation Server, performance enhancements, and more. 
>> > > 
>> > > See the official announcement for more of the juicy 
>> > > details: 
>> > > https://www.reviewboard.org/news/2015/01/18/rbtools-0-7-is-here/ 
>> > > 
>> > 
>> >  Fedora and EPEL packages are now on their way. You can wait for them 
>> > to show up in the updates-testing repositories within 48 hours, or you 
>> > can download the RPMs immediately from 
>> > https://admin.fedoraproject.org/updates/search/RBTools 
>> > 
>>
>> I forgot to send email yesterday, but RBTools 0.7.1 should be available 
>> in Fedora 20+ and EPEL 6 and 7 now. You can update with 
>> yum update --enablerepo=updates-testing RBTools 
>>
>> (Substituting updates-testing with epel-testing as appropriate). 
>>
>>

-- 
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: RBTools 0.7 is released!

2015-02-20 Thread David Carson
The 'rbt' help for the *post* command does not explain what kind of pattern 
(regex, glob, ??) should be used for the new -X option.  Can you clarify? 
 And can this be added to the help screen as well?

Thanks.

On Saturday, February 7, 2015 at 11:16:15 AM UTC-5, Stephen Gallagher wrote:
>
>
>
>
> On Mon, 2015-01-19 at 08:37 -0500, Stephen Gallagher wrote: 
> > 
> >  On Sun, 2015-01-18 at 00:39 -0800, Christian Hammond wrote: 
> > > Hey everyone, 
> > > 
> > > We just put out a release of RBTools 0.7, the latest major evolution 
> of 
> > > RBTools. In it you'll find native installers for Windows and Mac, 
> > > support for custom RBTools command aliases, a new command to land 
> > > reviewed changes, options for excluding files from review, support for 
> > > Microsoft Team Foundation Server, performance enhancements, and more. 
> > > 
> > > See the official announcement for more of the juicy 
> > > details: 
> > > https://www.reviewboard.org/news/2015/01/18/rbtools-0-7-is-here/ 
> > > 
> > 
> >  Fedora and EPEL packages are now on their way. You can wait for them 
> > to show up in the updates-testing repositories within 48 hours, or you 
> > can download the RPMs immediately from 
> > https://admin.fedoraproject.org/updates/search/RBTools 
> > 
>
> I forgot to send email yesterday, but RBTools 0.7.1 should be available 
> in Fedora 20+ and EPEL 6 and 7 now. You can update with 
> yum update --enablerepo=updates-testing RBTools 
>
> (Substituting updates-testing with epel-testing as appropriate). 
>
>

-- 
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: RBtools 0.7 - issue posting a review

2015-02-15 Thread Daniel Laird
After some investigation we found the following:

# TODO: This can break on systems that don't have the en_US local

# installed (which isn't very many). Ideally in this case, we could

# put something in the config file, but that's not plumbed through to here.

env['LC_ALL'] = 'en_US.UTF-8'

env['LANGUAGE'] = 'en_US.UTF-8'

We can confirm that it does break things!

With the 'en_US.UTF-8' locale installed the problem goes away - is there a 
way to check this locale is installed and error nicely rather than breaking?
Cheers
Dan

On Saturday, 31 January 2015 18:49:02 UTC, David Trowbridge wrote:
>
> Hi Daniel,
>
> Do you think you could add some code to print out the contents of 'log' 
> inside _convert_symbolic_revision before we try to construct the etree?
>
> Thanks,
> -David
>
>
> On Fri Jan 30 2015 at 4:48:37 AM Daniel Laird  > wrote:
>
>> We have a shared Debian server and we have updated RBtools to 0.7.
>>
>> When we try to post a review we get the following:
>>
>> SERVER_NAME> rbt post -d NUM
>> >>> RBTools 0.7
>> >>> Python 2.7.3 (default, Mar 13 2014, 11:03:55) 
>> [GCC 4.7.2]
>> >>> Running on Linux-3.2.0-4-amd64-x86_64-with-debian-7.8
>> >>> Home = /v/home/rad/USERNAME
>> >>> Current directory = /v/space/SERVER_NAME/USERNAME/
>> wc/memory_corruption
>> >>> Checking for a Subversion repository...
>> >>> Running: svn info --non-interactive
>> >>> Running: diff --version
>> >>> repository info: Path: https://SVN_SERVER/svn-restricted/PROJNAME, 
>> Base path: /branches/users/bob/memory_corruption, Supports changesets: 
>> False
>> >>> Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
>> >>> HTTP GET request to http://REVIEWBOARD_SERVER/api/ cannot be cached
>> >>> Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
>> repositories/
>> >>> HTTP GET request to http://REVIEWBOARD_SERVER/api/repositories/ 
>> cannot be cached
>> >>> Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
>> repositories/?max-results=25&start=25
>> >>> HTTP GET request to http://REVIEWBOARD_SERVER/api/
>> repositories/?max-results=25&start=25 cannot be cached
>> >>> Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
>> repositories/1/info/
>> >>> HTTP GET request to http://REVIEWBOARD_SERVER/api/
>> repositories/1/info/ cannot be cached
>> >>> Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
>> repositories/2/info/
>> >>> HTTP GET request to http://REVIEWBOARD_SERVER/api/
>> repositories/2/info/ cannot be cached
>> >>> Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
>> repositories/3/info/
>> >>> HTTP GET request to http://REVIEWBOARD_SERVER/api/
>> repositories/3/info/ cannot be cached
>> >>> Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
>> repositories/4/info/
>> >>> HTTP GET request to http://REVIEWBOARD_SERVER/api/
>> repositories/4/info/ cannot be cached
>> >>> Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
>> repositories/5/info/
>> >>> HTTP GET request to http://REVIEWBOARD_SERVER/api/
>> repositories/5/info/ cannot be cached
>> >>> Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
>> repositories/6/info/
>> >>> HTTP GET request to http://REVIEWBOARD_SERVER/api/
>> repositories/6/info/ cannot be cached
>> >>> Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
>> repositories/7/info/
>> >>> HTTP GET request to http://REVIEWBOARD_SERVER/api/
>> repositories/7/info/ cannot be cached
>> >>> Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
>> repositories/8/info/
>> >>> HTTP GET request to http://REVIEWBOARD_SERVER/api/
>> repositories/8/info/ cannot be cached
>> >>> Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
>> repositories/9/info/
>> >>> HTTP GET request to http://REVIEWBOARD_SERVER/api/
>> repositories/9/info/ cannot be cached
>> >>> Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
>> repositories/10/info/
>> >>> HTTP GET request to http://REVIEWBOARD_SERVER/api/
>> repositories/10/info/ cannot be cached
>> >>> Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
>> repositories/11/info/
>> >>> HTTP GET request to http://REVIEWBOARD_SERVER/api/
>> repositories/11/info/ cannot be cached
>> >>> Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
>> repositories/12/info/
>> >>> HTTP GET request to http://REVIEWBOARD_SERVER/api/
>> repositories/12/info/ cannot be cached
>> >>> Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
>> repositories/13/info/
>> >>> HTTP GET request to http://REVIEWBOARD_SERVER/api/
>> repositories/13/info/ cannot be cached
>> >>> Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
>> repositories/14/info/
>> >>> HTTP GET request to http://REVIEWBOARD_SERVER/api/
>> repositories/14/info/ cannot be cached
>> >>> repository info: Path: https://SVN_SERVER/svn-restricted/PROJNAME, 
>> Base path: /branches/users/bob/memory_corruption, Supports changesets: 
>> False
>> >>> Running: svn log -r REVNUM -l 1 --xml
>> Traceback (most recent call last):
>>   File "/v/home

Re: RBTools 0.7 is released!

2015-02-07 Thread Stephen Gallagher



On Mon, 2015-01-19 at 08:37 -0500, Stephen Gallagher wrote:
> 
>  On Sun, 2015-01-18 at 00:39 -0800, Christian Hammond wrote:
> > Hey everyone,
> > 
> > We just put out a release of RBTools 0.7, the latest major evolution of
> > RBTools. In it you'll find native installers for Windows and Mac,
> > support for custom RBTools command aliases, a new command to land
> > reviewed changes, options for excluding files from review, support for
> > Microsoft Team Foundation Server, performance enhancements, and more.
> > 
> > See the official announcement for more of the juicy
> > details:
> > https://www.reviewboard.org/news/2015/01/18/rbtools-0-7-is-here/
> > 
> 
>  Fedora and EPEL packages are now on their way. You can wait for them
> to show up in the updates-testing repositories within 48 hours, or you
> can download the RPMs immediately from
> https://admin.fedoraproject.org/updates/search/RBTools
> 

I forgot to send email yesterday, but RBTools 0.7.1 should be available
in Fedora 20+ and EPEL 6 and 7 now. You can update with
yum update --enablerepo=updates-testing RBTools

(Substituting updates-testing with epel-testing as appropriate).

-- 
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: RBTools 0.7 is released!

2015-02-05 Thread Christian Hammond
It is.

Christian

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

-Original Message-
From: Krzysztof Szynter 
Reply: reviewboard@googlegroups.com >
Date: February 5, 2015 at 11:05:38 PM
To: reviewboard@googlegroups.com >
Cc: christ...@beanbaginc.com >
Subject:  Re: RBTools 0.7 is released!

> Is it compatible with ReviewBoard >= 1.7.28 (not 2.*)?
>  
> On Sunday, January 18, 2015 at 9:39:50 AM UTC+1, Christian Hammond wrote:
> >
> > Hey everyone,
> >
> > We just put out a release of RBTools 0.7, the latest major evolution of
> > RBTools. In it you'll find native installers for Windows and Mac, support
> > for custom RBTools command aliases, a new command to land reviewed changes,
> > options for excluding files from review, support for Microsoft Team
> > Foundation Server, performance enhancements, and more.
> >
> > See the official announcement for more of the juicy details:
> > https://www.reviewboard.org/news/2015/01/18/rbtools-0-7-is-here/
> >
> > Christian
> >
> > --
> > Christian Hammond - chri...@beanbaginc.com  
> > Review Board - https://www.reviewboard.org
> > Beanbag, Inc. - https://www.beanbaginc.com
> >
>  
> --
> 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: RBTools 0.7 is released!

2015-02-05 Thread Krzysztof Szynter
Is it compatible with ReviewBoard >= 1.7.28 (not 2.*)?

On Sunday, January 18, 2015 at 9:39:50 AM UTC+1, Christian Hammond wrote:
>
> Hey everyone, 
>
> We just put out a release of RBTools 0.7, the latest major evolution of 
> RBTools. In it you'll find native installers for Windows and Mac, support 
> for custom RBTools command aliases, a new command to land reviewed changes, 
> options for excluding files from review, support for Microsoft Team 
> Foundation Server, performance enhancements, and more. 
>
> See the official announcement for more of the juicy details: 
> https://www.reviewboard.org/news/2015/01/18/rbtools-0-7-is-here/ 
>
> Christian 
>
> --   
> Christian Hammond - chri...@beanbaginc.com
> Review Board - https://www.reviewboard.org   
> Beanbag, Inc. - https://www.beanbaginc.com 
>

-- 
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: RBtools 0.7 - issue posting a review

2015-01-31 Thread David Trowbridge
Hi Daniel,

Do you think you could add some code to print out the contents of 'log'
inside _convert_symbolic_revision before we try to construct the etree?

Thanks,
-David


On Fri Jan 30 2015 at 4:48:37 AM Daniel Laird 
wrote:

> We have a shared Debian server and we have updated RBtools to 0.7.
>
> When we try to post a review we get the following:
>
> SERVER_NAME> rbt post -d NUM
> >>> RBTools 0.7
> >>> Python 2.7.3 (default, Mar 13 2014, 11:03:55)
> [GCC 4.7.2]
> >>> Running on Linux-3.2.0-4-amd64-x86_64-with-debian-7.8
> >>> Home = /v/home/rad/USERNAME
> >>> Current directory = /v/space/SERVER_NAME/USERNAME/wc/memory_corruption
> >>> Checking for a Subversion repository...
> >>> Running: svn info --non-interactive
> >>> Running: diff --version
> >>> repository info: Path: https://SVN_SERVER/svn-restricted/PROJNAME,
> Base path: /branches/users/bob/memory_corruption, Supports changesets:
> False
> >>> Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
> >>> HTTP GET request to http://REVIEWBOARD_SERVER/api/ cannot be cached
> >>> Making HTTP GET request to http://REVIEWBOARD_SERVER/api/repositories/
> >>> HTTP GET request to http://REVIEWBOARD_SERVER/api/repositories/
> cannot be cached
> >>> Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
> repositories/?max-results=25&start=25
> >>> HTTP GET request to http://REVIEWBOARD_SERVER/api/
> repositories/?max-results=25&start=25 cannot be cached
> >>> Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
> repositories/1/info/
> >>> HTTP GET request to http://REVIEWBOARD_SERVER/api/repositories/1/info/
> cannot be cached
> >>> Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
> repositories/2/info/
> >>> HTTP GET request to http://REVIEWBOARD_SERVER/api/repositories/2/info/
> cannot be cached
> >>> Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
> repositories/3/info/
> >>> HTTP GET request to http://REVIEWBOARD_SERVER/api/repositories/3/info/
> cannot be cached
> >>> Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
> repositories/4/info/
> >>> HTTP GET request to http://REVIEWBOARD_SERVER/api/repositories/4/info/
> cannot be cached
> >>> Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
> repositories/5/info/
> >>> HTTP GET request to http://REVIEWBOARD_SERVER/api/repositories/5/info/
> cannot be cached
> >>> Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
> repositories/6/info/
> >>> HTTP GET request to http://REVIEWBOARD_SERVER/api/repositories/6/info/
> cannot be cached
> >>> Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
> repositories/7/info/
> >>> HTTP GET request to http://REVIEWBOARD_SERVER/api/repositories/7/info/
> cannot be cached
> >>> Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
> repositories/8/info/
> >>> HTTP GET request to http://REVIEWBOARD_SERVER/api/repositories/8/info/
> cannot be cached
> >>> Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
> repositories/9/info/
> >>> HTTP GET request to http://REVIEWBOARD_SERVER/api/repositories/9/info/
> cannot be cached
> >>> Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
> repositories/10/info/
> >>> HTTP GET request to http://REVIEWBOARD_SERVER/api/
> repositories/10/info/ cannot be cached
> >>> Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
> repositories/11/info/
> >>> HTTP GET request to http://REVIEWBOARD_SERVER/api/
> repositories/11/info/ cannot be cached
> >>> Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
> repositories/12/info/
> >>> HTTP GET request to http://REVIEWBOARD_SERVER/api/
> repositories/12/info/ cannot be cached
> >>> Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
> repositories/13/info/
> >>> HTTP GET request to http://REVIEWBOARD_SERVER/api/
> repositories/13/info/ cannot be cached
> >>> Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
> repositories/14/info/
> >>> HTTP GET request to http://REVIEWBOARD_SERVER/api/
> repositories/14/info/ cannot be cached
> >>> repository info: Path: https://SVN_SERVER/svn-restricted/PROJNAME,
> Base path: /branches/users/bob/memory_corruption, Supports changesets:
> False
> >>> Running: svn log -r REVNUM -l 1 --xml
> Traceback (most recent call last):
>   File "/v/home/rad/USERNAME/.local/bin/rbt", line 9, in 
> load_entry_point('RBTools==0.7', 'console_scripts', 'rbt')()
>   File "/v/home/rad/USERNAME/.local/lib/python2.7/site-packages/
> RBTools-0.7-py2.7.egg/rbtools/commands/main.py", line 133, in main
> command.run_from_argv([RB_MAIN, command_name] + args)
>   File "/v/home/rad/USERNAME/.local/lib/python2.7/site-packages/
> RBTools-0.7-py2.7.egg/rbtools/commands/__init__.py", line 538, in
> run_from_argv
> exit_code = self.main(*args) or 0
>   File "/v/home/rad/USERNAME/.local/lib/python2.7/site-packages/
> RBTools-0.7-py2.7.egg/rbtools/commands/post.py", line 618, in main
> self.revisions = get_revisions(self.tool, self.cmd_args)
>   File "/v/home/rad/USERNAME/.local/l

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

2015-01-30 Thread David Trowbridge
For now, you'll have to make your diff for that by hand and upload it
either using rbt post --diff-filename or the web UI. If you wouldn't mind,
could you file an enhancement request asking for this functionality?

-David

On Tue Jan 27 2015 at 7:22:04 PM Yu-Kai Tseng  wrote:

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

-- 
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: 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  > 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 .
>> 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: RBTools post review requests between my working copy and an arbitrary SVN revision

2015-01-27 Thread David Trowbridge
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  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+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: RBTools 0.7 is released!

2015-01-19 Thread Stephen Gallagher


 On Sun, 2015-01-18 at 00:39 -0800, Christian Hammond wrote:
> Hey everyone,
> 
> We just put out a release of RBTools 0.7, the latest major evolution of
> RBTools. In it you'll find native installers for Windows and Mac,
> support for custom RBTools command aliases, a new command to land
> reviewed changes, options for excluding files from review, support for
> Microsoft Team Foundation Server, performance enhancements, and more.
> 
> See the official announcement for more of the juicy
> details:
> https://www.reviewboard.org/news/2015/01/18/rbtools-0-7-is-here/
> 

 Fedora and EPEL packages are now on their way. You can wait for them
to show up in the updates-testing repositories within 48 hours, or you
can download the RPMs immediately from
https://admin.fedoraproject.org/updates/search/RBTools

-- 
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: RBTools report 404: Not Found

2015-01-13 Thread David Trowbridge
I don't know what you mean by "RB server version 1.7.5 and its RBTools
version". There's not a tight coupling between Review Board and RBTools
releases. Please tell us which version you're using.

-David

On Tue Jan 13 2015 at 12:11:05 PM Nilesh Jaiswal 
wrote:

> Dear All,
>
> I just found out that perforce repository is registered as hostname:1666,
> when RBTools send this name it automatically converts it to IP address,
> while doing verification it found that repository is not present and it
> report below error message.
>
> The repository path "['pf-xxx.x.com:1666', 'pf-xxx:1666']" is not in
> the
> list of known repositories on the server.
>
> Ask the administrator to add this repository to the Review Board server.
> For information on adding repositories, please read
>
> http://www.reviewboard.org/docs/manual/dev/admin/configuration/repositories/
>
> Even though we pass perforce repository name ass hostname it take name ass
> IP address and while validating it find that The repository path specified
> is not in the list of known repositories.
>
> I shouldn't be asking this but still can we attach same perforce
> repository one as hostname and same perforce as IP address.?
>
> Thank for help.
>
> Nilesh
>
>
> On Tue, Jan 13, 2015 at 11:50 PM, Nilesh Jaiswal 
> wrote:
>
>> I see document note say.
>>
>> HTTP 404: Not Found
>> Error 203: Invalid Change Number
>>
>> The change number specified does not match any known change number in the
>> repository.
>>  What could be the reason, I guess the change number specified with
>> review request are valid.
>>
>> please advise.
>>
>>
>> On Tue, Jan 13, 2015 at 11:35 PM, Nilesh Jaiswal 
>> wrote:
>>
>>> Hi All,
>>>
>>> All of a sudden my RBTools starts reporting for all the users who tries
>>> to post review request. Let me know if this is right group for this query.
>>>
>>> We use RB server version 1.7.5 and its RBTools version.
>>>
>>> urllib2.HTTPError: HTTP Error 404: Not Found
>>>
>>> There was no changes, what could be the reason.
>>>
>>> Can you please help us know.
>>>
>>> Thanks,
>>> Nilesh
>>>
>>
>>
>  --
> 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.
>

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


  1   2   3   >