all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#26532: [PATCH] gnu: update you-get version
@ 2017-04-16 10:33 Feng Shu
  2017-04-16 19:12 ` Marius Bakke
  0 siblings, 1 reply; 7+ messages in thread
From: Feng Shu @ 2017-04-16 10:33 UTC (permalink / raw)
  To: 26532

[-- Attachment #1: Type: text/plain, Size: 116 bytes --]


you-get stable version is outdate, it can not work with many websites
so I update you-get to git snapshot version


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-update-you-get-version.patch --]
[-- Type: text/x-patch, Size: 1469 bytes --]

From a25b84494a75c746e0e2e23b4aa00d474898beaa Mon Sep 17 00:00:00 2001
From: Feng Shu <tumashu@163.com>
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..2db7f9a79 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-7.15a1a20")
     (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 "15a1a20fb9e4a92f10dcbf8494ad3555ac4d4e61")))
+              (file-name (string-append name "-" version "-checkout"))
               (sha256
                (base32
-                "0brkz98lycx8mmxjwmn7jlhqfdbvl0hy070n7skwr1k75kh99q30"))))
+                "1ycq0nafpcw1jawdi994fzq708swrarmhrvn53mbf244k0y0dvnf"))))
     (build-system python-build-system)
     (arguments
      ;; no tests
-- 
2.12.2


[-- Attachment #3: Type: text/plain, Size: 7 bytes --]




-- 

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* bug#26532: [PATCH] gnu: update you-get version
  2017-04-16 10:33 bug#26532: [PATCH] gnu: update you-get version Feng Shu
@ 2017-04-16 19:12 ` Marius Bakke
  2017-04-17  2:27   ` bug#26532: " tumashu
  0 siblings, 1 reply; 7+ messages in thread
From: Marius Bakke @ 2017-04-16 19:12 UTC (permalink / raw)
  To: Feng Shu, 26532

[-- Attachment #1: Type: text/plain, Size: 285 bytes --]

Feng Shu <tumashu@163.com> 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?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#26532: Re: bug#26532: [PATCH] gnu: update you-get version
  2017-04-16 19:12 ` Marius Bakke
@ 2017-04-17  2:27   ` tumashu
  2017-04-17 10:04     ` Feng Shu
  0 siblings, 1 reply; 7+ messages in thread
From: tumashu @ 2017-04-17  2:27 UTC (permalink / raw)
  To: Marius Bakke; +Cc: 26532

[-- Attachment #1: Type: text/plain, Size: 566 bytes --]

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" <mbakke@fastmail.com> wrote:
>Feng Shu <tumashu@163.com> 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?

[-- Attachment #2: Type: text/html, Size: 814 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#26532: Re: bug#26532: [PATCH] gnu: update you-get version
  2017-04-17  2:27   ` bug#26532: " tumashu
@ 2017-04-17 10:04     ` Feng Shu
  2017-04-17 15:14       ` Marius Bakke
  0 siblings, 1 reply; 7+ messages in thread
From: Feng Shu @ 2017-04-17 10:04 UTC (permalink / raw)
  To: Marius Bakke; +Cc: 26532

[-- Attachment #1: Type: text/plain, Size: 146 bytes --]

tumashu  <tumashu@163.com> writes:

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



[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-update-you-get-version.patch --]
[-- Type: text/x-patch, Size: 1431 bytes --]

From fc6114749fa00b9171d0f308daa268ce343d4538 Mon Sep 17 00:00:00 2001
From: Feng Shu <tumashu@163.com>
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


[-- Attachment #3: Type: text/plain, Size: 590 bytes --]




> 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" <mbakke@fastmail.com> wrote:
>>Feng Shu <tumashu@163.com> 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?

-- 

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* bug#26532: Re: bug#26532: [PATCH] gnu: update you-get version
  2017-04-17 10:04     ` Feng Shu
@ 2017-04-17 15:14       ` Marius Bakke
  2017-04-17 22:07         ` Feng Shu
  0 siblings, 1 reply; 7+ messages in thread
From: Marius Bakke @ 2017-04-17 15:14 UTC (permalink / raw)
  To: Feng Shu; +Cc: 26532

[-- Attachment #1: Type: text/plain, Size: 807 bytes --]

Feng Shu <tumashu@163.com> writes:

> tumashu  <tumashu@163.com> writes:
>
> This is the updated patch, I use git-fetch instead of url-fetch for I
> want to package git-snapshot if need.

What is the rationale for packaging the git version in anticipation of
needing it later? In this case the latest release is also the latest
commit, so I don't see any compelling reason for switching to git-fetch
at this moment.

Git snapshots use more bandwidth than regular downloads (mostly due to
Guix' lack of shallow clones), and also more disk space since they
create a source derivation. They also introduce a dependency on git
which ticks in at 344.5MiB.

Note that you can also build a package from a local source code copy
with `guix build --with-source=/path/to/git/checkout you-get` in case of
emergency :)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#26532: Re: bug#26532: [PATCH] gnu: update you-get version
  2017-04-17 15:14       ` Marius Bakke
@ 2017-04-17 22:07         ` Feng Shu
  2017-04-17 22:33           ` Marius Bakke
  0 siblings, 1 reply; 7+ messages in thread
From: Feng Shu @ 2017-04-17 22:07 UTC (permalink / raw)
  To: Marius Bakke; +Cc: 26532

[-- Attachment #1: Type: text/plain, Size: 1021 bytes --]

Marius Bakke <mbakke@fastmail.com> writes:

> Feng Shu <tumashu@163.com> writes:
>
>> tumashu  <tumashu@163.com> writes:
>>
>> This is the updated patch, I use git-fetch instead of url-fetch for I
>> want to package git-snapshot if need.
>
> What is the rationale for packaging the git version in anticipation of
> needing it later? In this case the latest release is also the latest
> commit, so I don't see any compelling reason for switching to git-fetch
> at this moment.
>
> Git snapshots use more bandwidth than regular downloads (mostly due to
> Guix' lack of shallow clones), and also more disk space since they
> create a source derivation. They also introduce a dependency on git
> which ticks in at 344.5MiB.

344.5MiB ...

you are right, tarball seem to be a better approach.

>
> Note that you can also build a package from a local source code copy
> with `guix build --with-source=/path/to/git/checkout you-get` in case of
> emergency :)
>

This is a very useful tip, thanks!


the below is updated patch:


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-update-you-get-version.patch --]
[-- Type: text/x-patch, Size: 1153 bytes --]

From 77df519f20b5304ec0e838ad519aef26ab18115c Mon Sep 17 00:00:00 2001
From: Feng Shu <tumashu@163.com>
Date: Tue, 18 Apr 2017 06:04:12 +0800
Subject: [PATCH] gnu: update you-get version

* gnu/packages/video.scm (you-get): Update you-get version
---
 gnu/packages/video.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index e1c6a989f..dcac350d0 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -1105,7 +1105,7 @@ other site that youtube-dl supports.")
 (define-public you-get
   (package
     (name "you-get")
-    (version "0.4.652")
+    (version "0.4.715")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -1113,7 +1113,7 @@ other site that youtube-dl supports.")
                     version "/you-get-" version ".tar.gz"))
               (sha256
                (base32
-                "0brkz98lycx8mmxjwmn7jlhqfdbvl0hy070n7skwr1k75kh99q30"))))
+                "043122hfh56fbbszp1kwd1f65asgyn60j1ijday93hf2dkhvbrnh"))))
     (build-system python-build-system)
     (arguments
      ;; no tests
-- 
2.12.2


[-- Attachment #3: Type: text/plain, Size: 7 bytes --]




-- 

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* bug#26532: Re: bug#26532: [PATCH] gnu: update you-get version
  2017-04-17 22:07         ` Feng Shu
@ 2017-04-17 22:33           ` Marius Bakke
  0 siblings, 0 replies; 7+ messages in thread
From: Marius Bakke @ 2017-04-17 22:33 UTC (permalink / raw)
  To: Feng Shu; +Cc: 26532-done

[-- Attachment #1: Type: text/plain, Size: 203 bytes --]

Feng Shu <tumashu@163.com> writes:

> the below is updated patch:

Thank you! I changed the commit message to match what we usually write
for updates. Pushed as f0bc6ca1f26184bda9f2afe2576042a952fb735b.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-04-17 22:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-16 10:33 bug#26532: [PATCH] gnu: update you-get version Feng Shu
2017-04-16 19:12 ` Marius Bakke
2017-04-17  2:27   ` bug#26532: " tumashu
2017-04-17 10:04     ` Feng Shu
2017-04-17 15:14       ` Marius Bakke
2017-04-17 22:07         ` Feng Shu
2017-04-17 22:33           ` Marius Bakke

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.