##// END OF EJS Templates
git: use force fetch and update for target ref. This solves a case...
git: use force fetch and update for target ref. This solves a case when in PRs a target is force updated and is out of sync. Before we used a pull which --ff-only fails obviosly because two are out of sync. This change uses new logic that resets the target branch according to the source target branch allowing smooth merge simulation.

File last commit:

r552:9a0f45b0 default
r2784:e8c62649 default
Show More
install-ext.rst
55 lines | 2.0 KiB | text/x-rst | RstLexer

Install |RCX|

To install |RCX|, you need to have |RCT| installed. See the :ref:`install-tools` and :ref:`tools-cli` sections. Use the --plugins option with the rhodecode-extensions argument.

Upgrading |RCX|

Important

You should back up any plugins or extensions that you have created before continuing.

To upgrade your |RCX|, use the following example:

  1. From inside the |RCT| virtualenv, upgrade to the latest version:
(venv)$ pip install -U https://my.rhodecode.com/dl/rhodecode-tools/latest
Downloading/unpacking https://my.rhodecode.com/dl/rhodecode-tools/latest
  Downloading latest (143kB): 143kB downloaded
  Running setup.py (path:/tmp/pip-9qYsxf-build/setup.py) egg_info
  for package from https://my.rhodecode.com/dl/rhodecode-tools/latest
  1. Once |RCT| are upgraded to the latest version, you can install the latest extensions using the following example:
(venv)$ rhodecode-extensions --instance-name=enterprise-1 \
--ini-file=rhodecode.ini --plugins

Extension file already exists, do you want to overwrite it? [y/N]: y
Writen new extensions file to rcextensions
Copied hipchat_push_notify.py plugin to rcextensions
Copied jira_pr_flow.py plugin to rcextensions
Copied default_reviewers.py plugin to rcextensions
Copied extract_commits.py plugin to rcextensions
Copied extract_issues.py plugin to rcextensions
Copied redmine_pr_flow.py plugin to rcextensions
Copied extra_fields.py plugin to rcextensions
Copied jira_smart_commits.py plugin to rcextensions
Copied http_notify.py plugin to rcextensions
Copied slack_push_notify.py plugin to rcextensions
Copied slack_message.py plugin to rcextensions
Copied extract_jira_issues.py plugin to rcextensions
Copied extract_redmine_issues.py plugin to rcextensions
Copied redmine_smart_commits.py plugin to rcextensions
Copied send_mail.py plugin to rcextensions