Github messages for voidlinux
 help / color / mirror / Atom feed
From: classabbyamp <classabbyamp@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] add $CRATES_SITE
Date: Sat, 15 Apr 2023 07:32:48 +0200	[thread overview]
Message-ID: <20230415053248.8fhbga33AuJFQL6npuzhhVDVai4uyLgDkGar5Rf-w7U@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-43417@inbox.vuxu.org>

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

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages crates-site
https://github.com/void-linux/void-packages/pull/43417

add $CRATES_SITE
by codifying `https://static.crates.io/crates` as `$CRATES_SITE`, this should point people towards using `$CRATES_SITE/pkgname/pkgname-${version}.crate` for distfiles (if using crates.io instead of git tarballs), instead of other options like whatever `pijul` was doing.

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES** (confirmed that no checksums changed)

[ci skip]

A patch file from https://github.com/void-linux/void-packages/pull/43417.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-crates-site-43417.patch --]
[-- Type: text/x-diff, Size: 1037 bytes --]

From 82e6b31850a0fb2006fd34d77987977a4e5a01a2 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Sat, 15 Apr 2023 01:32:29 -0400
Subject: [PATCH] pijul: fix distfile url

---
 srcpkgs/pijul/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/pijul/template b/srcpkgs/pijul/template
index ba0d9c8def65..4d18c61450c7 100644
--- a/srcpkgs/pijul/template
+++ b/srcpkgs/pijul/template
@@ -11,7 +11,7 @@ short_desc="Distributed version control system based on patches"
 maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
 license="GPL-2.0-only"
 homepage="https://pijul.org/"
-distfiles="https://crates.io/api/v1/crates/pijul/${version}/download>pijul-${version}.tar.gz
+distfiles="https://static.crates.io/crates/pijul/pijul-${version}.crate
  https://gitlab.com/sequoia-pgp/sequoia/-/archive/v${_sequoia_ver}/sequoia-v${_sequoia_ver}.tar.gz"
 checksum="f92a3f4063e780ca45c161ceb0f42baf34dfeddf3359ebf6c2e0442d9abb5889
  71823c88b9666611f3cfa6b1d923bd66fda92fa6a53368b195bd2f962fdf7f4b"

  parent reply	other threads:[~2023-04-15  5:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-13  4:52 [PR PATCH] " classabbyamp
2023-04-13  5:18 ` [PR PATCH] [Updated] " classabbyamp
2023-04-13  8:53 ` tranzystorek-io
2023-04-15  5:32 ` classabbyamp [this message]
2023-04-15  5:33 ` classabbyamp
2023-04-15  5:34 ` [PR PATCH] [Closed]: " classabbyamp

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

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

  git send-email \
    --in-reply-to=20230415053248.8fhbga33AuJFQL6npuzhhVDVai4uyLgDkGar5Rf-w7U@z \
    --to=classabbyamp@users.noreply.github.com \
    --cc=ml@inbox.vuxu.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.
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 NNTP newsgroup(s).