unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: ng0 <ng0@n0.is>
To: 29828@debbugs.gnu.org
Subject: [bug#29828] Various Linter corrections
Date: Sat, 23 Dec 2017 20:52:01 +0000	[thread overview]
Message-ID: <20171223205201.zecc5tjpiqbdwymt@abyayala> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 377 bytes --]

This bug starts a series of patches to:
 - fix complains external linters found
 - fix complains our linter found
These fixes include: addressing permanent redirects,
404s -> new files, domains, URLs, etc.

4 Patches for the start, more to follow.
-- 
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://c.n0.is/ng0_pubkeys/tree/keys
  WWW: https://n0.is

[-- Attachment #1.2: 0001-gnu-xz-Adjust-the-home-page.patch --]
[-- Type: text/plain, Size: 1549 bytes --]

From 9a3f25a2e3df5d7fbfa06ed598216385e85212a5 Mon Sep 17 00:00:00 2001
From: ng0 <ng0@n0.is>
Date: Wed, 13 Dec 2017 16:57:17 +0000
Subject: [PATCH 1/4] gnu: xz: Adjust the home page.

Its http URL permanently redirects to the https one,
throwing off some basic external linters.

* gnu/packages/compression.scm (xz)[home-page]: Adjust home page.
---
 gnu/packages/compression.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index be9c6344b..c87eff3b1 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -14,7 +14,7 @@
 ;;; Copyright © 2016 David Craven <david@craven.ch>
 ;;; Copyright © 2016 Kei Kebreau <kkebreau@posteo.net>
 ;;; Copyright © 2016 Marius Bakke <mbakke@fastmail.com>
-;;; Copyright © 2017 ng0 <contact.ng0@cryptolab.net>
+;;; Copyright © 2017 ng0 <ng0@n0.is>
 ;;; Copyright © 2017 Manolis Fragkiskos Ragkousis <manolis837@gmail.com>
 ;;; Copyright © 2017 Theodoros Foradis <theodoros@foradis.org>
 ;;; Copyright © 2017 Stefan Reichör <stefan@xsteve.at>
@@ -371,7 +371,7 @@ compression algorithm is currently LZMA2, which is used inside the .xz
 container format.  With typical files, XZ Utils create 30 % smaller output
 than gzip and 15 % smaller output than bzip2.")
    (license (list license:gpl2+ license:lgpl2.1+)) ; bits of both
-   (home-page "http://tukaani.org/xz/")))
+   (home-page "https://tukaani.org/xz/")))
 
 (define-public lzo
   (package
-- 
2.15.1


[-- Attachment #1.3: 0002-gnu-xdelta-Change-to-new-home-page.patch --]
[-- Type: text/plain, Size: 1199 bytes --]

From 339135e4b3ffbc011ed30d0876542f1da9f4248b Mon Sep 17 00:00:00 2001
From: ng0 <ng0@n0.is>
Date: Wed, 13 Dec 2017 17:01:00 +0000
Subject: [PATCH 2/4] gnu: xdelta: Change to new home page.

The previous used http://xdelta.com is linking to a parked/squatted domain.

* gnu/packages/compression.scm (xdelta)[home-page]: Use http://xdelta.org as
new home page.
---
 gnu/packages/compression.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index c87eff3b1..c242a5a4e 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -985,7 +985,7 @@ respectively, based on the reference implementation from Google.")
            (lambda _ (chdir "xdelta3")))
          (add-after 'enter-build-directory 'autoconf
            (lambda _ (zero? (system* "autoreconf" "-vfi")))))))
-    (home-page "http://xdelta.com")
+    (home-page "http://xdelta.org")
     (synopsis "Delta encoder for binary files")
     (description "xdelta encodes only the differences between two binary files
 using the VCDIFF algorithm and patch file format described in RFC 3284.  It can
-- 
2.15.1


[-- Attachment #1.4: 0003-gnu-java-xz-Adjust-home-page.patch --]
[-- Type: text/plain, Size: 1017 bytes --]

From 954527da93c03ebb93da7c439c22c0974a60e956 Mon Sep 17 00:00:00 2001
From: ng0 <ng0@n0.is>
Date: Wed, 13 Dec 2017 22:03:40 +0000
Subject: [PATCH 3/4] gnu: java-xz: Adjust home page.

* gnu/packages/java.scm (java-xz)[home-page]: Adjust home-page. The http part of it
is a permanent redirect to https.
---
 gnu/packages/java.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 0be488dec..8dd635605 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -2157,7 +2157,7 @@ is implemented.")
           (lambda _ (chdir "..") #t)))))
    (native-inputs
     `(("unzip" ,unzip)))
-   (home-page "http://tukaani.org/xz/java.html")
+   (home-page "https://tukaani.org/xz/java.html")
    (synopsis "Implementation of XZ data compression in pure Java")
    (description "This library aims to be a complete implementation of XZ data
 compression in pure Java.  Single-threaded streamed compression and
-- 
2.15.1


[-- Attachment #1.5: 0004-gnu-ruby-Use-new-home-page.patch --]
[-- Type: text/plain, Size: 1445 bytes --]

From 6a9320f991ca122823972e9fb84f4ddf952fedec Mon Sep 17 00:00:00 2001
From: ng0 <ng0@n0.is>
Date: Wed, 13 Dec 2017 22:05:37 +0000
Subject: [PATCH 4/4] gnu: ruby: Use new home page.

The certificate for ruby-lang.org is only valid for lists.ruby-lang.org,
the home page has moved to www.ruby-lang.org with its own certificate.

* gnu/packages/ruby.scm (ruby)[home-page]: Use 'www.ruby-lang.org'.
---
 gnu/packages/ruby.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index c66c0a414..968a05999 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -5,7 +5,7 @@
 ;;; Copyright © 2014, 2015 David Thompson <davet@gnu.org>
 ;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
 ;;; Copyright © 2015, 2016, 2017 Ben Woodcroft <donttrustben@gmail.com>
-;;; Copyright © 2017 ng0 <contact.ng0@cryptolab.net>
+;;; Copyright © 2017 ng0 <ng0@n0.is>
 ;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com>
 ;;; Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr>
 ;;;
@@ -101,7 +101,7 @@
     (synopsis "Programming language interpreter")
     (description "Ruby is a dynamic object-oriented programming language with
 a focus on simplicity and productivity.")
-    (home-page "https://ruby-lang.org")
+    (home-page "https://www.ruby-lang.org")
     (license license:ruby)))
 
 (define-public ruby-2.4.3
-- 
2.15.1


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

             reply	other threads:[~2017-12-23 20:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-23 20:52 ng0 [this message]
2017-12-23 21:14 ` bug#29828: Various Linter corrections Danny Milosavljevic
2017-12-23 21:27   ` [bug#29828] " ng0
2017-12-23 21:25 ` ng0
2017-12-23 21:28   ` ng0

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171223205201.zecc5tjpiqbdwymt@abyayala \
    --to=ng0@n0.is \
    --cc=29828@debbugs.gnu.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).