Skip to content
Snippets Groups Projects

Fix/requirements into setuppy

Merged Robert Rosca requested to merge fix/requirements-into-setuppy into master
1 file
+ 26
26
Compare changes
  • Side-by-side
  • Inline
+ 26
26
@@ -223,8 +223,8 @@ Finally run the script:
@@ -223,8 +223,8 @@ Finally run the script:
.. code::
.. code::
python3 calibrate.py --input /gpfs/exfel/exp/SPB/201701/p002012/raw/r0100 \
python3 calibrate.py --input /gpfs/exfel/exp/SPB/201701/p002012/raw/r0100 \
--output ../../test_out --mem-cells 30 --detector AGIPD --sequences 0,1
--output ../../test_out --mem-cells 30 --detector AGIPD --sequences 0,1
Here `--input` should point to a directory of `RAW` files for the detector you
Here `--input` should point to a directory of `RAW` files for the detector you
are calibrating. They will be output into the folder specified by `--output`,
are calibrating. They will be output into the folder specified by `--output`,
@@ -262,37 +262,37 @@ This account is intended to be used as a read only account which can be given
@@ -262,37 +262,37 @@ This account is intended to be used as a read only account which can be given
access to certain repos to make it easier to clone them when using our
access to certain repos to make it easier to clone them when using our
functional accounts on Maxwell.
functional accounts on Maxwell.
The xcaltst account has an ed25519 keypair under `~/.ssh/gitlab/`, the public
The xcaltst account has an ed25519 keypair under ``~/.ssh/gitlab/``, the public
key has been added to the xcalgitlab's approved SSH keys.
key has been added to the xcalgitlab's approved SSH keys.
Additionally this block has been added to `~/.ssh/config`:
Additionally this block has been added to ``~/.ssh/config``:
```
.. code::
# Special flags for gitlab over SSH
Host git.xfel.eu
# Special flags for gitlab over SSH
User git
Host git.xfel.eu
Port 10022
User git
ForwardX11 no
Port 10022
IdentityFile ~/.ssh/gitlab/id_ed25519
ForwardX11 no
```
IdentityFile ~/.ssh/gitlab/id_ed25519
Now any repository that `xcalgitlab` has read access to, e.g. if it is added as
Now any repository that ``xcalgitlab`` has read access to, e.g. if it is added as
a reporter, can be cloned on Maxwell without having to enter a password.
a reporter, can be cloned on Maxwell without having to enter a password.
For example, xcalgitlab is a reporter on the pycalibration
For example, ``xcalgitlab`` is a reporter on the pycalibration
https://git.xfel.eu/gitlab/detectors/pycalibration repository, so now
https://git.xfel.eu/gitlab/detectors/pycalibration repository, so now
`xcalgitlab` can do passwordless clones with SSH:
``xcalgitlab`` can do passwordless clones with SSH:
```
.. code::
[xcaltst@max-exfl017 tmp]$ git clone ssh://git@git.xfel.eu:10022/detectors/pycalibration.git
Cloning into 'pycalibration'...
[xcaltst@max-exfl017 tmp]$ git clone ssh://git@git.xfel.eu:10022/detectors/pycalibration.git
remote: Enumerating objects: 9414, done.
Cloning into 'pycalibration'...
remote: Counting objects: 100% (9414/9414), done.
remote: Enumerating objects: 9414, done.
remote: Compressing objects: 100% (2858/2858), done.
remote: Counting objects: 100% (9414/9414), done.
remote: Total 9414 (delta 6510), reused 9408 (delta 6504)
remote: Compressing objects: 100% (2858/2858), done.
Receiving objects: 100% (9414/9414), 611.81 MiB | 54.87 MiB/s, done.
remote: Total 9414 (delta 6510), reused 9408 (delta 6504)
Resolving deltas: 100% (6510/6510), done.
Receiving objects: 100% (9414/9414), 611.81 MiB | 54.87 MiB/s, done.
```
Resolving deltas: 100% (6510/6510), done.
References:
References:
Loading