Re: A weird unicode puzzle after upgrade from 2.0.20 to 2.5.4

2016-12-21 Thread Christian Hammond
condemsediffs only needs to be done once. It's optional, but can reduce
database size significantly. You don't need to run a periodic condense
operation. We also condense individual diffs when manually viewing them as
well.

I'll try to find out more info about which versions of MySQL are impacted
by this warning bug.

Christian


On Wed, Dec 21, 2016 at 17:20 Koushik Roy  wrote:

> MySQL 5.5
>
>
> Thanks for the explanation
>
>
> So it is not required to condense diff before db migration, right?
>
>
> In fact, condense diff happens on the fly. Is there any advantage to do
> condense diff from time to time?
>
>
>
> On Dec 21, 2016 7:19 PM, "Christian Hammond" 
> wrote:
>
> Hey,
>
> So the good news is, this is not a corruption issue, nor is it related to
> the contents of any of your files.
>
> This error is occurring when saving diff data using our new compressed
> storage mechanism. We populate a binary field with compressed diff data
> when uploading a new diff, viewing an existing diff, or condensing all
> diffs.
>
> What's happening is that MySQL is validating the compressed data as
> Unicode. It's then seeing something it doesn't like in there and
> complaining about it, but still permitting it to be stored. The storage is
> therefore working as expected (since you can then successfully view the
> diff), just the validation is wrong. This happens regardless of the
> contents of your diffs.
>
> Newer versions of Django work around this, but we don't use those
> versions. I'll see if there's a workaround we can put in place.
>
> If you keep DEBUG set to False (which you should for production), then the
> warnings shouldn't crash the page. If need be, you can instruct MySQL to
> ignore warning code 1300.
>
> What version of MySQL are you using?
>
> Christian
>
>
> On Wed, Dec 21, 2016 at 08:41 Koushik Roy  wrote:
>
> Christian,
>   As promised, more information in the file attached.
>   Please HELP, HELP!!
>
>   With the utf8 conversion warning, MY CONCERN IS DATA LOSS/CORRUPTION.
>   If the text contains only plain English, then may be we are fine.
>   But where multi-byte encoding is required, is there any guarantee that
>   the warning did not cause data loss/corruption?
>
>   Also, I don't understand if the encoding warning has anything to do
>   with the 'condensediffs' as Eric had mentioned.
>   Performing 'condensediffs' may have only bypassed the warning?
>
>   Let me know if you need any more information.
>
> Thank you.
>
> Koushik Roy.
>
>
>
>
>
>
>
>
>
>
> --
>
>
> 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 a topic in the
> Google Groups "reviewboard" group.
>
>
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/reviewboard/sERwJNqPy60/unsubscribe.
>
>
> To unsubscribe from this group and all its topics, 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.
>
>
>

-- 
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: A weird unicode puzzle after upgrade from 2.0.20 to 2.5.4

2016-12-21 Thread Koushik Roy
MySQL 5.5

Thanks for the explanation
So it is not required to condense diff before db migration, right?

In fact, condense diff happens on the fly. Is there any advantage to do
condense diff from time to time?

On Dec 21, 2016 7:19 PM, "Christian Hammond" 
wrote:

> Hey,
>
> So the good news is, this is not a corruption issue, nor is it related to
> the contents of any of your files.
>
> This error is occurring when saving diff data using our new compressed
> storage mechanism. We populate a binary field with compressed diff data
> when uploading a new diff, viewing an existing diff, or condensing all
> diffs.
>
> What's happening is that MySQL is validating the compressed data as
> Unicode. It's then seeing something it doesn't like in there and
> complaining about it, but still permitting it to be stored. The storage is
> therefore working as expected (since you can then successfully view the
> diff), just the validation is wrong. This happens regardless of the
> contents of your diffs.
>
> Newer versions of Django work around this, but we don't use those
> versions. I'll see if there's a workaround we can put in place.
>
> If you keep DEBUG set to False (which you should for production), then the
> warnings shouldn't crash the page. If need be, you can instruct MySQL to
> ignore warning code 1300.
>
> What version of MySQL are you using?
>
> Christian
>
>
> On Wed, Dec 21, 2016 at 08:41 Koushik Roy  wrote:
>
> Christian,
>   As promised, more information in the file attached.
>   Please HELP, HELP!!
>
>   With the utf8 conversion warning, MY CONCERN IS DATA LOSS/CORRUPTION.
>   If the text contains only plain English, then may be we are fine.
>   But where multi-byte encoding is required, is there any guarantee that
>   the warning did not cause data loss/corruption?
>
>   Also, I don't understand if the encoding warning has anything to do
>   with the 'condensediffs' as Eric had mentioned.
>   Performing 'condensediffs' may have only bypassed the warning?
>
>   Let me know if you need any more information.
>
> Thank you.
>
> Koushik Roy.
>
>
>
>
>
>
>
>
>
>
> --
>
>
> 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 a topic in the
> Google Groups "reviewboard" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/reviewboard/sERwJNqPy60/unsubscribe.
> To unsubscribe from this group and all its topics, 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: Unable to import settings_local.py: No module named settings_local

2016-12-21 Thread Christian Hammond
Hi Pradeep,

You'll need to follow the guide on writing, packaging, and loading
extensions. This will have to be written as a packaged, loadable extension,
which will be enabled through Review Board. It won't work as a standalone
script, since it won't be running within the context of Review Board.

Christian


On Tue, Dec 20, 2016 at 07:17 pradeep kumar  wrote:

> Hello There,
>
> As
> https://www.reviewboard.org/docs/manual/2.5/extending/extensions/hooks/admin-widget-hook/,
> I was trying to add a widget to my reviewboard admin dashboard.
>
> Review Board 2.5.7
> Python Version 2.7.5
> django Version (1, 6, 12, 'alpha', 0)
> OS Version :
> Linux centos72_base 3.10.0-327.10.1.el7.x86_64 #1 SMP Tue Feb 16 17:03:50
> UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
>
>
> When I try to run above example code, I got the following output :
>
> >>> import os
> >>> os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'reviewboard.settings')
> 'reviewboard.settings'
> >>> from django.utils.translation import ugettext_lazy as _
> >>> from reviewboard.admin.widgets import Widget
> Unable to import settings_local.py: No module named settings_local
>
> Please see https://www.reviewboard.org/docs/manual/dev/admin/
> for help setting up Review Board.
>
>
> Could anyone please help me here and please provide detailed step-by-step
> process (1. Where I need to keep my python script, 2. Where I need to run
> my python script, 3. How to verify my widget is working or not, 4. Do I
> need to restart reviewboard server etc.,) to create a new custom widget on
> my reviewboard admin dashboard page? Sorry I am new to django framework.
> Appreciate your timely response.
>
>
> Thanks & Regards
> Pradeep Kumar
>
>
>
>
>
>
>
>
>
>
> --
>
>
> 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: Unable to find a Review Board server for this source code tree

2016-12-21 Thread 许逸斐
I used *rbt setup-repo *command and entered yes to all the questions in the 
meantime. Did I miss any configuration?

在 2016年12月21日星期三 UTC-8下午3:13:04,Christian Hammond写道:
>
> Hi,
>
> Your .reviewboardrc isn't correct. The BRANCH seems to have an error 
> message in it. It should be a single like string containing the name of the 
> destination branch.
>
> This causes a syntax error in the file, preventing the server from being 
> found.
>
> Christian
>
>
> On Wed, Dec 21, 2016 at 14:45 许逸斐  
> wrote:
>
>>
>> Can someone help me resolve this issue? 
>> Here is the content in .reviewboardrc  file
>> 在 2016年12月7日星期三 UTC-8下午9:37:38,许逸斐写道:
>>
>>> REVIEWBOARD_URL = "review board URL"
>>> REPOSITORY = "GitDemo"
>>> BRANCH = "fatal: ambiguous argument 'HEAD': unknown revision or path not 
>>> in the working tree.
>>> Use '--' to separate paths from revisions, like this:
>>> 'git  [...] -- [...]'
>>> HEAD"
>>> LAND_DEST_BRANCH = "fatal: ambiguous argument 'HEAD': unknown revision 
>>> or path not in the working tree.
>>> Use '--' to separate paths from revisions, like this:
>>> 'git  [...] -- [...]'
>>> HEAD"
>>>
>>> 在 2016年12月7日星期三 UTC-8下午12:51:02,许逸斐写道:

 I am using review board 0.7.7(python 2.7.12) on Mac OSX  and getting 
 "Unable to find a Review Board server for this source code tree" error 
 when 
 using *rbt post*. The output file in debug mode is as follows:
















 >>> RBTools 0.7.7


 >>> Python 2.7.12 (v2.7.12:d33e0cf91556, Jun 26 2016, 12:10:39) 


 [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)]


 >>> Running on Darwin-15.5.0-x86_64-i386-64bit


 >>> Home = /Users/jessicafei


 >>> Current directory = /Users/jessicafei/JasperSystem/yfx-macbook-pro


 >>> Command line: rbt post -d 190198


 >>> Checking for a Subversion repository...


 >>> Running: svn --non-interactive info


 >>> Command exited with rc 1: ['svn', '--non-interactive', u'info']


 svn: E155007: '/Users/jessicafei/JasperSystem/yfx-macbook-pro' is not a 
 working copy


 ---


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


 >>> Command exited with rc 1: ['git', 'config', '--get', 
 u'branch.dev.merge']


 ---


 >>> Running: git config --get branch.dev.remote


 >>> Command exited with rc 1: ['git', 'config', '--get', 
 u'branch.dev.remote']


 ---


 >>> Running: git config --get remote.origin.url


 >>> Command exited with rc 1: ['git', 'config', '--get', 
 'remote.origin.url']


 ---


 >>> Running: git config --get remote.origin.url


 >>> Command exited with rc 1: ['git', 'config', '--get', 
 'remote.origin.url']


 ---


 >>> repository info: Path: /Users/jessicafei/.git, Base path: , 
 Supports changesets: False


 >>> Running: git config --get reviewboard.url


 >>> Command exited with rc 1: ['git', 'config', '--get', 
 'reviewboard.url']


 ---


 Unable to find a Review Board server for this source code tree.

>>>
>>
>>
>>
>>
>>
>>
>>
>> -- 
>>
>>
>> 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: A weird unicode puzzle after upgrade from 2.0.20 to 2.5.4

2016-12-21 Thread Christian Hammond
Hey,

So the good news is, this is not a corruption issue, nor is it related to
the contents of any of your files.

This error is occurring when saving diff data using our new compressed
storage mechanism. We populate a binary field with compressed diff data
when uploading a new diff, viewing an existing diff, or condensing all
diffs.

What's happening is that MySQL is validating the compressed data as
Unicode. It's then seeing something it doesn't like in there and
complaining about it, but still permitting it to be stored. The storage is
therefore working as expected (since you can then successfully view the
diff), just the validation is wrong. This happens regardless of the
contents of your diffs.

Newer versions of Django work around this, but we don't use those versions.
I'll see if there's a workaround we can put in place.

If you keep DEBUG set to False (which you should for production), then the
warnings shouldn't crash the page. If need be, you can instruct MySQL to
ignore warning code 1300.

What version of MySQL are you using?

Christian


On Wed, Dec 21, 2016 at 08:41 Koushik Roy  wrote:

Christian,
  As promised, more information in the file attached.
  Please HELP, HELP!!

  With the utf8 conversion warning, MY CONCERN IS DATA LOSS/CORRUPTION.
  If the text contains only plain English, then may be we are fine.
  But where multi-byte encoding is required, is there any guarantee that
  the warning did not cause data loss/corruption?

  Also, I don't understand if the encoding warning has anything to do
  with the 'condensediffs' as Eric had mentioned.
  Performing 'condensediffs' may have only bypassed the warning?

  Let me know if you need any more information.

Thank you.

Koushik Roy.










-- 


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: Default reviewer per group

2016-12-21 Thread Christian Hammond
Hi Moisei,

There's no support for per-user default reviewers in Review Board itself
(but see below). The rationale is that reviewers tend to pertain to changes
(one group might be appropriate for one repository/path, while another
might be appropriate to another), rather than a reviewer pertaining to the
owner of a review request. Specifying a default reviewer for every change
could lead to an inappropriate reviewer if posting a change that applies to
some other area of the company. (This of course dependent on the size and
structure of your server.)

However, you can set a default in your personal .reviewboardrc for RBTools.
I'm not at a computer, but I believe it's TARGET_GROUPS. This will be set
any time you post a change for review using rbt post.

Christian


On Wed, Dec 21, 2016 at 09:37 Moisei Rabinovich  wrote:

> Hello,
> Is there some way to specify a default reviewer group for the user (and
> not by the file path as it is mentioned inthe documentation)?
> Every time I submit a new issue, I choose my group to be  a Reviewer group
> and I would like it to happen automatically.
>
> Thank you!
>
>
>
>
>
>
>
>
>
>
> --
>
>
> 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: Unable to find a Review Board server for this source code tree

2016-12-21 Thread Christian Hammond
Hi,

Your .reviewboardrc isn't correct. The BRANCH seems to have an error
message in it. It should be a single like string containing the name of the
destination branch.

This causes a syntax error in the file, preventing the server from being
found.

Christian


On Wed, Dec 21, 2016 at 14:45 许逸斐  wrote:

>
> Can someone help me resolve this issue?
> Here is the content in .reviewboardrc  file
> 在 2016年12月7日星期三 UTC-8下午9:37:38,许逸斐写道:
>
> REVIEWBOARD_URL = "review board URL"
> REPOSITORY = "GitDemo"
> BRANCH = "fatal: ambiguous argument 'HEAD': unknown revision or path not
> in the working tree.
> Use '--' to separate paths from revisions, like this:
> 'git  [...] -- [...]'
> HEAD"
> LAND_DEST_BRANCH = "fatal: ambiguous argument 'HEAD': unknown revision or
> path not in the working tree.
> Use '--' to separate paths from revisions, like this:
> 'git  [...] -- [...]'
> HEAD"
>
> 在 2016年12月7日星期三 UTC-8下午12:51:02,许逸斐写道:
>
> I am using review board 0.7.7(python 2.7.12) on Mac OSX  and getting
> "Unable to find a Review Board server for this source code tree" error when
> using *rbt post*. The output file in debug mode is as follows:
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> >>> RBTools 0.7.7
>
>
> >>> Python 2.7.12 (v2.7.12:d33e0cf91556, Jun 26 2016, 12:10:39)
>
>
> [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)]
>
>
> >>> Running on Darwin-15.5.0-x86_64-i386-64bit
>
>
> >>> Home = /Users/jessicafei
>
>
> >>> Current directory = /Users/jessicafei/JasperSystem/yfx-macbook-pro
>
>
> >>> Command line: rbt post -d 190198
>
>
> >>> Checking for a Subversion repository...
>
>
> >>> Running: svn --non-interactive info
>
>
> >>> Command exited with rc 1: ['svn', '--non-interactive', u'info']
>
>
> svn: E155007: '/Users/jessicafei/JasperSystem/yfx-macbook-pro' is not a
> working copy
>
>
> ---
>
>
> >>> 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.dev.merge
>
>
> >>> Command exited with rc 1: ['git', 'config', '--get',
> u'branch.dev.merge']
>
>
> ---
>
>
> >>> Running: git config --get branch.dev.remote
>
>
> >>> Command exited with rc 1: ['git', 'config', '--get',
> u'branch.dev.remote']
>
>
> ---
>
>
> >>> Running: git config --get remote.origin.url
>
>
> >>> Command exited with rc 1: ['git', 'config', '--get',
> 'remote.origin.url']
>
>
> ---
>
>
> >>> Running: git config --get remote.origin.url
>
>
> >>> Command exited with rc 1: ['git', 'config', '--get',
> 'remote.origin.url']
>
>
> ---
>
>
> >>> repository info: Path: /Users/jessicafei/.git, Base path: , Supports
> changesets: False
>
>
> >>> Running: git config --get reviewboard.url
>
>
> >>> Command exited with rc 1: ['git', 'config', '--get', 'reviewboard.url']
>
>
> ---
>
>
> Unable to find a Review Board server for this source code tree.
>
>
>
>
>
>
>
>
>
> --
>
>
> 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: Unable to find a Review Board server for this source code tree

2016-12-21 Thread 许逸斐

Can someone help me resolve this issue? 
Here is the content in .reviewboardrc  file
在 2016年12月7日星期三 UTC-8下午9:37:38,许逸斐写道:
>
> REVIEWBOARD_URL = "review board URL"
> REPOSITORY = "GitDemo"
> BRANCH = "fatal: ambiguous argument 'HEAD': unknown revision or path not 
> in the working tree.
> Use '--' to separate paths from revisions, like this:
> 'git  [...] -- [...]'
> HEAD"
> LAND_DEST_BRANCH = "fatal: ambiguous argument 'HEAD': unknown revision or 
> path not in the working tree.
> Use '--' to separate paths from revisions, like this:
> 'git  [...] -- [...]'
> HEAD"
>
> 在 2016年12月7日星期三 UTC-8下午12:51:02,许逸斐写道:
>>
>> I am using review board 0.7.7(python 2.7.12) on Mac OSX  and getting 
>> "Unable to find a Review Board server for this source code tree" error when 
>> using *rbt post*. The output file in debug mode is as follows:
>>
>> >>> RBTools 0.7.7
>>
>> >>> Python 2.7.12 (v2.7.12:d33e0cf91556, Jun 26 2016, 12:10:39) 
>>
>> [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)]
>>
>> >>> Running on Darwin-15.5.0-x86_64-i386-64bit
>>
>> >>> Home = /Users/jessicafei
>>
>> >>> Current directory = /Users/jessicafei/JasperSystem/yfx-macbook-pro
>>
>> >>> Command line: rbt post -d 190198
>>
>> >>> Checking for a Subversion repository...
>>
>> >>> Running: svn --non-interactive info
>>
>> >>> Command exited with rc 1: ['svn', '--non-interactive', u'info']
>>
>> svn: E155007: '/Users/jessicafei/JasperSystem/yfx-macbook-pro' is not a 
>> working copy
>>
>> ---
>>
>> >>> 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.dev.merge
>>
>> >>> Command exited with rc 1: ['git', 'config', '--get', 
>> u'branch.dev.merge']
>>
>> ---
>>
>> >>> Running: git config --get branch.dev.remote
>>
>> >>> Command exited with rc 1: ['git', 'config', '--get', 
>> u'branch.dev.remote']
>>
>> ---
>>
>> >>> Running: git config --get remote.origin.url
>>
>> >>> Command exited with rc 1: ['git', 'config', '--get', 
>> 'remote.origin.url']
>>
>> ---
>>
>> >>> Running: git config --get remote.origin.url
>>
>> >>> Command exited with rc 1: ['git', 'config', '--get', 
>> 'remote.origin.url']
>>
>> ---
>>
>> >>> repository info: Path: /Users/jessicafei/.git, Base path: , Supports 
>> changesets: False
>>
>> >>> Running: git config --get reviewboard.url
>>
>> >>> Command exited with rc 1: ['git', 'config', '--get', 
>> 'reviewboard.url']
>>
>> ---
>>
>> Unable to find a Review Board server for this source code tree.
>>
>

-- 
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: rbt post of a new file added to Mercurial causes blank files to be added to the diff.

2016-12-21 Thread John


On Monday, December 19, 2016 at 5:10:15 PM UTC-5, John wrote:
>
> We are using mercurial in our environment and for some reason we are 
> seeing a number of __init__.py (blank files for module inclusion in python) 
> are being added to our diff file.  Here is the process we used to reproduce 
> the issue:
>
> 1. Clone a branch in the repo.
> 2. create a new file with some text in it (i.e. mytestfile.py).
> 3. Add a new file in the repo with "hg add mytestfile.py"
> 4. hg commit -m "This is a test" ./mytestfile.py
> 5. rbt post
>
>
> Here is what the diff of the new file looks like with a simple "hg diff" 
> before running commit:
>
> diff --git a/python/tools/mytestfile.py b/python/tools/mytestfile.py
> new file mode 100644
> --- /dev/null
> +++ b/python/mytestfile.py
> @@ -0,0 +1,1 @@
> +print "This is a test"
>
> Attached please find the diff that was downloaded from Review Board.  
>
> What you'll find is that the diff for the new file that was added does 
> make it up there but for some reason ~50+ __init__.py files are also 
> removed and then added to the diff.  It causes the review request to look 
> very messy.  The diff file I added was downloaded directly from review 
> board and then I snipped the end of it so the file wouldn't be too large.  
>
>

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


Default reviewer per group

2016-12-21 Thread Moisei Rabinovich
Hello,
Is there some way to specify a default reviewer group for the user (and not 
by the file path as it is mentioned inthe documentation)?
Every time I submit a new issue, I choose my group to be  a Reviewer group 
and I would like it to happen automatically.

Thank you!


-- 
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: A weird unicode puzzle after upgrade from 2.0.20 to 2.5.4

2016-12-21 Thread Koushik Roy
Christian,
  As promised, more information in the file attached.
  Please HELP, HELP!!

  With the utf8 conversion warning, MY CONCERN IS DATA LOSS/CORRUPTION.
  If the text contains only plain English, then may be we are fine.
  But where multi-byte encoding is required, is there any guarantee that
  the warning did not cause data loss/corruption?

  Also, I don't understand if the encoding warning has anything to do
  with the 'condensediffs' as Eric had mentioned.
  Performing 'condensediffs' may have only bypassed the warning?

  Let me know if you need any more information.

Thank you.

Koushik Roy.


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


capture
Description: Binary data


Re: Posting review board request from command line

2016-12-21 Thread David Trowbridge
For assigning reviewers, rbt post accepts --target-people and
--target-groups arguments, which each accept a comma-separated list of
usernames/group names, respectively. You can then add --publish to publish
it as well.

-David
On Wed, Dec 21, 2016 at 1:01 AM Vikalp Khandelwal 
wrote:

> Hi,
>
>  I am using review board for the first time. I am using perforce as my
> repository. The steps which I am following are this
> 1. Create a changelist in perforce
> 2. Use '*rbt post –d '*
> 3. Go to the URL generated in browser
> 4. Add reviewers
> 5. Publish
>
> I wanted to know if there is any way in which I can directly add reviewers
> and post review from the command line itself so that I need not go to
> browser for adding reviewers and publishing it.
>
> --
> 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.


Posting review board request from command line

2016-12-21 Thread Vikalp Khandelwal
Hi,

 I am using review board for the first time. I am using perforce as my 
repository. The steps which I am following are this
1. Create a changelist in perforce
2. Use '*rbt post –d '*
3. Go to the URL generated in browser
4. Add reviewers 
5. Publish

I wanted to know if there is any way in which I can directly add reviewers 
and post review from the command line itself so that I need not go to 
browser for adding reviewers and publishing it.

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