diff options
author | Ronan <ronan.lemartret@iot.bzh> | 2017-01-04 10:02:36 +0100 |
---|---|---|
committer | Ronan <ronan.lemartret@iot.bzh> | 2017-01-23 14:59:32 +0100 |
commit | fd5f3db501dd4fcc054ff182c4336c3e073a11d6 (patch) | |
tree | afa908e4d434dd7bfaf8923e907f9000efc724b5 /site/_tocs/getting_started | |
parent | 5d3c0af5b16aabf66a854d88437e1e27b479e256 (diff) |
add local fetch to easily test local modification
* add "make localFetch" command
* a local local fetch can't be push, you must clean
and do a regular fetch to push upstream
* AGL_GITHUB_FETCH,AGL_GITHUB_EDIT is use to specify the AGL source
* AGL_GITHUB_BRANCH is use to choose the AGL doc branch
* AGL_SRC is use to specify the AGL github user
* AGL_GERRIT_BRANCH is use to choose the AGL gerrit doc branch
* Usage:
- make fetch: fetch the site if necessary
- make localFetch: fetch the site if necessary but use local file.
So just use "make localFetch" instead on "make fetch" to do a local fetch
Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
Diffstat (limited to 'site/_tocs/getting_started')
-rw-r--r-- | site/_tocs/getting_started/fetched_files.yml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/site/_tocs/getting_started/fetched_files.yml b/site/_tocs/getting_started/fetched_files.yml index d8482f4..29e5bdb 100644 --- a/site/_tocs/getting_started/fetched_files.yml +++ b/site/_tocs/getting_started/fetched_files.yml @@ -37,14 +37,14 @@ # ------------------------------------ ############################################################################################################## -url_fetch : "GITHUB_FETCH" -url_edit : "GITHUB_EDIT" -git_commit : "master" +url_fetch : "AGL_GITHUB_FETCH" +url_edit : "AGL_GITHUB_EDIT" +git_commit : "AGL_GITHUB_BRANCH" #dst_prefix : # destination_path = destination_prefix + (document.destination || document.source) repositories: - - git_name : automotive-grade-linux/docs-agl + git_name : "%project_source%/docs-agl" src_prefix : docs/getting-started documents : - source: source-code.md @@ -72,7 +72,7 @@ repositories: - url_fetch : GERRIT_FETCH git_name : staging/HomeScreen - git_commit : master + git_commit : AGL_GERRIT_BRANCH src_prefix : HomeScreen/docs dst_prefix : homescreen documents: |