https://codeberg.org/gnuastro/papers
Revision 43186705c89e99fd4dbf5549ad031d27d77dfe6f authored by Mohammad Akhlaghi on 25 August 2022, 15:02:29 UTC, committed by Mohammad Akhlaghi on 02 September 2022, 17:45:31 UTC
SUMMARY: Nothing special is necessary for your existing projects. This
commit just addds two new features (read the commit description for more):
1. To provide a user and password to servers that need authentication
before they allow downloading of proprietary data,
2. To use the FITS Standard's DATASUM for file verification (for cases
where the file is not static on the server, and is generated upon
receiving your download request).
Until now, Maneage didn't have any infrastructure for databases that
require authentication (through a user or password, when calling
'wget'). Furthermore, when the downloaded file is automatically generated
by the server upon request, the server usually adds metadata (like file
date, or query number and etc) in the header. Therefore the simple SHA256
checksum of the file would differ on every download! This made it very hard
to verify if the data (not headers) are unchanged.
With this commit, both these problems have been addressed:
- Server authentication: the 'reproduce/software/config/LOCAL.conf' now
contains three new variables for this purpose. With them, you can give
your username and password, along with the authentication method of the
server. The comments on top of these three variables give a full
description of their usage.
- Verifying only the data in a file (ignoring the headers): The
'reproduce/analysis/config/INPUTS.conf' now accepts two new optional
variables for each input file using the FITS standard's DATASUM
convention: 'INPUT-%-fitsdatasum' and 'INPUT-%-fitshdu'. If the SHA256
isn't specified for a file, Maneage will use these to verify the
file. With the latter, you specify the HDU of the data you want to
verify and with the former you give the DATASUM value for that HDU. As
the name suggests, this is only valid for FITS files. If we find other
formats that support a similar behavior, we can add this feature for
those formats also. This is also thoroughly discussed in the comments of
'reproduce/analysis/config/INPUTS.conf'.
This commit was done with the help of Pedram Ashofte Ardakani, Sepideh
Eskandarlou and Mohammadreza Khellat.
1 parent 79ee52e
Tip revision: 43186705c89e99fd4dbf5549ad031d27d77dfe6f authored by Mohammad Akhlaghi on 25 August 2022, 15:02:29 UTC
Added server authentication and FITS DATASUM for verficiation
Added server authentication and FITS DATASUM for verficiation
Tip revision: 4318670
.file-metadata
MeTaSt00r3 ./reproduce/software/bibtex/missfits.tex raulinfantesainz staff P¥ê^ Y; ¤ ./tex raulinfantesainz staff Lü^ A! íA ./tex/src/delete-me-image-histogram.tex raulinfantesainz staff v¥ê^ ú¼ö ¤ ./reproduce/software/bibtex/fftw.tex raulinfantesainz staff ^ óõó2 ¤ ./reproduce/software/bibtex/sympy.tex raulinfantesainz staff P¥ê^ þÛS ¤ ./reproduce/software/bibtex/corner.tex raulinfantesainz staff P¥ê^ þ) ¤ ./reproduce/analysis/make/top-prepare.mk raulinfantesainz staff P¥ê^ Õº ¤ ./reproduce/software/bibtex/astropy.tex raulinfantesainz staff ^ Eóä2 ¤ ./reproduce/software/config/software_acknowledge_context.sh raulinfantesainz staff sªê^ óÐ4 í ./reproduce/software/make/atlas-multiple.mk raulinfantesainz staff Âû^ ûÔJ8 ¤ ./reproduce/analysis/bash/download-multi-try raulinfantesainz staff P¥ê^ w¶ í ./reproduce/analysis/config raulinfantesainz staff v¥ê^ ~^Æ íA ./reproduce/software/make/python.mk raulinfantesainz staff Âû^ à*y8 ¤ ./reproduce/software/make/build-rules.mk raulinfantesainz staff Âû^ D¡`8 ¤ ./reproduce/software/config/gnuastro raulinfantesainz staff úþ^ QJ£ ÿA ./README.md raulinfantesainz staff v¥ê^ ·¾± ¤ ./reproduce/analysis/make/prepare.mk raulinfantesainz staff P¥ê^ N%ê ¤ ./.dir-locals.el raulinfantesainz staff ^ dü1 ¤ ./tex/tikz raulinfantesainz staff Lü^ :! í¡ ./reproduce/software/bibtex/healpix.tex raulinfantesainz staff P¥ê^ . ¤ ./reproduce/analysis/config/gnuastro/aststatistics.conf raulinfantesainz staff úþ^ Ú/Ô ¤ ./reproduce/software/shell/git-pre-commit raulinfantesainz staff ^ ´4 í ./reproduce/software/config/.DS_Store raulinfantesainz staff ÷¾\ Aeà3 ¤ ./reproduce/software/bibtex raulinfantesainz staff K%û^ ÷J. íA ./.gitignore raulinfantesainz staff ^ }S2 ¤ ./reproduce/software/config/servers-backup.conf raulinfantesainz staff v¥ê^ U¥å ¤ ./paper.pdf raulinfantesainz staff û}ô^ ç· ¤ ./.gnuastro raulinfantesainz staff Lü^ ªÂÐ! í¡ ./reproduce/software/make/basic.mk raulinfantesainz staff Âû^ áD[8 ¤ ./reproduce/software/config/installation/LOCAL.conf raulinfantesainz staff g%^ *j, ¤ ./tex/src/references.tex raulinfantesainz staff v¥ê^ )O ¤ ./Makefile raulinfantesainz staff E¦-] 8·
7 í¡ ./reproduce/software/bibtex/sip_tpv.tex raulinfantesainz staff ^ qùB3 ¤ ./reproduce/software/shell raulinfantesainz staff ~ü^ »9 íA ./reproduce/software/bibtex/galsim.tex raulinfantesainz staff P¥ê^ .Û' ¤ ./reproduce/software/make/.basic.mk.swp raulinfantesainz staff ½Lü^ µ® ¤ ./cmake-crash.tar.gz raulinfantesainz staff aú^ ¢Á ¤ ./reproduce/software/config/checksums.conf raulinfantesainz staff Âû^ íi58 ¤ ./project raulinfantesainz staff Âû^ Í#8 í ./COPYING raulinfantesainz staff KȽ\ ¤ ./reproduce/software/make raulinfantesainz staff þ~ü^ ìÐ íA ./reproduce/software/bibtex/scamp.tex raulinfantesainz staff ^ ù`43 ¤ ./reproduce/software/bibtex/matplotlib.tex raulinfantesainz staff P¥ê^ 5 ¤ ./reproduce/analysis/config/gnuastro/astbuildprog.conf raulinfantesainz staff úþ^ Í ¤ ./.local raulinfantesainz staff Lü^
Òü í¡ ./reproduce/analysis/make raulinfantesainz staff ~ü^ p£M íA ./reproduce/analysis/make/initialize.mk raulinfantesainz staff ~ü^ ¬V ¤ ./reproduce/software/shell/git-post-checkout raulinfantesainz staff ^ \ç4 í ./reproduce/software/config/LOCAL.conf.in raulinfantesainz staff úþ^ ]üö ¤ ./.build raulinfantesainz staff Lü^ kÙÞ í¡ ./reproduce/software/make/high-level.mk raulinfantesainz staff þ~ü^ * ¤ ./reproduce/software/config/texlive-packages.conf raulinfantesainz staff úþ^ »
¤ ./reproduce/software/config/TARGETS.conf raulinfantesainz staff å÷^ * ¤ ./reproduce/analysis/make/download.mk raulinfantesainz staff v¥ê^ aéÓ ¤ ./reproduce/software/config/gnuastro/gnuastro-local.conf raulinfantesainz staff r%^ 3 ¤ ./tex/src/preamble-pgfplots.tex raulinfantesainz staff v¥ê^ 0ý ¤ ./reproduce/analysis/config/metadata.conf raulinfantesainz staff v¥ê^ -Ç ¤ ./reproduce/software/bibtex/scipy.tex raulinfantesainz staff ^ 5Ï93 ¤ . raulinfantesainz staff Lü^ üÐ! íA ./reproduce/software/bibtex/astrometrynet.tex raulinfantesainz staff ^ Â3à2 ¤ ./reproduce/software/config raulinfantesainz staff ~ü^ Æû] íA ./tex/src/preamble-header.tex raulinfantesainz staff P¥ê^ w` ¤ ./reproduce/analysis/config/delete-me-squared-num.conf raulinfantesainz staff v¥ê^ $DÅ ¤ ./reproduce/software/patches raulinfantesainz staff P¥ê^ RÑ íA ./reproduce/software/bibtex/swarp.tex raulinfantesainz staff ^ ¶ÙG3 ¤ ./paper.tex raulinfantesainz staff ¥ê^ DZJ ¤ ./reproduce/software/patches/valgrind-3.15.0-mpi-fix1.patch raulinfantesainz staff P¥ê^ §|Ï ¤ ./reproduce/software/make/atlas-single.mk raulinfantesainz staff Âû^ TÂP8 ¤ ./reproduce/analysis/bash raulinfantesainz staff P¥ê^ ¶³ íA ./reproduce/software/config/urls.conf raulinfantesainz staff ~ü^ ~äe ¤ ./reproduce/software/bibtex/tides.tex raulinfantesainz staff ^ S3 ¤ ./reproduce/analysis/config/pdf-build.conf raulinfantesainz staff ^ 5õ~2 ¤ ./reproduce/software raulinfantesainz staff P¥ê^ âÞÉ íA ./cmake-crash.txt raulinfantesainz staff aú^ ¤ ./tex/build raulinfantesainz staff Lü^ ¢v8! í¡ ./reproduce/software/config/installation raulinfantesainz staff úþ^ 뮫 íA ./reproduce raulinfantesainz staff ú] íA ./reproduce/software/make/README.md raulinfantesainz staff P¥ê^ Â< ¤ ./tex/README.md raulinfantesainz staff P¥ê^ B
ü ¤ ./reproduce/software/bibtex/gnuastro.tex raulinfantesainz staff ^ ;3 ¤ ./reproduce/analysis/config/gnuastro/gnuastro-local.conf raulinfantesainz staff aô^ (§ ¤ ./reproduce/software/shell/bashrc.sh raulinfantesainz staff P¥ê^ Ý í ./reproduce/.DS_Store raulinfantesainz staff Û] ~&
¤ ./reproduce/analysis/make/verify.mk raulinfantesainz staff v¥ê^ Öß ¤ ./reproduce/software/config/LOCAL.conf raulinfantesainz staff ÿÿ^ ¡º ¤ ./reproduce/analysis raulinfantesainz staff ^ ¹g2 íA ./reproduce/analysis/config/gnuastro raulinfantesainz staff aô^ @ íA ./reproduce/software/patches/valgrind-3.15.0-mpi-fix2.patch raulinfantesainz staff P¥ê^ ;0Ô ¤ ./reproduce/analysis/make/top-make.mk raulinfantesainz staff P¥ê^ Íô÷ ¤ ./reproduce/software/.DS_Store raulinfantesainz staff Û] )s ¤ ./reproduce/analysis/config/gnuastro/astconvertt.conf raulinfantesainz staff úþ^ ÖÐ ¤ ./reproduce/software/config/versions.conf raulinfantesainz staff Âû^ ÌçA8 ¤ ./reproduce/analysis/config/INPUTS.conf raulinfantesainz staff v¥ê^ ¯À ¤ ./tex/src/delete-me-squared.tex raulinfantesainz staff v¥ê^ 'ù ¤ ./reproduce/analysis/config/verify-outputs.conf raulinfantesainz staff P¥ê^ ׯ ¤ ./reproduce/analysis/make/paper.mk raulinfantesainz staff sªê^ l4 ¤ ./.file-metadata raulinfantesainz staff Âû^ Ê8 ¤ ./tex/src/preamble-style.tex raulinfantesainz staff P¥ê^ ¬t- ¤ ./reproduce/software/bibtex/mpi4py.tex raulinfantesainz staff P¥ê^ ô;H ¤ ./reproduce/software/bibtex/sextractor.tex raulinfantesainz staff ^ µ4>3 ¤ ./reproduce/software/bibtex/imfit.tex raulinfantesainz staff ^ ^3 ¤ ./reproduce/software/shell/run-parts.in raulinfantesainz staff Âû^ <´8 í ./reproduce/software/make/xorg.mk raulinfantesainz staff ÷~ü^ ¥ U ¤ ./reproduce/software/config/texlive.conf raulinfantesainz staff úþ^ L¥
¤ ./reproduce/analysis/make/delete-me.mk raulinfantesainz staff v¥ê^ PÈÍ ¤ ./tex/src/preamble-biblatex.tex raulinfantesainz staff P¥ê^ ò ¤ ./reproduce/software/bibtex/numpy.tex raulinfantesainz staff ^ õÁ-3 ¤ ./reproduce/analysis/config/gnuastro/gnuastro.conf raulinfantesainz staff úþ^ i\× ¤ ./reproduce/software/shell/configure.sh raulinfantesainz staff ~ü^ ðh í ./tex/src raulinfantesainz staff ¥ê^ 3Up íA ./reproduce/software/bibtex/cython.tex raulinfantesainz staff ^ Bì2 ¤ ./reproduce/software/config/numpy-scipy.cfg raulinfantesainz staff úþ^ ü
¤ ./README-hacking.md raulinfantesainz staff v¥ê^ èĪ ¤ ./reproduce/software/shell/pre-make-build.sh raulinfantesainz staff Âû^ Àé®8 í ./.DS_Store raulinfantesainz staff êuú^ æµË( ¤ ./tex/src/preamble-necessary.tex raulinfantesainz staff ¥ê^ NÜq ¤ 
Computing file changes ...