History | View | Annotate | Download (5 kB)
Fix a bug in pithcat introduced in 08c317fad685ddc
There was a debug print in pithcat causing problems
Rifine the help messages in pithcat
Make sure to inform the users that the preferred way to define thedb url is through the PITHCAT_INPUT_DB environmental variable
pithcat: Fix check about url type
Url must be parsed before checked against LocationURL. This commitfixes this by parsing the url at the beggining.
Fix typo in pithcat
s/in/is/
Fix Pithos backend initialization
Update pithcat to initialize the Pithos ModularBackend differently,based on the type of the requested image URL. Specifically, in case theimage URL if a 'pithosmap' URL, no access to the database is needed. Soin this case, the backend must be initialized with 'None' database...
Correct some PEP8 errors to pithcat
Make pithcat work with pithosmap:// URLs
Modify pithcat to be able to parse and work with URLs of the form:`pithosmap://hash/size' which are neeed for archipelagos.
Use env. variables to pass options to pithcat
This is done for security reasons. The options may contain sensitivedata like the Pithos DB password and while the program (pithcat) isrunning the whole command line is exposed to everyone through ps.
Remove enable-pithos-support option
snf-image will detect at runtime if pithos backend is installed
Bugfix, truncate to size
get_object_meta now requires a domain
License change to match the rest of the project
Add pithcat tool
It connects to a Pithos backend and either fetchesthe data of a file or returns its size.
Refs #1745