<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>15125</bug_id>
          
          <creation_ts>2023-05-23 18:23:32 +0000</creation_ts>
          <short_desc>fetching all crate files of a recipe</short_desc>
          <delta_ts>2024-01-18 16:26:27 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>BitBake</product>
          <component>bitbake</component>
          <version>5.0</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>4.3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jan Vermaete">jan.vermaete</reporter>
          <assigned_to name="Jan Vermaete">jan.vermaete</assigned_to>
          <cc>JPEWhacker</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>ross.burton</cc>
    
    <cc>tim.orling</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>95585</commentid>
    <comment_count>0</comment_count>
    <who name="Jan Vermaete">jan.vermaete</who>
    <bug_when>2023-05-23 18:23:32 +0000</bug_when>
    <thetext>I often have to do a &apos;bitbake -k --runall=fetch image &gt; log&apos; to have a log of all files missing at the local and air gapped network.
We have a small script to convert the error messages into a shell script to download the files on a PC with Internet and transfer them later to the local network.
Great, it works.

But a recipe that needs more than one crate file isn&apos;t using the -k (continue) options of bitbake during fetching.  If stops after report the first missing crate file.

Could this be modified so that the fetcher is continue to try to download all needed crate files?

Br</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97904</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2024-01-18 16:21:27 +0000</bug_when>
    <thetext>This isn&apos;t something that fetcher is meant to do. 
Please discuss on the email list  if you have questions.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97907</commentid>
    <comment_count>2</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2024-01-18 16:26:27 +0000</bug_when>
    <thetext>Are you using the cargo-update-recipe-crates class?

https://docs.yoctoproject.org/ref-manual/classes.html?highlight=crate#cargo-update-recipe-crates

https://git.openembedded.org/openembedded-core/tree/meta/classes-recipe/cargo-update-recipe-crates.bbclass

It would put all the detected crates in Cargo.lock file into an .inc file as SRC_URI entries. The .inc file is updated with:

bitbake -c update_crates recipe-name</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>