Subject: bug#26532: Re: bug#26532: [PATCH] gnu: update you-get version

From: "Feng Shu" <[email-masked]>
Date: Mon, 17 Apr 2017 18:04:27 +0800

tumashu  <[email-masked]> writes:

This is the updated patch, I use git-fetch instead of url-fetch for I
want to package git-snapshot if need.

>From fc6114749fa00b9171d0f308daa268ce343d4538 Mon Sep 17 00:00:00 2001
From: Feng Shu <[email-masked]>
Date: Sun, 16 Apr 2017 18:27:18 +0800
Subject: [PATCH] gnu: update you-get version

* gnu/packages/video.scm (you-get): Update to git snapshot
---
 gnu/packages/video.scm | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index b64664176..95af55dab 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -1027,15 +1027,16 @@ YouTube.com and a few more sites.")
 (define-public you-get
   (package
     (name "you-get")
-    (version "0.4.652")
+    (version "0.4.715")
     (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "https://github.com/soimort/you-get/releases/download/v"
-                    version "/you-get-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/soimort/you-get.git")
+                    (commit "v0.4.715")))
+              (file-name (string-append name "-" version "-checkout"))
               (sha256
                (base32
-                "0brkz98lycx8mmxjwmn7jlhqfdbvl0hy070n7skwr1k75kh99q30"))))
+                "1miakavayg0x0vg1llbs97j6hj7k6rv9dp8idn2v2hnplvhgn08d"))))
     (build-system python-build-system)
     (arguments
      ;; no tests
-- 
2.12.2

> I prefer packaging a git snapshot version to stable version, many
> website
> update frequently theirs codes, so you-get need to update to fix the
> problem.
> git snapshot is more useful than stable version.
>
> At 2017-04-17 03:12:39, "Marius Bakke" <[email-masked]> wrote:
>>Feng Shu <[email-masked]> writes:
>>
>>> you-get stable version is outdate, it can not work with many websites
>>> so I update you-get to git snapshot version
>>
>>Version 0.4.715 was released just some hours ago and is the latest
>>upstream commit. Can you try updating to this version instead?

--