RhodeCode - issues: Issueshttps://issues.rhodecode.com/https://issues.rhodecode.com/favicon.ico?16960560042023-12-07T08:05:26ZRhodeCode - issues
Redmine RhodeCode CE/EE - Task #5711 (Resolved): svn: make the SSL detection work better.https://issues.rhodecode.com/issues/57112023-12-07T08:05:26ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>as per discussion here: <a href="https://community.rhodecode.com/t/svn-cant-move-a-file-http-502-bad-gateway/535/13" class="external">https://community.rhodecode.com/t/svn-cant-move-a-file-http-502-bad-gateway/535/13</a></p>
<p>check if the downgrade header can be there always to support http+https traffic</p>
RhodeCode CE/EE - Bug #5710 (Resolved): security: hide env vars on exception without debug modehttps://issues.rhodecode.com/issues/57102023-11-28T08:43:53ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>Currentt exceptions print out a docker env with a lot of secrets, this shoukd be only enabled via debug=true flag on .ini files...</p>
RhodeCode CE/EE - Bug #5709 (Resolved): SSL requirement with traefik for vcs seems to be brokenhttps://issues.rhodecode.com/issues/57092023-11-27T19:42:45ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>from user:</p>
<p>If I enable “Require SSL for vcs operations” in the Admin settings, I get an error 406 while trying to checkout through HTTPS. Is this expected with a Let’s Encrypt certificate?</p>
RhodeCode CE/EE - Bug #5708 (Resolved): fix password reset field mismatchhttps://issues.rhodecode.com/issues/57082023-11-25T06:46:48ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>when making a new user password field goes out of scope and breaks the </p>
RhodeCode CE/EE - Bug #5707 (Resolved): SVN - check case of bytes/string mismatchhttps://issues.rhodecode.com/issues/57072023-11-23T09:00:09ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>Vladimir pointed out an issue while porting to k8s cluster. Here are the relevant errors seen:</p>
<p>{"timestamp": "2023-11-22T13:25:31.740566+00:00", "levelname": "ERROR", "name": "rhodecode.lib.middleware.simplevcs", "message": "", "req_id": "6b635215-fbdd-4b1d-ab54-3300417d5a71"}<br>
{"timestamp": "2023-11-22T13:25:31.740832+00:00", "levelname": "ERROR", "name": "rhodecode.lib.middleware.simplevcs", "message": "b'<?xml version=\"1.0\" encoding=\"utf-8\"?>/test/test-svn/!svn/txn/0-g<a href="/D:href">/D:href</a><a href="/D:source">/D:source</a><a href="/D:prop">/D:prop</a><a href="/D:merge">/D:merge</a>'", "req_id": "6b635215-fbdd-4b1d-ab54-3300417d5a71"}<br>
{"timestamp": "2023-11-22T13:25:31.741216+00:00", "levelname": "ERROR", "name": "rhodecode.lib.middleware.simplevcs", "message": "Exception while handling request", "req_id": "6b635215-fbdd-4b1d-ab54-3300417d5a71", "exc_info": "Traceback (most recent call last):\n File \"/home/rhodecode/venv/lib/python3.11/site-packages/pyramid/tweens.py\", line 41, in excview_tween\n response = handler(request)\n File \"/home/rhodecode/venv/lib/python3.11/site-packages/pyramid/router.py\", line 169, in handle_request\n raise HTTPNotFound(msg)\npyramid.httpexceptions.HTTPNotFound: /test/test-svn\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/rhodecode/venv/lib/python3.11/site-packages/rhodecode/lib/middleware/simplevcs.py\", line 395, in <strong>call</strong>\n return self._handle_request(environ, start_response)\n File \"/home/rhodecode/venv/lib/python3.11/site-packages/rhodecode/lib/middleware/simplevcs.py\", line 586, in _handle_request\n return self._generate_vcs_response(\n File \"/home/rhodecode/venv/lib/python3.11/site-packages/rhodecode/lib/middleware/simplevcs.py\", line 100, in wrapper\n init = next(gen)\n <sup><sup><sup><sup><sup><sup><sup><sup><sup>\n</sup></sup></sup></sup></sup></sup></sup></sup></sup> File \"/home/rhodecode/venv/lib/python3.11/site-packages/rhodecode/lib/middleware/simplevcs.py\", line 610, in _generate_vcs_response\n environ['wsgi.input'] = io.StringIO(data)\n initial_value must be str or None, not bytes"}</p>
RhodeCode CE/EE - Bug #5706 (Resolved): GIT: new commit cannot be made with parent that is NOT a ...https://issues.rhodecode.com/issues/57062023-11-14T12:54:14ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>Checking tests failures and it seem new commits cannot be made with a parent that is not a branch</p>
RhodeCode CE/EE - Bug #5704 (Resolved): rebase is broken in 5.0.0 releasehttps://issues.rhodecode.com/issues/57042023-11-06T12:48:48ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>Mercurial pull-requests using rebase strategy always fail with exception about unknown revisions. </p>
<p>Check if rebase logic was not changed after bump of mercurial</p>
RhodeCode CE/EE - Task #5701 (Resolved): Default permissions cache purgehttps://issues.rhodecode.com/issues/57012023-11-06T07:17:38ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>It looks like the cache purging for global default permissions aren't pushed once the override function is set.</p>
<p>make sure the flush permissions caches once this is enable. Probably we need to rebuild the full set up permissions in order for this to work</p>
RhodeCode CE/EE - Bug #5699 (Resolved): Fix Agile pluginhttps://issues.rhodecode.com/issues/56992023-10-17T16:41:33ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>Seems after Redmine upgrade AGILE plugin broke some JS, try to download and upgrade the Agile plugin to sort that out</p>
RhodeCode CE/EE - Bug #5698 (Resolved): 5.0.0 release - documentation 4.X -> 5.X migration step-b...https://issues.rhodecode.com/issues/56982023-10-17T16:32:54ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>In order to smoothen the transition from 4.X release we need to write a guide how to move to 5.X series.</p>
RhodeCode CE/EE - Bug #5692 (Resolved): SVN validationhttps://issues.rhodecode.com/issues/56922023-10-17T07:58:12ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>Seems SVN protocol in 5.0.0 is not working in some cases, one the the tests in CI fails. We should check this before moving out of beta to stable 5.0.0</p>
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 - 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 - 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>