Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] xbps-src: fetch from CRAN archive
@ 2022-08-02 20:55 CameronNemo
  2022-08-02 21:43 ` Chocimier
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: CameronNemo @ 2022-08-02 20:55 UTC (permalink / raw)
  To: ml

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

There is a new pull request by CameronNemo against master on the void-packages repository

https://github.com/CameronNemo/void-packages R-cran-archive
https://github.com/void-linux/void-packages/pull/38438

xbps-src: fetch from CRAN archive
CRAN has a lovely practice of moving the latest releases into an archive
after a new release is made. So when pillar 1.8.0 is released, for
example, version 1.7.0 gets moved into the archive.

Add some logic to fetch from the CRAN archive when this happens.

See below for an example:

```
=> R-cran-pillar-1.7.0_1: fetching distfile 'pillar_1.7.0.tar.gz'...
https://cran.r-project.org/src/contrib/pillar_1.7.0.tar.gz: Not Found
=> R-cran-pillar-1.7.0_1: fetching distfile 'pillar_1.7.0.tar.gz' (from CRAN archive)...
pillar_1.7.0.tar.gz: [517KB 0%] 19KB/s ETA: 00m00s
pillar_1.7.0.tar.gz: [517KB 25%] 201KB/s ETA: 00m02s
pillar_1.7.0.tar.gz: 517KB [avg rate: 788KB/s]
```

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

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-R-cran-archive-38438.patch --]
[-- Type: text/x-diff, Size: 2040 bytes --]

From e1fedcee88529c69f6e19dcad256e6a37c6db60e Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cnemo@tutanota.com>
Date: Tue, 2 Aug 2022 13:51:05 -0700
Subject: [PATCH] xbps-src: fetch from CRAN archive

CRAN has a lovely practice of moving the latest releases into an archive
after a new release is made. So when pillar 1.8.0 is released, for
example, version 1.7.0 gets moved into the archive.

Add some logic to fetch from the CRAN archive when this happens.
See below for an example:

=> R-cran-pillar-1.7.0_1: fetching distfile 'pillar_1.7.0.tar.gz'...
https://cran.r-project.org/src/contrib/pillar_1.7.0.tar.gz: Not Found
=> R-cran-pillar-1.7.0_1: fetching distfile 'pillar_1.7.0.tar.gz' (from CRAN archive)...
pillar_1.7.0.tar.gz: [517KB 0%] 19KB/s ETA: 00m00s
pillar_1.7.0.tar.gz: [517KB 25%] 201KB/s ETA: 00m02s
pillar_1.7.0.tar.gz: 517KB [avg rate: 788KB/s]
---
 common/hooks/do-fetch/00-distfiles.sh | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/common/hooks/do-fetch/00-distfiles.sh b/common/hooks/do-fetch/00-distfiles.sh
index e2bf54378fe0..114d22399645 100644
--- a/common/hooks/do-fetch/00-distfiles.sh
+++ b/common/hooks/do-fetch/00-distfiles.sh
@@ -199,6 +199,8 @@ try_mirrors() {
 hook() {
 	local srcdir="$XBPS_SRCDISTDIR/$pkgname-$version"
 	local dfcount=0 dfgood=0 errors=0 max_retries
+	local rcran="https://cran.r-project.org/src/contrib/${pkgname#R-cran-}_${version//r/-}.tar.gz"
+	local rcranarchive="https://cran.r-project.org/src/contrib/Archive/${pkgname#R-cran-}/${pkgname#R-cran-}_${version//r/-}.tar.gz"
 
 	if [ ! -d "$srcdir" ]; then
 		mkdir -p -m775 "$srcdir"
@@ -281,6 +283,11 @@ hook() {
 				flock "${distfile}.part" $fetch_cmd "$f"
 			fi
 		done
+		# If R-cran distfile does not exist, try CRAN archive
+		if [ ! -f "$distfile" -a "$f" = "$rcran" ]; then
+			msg_normal "$pkgver: fetching distfile '$curfile' (from CRAN archive)...\n"
+			flock "${distfile}.part" $fetch_cmd "$rcranarchive"
+		fi
 		if [ ! -f "$distfile" ]; then
 			msg_error "$pkgver: failed to fetch $curfile.\n"
 		fi

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

* Re: xbps-src: fetch from CRAN archive
  2022-08-02 20:55 [PR PATCH] xbps-src: fetch from CRAN archive CameronNemo
@ 2022-08-02 21:43 ` Chocimier
  2022-08-02 22:00 ` [PR PATCH] [Updated] " CameronNemo
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Chocimier @ 2022-08-02 21:43 UTC (permalink / raw)
  To: ml

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

New comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/38438#issuecomment-1203243037

Comment:
Nice!

`XBPS_DISTFILES_MIRROR+=" https://cran.r-project.org/src/contrib/Archive/${pkgname#R-cran-}"` in `common/environment/build-style/R-cran.sh` works as well and doesn't special case R in global hook.

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

* Re: [PR PATCH] [Updated] xbps-src: fetch from CRAN archive
  2022-08-02 20:55 [PR PATCH] xbps-src: fetch from CRAN archive CameronNemo
  2022-08-02 21:43 ` Chocimier
@ 2022-08-02 22:00 ` CameronNemo
  2022-08-02 22:05 ` CameronNemo
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: CameronNemo @ 2022-08-02 22:00 UTC (permalink / raw)
  To: ml

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

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

https://github.com/CameronNemo/void-packages R-cran-archive
https://github.com/void-linux/void-packages/pull/38438

xbps-src: fetch from CRAN archive
CRAN has a lovely practice of moving the latest releases into an archive
after a new release is made. So when pillar 1.8.0 is released, for
example, version 1.7.0 gets moved into the archive.

Add some logic to fetch from the CRAN archive when this happens.

See below for an example:

```
=> R-cran-pillar-1.7.0_1: fetching distfile 'pillar_1.7.0.tar.gz'...
https://cran.r-project.org/src/contrib/pillar_1.7.0.tar.gz: Not Found
=> R-cran-pillar-1.7.0_1: fetching distfile 'pillar_1.7.0.tar.gz' (from CRAN archive)...
pillar_1.7.0.tar.gz: [517KB 0%] 19KB/s ETA: 00m00s
pillar_1.7.0.tar.gz: [517KB 25%] 201KB/s ETA: 00m02s
pillar_1.7.0.tar.gz: 517KB [avg rate: 788KB/s]
```

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

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-R-cran-archive-38438.patch --]
[-- Type: text/x-diff, Size: 1420 bytes --]

From 268605b784496b3bc53966c507371125b387a878 Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cnemo@tutanota.com>
Date: Tue, 2 Aug 2022 14:57:56 -0700
Subject: [PATCH] xbps-src: fetch from CRAN archive

CRAN has a lovely practice of moving the latest releases into an archive
after a new release is made. So when pillar 1.6.0 is released, for
example, version 1.5.1 gets moved into the archive.

Add the CRAN archive as a mirror to handle this case.

See below for an example:

=> R-cran-pillar-1.5.1_1: running do-fetch hook: 00-distfiles ...
=> R-cran-pillar-1.5.1_1: fetching distfile 'pillar_1.5.1.tar.gz' from 'https://cran.r-project.org/src/contrib/Archive/pillar'...
---
 common/environment/build-style/R-cran.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/common/environment/build-style/R-cran.sh b/common/environment/build-style/R-cran.sh
index ded66793396b..50c59277e7ba 100644
--- a/common/environment/build-style/R-cran.sh
+++ b/common/environment/build-style/R-cran.sh
@@ -5,4 +5,7 @@ wrksrc="${XBPS_BUILDDIR}/${pkgname#R-cran-}"
 # default to cran
 if [ -z "$distfiles" ]; then
 	distfiles="https://cran.r-project.org/src/contrib/${pkgname#R-cran-}_${version//r/-}.tar.gz"
+	# Old releases get put into archive, and removed from above location.
+	# Use the archive as a fallback to handle that case.
+	XBPS_DISTFILES_MIRROR+=" https://cran.r-project.org/src/contrib/Archive/${pkgname#R-cran-}"
 fi

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

* Re: xbps-src: fetch from CRAN archive
  2022-08-02 20:55 [PR PATCH] xbps-src: fetch from CRAN archive CameronNemo
  2022-08-02 21:43 ` Chocimier
  2022-08-02 22:00 ` [PR PATCH] [Updated] " CameronNemo
@ 2022-08-02 22:05 ` CameronNemo
  2022-08-05 20:23 ` CameronNemo
  2022-08-05 20:23 ` [PR PATCH] [Updated] " CameronNemo
  4 siblings, 0 replies; 6+ messages in thread
From: CameronNemo @ 2022-08-02 22:05 UTC (permalink / raw)
  To: ml

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

New comment by CameronNemo on void-packages repository

https://github.com/void-linux/void-packages/pull/38438#issuecomment-1203259914

Comment:
@Chocimier that is having some strange results

```
cam@lagomorpha ~/s/v/pkgs (R-cran-updates-archive)> ./xbps-src pkg R-cran-ggplot2
=> xbps-src: updating repositories for host (x86_64)...
[*] Updating repository `https://repo-default.voidlinux.org/current/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/nonfree/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/debug/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/multilib/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/multilib/nonfree/x86_64-repodata' ...
=> xbps-src: updating software in / masterdir...
=> xbps-src: cleaning up / masterdir...
=> R-cran-ggplot2-3.3.6_1: removing autodeps, please wait...
=> R-cran-ggplot2-3.3.6_1: building [R-cran] for x86_64...
   [target] R-cran-digest-0.6.29_1: not found
   [target] R-cran-glue-1.6.2_1: not found
   [target] R-cran-gtable-0.3.0_2: found (https://repo-default.voidlinux.org/current)
   [target] R-cran-isoband-0.2.5_1: not found
   [target] R-cran-rlang-1.0.4_1: not found
   [target] R-cran-scales-1.1.1_2: found (https://repo-default.voidlinux.org/current)
   [target] R-cran-tibble-3.1.7_1: not found
   [target] R-cran-withr-2.5.0_1: not found
   [target] R-4.1.3_2: found (https://repo-default.voidlinux.org/current)
   [runtime] R-cran-digest-0.6.29_1: not found
   [runtime] R-cran-glue-1.6.2_1: not found
   [runtime] R-cran-gtable-0.3.0_2: found (https://repo-default.voidlinux.org/current)
   [runtime] R-cran-isoband-0.2.5_1: not found
   [runtime] R-cran-rlang-1.0.4_1: not found
   [runtime] R-cran-scales-1.1.1_2: found (https://repo-default.voidlinux.org/current)
   [runtime] R-cran-tibble-3.1.7_1: not found
   [runtime] R-cran-withr-2.5.0_1: not found
   [runtime] R-4.1.3_2: found (https://repo-default.voidlinux.org/current)
=> R-cran-digest-0.6.29_1: building [R-cran] (dependency of R-cran-ggplot2) for x86_64...
   [target] R-4.1.3_2: found (https://repo-default.voidlinux.org/current)
   [runtime] R-4.1.3_2: found (https://repo-default.voidlinux.org/current)
=> R-cran-digest-0.6.29_1: installing target dependencies: R-4.1.3_2 ...
=> R-cran-digest-0.6.29_1: running do-fetch hook: 00-distfiles ...
=> R-cran-digest-0.6.29_1: fetching distfile 'digest_0.6.29.tar.gz' from 'https://cran.r-project.org/src/contrib/Archive/ggplot2'...
https://cran.r-project.org/src/contrib/Archive/ggplot2/digest_0.6.29.tar.gz: Not Found
=> R-cran-digest-0.6.29_1: fetching distfile 'digest_0.6.29.tar.gz' from 'https://cran.r-project.org/src/contrib/Archive/ggplot2'...
https://cran.r-project.org/src/contrib/Archive/ggplot2/digest_0.6.29.tar.gz: Not Found
=> R-cran-digest-0.6.29_1: fetching distfile 'digest_0.6.29.tar.gz' from 'https://cran.r-project.org/src/contrib/Archive/digest'...
https://cran.r-project.org/src/contrib/Archive/digest/digest_0.6.29.tar.gz: Not Found
=> R-cran-digest-0.6.29_1: fetching distfile 'digest_0.6.29.tar.gz' from 'https://cran.r-project.org/src/contrib/Archive/digest'...
https://cran.r-project.org/src/contrib/Archive/digest/digest_0.6.29.tar.gz: Not Found
=> R-cran-digest-0.6.29_1: fetching distfile 'digest_0.6.29.tar.gz' from 'https://cran.r-project.org/src/contrib/Archive/digest'...
https://cran.r-project.org/src/contrib/Archive/digest/digest_0.6.29.tar.gz: Not Found
=> R-cran-digest-0.6.29_1: fetching distfile 'digest_0.6.29.tar.gz'...
digest_0.6.29.tar.gz: [159KB 2%] 20KB/s ETA: 00m00s
digest_0.6.29.tar.gz: [159KB 22%] 88KB/s ETA: 00m03s
digest_0.6.29.tar.gz: 159KB [avg rate: 387KB/s]
```

```
=> R-cran-glue-1.6.2_1: running do-fetch hook: 00-distfiles ...
=> R-cran-glue-1.6.2_1: fetching distfile 'glue_1.6.2.tar.gz' from 'https://cran.r-project.org/src/contrib/Archive/ggplot2'...
https://cran.r-project.org/src/contrib/Archive/ggplot2/glue_1.6.2.tar.gz: Not Found
=> R-cran-glue-1.6.2_1: fetching distfile 'glue_1.6.2.tar.gz' from 'https://cran.r-project.org/src/contrib/Archive/ggplot2'...
https://cran.r-project.org/src/contrib/Archive/ggplot2/glue_1.6.2.tar.gz: Not Found
=> R-cran-glue-1.6.2_1: fetching distfile 'glue_1.6.2.tar.gz' from 'https://cran.r-project.org/src/contrib/Archive/glue'...
https://cran.r-project.org/src/contrib/Archive/glue/glue_1.6.2.tar.gz: Not Found
=> R-cran-glue-1.6.2_1: fetching distfile 'glue_1.6.2.tar.gz' from 'https://cran.r-project.org/src/contrib/Archive/glue'...
https://cran.r-project.org/src/contrib/Archive/glue/glue_1.6.2.tar.gz: Not Found
=> R-cran-glue-1.6.2_1: fetching distfile 'glue_1.6.2.tar.gz' from 'https://cran.r-project.org/src/contrib/Archive/glue'...
https://cran.r-project.org/src/contrib/Archive/glue/glue_1.6.2.tar.gz: Not Found
=> R-cran-glue-1.6.2_1: fetching distfile 'glue_1.6.2.tar.gz'...
glue_1.6.2.tar.gz: [104KB 3%] 20KB/s ETA: 00m00s
glue_1.6.2.tar.gz: [104KB 34%] 86KB/s ETA: 00m01s
glue_1.6.2.tar.gz: 104KB [avg rate: 249KB/s]
=> R-cran-glue-1.6.2_1: verifying checksum for distfile 'glue_1.6.2.tar.gz'... OK.
```

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

* Re: xbps-src: fetch from CRAN archive
  2022-08-02 20:55 [PR PATCH] xbps-src: fetch from CRAN archive CameronNemo
                   ` (2 preceding siblings ...)
  2022-08-02 22:05 ` CameronNemo
@ 2022-08-05 20:23 ` CameronNemo
  2022-08-05 20:23 ` [PR PATCH] [Updated] " CameronNemo
  4 siblings, 0 replies; 6+ messages in thread
From: CameronNemo @ 2022-08-05 20:23 UTC (permalink / raw)
  To: ml

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

New comment by CameronNemo on void-packages repository

https://github.com/void-linux/void-packages/pull/38438#issuecomment-1206833832

Comment:
So I cut out the duplicate mirrors, but it is still sort of wordy for nested builds. Not critical so I will probably propose this.

```
=> R-cran-cli-3.3.0_1: running do-fetch hook: 00-distfiles ...
=> R-cran-cli-3.3.0_1: fetching distfile 'cli_3.3.0.tar.gz' from 'https://cran.r-project.org/src/contrib/Archive/ggplot2'...
https://cran.r-project.org/src/contrib/Archive/ggplot2/cli_3.3.0.tar.gz: Not Found
=> R-cran-cli-3.3.0_1: fetching distfile 'cli_3.3.0.tar.gz' from 'https://cran.r-project.org/src/contrib/Archive/tibble'...
https://cran.r-project.org/src/contrib/Archive/tibble/cli_3.3.0.tar.gz: Not Found
=> R-cran-cli-3.3.0_1: fetching distfile 'cli_3.3.0.tar.gz' from 'https://cran.r-project.org/src/contrib/Archive/pillar'...
https://cran.r-project.org/src/contrib/Archive/pillar/cli_3.3.0.tar.gz: Not Found
=> R-cran-cli-3.3.0_1: fetching distfile 'cli_3.3.0.tar.gz' from 'https://cran.r-project.org/src/contrib/Archive/cli'...
https://cran.r-project.org/src/contrib/Archive/cli/cli_3.3.0.tar.gz: Not Found
=> R-cran-cli-3.3.0_1: fetching distfile 'cli_3.3.0.tar.gz'...
cli_3.3.0.tar.gz: [484KB 0%] 19KB/s ETA: 00m00s
cli_3.3.0.tar.gz: [484KB 7%] 79KB/s ETA: 00m12s
cli_3.3.0.tar.gz: [484KB 90%] 283KB/s ETA: 00m00s
cli_3.3.0.tar.gz: 484KB [avg rate: 314KB/s]
=> R-cran-cli-3.3.0_1: verifying checksum for distfile 'cli_3.3.0.tar.gz'... OK.
```

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

* Re: [PR PATCH] [Updated] xbps-src: fetch from CRAN archive
  2022-08-02 20:55 [PR PATCH] xbps-src: fetch from CRAN archive CameronNemo
                   ` (3 preceding siblings ...)
  2022-08-05 20:23 ` CameronNemo
@ 2022-08-05 20:23 ` CameronNemo
  4 siblings, 0 replies; 6+ messages in thread
From: CameronNemo @ 2022-08-05 20:23 UTC (permalink / raw)
  To: ml

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

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

https://github.com/CameronNemo/void-packages R-cran-archive
https://github.com/void-linux/void-packages/pull/38438

xbps-src: fetch from CRAN archive
CRAN has a lovely practice of moving the latest releases into an archive
after a new release is made. So when pillar 1.8.0 is released, for
example, version 1.7.0 gets moved into the archive.

Add the CRAN archive as a mirror to handle this case.

See below for an example:

```
=> R-cran-pillar-1.5.1_1: running do-fetch hook: 00-distfiles ...
=> R-cran-pillar-1.5.1_1: fetching distfile 'pillar_1.5.1.tar.gz' from 'https://cran.r-project.org/src/contrib/Archive/pillar'...
```

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-R-cran-archive-38438.patch --]
[-- Type: text/x-diff, Size: 1512 bytes --]

From 0fb993cd2d6b470180d2524856190d0733a5d66b Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cnemo@tutanota.com>
Date: Tue, 2 Aug 2022 14:57:56 -0700
Subject: [PATCH] xbps-src: fetch from CRAN archive

CRAN has a lovely practice of moving the latest releases into an archive
after a new release is made. So when pillar 1.6.0 is released, for
example, version 1.5.1 gets moved into the archive.

Add the CRAN archive as a mirror to handle this case.

See below for an example:

=> R-cran-pillar-1.5.1_1: running do-fetch hook: 00-distfiles ...
=> R-cran-pillar-1.5.1_1: fetching distfile 'pillar_1.5.1.tar.gz' from 'https://cran.r-project.org/src/contrib/Archive/pillar'...
---
 common/environment/build-style/R-cran.sh | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/common/environment/build-style/R-cran.sh b/common/environment/build-style/R-cran.sh
index ded66793396b..1fbdb5af08c4 100644
--- a/common/environment/build-style/R-cran.sh
+++ b/common/environment/build-style/R-cran.sh
@@ -5,4 +5,10 @@ wrksrc="${XBPS_BUILDDIR}/${pkgname#R-cran-}"
 # default to cran
 if [ -z "$distfiles" ]; then
 	distfiles="https://cran.r-project.org/src/contrib/${pkgname#R-cran-}_${version//r/-}.tar.gz"
+	# Old releases get put into archive, and removed from above location.
+	# Use the archive as a fallback to handle that case.
+	_archive="https://cran.r-project.org/src/contrib/Archive/${pkgname#R-cran-}"
+	if [[ "$XBPS_DISTFILES_MIRROR" != *"$_archive"* ]]; then
+		XBPS_DISTFILES_MIRROR+=" $_archive"
+	fi
 fi

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

end of thread, other threads:[~2022-08-05 20:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-02 20:55 [PR PATCH] xbps-src: fetch from CRAN archive CameronNemo
2022-08-02 21:43 ` Chocimier
2022-08-02 22:00 ` [PR PATCH] [Updated] " CameronNemo
2022-08-02 22:05 ` CameronNemo
2022-08-05 20:23 ` CameronNemo
2022-08-05 20:23 ` [PR PATCH] [Updated] " CameronNemo

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).