post-review --help
Usage: post-review-script.py [-pond] [-r review_id] [changenum]

Options:
  --version             show program's version number and exit
  -h, --help            show this help message and exit
  -p, --publish         publish the review request immediately after
                        submitting
  -r ID, --review-request-id=ID
                        existing review request ID to update
  -o, --open            open a web browser to the review request page
  -n, --output-diff     outputs a diff to the console and exits. Does
not post
  --server=SERVER       specify a different Review Board server to use
  --diff-only           uploads a new diff, but does not update info
from
                        changelist
  --target-groups=TARGET_GROUPS
                        names of the groups who will perform the review
  --target-people=TARGET_PEOPLE
                        names of the people who will perform the review
  --summary=SUMMARY     summary of the review
  --description=DESCRIPTION
                        description of the review
  --description-file=DESCRIPTION_FILE
                        text file containing a description of the review
  --guess-summary       guess summary from the latest commit
(git/hgsubversion
                        only)
  --guess-description   guess description based on commits on this
branch
                        (git/hgsubversion only)
  --testing-done=TESTING_DONE
                        details of testing done
  --testing-done-file=TESTING_FILE
                        text file containing details of testing done
  --branch=BRANCH       affected branch
  --bugs-closed=BUGS_CLOSED
                        list of bugs closed
  --revision-range=REVISION_RANGE
                        generate the diff for review based on given
revision
                        range
  --label=LABEL         label (ClearCase Only)
  --submit-as=USERNAME  user name to be recorded as the author of the
review
                        request, instead of the logged in user
  --username=USERNAME   user name to be supplied to the reviewboard
server
  --password=PASSWORD   password to be supplied to the reviewboard
server
  --change-only         updates info from changelist, but does not
upload a
                        new diff (only available if your repository
supports
                        changesets)
  --parent=PARENT_BRANCH
                        the parent branch this diff should be against
(only
                        available if your repository supports parent
diffs)
  --tracking-branch=TRACKING
                        Tracking branch from which your branch is
derived (git
                        only, defaults to origin/master)
  --p4-client=P4_CLIENT
                        the Perforce client name that the review is in
  --p4-port=P4_PORT     the Perforce servers IP address that the review
is on
  --repository-url=REPOSITORY_URL
                        the url for a repository for creating a diff
outside
                        of a working copy (currently only supported by
                        Subversion). Requires either --revision-rangeor
                        --diff-filename options
  -d, --debug           display debug output
  --diff-filename=DIFF_FILENAME
                        upload an existing diff file, instead of
generating a
                        new diff

-----Original Message-----
From: reviewboard@googlegroups.com [mailto:reviewbo...@googlegroups.com]
On Behalf Of RShelley
Sent: Monday, April 26, 2010 9:06 AM
To: reviewboard
Subject: post-review Perforce User

Failed to execute command: ['p4', 'describe', '-s', '702076']
Access for user 'family' has not been enabled by 'p4 protect'.

I created the Hudson->Reviewboard plugin but when I deployed it to our
remote Hudson server, I realized that Hudson is running as the user
"family," so when Hudson calls post-review, and post-review calls p4,
it's executing as the user "family" and "family" is not a user in
Perforce, so I'm getting the above error.  Is there a way to run post-
review to pass a username as a command parameter?

-Ryan

-- 
Want to help the Review Board project? Donate today at
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/reviewboard?hl=en

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Reply via email to