summary refs log tree commit diff
path: root/contrib/purge_api (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix Shellcheck SC2089 and SC2090: Quotes in varsDan Callahan2021-10-221-2/+4
| | | | | | | | | | | | | | | | | | SC2089: Quotes/backslashes will be treated literally. Use an array. https://github.com/koalaman/shellcheck/wiki/SC2089 SC2090: Quotes/backslashes in this variable will not be respected. https://github.com/koalaman/shellcheck/wiki/SC2090 Putting literal JSON in a variable mistakenly triggers these warnings. Instead of adding ignore directives, this can be avoided by inlining the JSON data into the curl invocation. Since the variable is only used in this one location, inlining is fine. Signed-off-by: Dan Callahan <danc@element.io>
* Fix some links in `docs` and `contrib` (#10370)Dirk Klimpel2021-07-132-5/+7
|
* Use interpreter from $PATH instead of absolute paths in various scripts ↵Quentin Gliech2021-03-252-2/+2
| | | | | | | | | using /usr/bin/env (#9689) On NixOS, `bash` isn't under `/bin/bash` but rather in some directory in `$PATH`. Locally, I've been patching those scripts to make them work. `/usr/bin/env` seems to be the only [portable way](https://unix.stackexchange.com/questions/29608/why-is-it-better-to-use-usr-bin-env-name-instead-of-path-to-name-as-my) to use binaries from the PATH as interpreters. Signed-off-by: Quentin Gliech <quentingliech@gmail.com>
* Fix curl command typo in purge_remote_media.shThomas Citharel2019-08-091-1/+1
| | | | | | Was verbose option instead of -X, command didn't work Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Update purge_api READMEjon r2019-06-271-2/+2
| | | This points the reverse links at the intended location.
* add purge_history.sh and purge_remote_media.sh scripts to contrib/purge_api/rubo772018-11-073-0/+211
Signed-off-by: Ruben Barkow <github@r.z11.de>