File tree Expand file tree Collapse file tree 4 files changed +53
-0
lines changed Expand file tree Collapse file tree 4 files changed +53
-0
lines changed Original file line number Diff line number Diff line change
1
+ Updating Template Based Projects
2
+ ================================
3
+
4
+ The tutorials use two template projects as follows:
5
+
6
+ .. list-table :: Template Projects
7
+ :widths: 30 70
8
+ :header-rows: 1
9
+
10
+ * - Template Project
11
+ - Purpose
12
+ * - ioc-template
13
+ - create a new generic IOC container project
14
+ * - blxxi-template
15
+ - create a new IOC Instance Domain project
16
+
17
+ The instructions for for making these project used a clone of
18
+ the template. The reason for this is that the template projects
19
+ may be updated in future to add new features or fix bugs.
20
+
21
+ Occasionally it may be useful to update your project to use the
22
+ latest version of the template. Because your project contains
23
+ commits from the original template this can easily be done using
24
+ git.
25
+
26
+ For an ioc-template based project:
27
+
28
+ .. code-block :: bash
29
+
30
+ cd ioc-my-ioc-template-based-project
31
+ git pull [email protected] :epics-containers/ioc-template.git
32
+
33
+ For an blxxi-template based project:
34
+
35
+ .. code-block :: bash
36
+
37
+ cd ioc-my-ioc-template-based-project
38
+ git pull [email protected] :epics-containers/ioc-template.git.git
39
+
40
+ The pull command will merge any changes from the template into your
41
+ project. You may need to resolve any conflicts.
42
+
43
+
44
+
Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ side-bar.
41
41
how-to/contributing
42
42
how-to/own_tools
43
43
how-to/useful_k8s
44
+ how-to/update_templated
44
45
45
46
+++
46
47
Original file line number Diff line number Diff line change @@ -119,6 +119,10 @@ repo in the future.
119
119
120
120
.. figure :: ../images/create_repo.png
121
121
122
+ Note that creating your project in this way means it is possible to
123
+ synchronize changes from the original blxxi-template project.
124
+ See `../how-to/update_templated `.
125
+
122
126
123
127
Make a Release of Example Beamline bl01t
124
128
----------------------------------------
Original file line number Diff line number Diff line change @@ -53,6 +53,10 @@ using an ``ec`` command.
53
53
git remote add origin [email protected] :< YOUR USER NAME> /ioc-adurl.git
54
54
git push --set-upstream origin main
55
55
56
+ Note that creating your project in this way means it is possible to
57
+ synchronize changes from the original ioc-template project.
58
+ See `../how-to/update_templated `.
59
+
56
60
Prepare the New Repo for Development
57
61
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
58
62
You can’t perform that action at this time.
0 commit comments