Operations grimoire/Contribute: Difference between revisions

From Nasqueron Agora
(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/...")
 
Tag: New redirect
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
== Environment setup ==
#REDIRECT [[Operations_grimoire/Operations_repository]]
 
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/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 ==
* [[How to contribute code]]
* [[Devserver reference]]

Latest revision as of 09:41, 4 August 2024