From: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
To: 53148@debbugs.gnu.org
Subject: [bug#53148] [PATCH] gnu: java-snakeyaml: Fix the source URI
Date: Mon, 10 Jan 2022 00:13:26 +0300 [thread overview]
Message-ID: <878rvoliix.fsf@gmail.com> (raw)
In-Reply-To: <87czl0ljgu.fsf@gmail.com> (Artyom V. Poptsov's message of "Sun, 09 Jan 2022 23:53:05 +0300")
[-- Attachment #1.1: Type: text/plain, Size: 91 bytes --]
Oh wait, I forgot to update the patch. My bad.
Here's the right version of it.
- Artyom
[-- Attachment #1.2: 0001-gnu-java-snakeyaml-Fix-the-source-URI.patch --]
[-- Type: text/x-diff, Size: 3092 bytes --]
From 10dfd488945fff5d0032a2f58ef0e5cf0005132e Mon Sep 17 00:00:00 2001
From: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
Date: Sun, 9 Jan 2022 23:20:35 +0300
Subject: [PATCH] gnu: java-snakeyaml: Fix the source URI
* gnu/packages/java.scm (java-snakeyaml): Use the GitHub mirror instead of
BitBucket repository as BitBucket redirects to the login page.
---
gnu/packages/java.scm | 24 ++++++++++++++++++------
1 file changed, 18 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index e54d2ed0cb..774db85271 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -18,6 +18,7 @@
;;; Copyright © 2021 Mike Gerwitz <mtg@gnu.org>
;;; Copyright © 2021 Pierre Langlois <pierre.langlois@gmx.com>
;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
+;;; Copyright © 2022 Artyom V. Poptsov <poptsov.artyom@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -9916,13 +9917,21 @@ of deserialization.")
(name "java-snakeyaml")
(version "1.18")
(source (origin
- (method url-fetch)
- (uri (string-append "https://bitbucket.org/asomov/snakeyaml/get/v"
- version ".tar.gz"))
- (file-name (string-append name "-" version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ ;; NOTE: This git repository is not official, but contains
+ ;; the source code that is in the tarball from BitBucket
+ ;; repository. Downloading the tarball from BitBucket
+ ;; requires authentication in BitBucket.
+ ;;
+ ;; NOTE: Official repository lives here:
+ ;; https://bitbucket.org/asomov/snakeyaml
+ (url "https://github.com/snakeyaml/snakeyaml")
+ (commit "9f21bfb21b5f4de7369504641b32184c1b23b7f3")))
+ (file-name (string-append name "-" version))
(sha256
(base32
- "0474cqcv46zgv9bhms2vgawakq1vyj0hp3h3f1bfys46msia90bh"))))
+ "1xjd3c2r2yziygw1lrrnibwbalcqir6ic934qp5sq9j1bmzzyy8y"))))
(build-system ant-build-system)
(arguments
`(#:jar-name "java-snakeyaml.jar"
@@ -9930,7 +9939,10 @@ of deserialization.")
;; Tests require velocity, a cyclic dependency, and
;; java-spring-framework-context which is not packaged.
#:tests? #f))
- (home-page "https://bitbucket.org/asomov/snakeyaml")
+ ;; NOTE: 'guix lint' complains about the lack of upstream releases because
+ ;; there's no git tags for each release. It's really unfortunate
+ ;; situation but that's how the project's upstream is organized.
+ (home-page "https://github.com/snakeyaml/snakeyaml")
(synopsis "YAML processor")
(description "SnakeYAML is a YAML processor for the Java Virtual Machine.")
(license license:asl2.0))); found on wiki.fasterxml.com/JacksonLicensing
--
2.25.1
[-- Attachment #1.3: Type: text/plain, Size: 207 bytes --]
--
Artyom "avp" Poptsov <poptsov.artyom@gmail.com>
Home page: https://memory-heap.org/~avp/
CADR Hackerspace co-founder: https://cadrspace.ru/
GPG: D0C2 EAC1 3310 822D 98DE B57C E9C5 A2D9 0898 A02F
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
next prev parent reply other threads:[~2022-01-09 21:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-09 20:53 [bug#53148] [PATCH] gnu: java-snakeyaml: Fix the source URI Artyom V. Poptsov
2022-01-09 20:57 ` Maxime Devos
2022-01-09 21:13 ` Artyom V. Poptsov [this message]
2022-01-09 21:37 ` Artyom V. Poptsov
2022-01-09 22:06 ` Maxime Devos
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=878rvoliix.fsf@gmail.com \
--to=poptsov.artyom@gmail.com \
--cc=53148@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).