Changes between Version 20 and Version 24 of Ticket #10970


Ignore:
Timestamp:
10/04/11 20:51:55 (10 years ago)
Author:
jhpalmieri
Comment:

I'm attaching a referee patch printing an error message if pipestatus is missing. We could also patch the scripts repo:

  • sage-update

    diff --git a/sage-update b/sage-update
    a b def do_update(): 
    400400    os.chdir(SPKG_ROOT)
    401401    download_file("install")
    402402    os.system('chmod +x install')
     403    download_file("pipestatus")
     404    os.system('chmod +x pipestatus')
    403405    os.chdir(os.path.join(SPKG_ROOT, "standard"))
    404406    download_file("standard/deps")
    405407    download_file("standard/newest_version")
    def do_update(): 
    408410    os.chdir(SAGE_ROOT)
    409411    if root_repo_intact:
    410412        for file in ['spkg/install',
     413                     'spkg/pipestatus',
    411414                     'spkg/standard/deps',
    412415                     'spkg/standard/newest_version']:
    413416            subprocess.call('./sage -hg commit %s -m ' % file +

but I'm not sure it's worth it: pipestatus is not a script which should change a lot, so if you have an out-of-date version, it's probably good enough, and it will get replaced during the upgrade process and used the next time around.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10970

    • Property Status changed from positive_review to needs_info
  • Ticket #10970 – Description

    v20 v24  
    33----
    44
    5 Apply [attachment:trac_10970_do_not_generate_pipestatus.patch] to the Sage '''root repository''' (in `$SAGE_ROOT`).
     5Apply [attachment:trac_10970_do_not_generate_pipestatus.patch] and [attachment:trac_10970-error-msg.patch] to the Sage '''root repository''' (in `$SAGE_ROOT`).
    66
    77----