File: addurl_should_fail_when_youtube-dl_disabled.mdwn

package info (click to toggle)
git-annex 7.20190129-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 56,292 kB
  • sloc: haskell: 59,105; sh: 1,255; makefile: 225; perl: 136; ansic: 44
file content (7 lines) | stat: -rw-r--r-- 393 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
When using addurl on an url that youtube-dl supports, if it's installed but
not enabled to be used due to the recent security fix, git-annex will
download the web page and add it, which is unlikely to be desired behavior.
Instead, it should check if youtube-dl supports the page, and then error
out at the download stage, with a message that points at how to enable it.

> [[done]] --[[Joey]]