Re: New user of review board here, I'm having trouble attaching diffs

2014-08-21 Thread Christian Hammond
Review Board is configured to point to a repository though. I need details on 
that to be able to help further. Perhaps you can point your administrator to 
this thread?

- Christian

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

On August 15, 2014 at 2:35:01 PM, Usama Ahmed (usama.ahme...@gmail.com) wrote:

In response to your question about the set-up of the repository, I was told 
that a repository is not configured on Reviewboard. My clone of the central 
repository is on my computer. 

--
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: New user of review board here, I'm having trouble attaching diffs

2014-08-15 Thread Usama Ahmed
I just found out that we don't have a local clone on the Reviewboard 
server. The diff is being created from comparing the branch to my master. 

-- 
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: New user of review board here, I'm having trouble attaching diffs

2014-08-15 Thread Christian Hammond
Can you get more information on how the repository is configured on Review 
Board? The error makes it appear as if it’s using a clone.

For your local setup, can you answer the following:

1) Does ‘origin’ point to your central server? `git remote show origin`

2) Are you developing off of master as a parent, or another branch?

3) Is origin/master (or whatever the upstream branch is) merged into your 
development branch?

Christian

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

On August 15, 2014 at 6:33:02 AM, Usama Ahmed (usama.ahme...@gmail.com) wrote:

I just found out that we don't have a local clone on the Reviewboard server. 
The diff is being created from comparing the branch to my master. 
--
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: New user of review board here, I'm having trouble attaching diffs

2014-08-15 Thread Usama Ahmed
1) Yes, origin points to my central server. 'http://vm:8080'
2) I am developing on a child branch of my master
3) Previously, upon finishing work in a branch I would commit to it and 
then merge it straightaway into master. I wasn't doing the reverse -- 
merging master into the development branch. 


-- 
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: New user of review board here, I'm having trouble attaching diffs

2014-08-15 Thread Usama Ahmed
In response to your question about the set-up of the repository, I was told 
that a repository is not configured on Reviewboard. My clone of the central 
repository is on my computer. 

-- 
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: New user of review board here, I'm having trouble attaching diffs

2014-08-14 Thread Usama Ahmed
Just changed some directory names... but the info is otherwise what I got 
from GitBash. 

usama.a@DT ~/Source/Repos/TFSMgmt/Morpheus (BUG_1491)
$ rbt post -d
 RBTools 0.6.2
 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\usama.ahmed\AppData\Roaming
 Current directory = C:\Users\usama.ahmed\Source\Repos\TFSMgmt\Morpheus
 Checking for a Git repository...
 Running: git rev-parse --git-dir
 Running: git config core.bare
 Running: git rev-parse --show-toplevel
 Running: git symbolic-ref -q HEAD
 Running: git config --get branch.BUG_1491.merge
 Command exited with rc 1: ['git', 'config', '--get', 
'branch.BUG_1491.merge']
---
 Running: git config --get branch.BUG_1491.remote
 Command exited with rc 1: ['git', 'config', '--get', 
'branch.BUG_1491.remote']
---
 Running: git config --get remote.origin.url
 repository info: Path: 
http://morpheus:8080/tfs/defaultcollection/Morpheus/_git/TFSMgmt, Base 
path: , Supports changesets: False
 Making HTTP GET request to http://codereview-linux.jsitelecom.com/api/
 Running: git rev-parse refs/heads/BUG_1491
 Running: git merge-base e9515c73e61cc50770d4ba45b0c4a5d5903f2bc3 
origin/master
 Running: git rev-parse 059dc25d4665d4d147a3a90b960095c68764f6be
 Running: git status --porcelain --untracked-files=no
Failed to execute command: ['git', 'status', '--porcelain', 
'--untracked-files=no']
fatal: Out of memory? mmap failed: No error


On Friday, August 8, 2014 2:41:21 PM UTC-4, Andrew Hills wrote:

  Hi Usama, 

  Run rbt post with the -d flag to get more details.

  Thanks,
 Andrew

  On Aug 8, 2014, at 11:39 AM, Usama Ahmed usama@gmail.com 
 javascript: wrote:

  Whenever I create a new branch in VS, do some work and then enter 'rbt 
 post' on the repo 

  I get this message: 
 ERROR: Error uploading diff 
 One or more fields had errors (HTTP 400, API Error 105) 
 path: fatal: git cat-file eac: bad file
 Your review still exists, but the diff is not attached. 


  How do I fix this? And what field is this referring to?

  
  -- 
 Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
 ---
 Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
 ---
 Happy user? Let us know at http://www.reviewboard.org/users/
 --- 
 You received this message because you are subscribed to the Google Groups 
 reviewboard group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to reviewboard...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/d/optout.
  
  

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: New user of review board here, I'm having trouble attaching diffs

2014-08-14 Thread Usama Ahmed
Renamed a few directories to steer clear of potential privacy issues. 
Otherwise this is what I got after running rbt post with the -d flag.

usama.ahmed@DT ~/Source/Repos/TFSMgmt (BUG_1491)
$ rbt post -d
 RBTools 0.6.2
 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\usama.ahmed\AppData\Roaming
 Current directory = C:\Users\usama.ahmed\Source\Repos\TFSMgmt
 Checking for a Git repository...
 Running: git rev-parse --git-dir
 Running: git config core.bare
 Running: git rev-parse --show-toplevel
 Running: git symbolic-ref -q HEAD
 Running: git config --get branch.BUG_1491.merge
 Command exited with rc 1: ['git', 'config', '--get', 
'branch.BUG_1491.merge']
---
 Running: git config --get branch.BUG_1491.remote
 Command exited with rc 1: ['git', 'config', '--get', 
'branch.BUG_1491.remote']
---
 Running: git config --get remote.origin.url
 repository info: Path: 
http://vm:8080/tfs/defaultcollection/Morpheus/_git/TFSMgmt, Base path: , 
Supports changesets: False
 Making HTTP GET request to http://codereview-linux.jsitelecom.com/api/
 Running: git rev-parse refs/heads/BUG_1491
 Running: git merge-base c2b5eb7b5c5483759b1b139dacd466acf8f40dcf 
origin/master
 Running: git rev-parse 059dc25d4665d4d147a3a90b960095c68764f6be
 Running: git status --porcelain --untracked-files=no
 Running: git diff --no-color --full-index --ignore-submodules 
059dc25d4665d4d147a3a90b960095c68764f6be..c2b5eb7b5c5483759b1b139dacd466acf8f40dcf
 
-M
 Running: git log --reverse --pretty=format:%s%n%n%b 
^059dc25d4665d4d147a3a90b960095c68764f6be 
c2b5eb7b5c5483759b1b139dacd466acf8f40dcf
 Making HTTP GET request to 
http://codereview-linux.jsitelecom.com/api/review-requests/
 Making HTTP POST request to 
http://codereview-linux.jsitelecom.com/api/review-requests/
 Making HTTP GET request to 
http://codereview-linux.jsitelecom.com/api/review-requests/177/diffs/
 Making HTTP POST request to 
http://codereview-linux.jsitelecom.com/api/review-requests/177/diffs/
 Got API Error 105 (HTTP code 400): One or more fields had errors
 Error data: {u'fields': {u'path': [u'fatal: git cat-file 
72692739a312e09b7698e03afce35be1b415be65: bad file\n']}, u'stat': u'fail', 
u'err': {u'msg': u'One or more fields had errors', u'code': 105}}
Traceback (most recent call last):
  File c:\Python27\Scripts\rbt-script.py, line 9, in module
load_entry_point('RBTools==0.6.2', 'console_scripts', 'rbt')()
  File 
C:\Python27\lib\site-packages\rbtools-0.6.2-py2.7.egg\rbtools\commands\main.py,
 
line 134, in main
command.run_from_argv([RB_MAIN, command_name] + args)
  File 
C:\Python27\lib\site-packages\rbtools-0.6.2-py2.7.egg\rbtools\commands\__init__.py,
 
line 416, in run_from_argv
exit_code = self.main(*args) or 0
  File 
C:\Python27\lib\site-packages\rbtools-0.6.2-py2.7.egg\rbtools\commands\post.py,
 
line 784, in main
submit_as=self.options.submit_as)
  File 
C:\Python27\lib\site-packages\rbtools-0.6.2-py2.7.egg\rbtools\commands\post.py,
 
line 551, in post_request
raise CommandError(u'\n'.join(error_msg))
rbtools.commands.CommandError: Error uploading diff


One or more fields had errors (HTTP 400, API Error 105)

path: fatal: git cat-file 72692739a312e09b7698e03afce35be1b415be65: bad 
file


Your review request still exists, but the diff is not attached.

http://codereview-linux.jsitelecom.com/r/177/


-- 
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: New user of review board here, I'm having trouble attaching diffs

2014-08-14 Thread Usama Ahmed
Renamed a few directories to steer clear of potential privacy issues. 
Otherwise this is what I got after running rbt post with the -d flag.

usama.ahmed@DT ~/Source/Repos/TFSMgmt (BUG_1491)
$ rbt post -d
 RBTools 0.6.2
 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\usama.ahmed\AppData\Roaming
 Current directory = C:\Users\usama.ahmed\Source\Repos\TFSMgmt
 Checking for a Git repository...
 Running: git rev-parse --git-dir
 Running: git config core.bare
 Running: git rev-parse --show-toplevel
 Running: git symbolic-ref -q HEAD
 Running: git config --get branch.BUG_1491.merge
 Command exited with rc 1: ['git', 'config', '--get', 
'branch.BUG_1491.merge']
---
 Running: git config --get branch.BUG_1491.remote
 Command exited with rc 1: ['git', 'config', '--get', 
'branch.BUG_1491.remote']
---
 Running: git config --get remote.origin.url
 repository info: Path: 
http://vm:8080/tfs/defaultcollection/Morpheus/_git/TFSMgmt 
http://www.google.com/url?q=http%3A%2F%2Fvm%3A8080%2Ftfs%2Fdefaultcollection%2FMorpheus%2F_git%2FTFSMgmtsa=Dsntz=1usg=AFQjCNE2pB_Xu1ITNYchYAEBLfmdlrlfCw,
 
Base path: , Supports changesets: False
 Making HTTP GET request to http://codereview-linux.jsitelecom.com/api/ 
http://www.google.com/url?q=http%3A%2F%2Fcodereview-linux.jsitelecom.com%2Fapi%2Fsa=Dsntz=1usg=AFQjCNG5C9FBuDBqHilQ3Oe4vrjCH2FVig
 Running: git rev-parse refs/heads/BUG_1491
 Running: git merge-base c2b5eb7b5c5483759b1b139dacd466acf8f40dcf 
origin/master
 Running: git rev-parse 059dc25d4665d4d147a3a90b960095c68764f6be
 Running: git status --porcelain --untracked-files=no
 Running: git diff --no-color --full-index --ignore-submodules 
059dc25d4665d4d147a3a90b960095c68764f6be..c2b5eb7b5c5483759b1b139dacd466acf8f40dcf
 
-M
 Running: git log --reverse --pretty=format:%s%n%n%b 
^059dc25d4665d4d147a3a90b960095c68764f6be 
c2b5eb7b5c5483759b1b139dacd466acf8f40dcf
 Making HTTP GET request to 
http://codereview-linux.jsitelecom.com/api/review-requests/
 Making HTTP POST request to 
http://codereview-linux.jsitelecom.com/api/review-requests/
 Making HTTP GET request to 
http://codereview-linux.jsitelecom.com/api/review-requests 
http://www.google.com/url?q=http%3A%2F%2Fcodereview-linux.jsitelecom.com%2Fapi%2Freview-requests%2F177%2Fdiffs%2Fsa=Dsntz=1usg=AFQjCNHTFzCxOtgE-RTS5BzLbFfm-A_bFQ
/
 Making HTTP POST request to 
http://codereview-linux.jsitelecom.com/api/review-requests/ 
http://codereview-linux.jsitelecom.com/api/review-requests/177/diffs/
 Got API Error 105 (HTTP code 400): One or more fields had errors
 Error data: {u'fields': {u'path': [u'fatal: git cat-file 
72692739a312e09b7698e03afce35be1b415be65: bad file\n']}, u'stat': u'fail', 
u'err': {u'msg': u'One or more fields had errors', u'code': 105}}
Traceback (most recent call last):
  File c:\Python27\Scripts\rbt-script.py, line 9, in module
load_entry_point('RBTools==0.6.2', 'console_scripts', 'rbt')()
  File 
C:\Python27\lib\site-packages\rbtools-0.6.2-py2.7.egg\rbtools\commands\main.py,
 
line 134, in main
command.run_from_argv([RB_MAIN, command_name] + args)
  File 
C:\Python27\lib\site-packages\rbtools-0.6.2-py2.7.egg\rbtools\commands\__init__.py,
 
line 416, in run_from_argv
exit_code = self.main(*args) or 0
  File 
C:\Python27\lib\site-packages\rbtools-0.6.2-py2.7.egg\rbtools\commands\post.py,
 
line 784, in main
submit_as=self.options.submit_as)
  File 
C:\Python27\lib\site-packages\rbtools-0.6.2-py2.7.egg\rbtools\commands\post.py,
 
line 551, in post_request
raise CommandError(u'\n'.join(error_msg))
rbtools.commands.CommandError: Error uploading diff


One or more fields had errors (HTTP 400, API Error 105)

path: fatal: git cat-file 72692739a312e09b7698e03afce35be1b415be65: bad 
file


Your review request still exists, but the diff is not attached.

-- 
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: New user of review board here, I'm having trouble attaching diffs

2014-08-14 Thread Usama Ahmed
Hi Christian, 

I don't have access to the repository set-up right now but I'll post again 
with it tomorrow morning. 

When you say local clone are you referring to my repository in 
C:\Users\usama.ahmed\Source\Repos\TFSMgmt?

That is my local repository and I have been pulling updates from the origin 
using VS's Git GUI. I am unsure if that helps matters because my google 
searches indicate that the local clone is referring to a copy of the repo 
that is on a Reviewboard server. If that is the case how can I make it 
fully up to date? 

-- 
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: New user of review board here, I'm having trouble attaching diffs

2014-08-08 Thread Andrew Hills (anhills)
Hi Usama,

Run rbt post with the -d flag to get more details.

Thanks,
Andrew

On Aug 8, 2014, at 11:39 AM, Usama Ahmed 
usama.ahme...@gmail.commailto:usama.ahme...@gmail.com wrote:

Whenever I create a new branch in VS, do some work and then enter 'rbt post' on 
the repo

I get this message:
ERROR: Error uploading diff
One or more fields had errors (HTTP 400, API Error 105)
path: fatal: git cat-file eac: bad file
Your review still exists, but the diff is not attached.

How do I fix this? And what field is this referring to?


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