2 Star 6 Fork 16

well/tools-opengrok

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
This directory contains set of scripts to facilitate project synchronization and
mirroring in a Python package.

The scripts require Python 3 and they rely on a binary/symlink python3 to be
present that points to the latest Python 3.x version present on the system.

All the scripts in the package are installed with the 'opengrok-' prefix.

See https://github.com/oracle/opengrok/wiki/Repository-synchronization for more
details.

The instructions below are pretty much standard way how to deal with Python
packages however may come handy if you never encountered Python package before.

Install
-------

* Installation on the target system so that the package is globally available:

Use the distribution tarball and run pip:

  python3 -m pip install opengrok-tools.tar.gz

This will download all dependencies and install the package to your local
python3 modules.

* Installing to a specified directory:

You can also install the tools to a specified directory, we suggest you to use
the python virtual environment for it:

  cd /opt/opengrok
  python3 -m venv opengrok-tools
  opengrok-tools/bin/python -m pip install opengrok-tools.tar.gz

This will install the package and all the dependencies under the
/opt/opengrok/opengrok-tools directory. You can then call the scripts with

/opt/opengrok/opengrok-tools/bin/opengrok-indexer
/opt/opengrok/opengrok-tools/bin/opengrok-groups
...

Uninstall
---------

* from system level package or from venv:
  (assuming the venv is activated or you are running python3 from the venv
  binary directory)

  python3 -m pip uninstall opengrok_tools
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/whilewell/tools-opengrok.git
git@gitee.com:whilewell/tools-opengrok.git
whilewell
tools-opengrok
tools-opengrok
master

搜索帮助