GNU bug report logs - #33846
[PATCH] gnu: ruby: Remove versions 1.8, 2.1 and 2.2.

Previous Next

Package: guix-patches;

Reported by: Alex Vong <alexvong1995 <at> gmail.com>

Date: Sun, 23 Dec 2018 09:40:01 UTC

Severity: normal

Tags: patch

Done: Alex Vong <alexvong1995 <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 33846 in the body.
You can then email your comments to 33846 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#33846; Package guix-patches. (Sun, 23 Dec 2018 09:40:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Alex Vong <alexvong1995 <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 23 Dec 2018 09:40:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Alex Vong <alexvong1995 <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: alexvong1995 <at> gmail.com
Subject: [PATCH] gnu: ruby: Remove versions 1.8, 2.1 and 2.2.
Date: Sun, 23 Dec 2018 17:39:09 +0800
[Message part 1 (text/plain, inline)]
Hello,

This patch removes all ruby versions which have reached EOL since they
no longer receive official security updates.

However, please do complain if you need to use one of these
versions. IMO, it is better to have a central place for them to receive
(unofficial) security updates (e.g. Debian will support ruby 2.1 until
2020), than to roll your own security updates (which is error-prone and
duplicate effort).

[0001-gnu-ruby-Remove-versions-1.8-2.1-and-2.2.patch (text/x-diff, inline)]
From 2063870b76c6197e34764750f7ca6be1f41d8871 Mon Sep 17 00:00:00 2001
From: Alex Vong <alexvong1995 <at> gmail.com>
Date: Sat, 22 Dec 2018 07:30:41 +0800
Subject: [PATCH] gnu: ruby: Remove versions 1.8, 2.1 and 2.2.

Remove ruby versions which have reached EOL.

See <https://lists.gnu.org/archive/html/guix-devel/2018-11/msg00421.html>.

* gnu/packages/ruby.scm (ruby-1.8, ruby-2.1, ruby-2.2): Remove variables.
---
 gnu/packages/ruby.scm | 68 -------------------------------------------
 1 file changed, 68 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 52832eeeb..2063579e0 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -126,74 +126,6 @@ a focus on simplicity and productivity.")
                    (delete-file-recursively "ext/fiddle/libffi-3.2.1")
                    #t))))))
 
-(define-public ruby-2.2
-  (package (inherit ruby)
-    (version "2.2.10")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (string-append "http://cache.ruby-lang.org/pub/ruby/"
-                           (version-major+minor version)
-                           "/ruby-" version ".tar.xz"))
-       (sha256
-        (base32
-         "0l5nk9mc0q4769d2i9d9y1izk0pk0lms2bl8s3lclv36wsvvqxxz"))))))
-
-(define-public ruby-2.1
-  (package (inherit ruby)
-    (version "2.1.10")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (string-append "http://cache.ruby-lang.org/pub/ruby/"
-                           (version-major+minor version)
-                           "/ruby-" version ".tar.bz2"))
-       (sha256
-        (base32
-         "1wglbd599mlwxfcb2xgqcxi2shr363pjn5dpbv11m04si9bpaim7"))))
-    (arguments
-     `(#:test-target "test"
-       #:parallel-tests? #f
-       #:phases
-       (modify-phases %standard-phases
-         (add-before 'configure 'replace-bin-sh
-           (lambda _
-             (substitute* '("Makefile.in"
-                            "ext/pty/pty.c"
-                            "io.c"
-                            "lib/mkmf.rb"
-                            "process.c")
-               (("/bin/sh") (which "sh")))
-             #t)))))))
-
-(define-public ruby-1.8
-  (package (inherit ruby)
-    (version "1.8.7-p374")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (string-append "http://cache.ruby-lang.org/pub/ruby/"
-                           (version-major+minor version)
-                           "/ruby-" version ".tar.bz2"))
-       (sha256
-        (base32
-         "1qq7khilwkayrhwmzlxk83scrmiqfi7lgsn4c63znyvz2c1lgqxl"))))
-    (native-search-paths '())
-    (arguments
-     `(#:test-target "test"
-       #:parallel-tests? #f
-       #:phases
-       (modify-phases %standard-phases
-         (add-before 'configure 'replace-bin-sh
-           (lambda _
-             (substitute* '("Makefile.in"
-                            "ext/pty/pty.c"
-                            "io.c"
-                            "lib/mkmf.rb"
-                            "process.c")
-               (("/bin/sh") (which "sh")))
-             #t)))))))
-
 (define-public ruby-highline
   (package
     (name "ruby-highline")
-- 
2.19.2

[Message part 3 (text/plain, inline)]
Cheers,
Alex
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#33846; Package guix-patches. (Mon, 24 Dec 2018 08:23:01 GMT) Full text and rfc822 format available.

Message #8 received at 33846 <at> debbugs.gnu.org (full text, mbox):

From: Pjotr Prins <pjotr.public12 <at> thebird.nl>
To: Alex Vong <alexvong1995 <at> gmail.com>
Cc: 33846 <at> debbugs.gnu.org
Subject: Re: [bug#33846] [PATCH] gnu: ruby: Remove versions 1.8, 2.1 and 2.2.
Date: Mon, 24 Dec 2018 09:22:49 +0100
On Sun, Dec 23, 2018 at 05:39:09PM +0800, Alex Vong wrote:
> Hello,
> 
> This patch removes all ruby versions which have reached EOL since they
> no longer receive official security updates.
> 
> However, please do complain if you need to use one of these
> versions. IMO, it is better to have a central place for them to receive
> (unofficial) security updates (e.g. Debian will support ruby 2.1 until
> 2020), than to roll your own security updates (which is error-prone and
> duplicate effort).
> 

Thanks Alex,

No objection. Note that we now have the channel mechanism to suport
older versions of software we don't need to maintain older versions
inside GNU Guix if there are no down stream dependencies.

Pj.




Information forwarded to guix-patches <at> gnu.org:
bug#33846; Package guix-patches. (Tue, 25 Dec 2018 18:00:01 GMT) Full text and rfc822 format available.

Message #11 received at 33846 <at> debbugs.gnu.org (full text, mbox):

From: Alex Vong <alexvong1995 <at> gmail.com>
To: Pjotr Prins <pjotr.public12 <at> thebird.nl>
Cc: 33846 <at> debbugs.gnu.org, alexvong1995 <at> gmail.com
Subject: Re: [bug#33846] [PATCH] gnu: ruby: Remove versions 1.8, 2.1 and 2.2.
Date: Wed, 26 Dec 2018 01:59:38 +0800
[Message part 1 (text/plain, inline)]
Pjotr Prins <pjotr.public12 <at> thebird.nl> writes:

> On Sun, Dec 23, 2018 at 05:39:09PM +0800, Alex Vong wrote:
>> Hello,
>> 
>> This patch removes all ruby versions which have reached EOL since they
>> no longer receive official security updates.
>> 
>> However, please do complain if you need to use one of these
>> versions. IMO, it is better to have a central place for them to receive
>> (unofficial) security updates (e.g. Debian will support ruby 2.1 until
>> 2020), than to roll your own security updates (which is error-prone and
>> duplicate effort).
>> 
>
> Thanks Alex,
>
> No objection. Note that we now have the channel mechanism to suport
> older versions of software we don't need to maintain older versions
> inside GNU Guix if there are no down stream dependencies.
>
OK. I have found that there is a guix-chromium channel. So I think I
understand what you mean now.

> Pj.

Thanks,
Alex
[signature.asc (application/pgp-signature, inline)]

Reply sent to Alex Vong <alexvong1995 <at> gmail.com>:
You have taken responsibility. (Wed, 02 Jan 2019 08:01:02 GMT) Full text and rfc822 format available.

Notification sent to Alex Vong <alexvong1995 <at> gmail.com>:
bug acknowledged by developer. (Wed, 02 Jan 2019 08:01:02 GMT) Full text and rfc822 format available.

Message #16 received at 33846-done <at> debbugs.gnu.org (full text, mbox):

From: Alex Vong <alexvong1995 <at> gmail.com>
To: 33846-done <at> debbugs.gnu.org
Cc: Pjotr Prins <pjotr.public12 <at> thebird.nl>, alexvong1995 <at> gmail.com
Subject: Re: [bug#33846] [PATCH] gnu: ruby: Remove versions 1.8, 2.1 and 2.2.
Date: Wed, 02 Jan 2019 16:00:44 +0800
[Message part 1 (text/plain, inline)]
I add the missing copyright notice
and push as 8ef06557473e4394c2d0d9d54b45c43456419b66

Alex Vong <alexvong1995 <at> gmail.com> writes:

> Pjotr Prins <pjotr.public12 <at> thebird.nl> writes:
>
>> On Sun, Dec 23, 2018 at 05:39:09PM +0800, Alex Vong wrote:
>>> Hello,
>>> 
>>> This patch removes all ruby versions which have reached EOL since they
>>> no longer receive official security updates.
>>> 
>>> However, please do complain if you need to use one of these
>>> versions. IMO, it is better to have a central place for them to receive
>>> (unofficial) security updates (e.g. Debian will support ruby 2.1 until
>>> 2020), than to roll your own security updates (which is error-prone and
>>> duplicate effort).
>>> 
>>
>> Thanks Alex,
>>
>> No objection. Note that we now have the channel mechanism to suport
>> older versions of software we don't need to maintain older versions
>> inside GNU Guix if there are no down stream dependencies.
>>
> OK. I have found that there is a guix-chromium channel. So I think I
> understand what you mean now.
>
>> Pj.
>
> Thanks,
> Alex
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 30 Jan 2019 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 60 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.