All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3] bitbake-user-manual: add "crate" fetcher
       [not found] <16CC062B871C5B48.10162@lists.yoctoproject.org>
@ 2022-01-20 16:10 ` Michael Opdenacker
  2022-01-20 16:13   ` [docs] " Quentin Schulz
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Opdenacker @ 2022-01-20 16:10 UTC (permalink / raw)
  To: bitbake-devel; +Cc: docs, Michael Opdenacker

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
---
 .../bitbake-user-manual-fetching.rst             | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst b/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst
index 77384cfd..9ff4e161 100644
--- a/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst
+++ b/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst
@@ -688,6 +688,22 @@ Here is an example URL::
 
 It can also be used when setting mirrors definitions using the :term:`PREMIRRORS` variable.
 
+Crate Fetcher (``crate://``)
+----------------------------
+
+This submodule fetches code for
+`Rust language "crates" <https://doc.rust-lang.org/reference/glossary.html?highlight=crate#crate>`__
+corresponding to Rust libraries and programs to compile. Such crates are typically shared
+on https://crates.io/ but this fetcher supports other crate registries too.
+
+The format for the :term:`SRC_URI` setting must be::
+
+   SRC_URI = "crate://REGISTRY/NAME/VERSION"
+
+Here is an example URL::
+
+   SRC_URI = "crate://crates.io/glob/0.2.11"
+
 Other Fetchers
 --------------
 
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [docs] [PATCH v3] bitbake-user-manual: add "crate" fetcher
  2022-01-20 16:10 ` [PATCH v3] bitbake-user-manual: add "crate" fetcher Michael Opdenacker
@ 2022-01-20 16:13   ` Quentin Schulz
  0 siblings, 0 replies; 2+ messages in thread
From: Quentin Schulz @ 2022-01-20 16:13 UTC (permalink / raw)
  To: Michael Opdenacker, bitbake-devel; +Cc: docs

Hi Michael,

On 1/20/22 17:10, Michael Opdenacker wrote:
> Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>

Reviewed-by: Quentin Schulz <foss+yocto@0leil.net>

Thanks!
Quentin

> ---
>   .../bitbake-user-manual-fetching.rst             | 16 ++++++++++++++++
>   1 file changed, 16 insertions(+)
> 
> diff --git a/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst b/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst
> index 77384cfd..9ff4e161 100644
> --- a/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst
> +++ b/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst
> @@ -688,6 +688,22 @@ Here is an example URL::
>   
>   It can also be used when setting mirrors definitions using the :term:`PREMIRRORS` variable.
>   
> +Crate Fetcher (``crate://``)
> +----------------------------
> +
> +This submodule fetches code for
> +`Rust language "crates" <https://urldefense.proofpoint.com/v2/url?u=https-3A__doc.rust-2Dlang.org_reference_glossary.html-3Fhighlight-3Dcrate-23crate&d=DwIDAg&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=smwavBxvdIfpATPOOnqwchEtwaUwIkByMRfarPgCp9T1MRadhPIpS-_QVHRdsQAv&s=2FzJNuq0EnCIkEtiO0eoUC8Whyl2gyGfhEbPBZ_B-so&e= >`__
> +corresponding to Rust libraries and programs to compile. Such crates are typically shared
> +on https://urldefense.proofpoint.com/v2/url?u=https-3A__crates.io_&d=DwIDAg&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=smwavBxvdIfpATPOOnqwchEtwaUwIkByMRfarPgCp9T1MRadhPIpS-_QVHRdsQAv&s=aloVVPM36_ArFdokY62cSOG5Nl8AYRIv5eQ8lt4_GZ4&e=  but this fetcher supports other crate registries too.
> +
> +The format for the :term:`SRC_URI` setting must be::
> +
> +   SRC_URI = "crate://REGISTRY/NAME/VERSION"
> +
> +Here is an example URL::
> +
> +   SRC_URI = "crate://crates.io/glob/0.2.11"
> +
>   Other Fetchers
>   --------------
>   
> 
> 
> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#2439): https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.yoctoproject.org_g_docs_message_2439&d=DwIFaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=smwavBxvdIfpATPOOnqwchEtwaUwIkByMRfarPgCp9T1MRadhPIpS-_QVHRdsQAv&s=gSn-BFr9fUQ9vJ-6e2Cf0vd_U-DgQarHt_8_iDAb2gs&e=
> Mute This Topic: https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.yoctoproject.org_mt_88562115_6293953&d=DwIFaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=smwavBxvdIfpATPOOnqwchEtwaUwIkByMRfarPgCp9T1MRadhPIpS-_QVHRdsQAv&s=JrJkbbt8IIm7sOYN6JE7t5k_FeOGh66dbNSmU5HzZtk&e=
> Group Owner: docs+owner@lists.yoctoproject.org
> Unsubscribe: https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.yoctoproject.org_g_docs_unsub&d=DwIFaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=smwavBxvdIfpATPOOnqwchEtwaUwIkByMRfarPgCp9T1MRadhPIpS-_QVHRdsQAv&s=YL4S3fH_BGwCXFtPJbnoGo675TdOAhhFibvm2TMtb1E&e=  [quentin.schulz@theobroma-systems.com]
> -=-=-=-=-=-=-=-=-=-=-=-
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-20 16:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <16CC062B871C5B48.10162@lists.yoctoproject.org>
2022-01-20 16:10 ` [PATCH v3] bitbake-user-manual: add "crate" fetcher Michael Opdenacker
2022-01-20 16:13   ` [docs] " Quentin Schulz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.