summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2/__init__.py
diff options
context:
space:
mode:
authorDennis Meier <meier.dennis@siemens.com>2014-07-17 11:23:45 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-07-21 19:24:29 +0100
commit5bcda42a946ae8b14aee8864d18745be0a997aaa (patch)
treeae4e714693ffa80beeeaaf6045b9132a0f4df597 /bitbake/lib/bb/fetch2/__init__.py
parent13a03f2e9c0c94a083664d0081296f74746a6746 (diff)
downloadpoky-5bcda42a946ae8b14aee8864d18745be0a997aaa.tar.gz
bitbake: fetch2: Add module for ClearCase (ccrc://)
The clearcase fetcher is used to retrieve files from a ClearCase (http://en.wikipedia.org/wiki/Rational_ClearCase) repository. Usage in the recipe: SRC_URI = "ccrc://cc.example.org/ccrc;vob=/example_vob;module=/example_module" SRCREV = "EXAMPLE_CLEARCASE_TAG" PV = "${@d.getVar("SRCREV").replace("/", "+")}" The fetcher uses the rcleartool or cleartool remote client, depending on which one is available. Supported SRC_URI options are: - vob (required) The name of the clearcase VOB (with prepending "/") - module The module in the selected VOB (with prepending "/") The module and vob parameters are combined to create the following load rule in the view config spec: load <vob><module> - proto http or https Related variables: CCASE_CUSTOM_CONFIG_SPEC Write a config spec to this variable in your recipe to use it instead of the default config spec generated by this fetcher. Please note that the SRCREV loses its functionality if you specify this variable. SRCREV is still used to label the archive after a fetch, but it doesn't define what's fetched. User credentials: When using cleartool: The login of cleartool is handled by the system. No special steps needed. When using rcleartool: In order to use rcleartool with authenticated users an `rcleartool login` is necessary before using the fetcher. (Bitbake rev: 76cff0aaad4cf10b325bceadd8ea90b3d75edcc2) Signed-off-by: Dennis Meier <meier.dennis@siemens.com> Reviewed-by: Roger Meier <r.meier@siemens.com> Reviewed-by: Christian Liechti <christian.liechti@siemens.com> Reviewed-by: Henrique Mendonca <henrique.mendonca@siemens.com> Reviewed-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/fetch2/__init__.py')
-rw-r--r--bitbake/lib/bb/fetch2/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py
index dcada12ead..df2f2b056b 100644
--- a/bitbake/lib/bb/fetch2/__init__.py
+++ b/bitbake/lib/bb/fetch2/__init__.py
@@ -1560,6 +1560,7 @@ from . import bzr
1560from . import hg 1560from . import hg
1561from . import osc 1561from . import osc
1562from . import repo 1562from . import repo
1563from . import clearcase
1563 1564
1564methods.append(local.Local()) 1565methods.append(local.Local())
1565methods.append(wget.Wget()) 1566methods.append(wget.Wget())
@@ -1575,3 +1576,4 @@ methods.append(bzr.Bzr())
1575methods.append(hg.Hg()) 1576methods.append(hg.Hg())
1576methods.append(osc.Osc()) 1577methods.append(osc.Osc())
1577methods.append(repo.Repo()) 1578methods.append(repo.Repo())
1579methods.append(clearcase.ClearCase())