lofar_stager_api tagshttps://git.astron.nl/astron-sdc/lofar_stager_api/-/tags2023-06-16T07:04:10Zhttps://git.astron.nl/astron-sdc/lofar_stager_api/-/tags/2.02.0Script is migrated to stageit, the new stager (https://sdc.astron.nl/stageit). This is the last version to support Python2, the next version will remove it.<p data-sourcepos="1:1-1:160" dir="auto">Script is migrated to stageit, the new stager (<a href="https://sdc.astron.nl/stageit" rel="nofollow noreferrer noopener" target="_blank">https://sdc.astron.nl/stageit</a>). <strong data-sourcepos="1:80-1:160">This is the last version to support Python2, the next version will remove it.</strong></p>
<p data-sourcepos="3:1-3:24" dir="auto">Version 2.0 usage notes:</p>
<ul data-sourcepos="5:1-13:268" dir="auto">
<li data-sourcepos="5:1-7:182">You need an access token to the stageit api. Please refer to the user guide linked above to sign up and login to stageit. After logging in, a token can be obtained in one of two ways:
<ul data-sourcepos="6:3-7:182">
<li data-sourcepos="6:3-6:61">Visit <a href="https://sdc.astron.nl/stageit/api/staging/get-token" rel="nofollow noreferrer noopener" target="_blank">https://sdc.astron.nl/stageit/api/staging/get-token</a>
</li>
<li data-sourcepos="7:3-7:182">From anywhere in the application, click on your account name in the top right to access your profile. From your profile page, click the "Request token" button to receive a token.</li>
</ul>
</li>
<li data-sourcepos="8:1-8:95">The token is valid indefinitely. Requesting a token multiple times will yield the same token.</li>
<li data-sourcepos="9:1-11:67">Make sure the token is available in your <span data-escaped-char>~</span>/.stagingrc file:
<ul data-sourcepos="10:3-11:67">
<li data-sourcepos="10:3-10:29">api_token=YOUR_TOKEN_HERE</li>
<li data-sourcepos="11:3-11:67">remove the old username and password from the <code data-sourcepos="11:52-11:61">.stagingrc</code> file</li>
</ul>
</li>
<li data-sourcepos="12:1-12:107">The script is Python2 compatible, there is a Dockerfile available for Python2 testing in <code data-sourcepos="12:93-12:106">./tests/docker</code>
</li>
<li data-sourcepos="13:1-13:268">The requests library is a required dependency. If you care about Python2 compatability, you can use at most version 2.22.0 of requests. Otherwise, you can install any version (note: you can also <code data-sourcepos="13:199-13:231">pip install -r 'requirements.txt'</code>, which will install version 2.22.0)</li>
</ul>2023-06-16T07:04:10ZMattia Mancinihttps://git.astron.nl/astron-sdc/lofar_stager_api/-/tags/1.71.7<ul data-sourcepos="1:1-4:141" dir="auto">
<li data-sourcepos="1:1-1:34">Fix bug in credential detection.</li>
<li data-sourcepos="2:1-2:89">Improved exception handling: rethrowing the exceptions still revealed the credentials.</li>
<li data-sourcepos="3:1-3:155">Add Boolean parameter 'only_last24h' to get_progress. This sometimes allows to work around time-outs when the stager is busy with many internal retries.</li>
<li data-sourcepos="4:1-4:141">Add function get_stuck_requests which tries (until it runs again into a time-out) to print a list of requests that are pending on retries.</li>
</ul>2020-08-06T06:31:29Zjurgeshttps://git.astron.nl/astron-sdc/lofar_stager_api/-/tags/1.61.6<p data-sourcepos="1:1-1:86" dir="auto">Version 1.6: Try to not reveal credentials in the URI when xmlrpc throws an exception.</p>2020-07-20T14:56:30ZThomas Juergeshttps://git.astron.nl/astron-sdc/lofar_stager_api/-/tags/1.51.5Changed the credential parsing from our homegrown solution to Python's configparser to make it more robust.<p data-sourcepos="1:1-1:121" dir="auto">Version 1.5: Changed the credential parsing from our homegrown solution to Python's configparser to make it more robust.</p>2019-10-02T07:15:05ZThomas Jürgesjurges@astron.nlhttps://git.astron.nl/astron-sdc/lofar_stager_api/-/tags/1.41.4<p data-sourcepos="1:1-1:56" dir="auto">Added support for en-/disabling of e-mail notifications.</p>2019-09-19T15:06:27ZThomas Jürgesjurges@astron.nlhttps://git.astron.nl/astron-sdc/lofar_stager_api/-/tags/1.31.3Thomas Jürgesyfn+gitlab@protonmail.comhttps://git.astron.nl/astron-sdc/lofar_stager_api/-/tags/1.21.2Thomas Jürgesjurges@astron.nlhttps://git.astron.nl/astron-sdc/lofar_stager_api/-/tags/1.11.1Thomas Jürgesjurges@astron.nlhttps://git.astron.nl/astron-sdc/lofar_stager_api/-/tags/1.01.0Thomas Jürgesjurges@astron.nl