Re: Get all of an users reviews through API

2019-10-09 Thread Christian Hammond
Hi Tulio,

Sorry, I missed your email before.

There is not currently a way to fetch this via the API. It’s something we
do plan to address, but we’re working through a fair amount of other work
right now.

I know some companies that need this info have written in-house extensions
to provide an API to do this query, tailored for their specific needs
(generally combining this with some other information or adding some
specific queries that they can craft).

While it sounds like it’d be easy for us to just bolt this API on, we’ve
also seen similar requests for “all comments made by a user,” “all diffs on
a repository,” and other bulk queries. We have a plan to address all of
this, but it needs to be done correctly once, and not piece-by-piece. So
for now, I recommend going the extension route.

Christian


On Mon, Oct 7, 2019 at 04:53 Tulio Leão  wrote:

> No idea, then?
>
> --
> 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
> "Review Board Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/reviewboard/6d548d2c-91ad-4270-8a5a-994164424a1f%40googlegroups.com
> .
>
-- 
-- 
Christian Hammond
President/CEO of Beanbag
Makers of Review Board

-- 
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 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/CAE7VndmvrN6aQQnvGWZtwTce1WHVT2B3UBZXCmVnOxBrqv7Mkg%40mail.gmail.com.


Re: Get all of an users reviews through API

2019-10-09 Thread Tulio Leão
That's unfortunate, but thanks for the reply Christian, I'll keep my eyes 
out on the changelogs should it ever be done.

>

-- 
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 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/e5264c3a-bb13-4fa2-a316-753a7d4dda36%40googlegroups.com.


pkg_resources.DistributionNotFound error while testing rbt

2019-10-09 Thread Hema
Downloaded rbtools 1.0.2 source code and tried testing it before 
installation. But I get the following error.


Traceback (most recent call last):
  File "./rbtools/rbt", line 8, in 
main.main()
  File "/users/hema/git/rbtools/rbtools/../rbtools/commands/main.py", line 
127, in main
ep = find_entry_point_for_command(command_name)
  File "/users/hema/git/rbtools/rbtools/../rbtools/commands/__init__.py", 
line 966, in find_entry_point_for_command
command_name)
  File 
"/usr/software/pkgs/Python-2.7.12/lib/python2.7/site-packages/setuptools-40.6.2-py2.7.egg/pkg_resources/__init__.py",
 
line 497, in get_entry_info

  File 
"/usr/software/pkgs/Python-2.7.12/lib/python2.7/site-packages/setuptools-40.6.2-py2.7.egg/pkg_resources/__init__.py",
 
line 479, in get_distribution

  File 
"/usr/software/pkgs/Python-2.7.12/lib/python2.7/site-packages/setuptools-40.6.2-py2.7.egg/pkg_resources/__init__.py",
 
line 355, in get_provider

  File 
"/usr/software/pkgs/Python-2.7.12/lib/python2.7/site-packages/setuptools-40.6.2-py2.7.egg/pkg_resources/__init__.py",
 
line 898, in require

  File 
"/usr/software/pkgs/Python-2.7.12/lib/python2.7/site-packages/setuptools-40.6.2-py2.7.egg/pkg_resources/__init__.py",
 
line 784, in resolve

pkg_resources.DistributionNotFound: The 'rbtools' distribution was not 
found and is required by the application


Any help to resolve this error is appreciated.

Regards,
Hema.

-- 
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 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/aa2d213e-dd70-4335-8d72-faa1d08d1af7%40googlegroups.com.


Can't install subvertpy

2019-10-09 Thread Bob Willard
C:\Bitnami\reviewboardpowerpack-3.0.15-4\python\Scripts>pip install 
subvertpy
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 
2020. Please upgrade your Python as Python 2.7 won't be maintained after 
that date. A future version of pip will drop support for Python 2.7. More 
details about Python 2 support in pip, can be found at 
https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Collecting subvertpy
  Using cached 
https://files.pythonhosted.org/packages/9d/76/99fa82affce75f5ac0f7dbe513796c3f37311ace0c68e1b063683b4f9b99/subvertpy-0.10.1.tar.gz
Building wheels for collected packages: subvertpy
  Building wheel for subvertpy (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: 'c:\bitnami\reviewboardpowerpack-3.0.15-4\python\python.exe' -u 
-c 'import sys, setuptools, tokenize; sys.argv[0] = 
'"'"'c:\\users\\rwillard\\appdata\\local\\temp\\pip-install-d2fltx\\subvertpy\\setup.py'"'"';
 
__file__='"'"'c:\\users\\rwillard\\appdata\\local\\temp\\pip-install-d2fltx\\subvertpy\\setup.py'"'"';f=getattr(tokenize,
 
'"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', 
'"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' 
bdist_wheel -d 'c:\users\rwillard\appdata\local\temp\pip-wheel-apm8dh' 
--python-tag cp27
   cwd: 
c:\users\rwillard\appdata\local\temp\pip-install-d2fltx\subvertpy\
  Complete output (37 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build\lib.win-amd64-2.7
  creating build\lib.win-amd64-2.7\subvertpy
  copying subvertpy\delta.py -> build\lib.win-amd64-2.7\subvertpy
  copying subvertpy\marshall.py -> build\lib.win-amd64-2.7\subvertpy
  copying subvertpy\properties.py -> build\lib.win-amd64-2.7\subvertpy
  copying subvertpy\ra.py -> build\lib.win-amd64-2.7\subvertpy
  copying subvertpy\ra_svn.py -> build\lib.win-amd64-2.7\subvertpy
  copying subvertpy\server.py -> build\lib.win-amd64-2.7\subvertpy
  copying subvertpy\__init__.py -> build\lib.win-amd64-2.7\subvertpy
  creating build\lib.win-amd64-2.7\subvertpy\tests
  copying subvertpy\tests\test_client.py -> 
build\lib.win-amd64-2.7\subvertpy\tests
  copying subvertpy\tests\test_core.py -> 
build\lib.win-amd64-2.7\subvertpy\tests
  copying subvertpy\tests\test_delta.py -> 
build\lib.win-amd64-2.7\subvertpy\tests
  copying subvertpy\tests\test_marshall.py -> 
build\lib.win-amd64-2.7\subvertpy\tests
  copying subvertpy\tests\test_properties.py -> 
build\lib.win-amd64-2.7\subvertpy\tests
  copying subvertpy\tests\test_ra.py -> 
build\lib.win-amd64-2.7\subvertpy\tests
  copying subvertpy\tests\test_repos.py -> 
build\lib.win-amd64-2.7\subvertpy\tests
  copying subvertpy\tests\test_server.py -> 
build\lib.win-amd64-2.7\subvertpy\tests
  copying subvertpy\tests\test_wc.py -> 
build\lib.win-amd64-2.7\subvertpy\tests
  copying subvertpy\tests\__init__.py -> 
build\lib.win-amd64-2.7\subvertpy\tests
  running build_ext
  building 'subvertpy.client' extension
  creating build\temp.win-amd64-2.7
  creating build\temp.win-amd64-2.7\Release
  creating build\temp.win-amd64-2.7\Release\subvertpy
  C:\Users\RWILLARD\AppData\Local\Programs\Common\Microsoft\Visual C++ for 
Python\9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DWIN32 
-I. -I. -IC:\Bitnami\svn-win32-1.8.17\include\apr 
-IC:\Bitnami\svn-win32-1.8.17\include\apr-util 
-IC:\Bitnami\svn-win32-1.8.17\include\apr-iconv 
-IC:\Bitnami\svn-win32-1.8.17\include -Isubvertpy 
-Ic:\bitnami\reviewboardpowerpack-3.0.15-4\python\include 
-Ic:\bitnami\reviewboardpowerpack-3.0.15-4\python\PC /Tcsubvertpy\client.c 
/Fobuild\temp.win-amd64-2.7\Release\subvertpy\client.obj
  client.c
  subvertpy\client.c(101) : warning C4244: 'function' : conversion from 
'Py_ssize_t' to 'int', possible loss of data
  subvertpy\client.c(2032) : warning C4244: 'function' : conversion from 
'svn_filesize_t' to 'long', possible loss of data
  C:\Users\RWILLARD\AppData\Local\Programs\Common\Microsoft\Visual C++ for 
Python\9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DWIN32 
-I. -I. -IC:\Bitnami\svn-win32-1.8.17\include\apr 
-IC:\Bitnami\svn-win32-1.8.17\include\apr-util 
-IC:\Bitnami\svn-win32-1.8.17\include\apr-iconv 
-IC:\Bitnami\svn-win32-1.8.17\include -Isubvertpy 
-Ic:\bitnami\reviewboardpowerpack-3.0.15-4\python\include 
-Ic:\bitnami\reviewboardpowerpack-3.0.15-4\python\PC /Tcsubvertpy\editor.c 
/Fobuild\temp.win-amd64-2.7\Release\subvertpy\editor.obj
  editor.c
  subvertpy\editor.c(84) : fatal error C1189: #error :  "Unable to 
determine PyArg_Parse format for size_t"
  error: command 
'C:\\Users\\RWILLARD\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual 
C++ for Python\\9.0\\VC\\Bin\\amd64\\cl.exe' failed with exit status 2
  
  ERROR: Failed building wheel for subvertpy
  Running setup.py clean for subvertpy
Failed to build subvertpy
Installing collected packages: subvertpy
  Running setup.py insta