Operations grimoire/Contribute

From Nasqueron Agora
Revision as of 15:43, 3 August 2024 by Dereckson (talk | contribs) (Created page with "== Environment setup == Use of WindRiver is recommended if you wish to get an environment already installed for your contributions. === Everywhere setup === This section cover topics needed both on our development servers or in your laptop. ==== Python dependencies ==== Create a virtual environment, then install dependencies from {{Ops file|requirements.txt}}: mkdir -m $HOME/dev/python/ops python3 -m venv $HOME/dev/python/ops source $HOME/dev/python/ops/...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Environment setup

Use of WindRiver is recommended if you wish to get an environment already installed for your contributions.

Everywhere setup

This section cover topics needed both on our development servers or in your laptop.

Python dependencies

Create a virtual environment, then install dependencies from rOPS: requirements.txt:

   mkdir -m $HOME/dev/python/ops
   python3 -m venv $HOME/dev/python/ops
   source $HOME/dev/python/ops/bin/activate
   pip install -r requirements.txt

Local computer setup

This section cover topics NOT needed on our development servers.

Arcanist

To use arc with the operations repository, our collection of patches is needed.

If arcanist isn't installed through Git repository, best is to do like on devserver role:

   mkdir /opt/phabricator && cd /opt/phabricator
   git clone https://github.com:nasqueron/arcanist.git
   git checkout production

If you've already cloned Arcanist repository, switch to our branch production:

   git remote add nasqueron git@github.com:nasqueron/arcanist.git
   git fetch --all
   git checkout production

As of August 2024, there is no plan to make that repository available on DevCentral.

See also