Procházet zdrojové kódy

Refactored field names

Alois Mahdal (@azzgoat) před 11 roky
rodič
revize
ffe5432fb4
3 změnil soubory, kde provedl 10 přidání a 10 odebrání
  1. 2
    2
      lib/SugarTrail/Template/Master.pm
  2. 2
    2
      notes/arch.md
  3. 6
    6
      notes/matrices.md

+ 2
- 2
lib/SugarTrail/Template/Master.pm Zobrazit soubor

@@ -98,8 +98,8 @@ sub generate_slave {
98 98
             if ($accept || scalar @{$slave_step->{warnings}});
99 99
     }
100 100
 
101
-    $slave->{meta}->{'Stm'} = $self->{source};
102
-    $slave->{meta}->{'Stm Revision'} = $self->get_current_revision();
101
+    $slave->{meta}->{'Master'} = $self->{source};
102
+    $slave->{meta}->{'Master Revision'} = $self->get_current_revision();
103 103
     $slave->{meta}->{'Params'} = mkmymime($args);
104 104
 
105 105
     $slave->{steps} = \@slave_steps;

+ 2
- 2
notes/arch.md Zobrazit soubor

@@ -75,8 +75,8 @@ Workflow
75 75
         +---------------------------------------+
76 76
         | ::Slave # Slave template              |
77 77
         +---------------------------------------+
78
-        | Stm: /release/rc.stm                  |
79
-        | Stm Revision: 123                     |
78
+        | Master: /release/rc.stm               |
79
+        | Master Revision: 123                  |
80 80
         | Params: os=7; proto=imap              |
81 81
         |                                       |
82 82
         | Here the body starts...               |

+ 6
- 6
notes/matrices.md Zobrazit soubor

@@ -32,8 +32,8 @@ Master template defines actions that are only valid under certain circumstances.
32 32
 
33 33
 The above can result in two Slaves:
34 34
 
35
-    Stm: /release/rc.stm
36
-    Stm Revision: 123
35
+    Master: /release/rc.stm
36
+    Master Revision: 123
37 37
     Params: arch=amd64
38 38
     
39 39
     # Parallel showcase #
@@ -49,8 +49,8 @@ The above can result in two Slaves:
49 49
     5. Restart
50 50
 
51 51
 
52
-    Stm: /release/rc.stm
53
-    Stm Revision: 123
52
+    Master: /release/rc.stm
53
+    Master Revision: 123
54 54
     Params: arch=x86
55 55
     
56 56
     # Parallel showcase #
@@ -67,8 +67,8 @@ The above can result in two Slaves:
67 67
 
68 68
 Or one "double" Slave -- notice `Params:` header:
69 69
 
70
-    Stm: /release/rc.stm
71
-    Stm Revision: 123
70
+    Master: /release/rc.stm
71
+    Master Revision: 123
72 72
     Params: arch=x86+amd64
73 73
     
74 74
     # Parallel showcase #