<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>36693</bug_id>
          
          <creation_ts>2019-04-28 15:42:04 +0300</creation_ts>
          <short_desc>new cmd wanted: task force (build SUBTASK_ID|arepo|install-check ...)</short_desc>
          <delta_ts>2021-07-27 01:24:57 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Infrastructure</classification>
          <product>Infrastructure</product>
          <component>girar</component>
          <version>unspecified</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ivan Zakharyaschev">imz</reporter>
          <assigned_to name="placeholder@altlinux.org">placeholder</assigned_to>
          <cc>glebfm</cc>
    
    <cc>ldv</cc>
          
          <qa_contact name="Andrey Cherepanov">cas</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>181315</commentid>
    <comment_count>0</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2019-04-28 15:42:04 +0300</bug_when>
    <thetext>Sometimes someone wants/needs to force a re-execution of a certain stage of a task manually.

Something like:

  task force (build SUBTASK_ID|arepo|install-check ...)

Why not, even if automatic detection of invalid cache would be correct?

However, automatic detection of invalid cache is not always correct:

* arepo doesn&apos;t notice the change of rpmrebuild-arepo;
* build doesn&apos;t (can&apos;t) correctly handle the situation when a changed contents_index would affect the built package.

An example of the latter case (contents_index should affect the result, but it didn&apos;t):

https://lists.altlinux.org/pipermail/sisyphus-incominger/2019-April/529123.html -- rpmrebuild-arepo was built before rpmquery-strictdep was added to the taks and missed the dependency (the same packages built in another task https://lists.altlinux.org/pipermail/sisyphus-incominger/2019-April/529122.html cause no problems.)

However, the latter case (when forcing a subtask rebuild is wanted) is easily worked around by removing the subtask and adding an identical one.

Forcing remaking arepo is not so easy to work around (without repeating a lot of builds).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>