version_management.md
... ...
@@ -10,13 +10,11 @@ Below we provide details for automatic version logging and restoring or activati
10 10
11 11
BioGrids provides an environment variable for logging all BioGrids executable activity.
12 12
13
-The environment variable “SBCAP_METRICS” can be set to:
13
+The environment variable “SBCAP_METRICS” can be set to either FILE or BOTH in this form:
14 14
15
- FILE | FILE:path/to/file
15
+ FILE | FILE:path/to/file
16 16
17
- or
18
-
19
- BOTH|BOTH:path
17
+ BOTH | BOTH:path
20 18
21 19
When set to FILE (either form) logging is written to a FILE.
22 20
... ...
@@ -26,8 +24,10 @@ When set to BOTH|BOTH:path logging is sent to a file as above and also to BioGri
26 24
27 25
Sample Entries in the log file have this form:
28 26
27
+```
29 28
hostname BIOGRIDS osx-10.13.6 biogrid-production_1.0.695 newrc_sh CA5BBF5F-F41E-4CFA-8AA4-37182C9DD366 /programs/i386-mac/samtools/1.10/bin/samtools 0 0
30 29
hostname BIOGRIDS osx-10.13.6 biogrid-production_1.0.695 newrc_sh 3355483F-A04B-4575-868F-88D22173C957 /programs/i386-mac/python/3.6.5/bin/python 0 0
30
+```
31 31
32 32
The path to the executable provides the architecture, name of the BioGrids title, version used and name of the executable called.
33 33
... ...
@@ -36,7 +36,7 @@ The path to the executable provides the architecture, name of the BioGrids title
36 36
37 37
The biogrids-info tool can be used to list all available versions of a title whether they are installed on your platform or not.
38 38
39
-
39
+```
40 40
$ biogrids-info -l samtools
41 41
42 42
Version information for: /programs/x86_64-linux/samtools
... ...
@@ -50,6 +50,8 @@ Installed versions: 1.10 1.9 1.8 1.7 1.6 1.5 1.4.1 1.3.1 1.3 0.1.19
50 50
Other available versions: 1.9 1.8 1.7 1.6 1.5 1.4.1 1.3.1 1.3 0.1.19
51 51
52 52
Overrides use this shell variable: SAMTOOLS_X
53
+```
54
+
53 55
54 56
55 57
## Activating Older Versions