Re: ubuntu 14.04LTS new install fails

2016-05-04 Thread David Trowbridge
It looks like you need to install libjpeg development headers. IIRC the
package name on ubuntu is "libjpeg-dev"

-David

On Wed, May 4, 2016 at 5:35 PM Aaron Lager  wrote:

>
> Here is the output of the last part of the install command "sudo pip
> install ReviewBoard":
> Any ideas on what to do?
>
> Thanks,
> Aaron
>
> copying PIL/XVThumbImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
> running egg_info
> writing Pillow.egg-info/PKG-INFO
> writing top-level names to Pillow.egg-info/top_level.txt
> writing dependency_links to Pillow.egg-info/dependency_links.txt
> warning: manifest_maker: standard file '-c' not found
>
> reading manifest file 'Pillow.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no files found matching '*.sh'
> no previously-included directories found matching 'docs/_static'
> warning: no previously-included files found matching '.coveragerc'
> warning: no previously-included files found matching '.editorconfig'
> warning: no previously-included files found matching '.landscape.yaml'
> warning: no previously-included files found matching 'appveyor.yml'
> warning: no previously-included files found matching
> 'build_children.sh'
> warning: no previously-included files found matching 'tox.ini'
> warning: no previously-included files matching '.git*' found anywhere
> in distribution
> warning: no previously-included files matching '*.pyc' found anywhere
> in distribution
> warning: no previously-included files matching '*.so' found anywhere
> in distribution
> writing manifest file 'Pillow.egg-info/SOURCES.txt'
> copying PIL/OleFileIO-README.md -> build/lib.linux-x86_64-2.7/PIL
> running build_ext
> Traceback (most recent call last):
>   File "", line 1, in 
>   File "/tmp/pip-build-x6R8Ia/Pillow/setup.py", line 767, in 
> zip_safe=not debug_build(), )
>   File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
> dist.run_commands()
>   File "/usr/lib/python2.7/distutils/dist.py", line 953, in
> run_commands
> self.run_command(cmd)
>   File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
> cmd_obj.run()
>   File
> "/usr/local/lib/python2.7/dist-packages/setuptools/command/install.py",
> line 61, in run
> return orig.install.run(self)
>   File "/usr/lib/python2.7/distutils/command/install.py", line 601, in
> run
> self.run_command('build')
>   File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
> self.distribution.run_command(command)
>   File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
> cmd_obj.run()
>   File "/usr/lib/python2.7/distutils/command/build.py", line 128, in
> run
> self.run_command(cmd_name)
>   File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
> self.distribution.run_command(command)
>   File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
> cmd_obj.run()
>   File "/usr/lib/python2.7/distutils/command/build_ext.py", line 337,
> in run
> self.build_extensions()
>   File "/tmp/pip-build-x6R8Ia/Pillow/setup.py", line 512, in
> build_extensions
> ' using --disable-%s, aborting' % (f, f))
> ValueError: jpeg is required unless explicitly disabled using
> --disable-jpeg, aborting
>
> 
> Command "/usr/bin/python -u -c "import setuptools,
> tokenize;__file__='/tmp/pip-build-x6R8Ia/Pillow/setup.py';exec(compile(getattr(tokenize,
> 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))"
> install --record /tmp/pip-CwWvYW-record/install-record.txt
> --single-version-externally-managed --compile" failed with error code 1 in
> /tmp/pip-build-x6R8Ia/Pillow/
> /usr/local/lib/python2.7/dist-packages/pip-8.1.1-py2.7.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:120:
> InsecurePlatformWarning: A true SSLContext object is not available. This
> prevents urllib3 from configuring SSL appropriately and may cause certain
> SSL connections to fail. For more information, see
> https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning
> .
>   InsecurePlatformWarning
>
>
>
>
>
> --
> 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 

ubuntu 14.04LTS new install fails

2016-05-04 Thread Aaron Lager

Here is the output of the last part of the install command "sudo pip 
install ReviewBoard":
Any ideas on what to do?

Thanks,
Aaron

copying PIL/XVThumbImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL
running egg_info
writing Pillow.egg-info/PKG-INFO
writing top-level names to Pillow.egg-info/top_level.txt
writing dependency_links to Pillow.egg-info/dependency_links.txt
warning: manifest_maker: standard file '-c' not found

reading manifest file 'Pillow.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.sh'
no previously-included directories found matching 'docs/_static'
warning: no previously-included files found matching '.coveragerc'
warning: no previously-included files found matching '.editorconfig'
warning: no previously-included files found matching '.landscape.yaml'
warning: no previously-included files found matching 'appveyor.yml'
warning: no previously-included files found matching 'build_children.sh'
warning: no previously-included files found matching 'tox.ini'
warning: no previously-included files matching '.git*' found anywhere 
in distribution
warning: no previously-included files matching '*.pyc' found anywhere 
in distribution
warning: no previously-included files matching '*.so' found anywhere in 
distribution
writing manifest file 'Pillow.egg-info/SOURCES.txt'
copying PIL/OleFileIO-README.md -> build/lib.linux-x86_64-2.7/PIL
running build_ext
Traceback (most recent call last):
  File "", line 1, in 
  File "/tmp/pip-build-x6R8Ia/Pillow/setup.py", line 767, in 
zip_safe=not debug_build(), )
  File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
  File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
  File 
"/usr/local/lib/python2.7/dist-packages/setuptools/command/install.py", 
line 61, in run
return orig.install.run(self)
  File "/usr/lib/python2.7/distutils/command/install.py", line 601, in 
run
self.run_command('build')
  File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
  File "/usr/lib/python2.7/distutils/command/build.py", line 128, in run
self.run_command(cmd_name)
  File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
  File "/usr/lib/python2.7/distutils/command/build_ext.py", line 337, 
in run
self.build_extensions()
  File "/tmp/pip-build-x6R8Ia/Pillow/setup.py", line 512, in 
build_extensions
' using --disable-%s, aborting' % (f, f))
ValueError: jpeg is required unless explicitly disabled using 
--disable-jpeg, aborting


Command "/usr/bin/python -u -c "import setuptools, 
tokenize;__file__='/tmp/pip-build-x6R8Ia/Pillow/setup.py';exec(compile(getattr(tokenize,
 
'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" 
install --record /tmp/pip-CwWvYW-record/install-record.txt 
--single-version-externally-managed --compile" failed with error code 1 in 
/tmp/pip-build-x6R8Ia/Pillow/
/usr/local/lib/python2.7/dist-packages/pip-8.1.1-py2.7.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:120:
 
InsecurePlatformWarning: A true SSLContext object is not available. This 
prevents urllib3 from configuring SSL appropriately and may cause certain 
SSL connections to fail. For more information, see 
https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning





-- 
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: diffviewer_filediff Table in DB

2016-05-04 Thread David Trowbridge
There are many different tables that have foreign key relations to each
other.

The FileDiff has a foreign key to DiffSet, which represents a single
revision of a diff on a review request. DiffSet in turn has a foreign key
to DiffSetHistory, which is all revisions. The ReviewRequest model has a
foreign key to DiffSetHistory (a 1:1 relationship).

Therefore, if you want to relate a FileDiff to its ReviewRequest, you'll
have to join all the relevant tables together.

-David

On Wed, May 4, 2016 at 6:37 AM john levin  wrote:

> Could Someone answer my question please ?
>
>
> On Wednesday, May 4, 2016 at 12:39:54 PM UTC+5:30, john levin wrote:
>>
>> Hi,
>>
>> I could see that diffviewer_filediff Table doesnt Holds the review id
>> rather the id is incremental mode whenever the change is happens. So i'm
>> Wondering how to Map the Filelist with particular review ID. Any Idea ?
>>
>> Note :- I dont have an idea about django, so connecting the DB directly
>> to validate some informations.
>>
>> Thanks !
>>
>> /BR
>> John
>>
> --
> 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: rb-site upgrade fails with whoosh 2.5.7 on RHEL7/OL7

2016-05-04 Thread Vlad S.
Sorry, haven't had chance to test it today. Hope to do it later this week.

вторник, 3 мая 2016 г., 1:47:25 UTC+3 пользователь Vlad S. написал:
>
> Thanx! I will be able to test and report on May 4.
>
> /v
>
>>
>>

-- 
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: Parent diff support in ReviewBoard 2.5.3 UI?

2016-05-04 Thread David Trowbridge
Jim,

Start by selecting the diff that you want to show up in the change. If it
detects that it's needed, Review Board will then prompt you for the parent
diff.

That said, if you're creating diffs and parent diffs and then uploading
them by hand, you'll really be well served by moving to "rbt post"

-David

On Wed, May 4, 2016 at 8:29 AM Jim H  wrote:

> It seems after upgrading from 2.0.18 to 2.5.3 there is not ability to
> specify a parent diff when adding a new diff via the UI upload.
>
> --
> 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.


Parent diff support in ReviewBoard 2.5.3 UI?

2016-05-04 Thread Jim H
It seems after upgrading from 2.0.18 to 2.5.3 there is not ability to 
specify a parent diff when adding a new diff via the UI upload.

-- 
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: diffviewer_filediff Table in DB

2016-05-04 Thread john levin
Could Someone answer my question please ?

On Wednesday, May 4, 2016 at 12:39:54 PM UTC+5:30, john levin wrote:
>
> Hi,
>
> I could see that diffviewer_filediff Table doesnt Holds the review id 
> rather the id is incremental mode whenever the change is happens. So i'm 
> Wondering how to Map the Filelist with particular review ID. Any Idea ?
>
> Note :- I dont have an idea about django, so connecting the DB directly to 
> validate some informations.
>
> Thanks !
>
> /BR
> John
>

-- 
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: Bitbucket server repository + raw file url mask

2016-05-04 Thread sean
Anyone?

On Monday, May 2, 2016 at 10:08:12 AM UTC+2, se...@m2mobi.com wrote:
>
> Bump?
>
> On Friday, April 15, 2016 at 3:33:43 PM UTC+2, se...@m2mobi.com wrote:
>>
>> Hello to both,
>>
>> I'm currently giving this a try as we'd really like to get it to connect. 
>> But both options are currently failing for the following reasons:
>> * - hosting backend:*
>>
>> Despite the name suggesting something along those lines, the API is 
>> actually not at all compatible. (diffs are JSON objects and other silly 
>> unexpected things)
>>
>> So this is not a simple copy and paste and would someone who isn't as 
>> knowledgable in python (me) quite some time to complete.
>>
>> * -  SCMTool API:*
>>
>> This initially seemed like it would be easier than the bitbucket server 
>> approach as bitbucket already uses it. But I can't seem to get the commit 
>> ID to be passed to the eventual function.
>>
>>  For reference: 
>> https://github.com/SMillerDev/reviewboard/commit/160628d3589173142b69f106bb2a2e54c5ca6766
>>
>>
>> If you have any insights on the best way to proceed, I'd be happy to hear 
>> them.
>>
>> Regards,
>> Sean Molenaar 
>>
>> On Friday, February 26, 2016 at 11:33:56 PM UTC+1, Christian Hammond 
>> wrote:
>>>
>>> Hi Heinz,
>>>
>>> The proper solution would be to implement a hosting service backend for 
>>> this, or augment the existing one if the API is at all compatible.
>>>
>>> It should be possible to extend the raw file URL stuff to take in a 
>>> commit ID, optionally, but it's a lot more work, as it impacts the SCMTool 
>>> API. Currently, only hosting services have any support for base_commit_id.
>>>
>>> Christian
>>>
>>> -- 
>>> Christian Hammond
>>> President/CEO of Beanbag 
>>> Makers of Review Board 
>>>
>>> On Fri, Feb 26, 2016 at 3:17 AM, Heinz Wiesinger  
>>> wrote:
>>>
 On Tuesday 02 February 2016 16:30:10 Heinz Wiesinger wrote:
 > Hi!
 >
 > We're currently evaluating bitbucket server (formerly stash, not to be
 > confused with the bitbucket cloud hosting) and are having troubles 
 coming up
 > with a usable raw file URL mask. What we found so far is this:
 >
 > http://www.example.org/projects/KEY/repos/foo/browse/
 ?at=>>> > >
 >
 > This works (with basic http authentication), but doesn't find the file
 > because it expects  to be a commit hash, not an object 
 hash. As
 > far as I can see at the moment Bitbucket server doesn't seem to have 
 a way
 > to retrieve files by object hash.
 >
 > Does anyone else have experience with Bitbucket server / Stash? Or is 
 there
 > a way to tell reviewboard to use commit hashes instead of object 
 hashes?

 I came back to this after a while to try again, but no dice. Even 
 looked at
 the code to see how easy it would be to add support for base_commit_id 
 to
 custom hosting repositories, but something seems to escape me.

 I filed a feature request for now
 (https://hellosplat.com/s/beanbag/tickets/4195/). Like I mentioned 
 there as
 well, I'm more than happy to supply a patch for this myself, if someone 
 can
 help me figure out what needs to be adapted :)

 Grs,
 Heinz

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


diffviewer_filediff Table in DB

2016-05-04 Thread john levin
Hi,

I could see that diffviewer_filediff Table doesnt Holds the review id 
rather the id is incremental mode whenever the change is happens. So i'm 
Wondering how to Map the Filelist with particular review ID. Any Idea ?

Note :- I dont have an idea about django, so connecting the DB directly to 
validate some informations.

Thanks !

/BR
John

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