taskManeage - Tasks: task #15626, tarballs as order-only versus...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

task #15626: tarballs as order-only versus normal prerequisites

Submitter:  Boud Roukema <boud>
Submitted:  Wed 06 May 2020 03:27:23 PM UTC
   
 
Should Start On:  Wed 06 May 2020 12:00:00 AM UTC Should be Finished on:  Wed 06 May 2020 12:00:00 AM UTC
Category:  Software Priority:  3 - Low
Status:  Done Privacy:  Public
Assigned to:  makhlaghi Percent Complete:  100%
Open/Closed:  Closed Effort:  0.00

Wed 06 May 2020 03:32:40 PM UTC, comment #1: 

In fact I committed the change just last night!

It was a wrong decision I made long ago (when we actually started checking the tarballs with their SHA512 checksum. But since then, having tarballs as order-only prerequisites has been really annoying and buggy! So last night I was just fed-up with it and fixed them all ;-).

Mohammad Akhlaghi <makhlaghi>
Group administrator
Wed 06 May 2020 03:27:23 PM UTC, original submission:  

If versions.conf and checksums.conf have been updated, then should
the decision on reconfiguring/compiling/installing the package
be a conscious user decision or an automatic decision?

Right now, we have tarballs in `high-level.mk` as order-only
prerequisites [1], so the configure/compile/install chain is not
carried out by the make rule for that package. The user has
to make a deliberate decision on whether or not to
re-configure/compile/install.

Provided that the user learns `make`, which is required to
use 'maneage' properly, this can easily be changed in the .mk
file by the user. So the real question is what the default
should be. A generic replacement of the pipe `|` by a space
would invalidate many of the rules, so adding an extra
meta-level rule to allow the default to be trivially changed
is probably not practical.

On the other hand, as usage increases, there might be increased
preference for switching from the present default, or someone
may have an idea on how to make a toggle script - to toggle
from order-only to normal prerequisites while fixing parts
of each corresponding rule that need to be updated.

So I think this theme is worth keeping on the task list
as a low-priority, possible item to come back to if there's
sufficient interest.

[1] https://www.gnu.org/software/make/manual/html_node/Prerequisite-Types.html#Prerequisite-Types

Boud Roukema <boud>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by makhlaghi (Posted a comment)
  • -email is unavailable- added by boud (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-05-06 makhlaghi StatusNone Done
        Percent Complete0% 100%
        Assigned toNone makhlaghi
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code