From fd5f3db501dd4fcc054ff182c4336c3e073a11d6 Mon Sep 17 00:00:00 2001 From: Ronan Date: Wed, 4 Jan 2017 10:02:36 +0100 Subject: 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 --- site/_tocs/architecture/fetched_files.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'site/_tocs/architecture/fetched_files.yml') diff --git a/site/_tocs/architecture/fetched_files.yml b/site/_tocs/architecture/fetched_files.yml index a322627..8ca29b3 100644 --- a/site/_tocs/architecture/fetched_files.yml +++ b/site/_tocs/architecture/fetched_files.yml @@ -37,9 +37,9 @@ # ------------------------------------ ############################################################################################################## -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" #git_commit : # default defined in _tocs/xxxx/latest.yml #dst_prefix : # destination_path = destination_prefix + (document.destination || document.source) @@ -50,7 +50,7 @@ repositories: documents: - source: agl_spec_v1_280515.pdf - - git_name : automotive-grade-linux/docs-agl + git_name : "%project_source%/docs-agl" src_prefix : docs/sec-blueprint dst_prefix: security documents: -- cgit 1.2.3-korg