<?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>11557</bug_id>
          
          <creation_ts>2017-05-22 16:27:37 +0000</creation_ts>
          <short_desc>Create a task for forcing PR bumps on the PR server</short_desc>
          <delta_ts>2019-06-06 15:07:31 +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>unspecified</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>Future</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Bevenson">bevenson</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>ross.burton</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>73412</commentid>
    <comment_count>0</comment_count>
    <who name="Bevenson">bevenson</who>
    <bug_when>2017-05-22 16:27:37 +0000</bug_when>
    <thetext>When a package is updated, it is possible that the package update causes an issue for future package upgrades.  A sensible way to test this is to manually bump the PR and attempt installing the updated package.  This is not too difficult for just one package, but doing so for every package installed on an image is not easy.  It would be helpful to have a Bitbake task for bumping the PR on the PR server.

There are two use cases that I think would be useful.  The first is:

    bitbake -c bump_pr &lt;recipe&gt;

which then only bumps the PR on the packages generated by the listed recipe.  The second is:

    bitbake -c bump_pr &lt;image&gt;

which then bumps the PR on all packages which are installed on &lt;image&gt;.  This would then make full system upgrades easier to test.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73833</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2017-06-07 19:07:28 +0000</bug_when>
    <thetext>I&apos;m not convinced this needs to be done in bitbake itself, it should be relatively simple to write a script that uses tinfoil to do the PR increments outside of bitbake.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84082</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2019-06-06 15:07:31 +0000</bug_when>
    <thetext>We don&apos;t feel this API would make sense.

You can cause all packages to rebuild (and hence bump PR) by changing common code like the package_rpm class, even by just adding whitespace.

There are therefore other ways you would do this and the API as stated doesn&apos;t make sense.

If we were to do something it would make sense through tinfoil API as Ross mentions.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>