bitbake: fetch2/gitsm: Documentation improvements for gitsm:// fetcher

(Bitbake rev: ef2bf63e56b87e19d1a9059dd2d81a9a1a537254)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Chris Morgan 2014-05-18 14:24:12 -04:00 committed by Richard Purdie
parent 874d81a5eb
commit 09edf20070
2 changed files with 23 additions and 3 deletions

View File

@ -570,6 +570,19 @@
</para>
</section>
<section id='gitsm-fetcher'>
<title>GIT Submodule Fetcher (<filename>gitsm://</filename>)</title>
<para>
This fetcher inherits from the Git fetcher and extends its
behavior by fetching a repositories submodules.
Uri is passed to the Git fetcher so see <link linkend='git-fetcher'>
the git fetcher documentation for syntax</link>.
NOTE: You must clean a recipe when switching between 'git://' and
'gitsm://' urls.
</para>
</section>
<section id='other-fetchers'>
<title>Other Fetchers</title>
@ -582,9 +595,6 @@
<listitem><para>
Perforce (<filename>p4://</filename>)
</para></listitem>
<listitem><para>
Git Submodules (<filename>gitsm://</filename>)
</para></listitem>
<listitem><para>
Trees using Git Annex (<filename>gitannex://</filename>)
</para></listitem>

View File

@ -2,6 +2,16 @@
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
"""
BitBake 'Fetch' git submodules implementation
Inherits from and extends the Git fetcher to retrieve submodules of a git repository
after cloning.
SRC_URI = "gitsm://<see Git fetcher for syntax>"
See the Git fetcher, git://, for usage documentation.
NOTE: Switching a SRC_URI from "git://" to "gitsm://" requires a clean of your recipe.
"""
# Copyright (C) 2013 Richard Purdie