summaryrefslogtreecommitdiff
path: root/README
blob: cda5512746b42a8b7aa5fdf45605e29d0ea4fe6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
cfengine stdlib
===============

The cfengine stdlib repo on git is a repo initialized from the master branch of the official github masterfiles. To update, run:

git clone https://github.com/cfengine/masterfiles/ cfengine_stdlib
cd cfengine_stdlib/
git filter-branch --subdirectory-filter lib -- --all
git remote remove origin
git remote add git git@git:cfengine_stdlib
git remote update
git rebase git/master
git push git master

Then in your masterfiles repo:

git submodule update --init --recursive

cfengine modules
================

We have a second submodule for cfengine modules, also initialized from the master branch of the official github masterfiles. To update, run:

git clone https://github.com/cfengine/masterfiles/ cfengine_modules
cd cfengine_modules/
git filter-branch --subdirectory-filter modules -- --all
git remote remove origin
git remote add git git@git:cfengine_modules
git remote update
git rebase git/master
git push git master

Then in your masterfiles repo:

git submodule update --init --recursive

Note
====
Submodules were initialized with :
git submodule add  git@git:cfengine_stdlib lib
git submodule add  git@git:cfengine_modules modules