summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorMagnus Feuer <mfeuer@jaguarlandrover.com>2015-04-14 08:26:38 -0700
committerMagnus Feuer <mfeuer@jaguarlandrover.com>2015-04-17 14:01:27 -0700
commitb6430f5418653a2c7680217ef692613dde6f600f (patch)
tree79264d2bfd8e2d08ef62b7dd5b226b51e9574b87 /packaging
parent682c3666ca5297157ccd76183a2d586ac72ffb69 (diff)
downloadrvi_core-b6430f5418653a2c7680217ef692613dde6f600f.tar.gz
Initial commit of deps
Diffstat (limited to 'packaging')
-rw-r--r--packaging/README.md37
1 files changed, 37 insertions, 0 deletions
diff --git a/packaging/README.md b/packaging/README.md
index bb20296..dcbb5c9 100644
--- a/packaging/README.md
+++ b/packaging/README.md
@@ -105,6 +105,43 @@ installed on a Tizen box. The RPM can be found at:
~/GBS-ROOT/local/repos/tizen/i586/RPMS/rvi-0.3.1-1.i686.rpm
+# UPDATING REBAR DEPENDENCIES
+All erlang dependencies, residing in ```deps```, are checked in with rvi_core in order
+to avoid having GBS and OBS to access the network to resolve them.
+If a new or updated module is to be included in deps, the following procedure
+can be used:
+
+1. <b>Update rebar.config</b><br>
+Edit rebar.config to include the correct version of the modules you need.
+
+2. <b>Clear deps</b><br>
+Delete the old deps with:
+
+ ```rm -rf deps/*```
+
+3. <b>Retrieve new deps</b><br>
+Use rebar to retrieve all modules listed in rebar.config.
+
+ ```rebar get-deps```
+
+3. <b>Clean out git info from deps</b><br>
+The checked out modules in deps are all their own repos. Clear the
+repo information.
+
+ ```rm -rf deps/*/.git
+ find deps -name .gitignore | xargs rm```
+
+4. <b>Add all new files in deps to the rvi_core repo</b><br>
+If any new files are added to deps by ```rebar get-deps``` above, they
+need to be added to the repo:
+
+ ```git add deps/*```
+
+5. <b>Commit rvi_core</b><br>
+Commit the updated deps directory to the repo:
+
+ ```git commit -a -m "Updated deps/gsm to version x"```
+