RhodeCode - issues: Issueshttps://issues.rhodecode.com/https://issues.rhodecode.com/favicon.ico?16960560042020-07-02T19:24:39ZRhodeCode - issues
Redmine RhodeCode CE/EE - Bug #5626 (New): Whoosh full-text indexing is fully indexing all repos, not rec...https://issues.rhodecode.com/issues/56262020-07-02T19:24:39ZRussell Warren
<p>I just initiated whoosh fulltext indexing and I can see that it is fully indexing all commits in all repos, regardless of whether they are forks of an already-indexed repo.</p>
<p>If I'm correct on this, this is extremely inefficient. Whoosh should not need to index identical commits in forks.</p>
RhodeCode CE/EE - Bug #5588 (New): wrong rendering of issue tracker patternhttps://issues.rhodecode.com/issues/55882020-01-29T11:24:36ZOlivier Renaud
<p>Consider this issue tracker pattern rule:</p>
<p>Pattern: (?i)\b(?P(ABC|DEF)-\d+)\b<br>
Url: <a href="https://jira.mycompany.com/browse/${issue_id}" class="external">https://jira.mycompany.com/browse/${issue_id}</a></p>
<p>The pattern correctly matches "abc-123" and creates the correct link, but the text rendered is "abc-123abc".</p>
<p>It seems that the combination of a named group and an anonymous capturing group causes this problem. If I make the group non-capturable, it fixes the rendering:</p>
<p>Pattern: (?i)\b(?P(?:ABC|DEF)-\d+)\b<br>
Url: <a href="https://jira.mycompany.com/browse/${issue_id}" class="external">https://jira.mycompany.com/browse/${issue_id}</a></p>
RhodeCode Control - Feature #5582 (New): Add the version number of a PR in the HTTP APIhttps://issues.rhodecode.com/issues/55822020-01-15T10:45:22ZOlivier Renaud
<p>The JSON response of <code>get_pull_request</code> does not include the version number of the pull request (the one that gets incremented when a PR is updated with new commits). It would be a useful information to report in my use case (writing a bot that acts as a PR reviewer for TeamCity builds).</p>
<p>Using the Python api, I can find the version number with this code, but there is no workaround when working with the HTTP API.</p>
<pre><code class="python syntaxhl" data-language="python"><span class="n">pr</span> <span class="o">=</span> <span class="n">PullRequest</span><span class="p">.</span><span class="n">get</span><span class="p">(</span><span class="n">pr_id</span><span class="p">)</span>
<span class="n">pr_version</span> <span class="o">=</span> <span class="n">pr</span><span class="p">.</span><span class="n">versions</span><span class="p">.</span><span class="n">count</span><span class="p">()</span> <span class="o">+</span> <span class="mi">1</span>
</code></pre> RhodeCode CE/EE - Bug #5573 (Resolved): Wrong notification Base Url for Email-Integrationshttps://issues.rhodecode.com/issues/55732019-11-21T11:06:50ZAlessandro Ceglie
<p>Hello,<br>
since last update (4.17.4 CE) the base url in integration email notification has changed in </p>
<p>notification from RhodeCode. <strong><a href="http://rhodecode.local" class="external">http://rhodecode.local</a></strong></p>
<p>So in the email, the link to specific commits is something like:</p>
<p>http://<strong>rhodecode.local</strong>/[....]/changeset/1d7d6e009687c7317af54afbecf20a05ba5c87ae</p>
<p>I did not found any configuration about that searching in rhodecode.ini, system settings interface or even postgresql.</p>
<p>thanks.<br>
alessandro</p>
RhodeCode Control - Bug #5535 (New): improper rollback on upgrade failurehttps://issues.rhodecode.com/issues/55352019-02-09T21:12:54ZCatalin Salgau
<p>Behaviour probably not strictly related to version, but for context. (I accept that those old versions are no longer supported.)<br>
Migrating a 2.1.0 instance to 2.2.8 hit an error relating to a package rename (pkg_resources.DistributionNotFound: rhodecodemomentum) and attempted rollback.<br>
<em>instancename/profile</em> symlink was rolled back, but not the rhodecode.ini file, resulting in the app egg still pointing to egg:rhodecodemomentum and the instance failing to restart.<br>
Manually renaming rhodecode.backup_2.1.0.ini back fixed the issue.</p>
RhodeCode Control - Feature #5534 (New): extract/preload subcommandhttps://issues.rhodecode.com/issues/55342019-02-09T20:22:48ZCatalin Salgau
<p>Per documentation, restoring an instance involves creating a new instance and replacing files.<br>
Assuming one is restoring their entire ~/.rccontrol folder, the issue, as I see it, comes down to not having the required files expanded under the NIX store, as symlinked from <em>instancename/profile</em>.<br>
I'd like to suggest an <em>rccontrol extract</em> command that downloads (if not in cache/offline) and extracts the proper files on restore/upgrade, without the intermediary new instance step.<br>
This would also simplify cleanup of the nix store on live instances.</p>
RhodeCode Control - Feature #5533 (In Progress): Support busybox tarhttps://issues.rhodecode.com/issues/55332019-02-09T19:51:04ZCatalin Salgau
<p>Busybox tar does not handle --usage(as GNU tar does).<br>
Switching rccontrol from </p>
<pre><code> local_command("tar", '--usage')
</code></pre>
<p>to</p>
<pre><code> local_command("tar", '--help')
</code></pre>
<p>yields the same effect while being more inclusive.</p>
RhodeCode Tools - Bug #5531 (New): rhodecode-index: default cli opts overwrite given mapping filehttps://issues.rhodecode.com/issues/55312019-02-08T16:34:36ZPeter Colledge
<p>For example, if I provide a mapping file with</p>
<pre><code>[__DEFAULT__]
repo_limit = 1
</code></pre>
<p>I still get an unlimited limit, which is the default CLI param, until I explicitly use the CLI param <code>rhodecode-index... --repo-limit 1</code></p>
<p>See parse_opts in rhodecode_tools/commands/index.py </p>
<p>Version 756dd5c2d0b6 (v1.1.0) of cloned+venv'ed rhodecode-tools-ce.</p>
RhodeCode CE/EE - Bug #5518 (Resolved): Zero-sized files in /rhodecode/config/rcextensions/exampleshttps://issues.rhodecode.com/issues/55182018-12-11T15:03:29ZAlexander Altynchurin
<p>There are two examples in rcextensions that have zero size</p>
<p><a href="https://code.rhodecode.com/rhodecode-enterprise-ce/files/fd4b2bf5348f1def66ac9495be06eac1e60f8fae/rhodecode/config/rcextensions/examples" class="external">https://code.rhodecode.com/rhodecode-enterprise-ce/files/fd4b2bf5348f1def66ac9495be06eac1e60f8fae/rhodecode/config/rcextensions/examples</a></p>
RhodeCode CE/EE - Bug #5506 (New): Web UI fonts are not looking good and is difficult to read for...https://issues.rhodecode.com/issues/55062018-10-26T01:39:43ZArun Chandrasekaran
<p>RC Web UI fonts are not looking that good. The current font family is ""proximanovaregular","Proxima Nova Regular","Proxima Nova",sans-serif". The font size is too small as well (by default). Too much space is wasted on the UI.</p>
<p>GitHub/GitLab/Kallithea fonts look much better and the UI space appears to be well utilized in Kallithea.</p>
RhodeCode Control - Bug #5501 (New): rccontrol throwing rccontrol.lib.exceptions.SupervisorFailed...https://issues.rhodecode.com/issues/55012018-10-12T14:37:19Zdan m
<p>Attempting to run any command that invokes supervisord gives me the following STE:</p>
<p>$ rccontrol status community-1<br>
RHODECODE CONTROL VERSION: 1.19.2<br>
Starting supervisord.<br>
Traceback (most recent call last):<br>
File "/opt/rhodecode/store/i58g29lpsgfr7jxsirfx2xsjhddllrc5-python2.7-supervisor-3.3.4/bin/.supervisord-wrapped", line 12, in <br>
sys.exit(main())<br>
File "/opt/rhodecode/store/i58g29lpsgfr7jxsirfx2xsjhddllrc5-python2.7-supervisor-3.3.4/lib/python2.7/site-packages/supervisor/supervisord.py", line 357, in main<br>
go(options)<br>
File "/opt/rhodecode/store/i58g29lpsgfr7jxsirfx2xsjhddllrc5-python2.7-supervisor-3.3.4/lib/python2.7/site-packages/supervisor/supervisord.py", line 367, in go<br>
d.main()<br>
File "/opt/rhodecode/store/i58g29lpsgfr7jxsirfx2xsjhddllrc5-python2.7-supervisor-3.3.4/lib/python2.7/site-packages/supervisor/supervisord.py", line 67, in main<br>
self.options.set_rlimits_or_exit()<br>
File "/opt/rhodecode/store/i58g29lpsgfr7jxsirfx2xsjhddllrc5-python2.7-supervisor-3.3.4/lib/python2.7/site-packages/supervisor/options.py", line 1398, in set_rlimits_or_exit<br>
soft, hard = resource.getrlimit(res)<br>
resource.error: (38, 'Function not implemented')<br>
Supervisord did not start properly.<br>
Traceback (most recent call last):<br>
File "/opt/rhodecode/store/hvmz2dqbl1ha75bnw4gh7kgy6wqk62jz-python2.7-rhodecode-control-1.19.2/bin/..rccontrol-wrapped-wrapped", line 12, in <br>
sys.exit(cmd())<br>
File "/opt/rhodecode/store/hvmz2dqbl1ha75bnw4gh7kgy6wqk62jz-python2.7-rhodecode-control-1.19.2/lib/python2.7/site-packages/rccontrol/main.py", line 54, in cmd<br>
File "/opt/rhodecode/store/bbsdjfz28lj6g8s90wbj6i746nwxhh2s-python2.7-click-6.6/lib/python2.7/site-packages/click/core.py", line 716, in <strong>call</strong><br>
return self.main(*args, **kwargs)<br>
File "/opt/rhodecode/store/bbsdjfz28lj6g8s90wbj6i746nwxhh2s-python2.7-click-6.6/lib/python2.7/site-packages/click/core.py", line 696, in main<br>
rv = self.invoke(ctx)<br>
File "/opt/rhodecode/store/bbsdjfz28lj6g8s90wbj6i746nwxhh2s-python2.7-click-6.6/lib/python2.7/site-packages/click/core.py", line 1060, in invoke<br>
return _process_result(sub_ctx.command.invoke(sub_ctx))<br>
File "/opt/rhodecode/store/bbsdjfz28lj6g8s90wbj6i746nwxhh2s-python2.7-click-6.6/lib/python2.7/site-packages/click/core.py", line 889, in invoke<br>
return ctx.invoke(self.callback, **ctx.params)<br>
File "/opt/rhodecode/store/bbsdjfz28lj6g8s90wbj6i746nwxhh2s-python2.7-click-6.6/lib/python2.7/site-packages/click/core.py", line 534, in invoke<br>
return callback(*args, **kwargs)<br>
File "/opt/rhodecode/store/bbsdjfz28lj6g8s90wbj6i746nwxhh2s-python2.7-click-6.6/lib/python2.7/site-packages/click/decorators.py", line 64, in new_func<br>
return ctx.invoke(f, obj, *args[1:], **kwargs)<br>
File "/opt/rhodecode/store/bbsdjfz28lj6g8s90wbj6i746nwxhh2s-python2.7-click-6.6/lib/python2.7/site-packages/click/core.py", line 534, in invoke<br>
return callback(*args, **kwargs)<br>
File "/opt/rhodecode/store/hvmz2dqbl1ha75bnw4gh7kgy6wqk62jz-python2.7-rhodecode-control-1.19.2/lib/python2.7/site-packages/rccontrol/status.py", line 21, in cmd<br>
File "/opt/rhodecode/store/hvmz2dqbl1ha75bnw4gh7kgy6wqk62jz-python2.7-rhodecode-control-1.19.2/lib/python2.7/site-packages/rccontrol/lib/utils.py", line 431, in wrapper<br>
File "/opt/rhodecode/store/hvmz2dqbl1ha75bnw4gh7kgy6wqk62jz-python2.7-rhodecode-control-1.19.2/lib/python2.7/site-packages/rccontrol/status.py", line 34, in main<br>
File "/opt/rhodecode/store/hvmz2dqbl1ha75bnw4gh7kgy6wqk62jz-python2.7-rhodecode-control-1.19.2/lib/python2.7/site-packages/rccontrol/lib/context.py", line 1951, in status<br>
File "/opt/rhodecode/store/hvmz2dqbl1ha75bnw4gh7kgy6wqk62jz-python2.7-rhodecode-control-1.19.2/lib/python2.7/site-packages/rccontrol/lib/context.py", line 1059, in get_process_status<br>
File "/opt/rhodecode/store/hvmz2dqbl1ha75bnw4gh7kgy6wqk62jz-python2.7-rhodecode-control-1.19.2/lib/python2.7/site-packages/rccontrol/lib/context.py", line 1049, in get_process_info<br>
File "/opt/rhodecode/store/hvmz2dqbl1ha75bnw4gh7kgy6wqk62jz-python2.7-rhodecode-control-1.19.2/lib/python2.7/site-packages/rccontrol/lib/context.py", line 1326, in xmlrpc<br>
rccontrol.lib.exceptions.SupervisorFailedToStart</p>
<p>RC version: 1.19.2<br>
What's installed: 1 CE instance, 1 VCSServer instance<br>
OS: CentOs 6.10 (updates current up to the past week or so)</p>
<p>Comments to follow</p>
RhodeCode Tools - Bug #5450 (New): rhodecode-api get_license_info no longer workshttps://issues.rhodecode.com/issues/54502018-03-19T18:16:55ZGildas Fargeasgildas.fargeas@nerd.nintendo.com
<p>I just noticed that but it seems the method get_license_info no longer works in the api.<br>
I get the same error using either a curl request or rhodecode-api bin. I also checked get_users and it works fine.<br>
Can you reproduce this error ?</p>
<pre><code>ERROR: Backend server at `http://127.0.0.1:10002/_admin/api` returned non 2XX http code (500). Please make sure it is running and accepting connections. Original response: <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Error - 500 Internal Server Error</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="robots" content="index, nofollow"/>
<link rel="icon" href="/_static/rhodecode/images/favicon.ico" sizes="16x16 32x32" type="image/png" />
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<link rel="stylesheet" type="text/css" href="/_static/rhodecode/css/style.css" media="screen"/>
<!--[if IE]>
<link rel="stylesheet" type="text/css" href="/_static/rhodecode/css/ie.css" media="screen"/>
<![endif]-->
<style>body { background:#eeeeee; }</style>
<script type="text/javascript">
// register templateContext to pass template variables to JS
var templateContext = {timeago: {}};
</script>
<script type="text/javascript" src="/_static/rhodecode/js/scripts.js"></script>
</head>
<body>
<div class="wrapper error_page">
<div class="sidebar">
<a href="/"><img class="error-page-logo" src="/_static/rhodecode/images/RhodeCode_Logo_Black.png" alt="RhodeCode"/></a>
</div>
<div class="main-content">
<h1>
<span class="error-branding">
RhodeCode
</span><br/>
500 Internal Server Error | <span class="error_message">The server has either erred or is incapable of performing the requested operation.</span>
</h1>
<div class="inner-column">
<h4>Possible Causes</h4>
<ul>
<li>Server is overloaded.</li>
<li>Server database connection is lost.</li>
<li>Server expected unhandled error.</li>
</ul>
</div>
<div class="inner-column">
<h4>Support</h4>
<p>For support, go to <a href="https://rhodecode.com/help/" target="_blank">Support</a>.
It may be useful to include your log file; see the log file locations <a href="https://rhodecode.com/r1/enterprise/docs/admin-system-overview/">here</a>.
</p>
</div>
<div class="inner-column">
<h4>Documentation</h4>
<p>For more information, see <a href="https://rhodecode.com/r1/enterprise/docs/">docs.rhodecode.com</a>.</p>
</div>
</div>
</div>
</body>
</html>
None
</code></pre> RhodeCode CE/EE - Bug #5414 (New): When Opening New Pull Request, Target Revision Default Is Unde...https://issues.rhodecode.com/issues/54142018-01-12T22:28:55ZPeter Rebholz
<p>Version Info:</p>
<p>RhodeCode 4.10.6 Enterprise Edition<br>
CentOS 7<br>
PostgreSQL 10.1</p>
<p>Issue:</p>
<p>We're testing out upgrading to 4.10.6 from a fairly old version and hit a snag that is going to keep us from upgrading. When opening a new pull request for a Hg repository, initiated from the Changelog screen, the default target revision is particularly poor for our workflow/use case. We're seeing it default to the <code>default</code> branch or, in repositories where the <code>default</code> branch is closed, the very first revision of the repository. It takes a really long time for RhodeCode to count every commit from the beginning of time to the present and further, if you change the branch while it's working, you get a browser alert dialog (see attached).</p>
<p>This has a significant impact on our workflow as every user is going to hit this every time they try and open a pull request. We use bookmarks as the source revision for pull requests so and are usually requesting things be merged into the same branch, thus the best default <u>for us</u> would be the same branch. However, having no default would be preferable to the wrong default and a long processing time + error pop-up.</p>
<p>The only workaround I have found is initiating the pull request from the pull requests page and setting the target revision <u>before</u> setting the source revision. This isn't a great work around.</p>
RhodeCode CE/EE - Feature #3977 (New): Wikihttps://issues.rhodecode.com/issues/39772016-06-05T21:11:47Ztomekj2ee tomekj2ee
<p>Include wiki pages like Gitlab.</p>
RhodeCode Tools - Task #3333 (New): Create rhodecode-tools backup command for backup of RhodeCode...https://issues.rhodecode.com/issues/33332016-03-17T12:43:52ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>We should create a backup command that allows to backup instances.</p>
<ul>
<li>needs to be atomic for repositories so we don't catch a push in progress operation</li>
<li>needs to identify all required files to backup including configs, extra hooks, gists, databases etc</li>
</ul>