You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by Adam Monsen <ha...@gmail.com> on 2013/02/28 01:24:17 UTC

how to use post-review

Does anyone use the `post-review` program (
http://www.reviewboard.org/docs/manual/dev/users/tools/post-review/ )
with Apache (Mesos) Review Board? How do you set it up?

No matter what I try I get 401-Unauthorized.

Re: how to use post-review

Posted by Adam Monsen <ha...@gmail.com>.
Ben wrote:
> I don't know that I did anything spectacular to set it up. Note that I'm
> using git, not svn.

Ah, ok! With your .reviewboardrc and a git config change, I got
post-review working on my box. I had to change my remote called
"origin" to be git://git.apache.org/mesos.git.

Originally I had cloned git://github.com/apache/mesos.git (so that was
"origin"), but when I tried post-review on my clone I got:

-- 8< --
There was an error creating this review request.

The repository path "git://github.com/apache/mesos.git" 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/
-- >8 --

No longer. Sweet.

post-reviews is handy too, thanks! Took me a few minutes to figure out
I had to create a topic branch off trunk with my work and run
post-reviews in there, but after that it worked like a charm.

Re: how to use post-review

Posted by Benjamin Hindman <be...@eecs.berkeley.edu>.
A bunch of us use post-review. In fact, a bunch of us use a tool we created
called post-reviews <http://github.com/bmahler/post-reviews> (notice the
extra 's') which recursively calls post-review on a chain of commits.

I don't know that I did anything spectacular to set it up. Note that I'm
using git, not svn. Here's my .reviewboardrc file (stored at the same level
as my .git directory):

GUESS_SUMMARY = True
REVIEWBOARD_URL = "https://reviews.apache.org/"
OPEN_BROWSER = True
TARGET_GROUPS = "mesos"



On Wed, Feb 27, 2013 at 4:24 PM, Adam Monsen <ha...@gmail.com> wrote:

> Does anyone use the `post-review` program (
> http://www.reviewboard.org/docs/manual/dev/users/tools/post-review/ )
> with Apache (Mesos) Review Board? How do you set it up?
>
> No matter what I try I get 401-Unauthorized.
>

Re: how to use post-review

Posted by Adam Monsen <ha...@gmail.com>.
Yes, thank you Ben. I missed your message before I replied to Beh H. a
few hours later[1] because gmail incorrectly marked yours as spam.

There was some warning about your message coming from a twitter MTA but
claiming to be from mesos-dev, but since I moved the message from my
spam folder the warning has disappeared.

References:

1. http://tinyurl.com/bsxl4y6 or
http://mail-archives.apache.org/mod_mbox/incubator-mesos-dev/201303.mbox/%3CCAKKOqGOYfOqMuMZ9hGsEfP1NBAYCuug9Ew54kqD4K%3Dn0183RHQ%40mail.gmail.com%3E

(includes what I had to do to get post-review and post-reviews working)

On 02/28/2013 11:38 AM, Benjamin Mahler wrote:
> I'm guessing you figured this out?
> 
> 
> On Wed, Feb 27, 2013 at 4:24 PM, Adam Monsen <ha...@gmail.com> wrote:
> 
>> Does anyone use the `post-review` program (
>> http://www.reviewboard.org/docs/manual/dev/users/tools/post-review/ )
>> with Apache (Mesos) Review Board? How do you set it up?
>>
>> No matter what I try I get 401-Unauthorized.
>>
> 



Re: how to use post-review

Posted by Benjamin Mahler <bm...@twitter.com>.
I'm guessing you figured this out?


On Wed, Feb 27, 2013 at 4:24 PM, Adam Monsen <ha...@gmail.com> wrote:

> Does anyone use the `post-review` program (
> http://www.reviewboard.org/docs/manual/dev/users/tools/post-review/ )
> with Apache (Mesos) Review Board? How do you set it up?
>
> No matter what I try I get 401-Unauthorized.
>

Re: how to use post-review

Posted by Adam Monsen <ha...@gmail.com>.
Thanks Chris! I did run into some very helpful folks in #asfinfra.

I think you may have missed this message:

http://tinyurl.com/bsxl4y6 or
http://mail-archives.apache.org/mod_mbox/incubator-mesos-dev/201303.mbox/%3CCAKKOqGOYfOqMuMZ9hGsEfP1NBAYCuug9Ew54kqD4K%3Dn0183RHQ%40mail.gmail.com%3E


On 03/04/2013 07:36 AM, Mattmann, Chris A (388J) wrote:
> Hi Adam,
> 
> I don't use it -- however you can always check with ASF infrastructure
> (#asfinfra on freenode; or infrastructure@apache.org) if you think
> something is
> misconfigured with the ASF's Review Board server.
> 
> Cheers,
> Chris
> 
> On 2/27/13 4:24 PM, "Adam Monsen" <ha...@gmail.com> wrote:
> 
>> Does anyone use the `post-review` program (
>> http://www.reviewboard.org/docs/manual/dev/users/tools/post-review/ )
>> with Apache (Mesos) Review Board? How do you set it up?
>>
>> No matter what I try I get 401-Unauthorized.
> 



Re: how to use post-review

Posted by "Mattmann, Chris A (388J)" <ch...@jpl.nasa.gov>.
Hi Adam,

I don't use it -- however you can always check with ASF infrastructure
(#asfinfra on freenode; or infrastructure@apache.org) if you think
something is
misconfigured with the ASF's Review Board server.

Cheers,
Chris

On 2/27/13 4:24 PM, "Adam Monsen" <ha...@gmail.com> wrote:

>Does anyone use the `post-review` program (
>http://www.reviewboard.org/docs/manual/dev/users/tools/post-review/ )
>with Apache (Mesos) Review Board? How do you set it up?
>
>No matter what I try I get 401-Unauthorized.