RhodeCode - issues: Issueshttps://issues.rhodecode.com/https://issues.rhodecode.com/favicon.ico?16960560042016-09-29T13:41:00ZRhodeCode - issues
Redmine RhodeCode CE/EE - Task #4251 (Feedback): [customer] Pull request with subreposhttps://issues.rhodecode.com/issues/42512016-09-29T13:41:00ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>While a lot of time passed since we’ve exchanged emails last time, let me share some details about the way we work at R and what kind of Rhodecode improvements would be useful for us. </p>
<ul>
<li>Most of our iOS/Mac product repositories are Mercurial </li>
<li>We extensively use Mercurial’s subrepositories for internal dependencies: our internal libraries are Mercurial or git repositories, which are added to product repository as a subrepo. </li>
<li>I like github flow: creating feature branches (bookmarks in Mercurial), opening pull request to master (default), code-reviewing this pull request and merging it after review is finished</li>
</ul>
<p>Unfortunately Rhodecode does not allow to create pull request for Mercurial repository in case it contains any subrepo, even if there were no changes in that sub-repositories. </p>
<p>So that’s the main reason why we can’t use github flow with Rhodecode and that’s the reason why we have to Crucible. </p>
<p>I’ve shared these details with team about a year ago : <a href="https://rhodecode.tenderapp.com/help/discussions/support-tickets/1234-unable-to-create-pull-request" class="external">https://rhodecode.tenderapp.com/help/discussions/support-tickets/1234-unable-to-create-pull-request</a></p>
<p>Currently Rhodecode is more like a repository storage for us and while post-commit reviews are possible they are rarely used. That’s why most people at R almost never see Rhodecode web interface. </p>
<p>Let me know if you need any more details or have any workaround that would still allow us to use pull requests. </p>
RhodeCode CE/EE - Bug #4092 (Feedback): [ce, ee] Redmine/JIRA integrations - smart commitshttps://issues.rhodecode.com/issues/40922016-07-15T12:29:44ZDaniel Ddaniel@rhodecode.com
<p>For the redmine case there are 5 states for a ticket:</p>
<ul>
<li>new</li>
<li>in progress</li>
<li>resolved</li>
<li>feedback</li>
<li>closed'</li>
</ul>
<p>Commit messages should be able to auto close/resolve tickets using keywords such as <code>fixes #42</code></p>
<p>The thing to think about is that the user may want 'fixes #20' to set the redmine issue to any of 'resolved', 'feedback' or 'closed' - this should be set in the integration options.</p>
<p>Allowing custom multiple regex => state mappers per integration is the most powerful but might be overkill- making standard keywords might be better eg:</p>
<p>fixes => resolved<br>
closes => closed</p>
<p>Then again this might be no good for international users.</p>
RhodeCode CE/EE - Bug #3555 (Resolved): Then disabled repo location change the panel should expli...https://issues.rhodecode.com/issues/35552016-04-22T14:04:01ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>inside .ini file do <code>allow_repo_location_change = false</code></p>
<p>Then go to admin > settings > vcs</p>
<p>This would show you an empty <code>Main Storage Location</code> panel.</p>
<p>We should explicitly state that the repository location change is disabled.</p>
RhodeCode CE/EE - Bug #3549 (Resolved): [4.0.0 regression], file source links use last commit id ...https://issues.rhodecode.com/issues/35492016-04-21T13:20:01ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>Case:</p>
<p>You're browsing a file tree at tag v2.2.8 - commit id XXX</p>
<p>When entering particular file (lets say setup.py), the links and headers are based on the last commit (YYY) of file instead of the XXX.</p>
<p>This causes few problems:</p>
<ul>
<li>the commit info suddenly changes when moving from tree view, to file view, since all info is taken from YYY</li>
<li>references suddenly change, so you're puzzled why the tag reference is suddenly missing, again since references are calculated from YYY</li>
<li>links like raw, annotate etc uses the last commit id (YYY), and clicking on them actually can show you totally different things since YYY can be a different branch last edit.</li>
</ul>
<p>We should always use XXX since this is the file tree you're browsing AT, and all things should be poiting to this commit.</p>
<p>I would also add additional link to what's the last commit of file, after XXX that will show YYY, so one can tell if actual XXX commit is one that changed file setup.py</p>
RhodeCode CE/EE - Bug #3488 (Resolved): [frontend, styling] update icon fonthttps://issues.rhodecode.com/issues/34882016-04-14T13:56:11ZLisa Quatmannlisa@rhodecode.com
<p>See subtasks for needed icons.</p>
<p>Notes: our icon font was generated using fontello: <a href="http://fontello.com/" class="external">http://fontello.com/</a><br>
"Last time I did was changing the EPS and then upload the svg to fonticon generator website, fixing the order, then downloading the final font. The EPS need to be cut in the right size (eg. Export each icon to a separate file). Also a css file need to be changed to map the new icons and reordered if necessary." - Anderson</p>
RhodeCode CE/EE - Task #3454 (Feedback): [ce/ee] visually differentiate the two editionshttps://issues.rhodecode.com/issues/34542016-04-07T15:38:27ZOliver Strobeloliver@rhodecode.com
<p>Currently we are only changing the footer to include Community vs. Enterprise differentiation.</p>
<p>Purpose: It should be possible to tell the difference in edition quickly when switching between CE/EE tabs.</p>
<p>Potential solutions:<br>
1) Add the edition name into the header after the logo on the top left<br>
2) Change the colour of the header between editions, eg.<br>
CE = dark grey<br>
EE = black</p>
<p>Thoughts?</p>
RhodeCode CE/EE - Bug #3357 (Resolved): switch to sometimes fails to load files metadatahttps://issues.rhodecode.com/issues/33572016-03-21T23:38:59ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>Go to files view, clear cache. Run switch to to a tag, or different branch observe that loading files-metadata is stuck at "loading..."</p>
RhodeCode CE/EE - Task #3239 (Resolved): Catch all route for repo page or repo group page is alwa...https://issues.rhodecode.com/issues/32392016-03-04T10:32:22ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>THere's two routes in the match chain that catch repositories and groups landing page</p>
<pre><code> _connect_with_slash(
rmap, 'repo_group_home', '/{group_name}',
controller='home', action='index_repo_group',
conditions={'function': check_group},
requirements=URL_NAME_REQUIREMENTS)
</code></pre>
<p>and</p>
<pre><code> _connect_with_slash(
rmap, 'summary_home', '/{repo_name}',
controller='summary', action='index',
conditions={'function': check_repo},
requirements=URL_NAME_REQUIREMENTS)
</code></pre>
<p>There are defined at the beginning of the routes. Those routes execute check_repo and check_repo_group.<br>
What it means that if you visit any other page inside a repo or group you have the check_repo or check_group executed twice.</p>
<p>Example:</p>
<p>You go to <a href="https://code.rhodecode.com/https://code.rhodecode.com/rhodecode-momentum/pull-request" class="external">https://code.rhodecode.com/https://code.rhodecode.com/rhodecode-momentum/pull-request</a>, currently it matches both checks, eg.</p>
<ul>
<li>code checks if <code>rhodecode-momentum/pull-request</code> is a repository group (since /{group_name} match)</li>
<li>code checks if <code>rhodecode-momentum/pull-request</code> is a repository (since /{repo_name} match)</li>
<li>code checks if <code>rhodecode-momentum</code> is a repo (since /{repo_name}/pull-request}, only this matches since the route matches patterns, and repo check is valid.</li>
</ul>
<p>Imho we should move the eager matching patterns at the end, so we reduce the group/repo checks to the very end. This should speed up most of the pages since those checks will be skipped</p>
RhodeCode CE/EE - Feature #2817 (Resolved): Make largefiles downloadable from the interfacehttps://issues.rhodecode.com/issues/28172015-10-19T20:36:35ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>Actually a customer requested that: <a href="https://rhodecode.tenderapp.com/help/discussions/problems/9225-rc-352-download-a-largefile-downloads-in-fact-the-sha-1-of-the-hglf-folder" class="external">https://rhodecode.tenderapp.com/help/discussions/problems/9225-rc-352-download-a-largefile-downloads-in-fact-the-sha-1-of-the-hglf-folder</a></p>
<p>Internally AFAIR we have already code that can fetch largefiles from the LF store of Mercurial. It's just a small task of serving those files instead of the sha of the file given.</p>
<p>How it should work ?<br>
When users clicks on a largefiles displayed in file view, the content of such file is a hash, this hash points to a largefile store hash of this file. <br>
Under download as raw button we should server the content of that file at this sha, instead of current content which is a plaintext file with sha stored inside.</p>
RhodeCode CE/EE - Task #2744 (Resolved): Deprecating Internet Explorerhttps://issues.rhodecode.com/issues/27442015-09-29T16:05:04ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>Thought about it a little bit, here's my proposal on ie deprecation:</p>
<p>RhodeCode 3.7 would be the last IE8 tested release.<br>
RhodeCode 3.7+ we stop testing on IE8</p>
<p>RhodeCode 3.8 would be the last supporting IE9<br>
RhodeCode 3.8+ we would stop testing on IE9</p>
<p>TBD: do we simply stop testing, on clean up IE specific hacks ?</p>
<p>As of 3.7+ and 3.8+ we need a dedicated page about not supported browser to display to users that use older browsers. Why ? We have twice issue that users did use ie11, but they had IE7/8 rendering engine enabled. We should be explicit about detecting older IE and listing what we actually support</p>
RhodeCode CE/EE - Feature #2539 (Feedback): Recursive deletion of resourceshttps://issues.rhodecode.com/issues/25392015-08-25T18:11:48ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>Ticket from support: <a href="https://rhodecode.tenderapp.com/help/discussions/problems/7125-rc-225-after-deleting-repo-groups-on-file-system-then-rescan-the-repo-groups-are-always-in-the-db" class="external">https://rhodecode.tenderapp.com/help/discussions/problems/7125-rc-225-after-deleting-repo-groups-on-file-system-then-rescan-the-repo-groups-are-always-in-the-db</a></p>
<p>Use case:</p>
<ul>
<li>gemalto needs to often delete large repository groups, current system doesn't allow doing it from web interface</li>
<li>users need to delete manually each repo inside repo group and then delete the group itself</li>
</ul>
<p>Currently our system supports this operation in cleanup mode, so you can delete whole directory from the filesystem and run remap-and rescan. This is a workaround and should allow<br>
big cleanup, but it's far from being straightforward to do.</p>
<p>We need a consistent interface for deletion of resource that hold other resources. This should currently include two places</p>
<ul>
<li>user deletion (that hold repo groups/user groups/repositories)</li>
<li>repository group deletion (that hold other repositories)</li>
</ul>
<p>You can delete user or repository group in two ways, goind to admin > users or admin > repo groups and clicking delete.<br>
In case there are dependent objects, we should trigger a warning flash message, and redirect user to advanced settings section of user, or repo group. and allow them to do recursive delete.</p>
<p>There's already an interface for that in users advanced section, when you can select if you want to delete or transfer ownership of repositories or groups that user owns. <br>
We should re-use the logic, and make the same option available to deletion of repository groups. The user advanced section also needs some small improvements.</p>
<p>Recursive delete should have two options.</p>
<ul>
<li>delete resources</li>
<li>transfer ownership of resources to a different user in the system</li>
</ul>
<p>Currently part of that is implemented in user > settings > advanced where we have delete or detach option. <br>
Detach option unfortunetly picks the first super admin in the system which leads to<br>
odd results and you cannot control to whom you need to transfer the ownership.</p>
RhodeCode CE/EE - Bug #2264 (Resolved): New user password change doesn't actually require a passw...https://issues.rhodecode.com/issues/22642015-07-27T17:22:56ZGreg Gauthiergreg@rhodecode.com
<p>When creating a new user, if you select "password change" checkbox to force a password change on the first login, the user will be prompted appropriately, but he doesn't actually have to supply a different password. It can be the exact same password he first logged on with. </p>
<p>In fact, if you go to @_admin/my_account/password@ after logging in, and execute a change of password, you can put the same password in all three fields, and it will be successful. Its as though we're not doing any checking at all. </p>
<p>Some thoughts I have:</p>
<ol>
<li><p>If we're going to include a "force change" for new users, it should actually <em>force</em> a change, and not allow me to simply use the same password over again.</p></li>
<li><p>For password changes on a logged in user:<br>
a. If we don't care that it's the same password, then we should simply offer a field for the new password, because the old one doesn't really matter.<br>
b. If we DO care that it's the same, then we should be checking, just like on new user logins. </p></li>
</ol>
<p>What do you guys think?</p>
RhodeCode CE/EE - Bug #1404 (Resolved): clone of really huge git repo (4gb) causes pyro to explodehttps://issues.rhodecode.com/issues/14042015-03-18T16:44:33ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>Client output <br>
$ time git clone <a href="http://admin@rc-beta.pnl.gov/ARES/AVID" class="external">http://admin@rc-beta.pnl.gov/ARES/AVID</a><br>
Cloning into 'AVID'...<br>
error: RPC failed; result=22, HTTP code = 500<br>
fatal: The remote end hung up unexpectedly</p>
<p>real 9m26.855s<br>
user 0m0.082s<br>
sys 0m0.249s</p>
<p>Enterprise-1.log output </p>
<p>2015-03-18 08:10:51.605 DEBUG [rhodecode.lib.middleware.vcs] request path: <code>/ARES/AVID/info/refs</code> detected as HG False<br>
2015-03-18 08:10:51.605 DEBUG [rhodecode.lib.middleware.vcs] request path: <code>/ARES/AVID/info/refs</code> detected as GIT True<br>
2015-03-18 08:10:51.605 DEBUG [rhodecode.lib.middleware.vcs] content not gzipped, gzipMiddleware passing request further<br>
2015-03-18 08:10:51.641 DEBUG [rhodecode.lib.middleware.simplevcs] Extracted repo name is ARES/AVID<br>
2015-03-18 08:10:51.642 DEBUG [rhodecode.lib.utils] Checking if repo: ARES/AVID is a valid path<br>
2015-03-18 08:10:51.642 DEBUG [rhodecode.lib.vcs.client] RepoMaker call on /data/rhodecode/ARES/AVID<br>
2015-03-18 08:10:51.642 DEBUG [rhodecode.lib.vcs.client] Calling @assert_correct_path<br>
2015-03-18 08:10:51.645 DEBUG [rhodecode.lib.vcs.client] RepoMaker call on /data/rhodecode/ARES/AVID<br>
2015-03-18 08:10:51.645 DEBUG [rhodecode.lib.vcs.client] Calling @is_path_valid_repository<br>
2015-03-18 08:10:51.651 DEBUG [beaker.container] lock_creatfunc (didnt wait)<br>
2015-03-18 08:10:51.651 DEBUG [beaker.container] get_value creating new value<br>
2015-03-18 08:10:51.654 DEBUG [beaker.container] set_value stored time 1426691451.654518 expire time 10<br>
2015-03-18 08:10:51.654 DEBUG [beaker.container] released create lock<br>
2015-03-18 08:10:51.655 DEBUG [beaker.container] lock_creatfunc (didnt wait)<br>
2015-03-18 08:10:51.655 DEBUG [beaker.container] get_value creating new value<br>
2015-03-18 08:10:51.663 DEBUG [beaker.container] set_value stored time 1426691451.663413 expire time 10<br>
2015-03-18 08:10:51.663 DEBUG [beaker.container] released create lock<br>
2015-03-18 08:10:51.664 DEBUG [beaker.container] lock_createfunc (waiting)<br>
2015-03-18 08:10:51.664 DEBUG [beaker.container] lock_createfunc (waited)<br>
2015-03-18 08:10:51.664 DEBUG [beaker.container] get_value creating new value<br>
2015-03-18 08:10:51.674 DEBUG [beaker.container] set_value stored time 1426691451.674971 expire time 10<br>
2015-03-18 08:10:51.675 DEBUG [beaker.container] released create lock<br>
2015-03-18 08:10:51.675 DEBUG [rhodecode.lib.auth] checking if ip:130.20.174.26 is subnet of set(['0.0.0.0/0', '::/0'])<br>
2015-03-18 08:10:51.675 DEBUG [rhodecode.lib.auth] IP 130.20.174.26 is network 0.0.0.0/0<br>
2015-03-18 08:10:51.676 DEBUG [rhodecode.lib.auth] IP:130.20.174.26 is in range of set(['0.0.0.0/0', '::/0'])<br>
2015-03-18 08:10:51.676 INFO [rhodecode.lib.middleware.simplevcs] Access for IP:130.20.174.26 allowed<br>
2015-03-18 08:10:51.676 DEBUG [rhodecode.lib.auth] No data in that could been used to log in<br>
2015-03-18 08:10:51.677 DEBUG [rhodecode.lib.auth] Failed to load user. Fallback to default user<br>
2015-03-18 08:10:51.677 DEBUG [rhodecode.model.user] doing fill data based on: user_id:1 api_key:None username:None<br>
2015-03-18 08:10:51.677 DEBUG [rhodecode.model.user] filling user: data<br>
2015-03-18 08:10:51.728 DEBUG [rhodecode.lib.auth] Auth User is now <br>
2015-03-18 08:10:51.728 DEBUG [rhodecode.lib.auth] Checking VCS protocol permissions set(['repository.read', 'repository.admin', 'repository.write']) for user: repo:<code>ARES/AVID</code><br>
2015-03-18 08:10:51.753 DEBUG [rhodecode.lib.auth] Computing PERMISSION tree for scope {'user_group_id': -1, 'repo_id': 1, 'repo_name': u'ARES/AVID', 'repo_group_id': -1}<br>
2015-03-18 08:10:51.837 DEBUG [rhodecode.lib.auth] PERMISSION tree computed [('repositories', 1), ('user_groups', 0), ('repositories_groups', 0), ('global', 11)]<br>
2015-03-18 08:10:51.837 DEBUG [rhodecode.lib.auth] Permission to repo:<code>ARES/AVID</code> GRANTED for user: @ PermissionMiddleware<br>
2015-03-18 08:10:51.838 DEBUG [beaker.container] lock_creatfunc (didnt wait)<br>
2015-03-18 08:10:51.838 DEBUG [beaker.container] get_value creating new value<br>
2015-03-18 08:10:51.840 DEBUG [beaker.container] set_value stored time 1426691451.840897 expire time 10<br>
2015-03-18 08:10:51.841 DEBUG [beaker.container] released create lock<br>
2015-03-18 08:10:51.841 DEBUG [rhodecode.lib.middleware.simplevcs] Repository path is /data/rhodecode/ARES/AVID<br>
2015-03-18 08:10:51.841 INFO [rhodecode.lib.middleware.simplevcs] pull action on git repo "ARES/AVID" by "default" from 130.20.174.26<br>
2015-03-18 08:10:51.841 DEBUG [rhodecode.lib.hooks_daemon] Preparing callback daemon and registering hook object<br>
2015-03-18 08:10:51.843 DEBUG [rhodecode.lib.hooks_daemon] Hooks uri is: PYRO:obj_4f77b244c6a94aa5976c9870c49968e3@localhost:53401<br>
2015-03-18 08:10:51.843 DEBUG [rhodecode.lib.hooks_daemon] Running event loop of callback daemon in background thread<br>
2015-03-18 08:10:51.844 DEBUG [rhodecode.lib.middleware.simplevcs] HOOKS extras is {'hooks': ['push', 'pull'], 'locked_by': [None, None, None], 'git_update_server_info': False, 'config': '/root/.rccontrol/enterprise-1/rhodecode.ini', 'ip': '130.20.174.26', 'make_lock': None, 'action': 'pull', 'git_path': '/opt/rhodecode/store/3flkiihiiifnpgz0rajf65x407ij4vvi-python2.7-RhodeCodeEnterprise-3.1.0/bin/git', 'username': u'default', 'repository': 'ARES/AVID', 'hooks_uri': 'PYRO:obj_4f77b244c6a94aa5976c9870c49968e3@localhost:53401', 'server_url': '<a href="http://rc-beta.pnl.gov" class="external">http://rc-beta.pnl.gov</a>', 'scm': 'git'}<br>
2015-03-18 08:10:51.844 DEBUG [rhodecode.lib.middleware.utils.wsgi_app_caller_client] Forwarding WSGI request via proxy <br>
[2015-03-18 08:17:09 +0000] [10955] [CRITICAL] WORKER TIMEOUT (pid:10986)<br>
2015-03-18 08:17:09.263 DEBUG [rhodecode.lib.hooks_daemon] Waiting for background thread to finish.<br>
2015-03-18 08:17:09.275 INFO [rhodecode.lib.middleware.wrapper] IP: 130.20.174.26 Request to /ARES/AVID/info/refs time: 3600.012s<br>
[2015-03-18 08:17:09 +0000] [10986] [INFO] Worker exiting (pid: 10986)<br>
Exception TypeError: TypeError('an integer is required',) in > ignored<br>
Exception TypeError: TypeError('an integer is required',) in > ignored<br>
[2015-03-18 08:17:09 +0000] [23186] [INFO] Booting worker with pid: 23186<br>
2015-03-18 08:17:09.395 DEBUG [rhodecode.lib.middleware.utils.wsgi_app_caller_client] Got result from proxy, returning to WSGI container<br>
2015-03-18 08:17:09.396 DEBUG [rhodecode.lib.hooks_daemon] Waiting for background thread to finish.<br>
2015-03-18 08:17:09.403 INFO [rhodecode.lib.middleware.wrapper] IP: 130.20.174.26 Request to /ARES/AVID/info/refs time: 377.799s<br>
2015-03-18 08:17:09.825 DEBUG [rhodecode.lib.middleware.vcs] request path: <code>/ARES/AVID/git-upload-pack</code> detected as HG False<br>
2015-03-18 08:17:09.825 DEBUG [rhodecode.lib.middleware.vcs] request path: <code>/ARES/AVID/git-upload-pack</code> detected as GIT True<br>
2015-03-18 08:17:09.826 DEBUG [rhodecode.lib.middleware.vcs] content not gzipped, gzipMiddleware passing request further<br>
2015-03-18 08:17:09.861 DEBUG [rhodecode.lib.middleware.simplevcs] Extracted repo name is ARES/AVID<br>
2015-03-18 08:17:09.862 DEBUG [rhodecode.lib.utils] Checking if repo: ARES/AVID is a valid path<br>
2015-03-18 08:17:09.862 DEBUG [rhodecode.lib.vcs.client] RepoMaker call on /data/rhodecode/ARES/AVID<br>
2015-03-18 08:17:09.862 DEBUG [rhodecode.lib.vcs.client] Calling @assert_correct_path<br>
2015-03-18 08:17:09.865 DEBUG [rhodecode.lib.vcs.client] RepoMaker call on /data/rhodecode/ARES/AVID<br>
2015-03-18 08:17:09.866 DEBUG [rhodecode.lib.vcs.client] Calling @is_path_valid_repository<br>
2015-03-18 08:17:09.873 DEBUG [beaker.container] lock_creatfunc (didnt wait)<br>
2015-03-18 08:17:09.873 DEBUG [beaker.container] get_value creating new value<br>
2015-03-18 08:17:09.876 DEBUG [beaker.container] set_value stored time 1426691829.876274 expire time 10<br>
2015-03-18 08:17:09.876 DEBUG [beaker.container] released create lock<br>
2015-03-18 08:17:09.877 DEBUG [beaker.container] lock_creatfunc (didnt wait)<br>
2015-03-18 08:17:09.877 DEBUG [beaker.container] get_value creating new value<br>
2015-03-18 08:17:09.885 DEBUG [beaker.container] set_value stored time 1426691829.88527 expire time 10<br>
2015-03-18 08:17:09.885 DEBUG [beaker.container] released create lock<br>
2015-03-18 08:17:09.886 DEBUG [beaker.container] lock_creatfunc (didnt wait)<br>
2015-03-18 08:17:09.886 DEBUG [beaker.container] get_value creating new value<br>
2015-03-18 08:17:09.894 DEBUG [beaker.container] set_value stored time 1426691829.894015 expire time 10<br>
2015-03-18 08:17:09.894 DEBUG [beaker.container] released create lock<br>
2015-03-18 08:17:09.894 DEBUG [rhodecode.lib.auth] checking if ip:130.20.174.26 is subnet of set(['0.0.0.0/0', '::/0'])<br>
2015-03-18 08:17:09.894 DEBUG [rhodecode.lib.auth] IP 130.20.174.26 is network 0.0.0.0/0<br>
2015-03-18 08:17:09.895 DEBUG [rhodecode.lib.auth] IP:130.20.174.26 is in range of set(['0.0.0.0/0', '::/0'])<br>
2015-03-18 08:17:09.895 INFO [rhodecode.lib.middleware.simplevcs] Access for IP:130.20.174.26 allowed<br>
2015-03-18 08:17:09.896 DEBUG [rhodecode.lib.auth] No data in that could been used to log in<br>
2015-03-18 08:17:09.896 DEBUG [rhodecode.lib.auth] Failed to load user. Fallback to default user<br>
2015-03-18 08:17:09.896 DEBUG [rhodecode.model.user] doing fill data based on: user_id:1 api_key:None username:None<br>
2015-03-18 08:17:09.896 DEBUG [rhodecode.model.user] filling user: data<br>
2015-03-18 08:17:10.039 DEBUG [rhodecode.lib.auth] Auth User is now <br>
2015-03-18 08:17:10.040 DEBUG [rhodecode.lib.auth] Checking VCS protocol permissions set(['repository.read', 'repository.admin', 'repository.write']) for user: repo:<code>ARES/AVID</code><br>
2015-03-18 08:17:10.064 DEBUG [rhodecode.lib.auth] Computing PERMISSION tree for scope {'user_group_id': -1, 'repo_id': 1, 'repo_name': u'ARES/AVID', 'repo_group_id': -1}<br>
2015-03-18 08:17:10.142 DEBUG [rhodecode.lib.auth] PERMISSION tree computed [('repositories', 1), ('user_groups', 0), ('repositories_groups', 0), ('global', 11)]<br>
2015-03-18 08:17:10.142 DEBUG [rhodecode.lib.auth] Permission to repo:<code>ARES/AVID</code> GRANTED for user: @ PermissionMiddleware<br>
2015-03-18 08:17:10.143 DEBUG [beaker.container] lock_creatfunc (didnt wait)<br>
2015-03-18 08:17:10.143 DEBUG [beaker.container] get_value creating new value<br>
2015-03-18 08:17:10.146 DEBUG [beaker.container] set_value stored time 1426691830.146178 expire time 10<br>
2015-03-18 08:17:10.146 DEBUG [beaker.container] released create lock<br>
2015-03-18 08:17:10.146 DEBUG [rhodecode.lib.middleware.simplevcs] Repository path is /data/rhodecode/ARES/AVID<br>
2015-03-18 08:17:10.146 INFO [rhodecode.lib.middleware.simplevcs] pull action on git repo "ARES/AVID" by "default" from 130.20.174.26<br>
2015-03-18 08:17:10.147 DEBUG [rhodecode.lib.hooks_daemon] Preparing callback daemon and registering hook object<br>
2015-03-18 08:17:10.148 DEBUG [rhodecode.lib.hooks_daemon] Hooks uri is: PYRO:obj_7893cae0439a4a6f914402911a4e80e5@localhost:41917<br>
2015-03-18 08:17:10.148 DEBUG [rhodecode.lib.hooks_daemon] Running event loop of callback daemon in background thread<br>
2015-03-18 08:17:10.149 DEBUG [rhodecode.lib.middleware.simplevcs] HOOKS extras is {'hooks': ['push', 'pull'], 'locked_by': [None, None, None], 'git_update_server_info': False, 'config': '/root/.rccontrol/enterprise-1/rhodecode.ini', 'ip': '130.20.174.26', 'make_lock': None, 'action': 'pull', 'git_path': '/opt/rhodecode/store/3flkiihiiifnpgz0rajf65x407ij4vvi-python2.7-RhodeCodeEnterprise-3.1.0/bin/git', 'username': u'default', 'repository': 'ARES/AVID', 'hooks_uri': 'PYRO:obj_7893cae0439a4a6f914402911a4e80e5@localhost:41917', 'server_url': '<a href="http://rc-beta.pnl.gov" class="external">http://rc-beta.pnl.gov</a>', 'scm': 'git'}<br>
2015-03-18 08:17:10.149 DEBUG [rhodecode.lib.middleware.utils.wsgi_app_caller_client] Forwarding WSGI request via proxy <br>
2015-03-18 08:17:10.157 DEBUG [rhodecode.lib.hooks_daemon] Called pre_pull of Hooks object<br>
2015-03-18 08:17:10.638 DEBUG [pylons.configuration] Initializing configuration, package: 'rhodecode'<br>
2015-03-18 08:17:10.662 INFO [rhodecode.config.environment] Enabled backends: ['hg', 'git', 'svn']<br>
2015-03-18 08:17:10.669 INFO [rhodecode.model] initializing db for sqlite:////root/.rccontrol/enterprise-1/rhodecode.db<br>
2015-03-18 08:17:10.669 INFO [rhodecode.lib.auth] getting information about all available permissions<br>
2015-03-18 08:17:10.789 DEBUG [beaker.container] lock_createfunc (waiting)<br>
2015-03-18 08:17:10.789 DEBUG [beaker.container] lock_createfunc (waited)<br>
2015-03-18 08:17:10.789 DEBUG [beaker.container] get_value creating new value<br>
2015-03-18 08:17:10.792 DEBUG [beaker.container] set_value stored time 1426691830.792969 expire time 10<br>
2015-03-18 08:17:10.793 DEBUG [beaker.container] released create lock<br>
2015-03-18 08:17:10.793 DEBUG [rhodecode.lib.utils] settings ui from db: [hooks] changegroup.repo_size=python:vcsserver.hooks.repo_size<br>
2015-03-18 08:17:10.793 DEBUG [rhodecode.lib.utils] settings ui from db: [hooks] preoutgoing.pre_pull=python:vcsserver.hooks.pre_pull<br>
2015-03-18 08:17:10.793 DEBUG [rhodecode.lib.utils] settings ui from db: [hooks] outgoing.pull_logger=python:vcsserver.hooks.log_pull_action<br>
2015-03-18 08:17:10.793 DEBUG [rhodecode.lib.utils] settings ui from db: [hooks] prechangegroup.pre_push=python:vcsserver.hooks.pre_push<br>
2015-03-18 08:17:10.793 DEBUG [rhodecode.lib.utils] settings ui from db: [hooks] changegroup.push_logger=python:vcsserver.hooks.log_push_action<br>
2015-03-18 08:17:10.793 DEBUG [rhodecode.lib.utils] settings ui from db: [extensions] largefiles=<br>
2015-03-18 08:17:10.794 DEBUG [rhodecode.lib.utils] settings ui from db: [largefiles] usercache=/data/rhodecode/.cache/largefiles<br>
2015-03-18 08:17:10.794 DEBUG [rhodecode.lib.utils] settings ui from db: [vcs_svn_branch] 9aac1a38c3b8a0cdc4ae0f960a5f83332bc4fa5e=/branches/*<br>
2015-03-18 08:17:10.794 DEBUG [rhodecode.lib.utils] settings ui from db: [vcs_svn_branch] c7e6a611c87da06529fd0dd733308481d67c71a8=/trunk<br>
2015-03-18 08:17:10.794 DEBUG [rhodecode.lib.utils] settings ui from db: [vcs_svn_tag] ff89f8c714d135d865f44b90e5413b88de19a55f=/tags/*<br>
2015-03-18 08:17:10.794 DEBUG [rhodecode.lib.utils] settings ui from db: [web] push_ssl=false<br>
2015-03-18 08:17:10.794 DEBUG [rhodecode.lib.utils] settings ui from db: [web] allow_archive=gz zip bz2<br>
2015-03-18 08:17:10.794 DEBUG [rhodecode.lib.utils] settings ui from db: [web] allow_push=*<br>
2015-03-18 08:17:10.794 DEBUG [rhodecode.lib.utils] settings ui from db: [web] baseurl=/<br>
2015-03-18 08:17:10.794 DEBUG [rhodecode.lib.utils] settings ui from db: [paths] /=/data/rhodecode<br>
2015-03-18 08:17:10.794 DEBUG [rhodecode.lib.utils] settings ui from db: [phases] publish=true<br>
2015-03-18 08:17:10.795 DEBUG [beaker.container] lock_createfunc (waiting)<br>
2015-03-18 08:17:10.795 DEBUG [beaker.container] lock_createfunc (waited)<br>
2015-03-18 08:17:10.795 DEBUG [beaker.container] get_value creating new value<br>
2015-03-18 08:17:10.799 DEBUG [beaker.container] set_value stored time 1426691830.799373 expire time 10<br>
2015-03-18 08:17:10.799 DEBUG [beaker.container] released create lock<br>
2015-03-18 08:17:10.803 INFO [rhodecode.model.scm] scanning for repositories in /data/rhodecode<br>
2015-03-18 08:17:10.804 DEBUG [rhodecode.lib.utils] settings ui from db: [hooks] changegroup.repo_size=python:vcsserver.hooks.repo_size<br>
2015-03-18 08:17:10.804 DEBUG [rhodecode.lib.utils] settings ui from db: [hooks] preoutgoing.pre_pull=python:vcsserver.hooks.pre_pull<br>
2015-03-18 08:17:10.804 DEBUG [rhodecode.lib.utils] settings ui from db: [hooks] outgoing.pull_logger=python:vcsserver.hooks.log_pull_action<br>
2015-03-18 08:17:10.804 DEBUG [rhodecode.lib.utils] settings ui from db: [hooks] prechangegroup.pre_push=python:vcsserver.hooks.pre_push<br>
2015-03-18 08:17:10.805 DEBUG [rhodecode.lib.utils] settings ui from db: [hooks] changegroup.push_logger=python:vcsserver.hooks.log_push_action<br>
2015-03-18 08:17:10.805 DEBUG [rhodecode.lib.utils] settings ui from db: [extensions] largefiles=<br>
2015-03-18 08:17:10.805 DEBUG [rhodecode.lib.utils] settings ui from db: [largefiles] usercache=/data/rhodecode/.cache/largefiles<br>
2015-03-18 08:17:10.805 DEBUG [rhodecode.lib.utils] settings ui from db: [vcs_svn_branch] 9aac1a38c3b8a0cdc4ae0f960a5f83332bc4fa5e=/branches/*<br>
2015-03-18 08:17:10.805 DEBUG [rhodecode.lib.utils] settings ui from db: [vcs_svn_branch] c7e6a611c87da06529fd0dd733308481d67c71a8=/trunk<br>
2015-03-18 08:17:10.805 DEBUG [rhodecode.lib.utils] settings ui from db: [vcs_svn_tag] ff89f8c714d135d865f44b90e5413b88de19a55f=/tags/*<br>
2015-03-18 08:17:10.805 DEBUG [rhodecode.lib.utils] settings ui from db: [web] push_ssl=false<br>
2015-03-18 08:17:10.805 DEBUG [rhodecode.lib.utils] settings ui from db: [web] allow_archive=gz zip bz2<br>
2015-03-18 08:17:10.805 DEBUG [rhodecode.lib.utils] settings ui from db: [web] allow_push=*<br>
2015-03-18 08:17:10.805 DEBUG [rhodecode.lib.utils] settings ui from db: [web] baseurl=/<br>
2015-03-18 08:17:10.806 DEBUG [rhodecode.lib.utils] settings ui from db: [paths] /=/data/rhodecode<br>
2015-03-18 08:17:10.806 DEBUG [rhodecode.lib.utils] settings ui from db: [phases] publish=true<br>
2015-03-18 08:17:10.807 DEBUG [rhodecode.lib.utils] now scanning in /data/rhodecode location recursive:True...<br>
2015-03-18 08:17:10.819 DEBUG [rhodecode.lib.vcs.client] RepoMaker call on /data/rhodecode/ARES<br>
2015-03-18 08:17:10.819 DEBUG [rhodecode.lib.vcs.client] Calling @assert_correct_path<br>
2015-03-18 08:19:19.359 DEBUG [rhodecode.lib.hooks_daemon] Called post_pull of Hooks object<br>
2015-03-18 08:19:19.396 INFO [rhodecode.lib.utils] Logging action:pull on ARES/AVID by user: ip:130.20.174.26<br>
2015-03-18 08:20:18.423 DEBUG [rhodecode.lib.hooks_daemon] Waiting for background thread to finish.<br>
2015-03-18 08:20:18.431 ERROR [rhodecode.lib.middleware.simplevcs] Exception while handling request<br>
Traceback (most recent call last):<br>
File "/opt/rhodecode/store/3flkiihiiifnpgz0rajf65x407ij4vvi-python2.7-RhodeCodeEnterprise-3.1.0/lib/python2.7/site-packages/rhodecode/lib/middleware/simplevcs.py", line 176, in <strong>call</strong><br>
File "/opt/rhodecode/store/3flkiihiiifnpgz0rajf65x407ij4vvi-python2.7-RhodeCodeEnterprise-3.1.0/lib/python2.7/site-packages/rhodecode/lib/middleware/simplevcs.py", line 346, in <u>handle_request<br>
File "/opt/rhodecode/store/3flkiihiiifnpgz0rajf65x407ij4vvi-python2.7-RhodeCodeEnterprise-3.1.0/lib/python2.7/site-packages/rhodecode/lib/middleware/utils/wsgi_app_caller_client.py", line 63, in __call</u>_<br>
File "/opt/rhodecode/store/9vcwk4p43qz5qlyizrha992q2kj0g6yr-python2.7-Pyro4-4.31/lib/python2.7/site-packages/Pyro4/core.py", line 169, in <strong>call</strong><br>
return self.<strong>send(self.</strong>name, args, kwargs)<br>
File "/opt/rhodecode/store/9vcwk4p43qz5qlyizrha992q2kj0g6yr-python2.7-Pyro4-4.31/lib/python2.7/site-packages/Pyro4/core.py", line 388, in _pyroInvoke<br>
raise data<br>
error: 'i' format requires -2147483648 <= number <= 2147483647<br>
2015-03-18 08:20:18.433 INFO [rhodecode.lib.middleware.wrapper] IP: 130.20.174.26 Request to /ARES/AVID/git-upload-pack time: 188.608s</p>
<p>There's also an [2015-03-18 08:17:09 +0000] [10955] [CRITICAL] WORKER TIMEOUT (pid:10986) entry, we're trying to veirfy if this is not underlying problem.</p>
RhodeCode CE/EE - Feature #1131 (Resolved): Implement default reviewers for code reviewhttps://issues.rhodecode.com/issues/11312015-02-17T11:19:07ZAnderson Santosanderson@rhodecode.com
<p>Currently it puts as a reviewer the owner of the repo. I don't know if there's an alternate way, but in case of RCE is Johannes, so every time we create a new PR, he will be selected even though most of the cases it will be some other member who will review it. </p>
<p>I propose we use this behavior only as a fallback and add an option to the repo to select the default reviewers. That way, we could even let the field blank and it will force the user to select a reviewer or something like that. The consequences still must be discussed.</p>
RhodeCode CE/EE - Feature #1055 (Resolved): [pr, vcs] Expose the shadow repository of a pull requesthttps://issues.rhodecode.com/issues/10552015-02-05T15:45:55ZJohannes Bornholdjohannes@rhodecode.com
<p>The idea: Since we have a shadow repository which we use to find out if a merge operation would be successful, we can expose this repository so that a CI server could fetch directly the merge result out of this Shadow and run the tests based on this.</p>