[PATCH] gnu: yt-dlp: Update to 2022.08.08.

  • Done
  • quality assurance status badge
Details
4 participants
  • Björn Höfling
  • Tobias Geerinckx-Rice
  • raingloom
  • Vagrant Cascadian
Owner
unassigned
Submitted by
raingloom
Severity
normal
R
R
raingloom wrote on 13 Aug 2022 15:53
(address . guix-patches@gnu.org)(name . raingloom)(address . raingloom@riseup.net)
20220813135301.22574-1-raingloom@riseup.net
* gnu/packages/video.scm (yt-dlp): Update to 2022.08.08.
[source]: remove snippet, switch to git-fetch
---
gnu/packages/video.scm | 23 ++++++-----------------
1 file changed, 6 insertions(+), 17 deletions(-)

Toggle diff (39 lines)
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 6d0b5ccb58..94ef3f0468 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -2486,26 +2486,15 @@ (define-public youtube-dl
(define-public yt-dlp
(package/inherit youtube-dl
(name "yt-dlp")
- (version "2022.07.18")
+ (version "2022.08.08")
(source (origin
- (method url-fetch)
- (uri (string-append "https://github.com/yt-dlp/yt-dlp/"
- "releases/download/"
- version "/yt-dlp.tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/yt-dlp/yt-dlp/")
+ (commit version)))
(sha256
(base32
- "1wmzfqhysx1mqdba4ikvm6nbahasihi4xgqwqad20y3vs701slyj"))
- (snippet
- #~(begin
- ;; Delete the pre-generated files, except for the man page
- ;; which requires 'pandoc' to build.
- (for-each delete-file
- (list "yt-dlp"
- ;;pandoc is needed to generate
- ;;"yt-dlp.1"
- "completions/bash/yt-dlp"
- "completions/fish/yt-dlp.fish"
- "completions/zsh/_yt-dlp"))))))
+ "07qz1zdndlpki0asw35zk5hdjcwpl3n1g54nxg4yb1iykbyv7rll"))))
(arguments
(substitute-keyword-arguments (package-arguments youtube-dl)
((#:tests? _) #t)
--
2.37.1
T
T
Tobias Geerinckx-Rice wrote on 13 Aug 2022 16:19
(name . raingloom)(address . raingloom@riseup.net)
877d3cnre3.fsf@nckx
Hi raingloom,

raingloom ???
Toggle quote (2 lines)
> * gnu/packages/video.scm (yt-dlp): Update to 2022.08.08.

Thanks!

Since yt-dlp was already up to date, I've turned this into a
‘fetch from git’ patch with the following additions:

Toggle quote (2 lines)
> [source]: remove snippet, switch to git-fetch

^^ extraneous indentation; s/remove/Remove/.

When using GIT-FETCH, always set the file-name to something
meaningful:

(file-name (git-file-name name version))

Toggle quote (4 lines)
> - ;; Delete the pre-generated files, except
> for the man page
> - ;; which requires 'pandoc' to build.

OK, but then we do need to build it ourselves, not remove it.

Done in c2481b1bea56f2885110d5af0a6cff36a3d95933.

The new package works fine, but differs slightly:
extractor/lazy_extractors.py is no longer installed. What's up
with that?

Leaving open for now,

T G-R
-----BEGIN PGP SIGNATURE-----

iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCYve2lA0cbWVAdG9iaWFz
LmdyAAoJEA2w/4hPVW15iU0BAJ39DfFW1JsYGGcLAKq4u8k4HLaf+pIbkqtgVLc4
4adWAQDMsR3fCLe/F3zqg8IQEyZeKxOmeDFlkcS8kbMURMX5Dw==
=RsIs
-----END PGP SIGNATURE-----

C
(name . Tobias Geerinckx-Rice)(address . me@tobias.gr)
87fshzdmbj.fsf@riseup.net
Tobias Geerinckx-Rice <me@tobias.gr> writes:

Toggle quote (15 lines)
> [[PGP Signed Part:Undecided]]
> Hi raingloom,
>
> raingloom ???
>> * gnu/packages/video.scm (yt-dlp): Update to 2022.08.08.
>
> Thanks!
>
> Since yt-dlp was already up to date, I've turned this into a ‘fetch
> from git’ patch with the following additions:
>
>> [source]: remove snippet, switch to git-fetch
>
> ^^ extraneous indentation; s/remove/Remove/.

Dang, I'll get the hang of the changelog format sometime this decade. :)

Toggle quote (13 lines)
> When using GIT-FETCH, always set the file-name to something
> meaningful:
>
> (file-name (git-file-name name version))
>
>> - ;; Delete the pre-generated files, except for
>> the man page
>> - ;; which requires 'pandoc' to build.
>
> OK, but then we do need to build it ourselves, not remove it.
>
> Done in c2481b1bea56f2885110d5af0a6cff36a3d95933.

I lazily assumed it was being generated already, I guess the comment was
misleading and I should have verified it.

Toggle quote (4 lines)
> The new package works fine, but differs slightly:
> extractor/lazy_extractors.py is no longer installed. What's up with
> that?

Not sure what that is or where it's used. I'll try to take a look soon-ish.

Toggle quote (5 lines)
> Leaving open for now,
>
> T G-R
>
> [[End of PGP Signed Part]]
B
B
Björn Höfling wrote on 21 Sep 2022 11:20
(name . Tobias Geerinckx-Rice via Guix-patches via)(address . guix-patches@gnu.org)
20220921112006.4037cb8e@alma-ubu.fritz.box
On Sat, 13 Aug 2022 16:19:46 +0200
Tobias Geerinckx-Rice via Guix-patches via <guix-patches@gnu.org> wrote:

Toggle quote (2 lines)
> Leaving open for now,

Hi raingloom, hi Tobias,

is there anything left here? Will you provide an updated patch with
some remainings, or can we close this here?

I'm just skimming through older patches and try to identify what needs
to be pushed vs can be closed.

Thanks,

Björn
-----BEGIN PGP SIGNATURE-----

iF0EAREKAB0WIQQiGUP0np8nb5SZM4K/KGy2WT5f/QUCYyrXRgAKCRC/KGy2WT5f
/SzAAJ9WsRRTtk+lGNLQaW5nmnDLeMTVBwCfeVWZ2Qg0bjL8FmtRjnUaeHlzYfw=
=2TDU
-----END PGP SIGNATURE-----


V
V
Vagrant Cascadian wrote on 2 Sep 2023 05:58
(address . 57173-done@debbugs.gnu.org)
87il8tp6ot.fsf@wireframe
On 2022-08-14, Csepp wrote:
Toggle quote (3 lines)
> Tobias Geerinckx-Rice <me@tobias.gr> writes:
>> raingloom ???
>>> * gnu/packages/video.scm (yt-dlp): Update to 2022.08.08.
...
Toggle quote (24 lines)
>> When using GIT-FETCH, always set the file-name to something
>> meaningful:
>>
>> (file-name (git-file-name name version))
>>
>>> - ;; Delete the pre-generated files, except for
>>> the man page
>>> - ;; which requires 'pandoc' to build.
>>
>> OK, but then we do need to build it ourselves, not remove it.
>>
>> Done in c2481b1bea56f2885110d5af0a6cff36a3d95933.
>
> I lazily assumed it was being generated already, I guess the comment was
> misleading and I should have verified it.
>
>> The new package works fine, but differs slightly:
>> extractor/lazy_extractors.py is no longer installed. What's up with
>> that?
>
> Not sure what that is or where it's used. I'll try to take a look soon-ish.
>
>> Leaving open for now,

If there are other outstanding issues, might be best to open a new bug
for them at this point?

yt-dlp has been updated several times since, the latest being:

88d107b2b9bf72a628065a1475ecce7b49852c35 gnu: yt-dlp: Update to 2023.07.06.

Marking as done.

live well,
vagrant
-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCZPKy4gAKCRDcUY/If5cW
qsK6AQD2OpIucrxvDjpneLlWvSwYvKXo41fFdeg56Y38qerwgAD+Niz82G9kxNoV
AbyG2WIJPerKn30MpbyHeRqvn8etkQo=
=xCy4
-----END PGP SIGNATURE-----

Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 57173@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 57173
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch