reproduce-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[task #15708] Only connecting to Zenodo when necesssary


From: Mohammad Akhlaghi
Subject: [task #15708] Only connecting to Zenodo when necesssary
Date: Sat, 27 Jun 2020 20:09:56 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0

URL:
  <https://savannah.nongnu.org/task/?15708>

                 Summary: Only connecting to Zenodo when necesssary
                 Project: Reproducible paper template
            Submitted by: makhlaghi
            Submitted on: Sun 28 Jun 2020 01:09:54 AM BST
         Should Start On: Sun 28 Jun 2020 12:00:00 AM BST
   Should be Finished on: Sun 28 Jun 2020 12:00:00 AM BST
                Category: Software
                Priority: 5 - Normal
                  Status: Postponed
                 Privacy: Public
        Percent Complete: 0%
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                  Effort: 0.00

    _______________________________________________________

Details:

Currently, every time we run './project configure', it will attempt to connect
to Zenodo and find the most recent upload to use in possible downloads.

But especially in the development phase, this is really annoying and slows
down the testing. It can also cause confusion for a user who has all their
project's software already in a directory and doesn't want to connect to the
internet.

Fortunately the software downloading phases have become highly modular and all
downloads (except for those in 'pre-make-build.sh') are organized in a
singular place now. They are also 'flock'ed (to avoid parallel downloads). So
we can move this check within that part of the script and only connect to
Zenodo for a simple check when its necessary. 

The resulting Zenodo URL can be written to a file which is later checked by
other download attempts. Also, in the 'configure.sh' script (before the first
download attempt) we can delete this file (if it exists) to make sure that the
same Zenodo URL is not used in two rounds of configuration (possibly separated
by months!).




    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/task/?15708>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]