taskReproducible paper template - Tasks: task #15525, project and configure.sh scripts...

 
 

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

task #15525: project and configure.sh scripts should be in POSIX shell

Submitted by:  Mohammad Akhlaghi <makhlaghi>
Submitted on:  Tue 21 Jan 2020 02:42:21 PM UTC  
 
Should Start On:  Tue 21 Jan 2020 12:00:00 AM UTC Should be Finished on:  Tue 21 Jan 2020 12:00:00 AM UTC
Category:  Software Priority:  5 - Normal
Status:  Postponed Privacy:  Public
Percent Complete:  100% Assigned to:  Mohammad Akhlaghi <makhlaghi>
Open/Closed:  Closed Effort:  0.00

Thu 23 Jan 2020 07:21:28 PM UTC, comment #2: 

This task has been effectively completed by just changing the hashbangs of these two scripts! From now on, if we confront errors on systems that don't use Bash, we'll treat them as bugs and will fix them.

The change has been pushed to the main repository.

Mohammad Akhlaghi <makhlaghi>
Project AdministratorIn charge of this item.
Tue 21 Jan 2020 04:29:58 PM UTC, comment #1: 

I just wanted to add that it is possible to run Bash in a POSIX-mode, either by running it with `--posix' or including `set -o posix' in the script. For more, see the Bash POSIX mode in its manual.

Mohammad Akhlaghi <makhlaghi>
Project AdministratorIn charge of this item.
Tue 21 Jan 2020 02:42:21 PM UTC, original submission:  

These high-level scripts must not assume GNU Bash. Currently they do (by starting with the `!#/bin/bash' hashbang) because I haven't had time to test them on a POSIX-only shell. But we should find a way to test the template in a POSIX-only shell and remove all the Bash features.

Early in the configuration of the project we build GNU Bash and higher-level steps can safely assume GNU Bash, but not these two scripts.

Mohammad Akhlaghi <makhlaghi>
Project AdministratorIn charge of this item.

 

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 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-01-23 makhlaghi Percent Complete0% => 100%
        Assigned toNone => makhlaghi
        Open/ClosedOpen => Closed

    Back to the top


    Powered by Savane 3.5