Re: git config issues

2013-12-17 Thread Thomas Dahlin
Hi Christian, 

Thanks for the feedback! I would like to say "of course I already did 
that!", but after trying out so many different configurations I'm not sure 
any more... :) I will get back to you as soon as I have tried it out.


/Thomas

On Monday, December 16, 2013 11:17:33 PM UTC+1, Christian Hammond wrote:
>
> Hi Thomas,
>
> I'm not at the computer right now so I can't verify, but I believe you 
> just need to specify that username/password in the Username/Password fields 
> in the repo config and it should use them during authentication.
>
> Christian
>
>
> On Monday, December 16, 2013, Thomas Dahlin wrote:
>
>> Nobody else had/having this problem?
>>
>> On Tuesday, December 10, 2013 6:08:32 PM UTC+1, Thomas Dahlin wrote:
>>
>> I am currently trying to setup RB version 1.7.19 on a Ubuntu machine to 
>> evaluate the tool in our organisation.
>>
>> I am currently stuck at getting the git integration properly configured.
>>
>> This is my what I have entered (fake values marked with yellow)
>>
>> *Hosting service*: (None - Custom Repository)
>> *Repository type*: Git
>> *Path*: g...@git.example.com:projectname.git
>> *Raw file URL mask*: https://servername/?p=projectname.git;a=blob;f=<
>> filename>;h=
>>
>> 
>>
>> Executing this on the local win machine:
>>
>> $ rbt post -d --tracking-branch=topics/branch/name
>> DEBUG:root:Checking for a Subversion repository...
>> DEBUG:root:Checking for a Git repository...
>> DEBUG:root:Running: git rev-parse --git-dir
>> DEBUG:root:Running: git config core.bare
>> DEBUG:root:Running: git rev-parse --show-toplevel
>> DEBUG:root:Running: git symbolic-ref -q HEAD
>> DEBUG:root:Running: git config --get git-p4.port
>> DEBUG:root:Command exited with rc 1: ['git', 'config', '--get', 
>> 'git-p4.port']
>> ---
>> DEBUG:root:Running: git config --get branch.topics/branch/name.merge
>> DEBUG:root:Running: git config --get branch.topics/branch/name.remote
>> DEBUG:root:Running: git config --get remote.origin.url
>> DEBUG:root:repository info: Path: g...@git.example.com:projectname.git, 
>> Base path: , Supports changesets: False
>> DEBUG:root:Making HTTP GET request to http:///api/
>> DEBUG:root:Making HTTP GET request to http:///api/info/
>> DEBUG:root:Running: git merge-base origin/topics/branch/name refs/heads/
>> topics/branch/name
>> DEBUG:root:Running: git diff --no-color --full-index --no-ext-diff 
>> --ignore-submodules --no-renames ..refs/heads/
>> topics/branch/name -M
>> DEBUG:root:Making HTTP GET request to http://
>> /api/review-requests/
>> DEBUG:root:Making HTTP POST request to http://
>> /api/review-requests/
>>
>> DEBUG:root:Making HTTP GET request to http://
>> /api/review-requests/1/diffs/
>> DEBUG:root:Making HTTP POST request to http://
>> /api/review-requests/1/diffs/
>> DEBUG:root:Got API Error 207 (HTTP code 400): The file was not found in 
>> the repository
>> DEBUG:root:Error data: {u'stat': u'fail', u'file': u'
>>
>>  -- 
>> 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/groups/opt_out.
>>
>
>
> -- 
> -- 
> Christian Hammond - chi...@chipx86.com 
> Review Board - http://www.reviewboard.org
> Beanbag, Inc. - http://www.beanbaginc.com
>
>

-- 
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/groups/opt_out.


Post Review Request filtering by a directory

2013-12-17 Thread Bruno Carneiro
Hi everybody,


I have a GIT repository which has many subprojects (modules) inside. 
Different teams work in each subproject. 
So, I would like to know if it is possible to post a review request 
filtering by a path. I tried to use "Posting Changeset" 
(http://www.reviewboard.org/docs/manual/1.7/users/tools/post-review/#posting-changesets)

Here's the command I'm trying:

./post-review 
//opt/deploy/df/N02_src/*module_a*[@#]$last_commit,[#@]$head_commit 
-p --revision-range=$last_commit  
--tracking-branch=refs/heads/integracao_ge 
--repository-url=http://git.powerlogic.com.br:8080/git/git/n02 



-- 
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/groups/opt_out.


File change listing the same file multiple times?

2013-12-17 Thread Bluefox
I'm not sure if its just me or something weird about our setup. But 
sometimes when uploading a diff, multiple entries of the same file would 
appear in reviewboard, this makes it very hard to review the code.

Does anyone have similar experience or how can I fix this with our setup?

Review Board 1.7.18

-- 
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/groups/opt_out.


Re: File change listing the same file multiple times?

2013-12-17 Thread Christian Hammond
Hi,

How are you generating the diff? The diff viewer trusts whatever entries
are in the diff file.

Christian

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


On Tue, Dec 17, 2013 at 9:01 AM, Bluefox  wrote:

> I'm not sure if its just me or something weird about our setup. But
> sometimes when uploading a diff, multiple entries of the same file would
> appear in reviewboard, this makes it very hard to review the code.
>
> Does anyone have similar experience or how can I fix this with our setup?
>
> Review Board 1.7.18
>
> --
> 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/groups/opt_out.
>

-- 
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/groups/opt_out.


Re: Post Review Request filtering by a directory

2013-12-17 Thread David Trowbridge
Unfortunately, the syntax that you're trying to use is specific to
perforce. There's currently no way to filter specific files for git through
rbtools. We'll be adding this to 'rbt post' as part of a big revision/file
rework that's happing now, but that's going to take a little while.

For now, you could create the diff manually using 'git diff --full-index
rev1..rev2 --relative=module_a'

-David


On Tue, Dec 17, 2013 at 7:08 AM, Bruno Carneiro  wrote:

> Hi everybody,
>
>
> I have a GIT repository which has many subprojects (modules) inside.
> Different teams work in each subproject.
> So, I would like to know if it is possible to post a review request
> filtering by a path. I tried to use "Posting Changeset" (
> http://www.reviewboard.org/docs/manual/1.7/users/tools/post-review/#posting-changesets
> )
>
> Here's the command I'm trying:
>
> ./post-review 
> //opt/deploy/df/N02_src/*module_a*[@#]$last_commit,[#@]$head_commit
> -p --revision-range=$last_commit
> --tracking-branch=refs/heads/integracao_ge --repository-url=
> http://git.powerlogic.com.br:8080/git/git/n02
>
>
>
>  --
> 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/groups/opt_out.
>

-- 
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/groups/opt_out.