From: Mark H Weaver <mhw@netris.org>
To: Tobias Geerinckx-Rice <me@tobias.gr>
Cc: ncdehnel@gmail.com, 43418@debbugs.gnu.org
Subject: bug#43418: ffprobe/avprobe and ffmpeg/avconv should be added as dependencies of youtube-dl so it will function correctly
Date: Wed, 16 Sep 2020 07:30:35 -0400 [thread overview]
Message-ID: <87bli69cw9.fsf@netris.org> (raw)
In-Reply-To: <875z8ertcp.fsf@nckx>
Hi Tobias,
Tobias Geerinckx-Rice <me@tobias.gr> writes:
> Mark H Weaver 写道:
>
>> I see two possible approaches: ffmpeg could be added to youtube-dl's
>> propagated-inputs, or it could be instead be added to 'inputs', and
>> we could substitute hardcoded paths to 'ffmpeg' in the built
>> 'youtube-dl'. I generally tend to favor the latter approach, but
>> there are valid arguments for each approach and I don't feel strongly
>> about it.
>
> Which advantages does the former have? I wasn't aware of any.
The former approach is arguably simpler, easier to maintain, and if the
user upgrades only 'ffmpeg' while leaving 'youtube-dl' unchanged, with
the latter approach 'youtube-dl' will continue using the old 'ffmpeg'
with its potential security holes, which users unfamiliar with Guix
might not expect.
I still generally prefer the latter approach for several reasons, most
notably because it means fewer dynamically-determined dependencies,
which are contrary to our goals for reproducible behavior, i.e. that if
the software in a given store item works today for your use case, it
will work the same way tomorrow.
However, it's worth noting that this property is less useful for a
program like 'youtube-dl', because a copy of 'youtube-dl' that works
today might well stop working tomorrow because of changes made on the
server side, regardless of our efforts.
Mark
next prev parent reply other threads:[~2020-09-16 11:33 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-15 11:27 bug#43418: ffprobe/avprobe and ffmpeg/avconv should be added as dependencies of youtube-dl so it will function correctly Nathan Dehnel
2020-09-15 12:06 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2020-09-15 19:34 ` raingloom
2020-09-15 23:52 ` Nathan Dehnel
2020-09-15 23:17 ` Leo Famulari
2020-09-16 8:14 ` Mark H Weaver
2020-09-16 8:58 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2020-09-16 11:30 ` Mark H Weaver [this message]
2020-09-16 9:54 ` bug#43418: [PATCH] gnu: youtube-dl: Refer to ffmpeg Tobias Geerinckx-Rice via Bug reports for GNU Guix
2020-09-16 11:31 ` Mark H Weaver
2020-09-16 11:54 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2020-09-16 12:07 ` zimoun
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bli69cw9.fsf@netris.org \
--to=mhw@netris.org \
--cc=43418@debbugs.gnu.org \
--cc=me@tobias.gr \
--cc=ncdehnel@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.