Commit 5e7d3782 authored by Philipp Middendorf's avatar Philipp Middendorf
Browse files

Add scripts/convert-svnsrv-urls.sh and run it on main Kamzik

parent e23a40fa
Pipeline #31062 passed with stages
in 12 minutes and 43 seconds
......@@ -45,7 +45,7 @@ class DeviceBaumerLaserSensorPort(DeviceSocket):
Optoelectronic sensor, using laser to measure distance.
Documentation at:
https://svnsrv.desy.de/desy/cfel-cxi/doc/manuals/Baumer/OADM_13T7480_S35A_manual.pdf
https://gitlab.desy.de/cfel-sc/cfel-technical-docs/-/blob/master/manuals/Baumer/OADM_13T7480_S35A_manual.pdf
Example of config file:
......
......@@ -15,7 +15,7 @@ from kamzik3.devices.deviceSocket import DeviceSocket
class DeviceThermoCube(DeviceSocket):
"""
Chiller device.
Documentation is here: https://svnsrv.desy.de/desy/cfel-cxi/doc/manuals/thermo/ThermoCube.pdf
Documentation is here: https://gitlab.desy.de/cfel-sc/cfel-technical-docs/-/blob/master/manuals/thermo/ThermoCube.pdf
The ThermoCube 200/300/400 can store 8 bytes of transmission and can only handle up to 3
commands per second.
"""
......
......@@ -13,7 +13,7 @@ from kamzik3.snippets.snippetsDecorators import expose_method
class DeviceZled(DeviceSocket):
"""
Led light used as a illumination for Microscope
Documentation is here: https://svnsrv.desy.de/desy/cfel-cxi/doc/manuals/zett_optics/ZLED_communication_protocol.pdf
Documentation is here: https://gitlab.desy.de/cfel-sc/cfel-technical-docs/-/blob/master/manuals/zett_optics/ZLED_communication_protocol.pdf
Example of config file:
Zled: !Device:kamzik3.devices.deviceZled.DeviceZledSocket
......
#!/usr/bin/env bash
set -eu
set -o pipefail
# The old repository for manuals was deleted at some point - we migrated to GitLab.
# This script will convert URLs from the old format to the new one.
# It operates on a single file and in-place.
#
# Call this with "find . -type f -exec ./convert-svnsrc-urls.sh {} +"
echo "Updating $1..."
sed -i -e 's#https://svnsrv.desy.de/desy/cfel-cxi/doc#https://gitlab.desy.de/cfel-sc/cfel-technical-docs/-/blob/master#' "$1"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment