Github messages for voidlinux
 help / color / mirror / Atom feed
From: Chocimier <Chocimier@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Merged]: etc/conf: implement XBPS_MIRROR for remote repos
Date: Wed, 22 Dec 2021 23:12:07 +0100	[thread overview]
Message-ID: <20211222221207.Wcuh1lk1adVw8-4kkKjM9Yln-Jb9TyrfyzKzgPIOeBs@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-34398@inbox.vuxu.org>

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

There's a merged pull request on the void-packages repository

etc/conf: implement XBPS_MIRROR for remote repos
https://github.com/void-linux/void-packages/pull/34398

Description:
Setting this variable will make xbps-src use an alternative mirror for remote repositories.

Using this variable one can change the remote repository for all architectures in a single setting and without the need to modify `etc/xbps.d/repos-remote*.conf`. This is much more convenient as it allows changing remote repos without a dirty worktree.

To use just add a line like the following to `etc/conf`:

    XBPS_MIRROR=https://repo-us.voidlinux.org/

We also disable `00-repository-main.conf` for cross so we don't use the remote repo from the xbps package.

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

      parent reply	other threads:[~2021-12-22 22:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-06  0:48 [PR PATCH] " tornaria
2021-12-06  2:39 ` [PR PATCH] [Updated] " tornaria
2021-12-06  2:41 ` tornaria
2021-12-06  2:52 ` tornaria
2021-12-22 22:12 ` Chocimier [this message]

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=20211222221207.Wcuh1lk1adVw8-4kkKjM9Yln-Jb9TyrfyzKzgPIOeBs@z \
    --to=chocimier@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).