Github messages for voidlinux
 help / color / mirror / Atom feed
From: b-l-a-i-n-e <b-l-a-i-n-e@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] `./xbps-src zap` deletes all files in masterdir
Date: Mon, 13 Dec 2021 05:44:59 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-34506@inbox.vuxu.org> (raw)

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

There is a new pull request by b-l-a-i-n-e against master on the void-packages repository

https://github.com/b-l-a-i-n-e/void-packages xbps-src-zap-34505
https://github.com/void-linux/void-packages/pull/34506

`./xbps-src zap` deletes all files in masterdir
#### Testing the changes
- I tested the changes in this PR: **YES**

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-xbps-src-zap-34505-34506.patch --]
[-- Type: text/x-diff, Size: 609 bytes --]

From fa3ecdc0cab33de94e4109d9831f4871fff58da0 Mon Sep 17 00:00:00 2001
From: b-l-a-i-n-e <blaine.gilbreth@gmail.com>
Date: Sun, 12 Dec 2021 20:43:45 -0800
Subject: [PATCH] `./xbps-src zap` deletes all files in masterdir

---
 xbps-src | 1 +
 1 file changed, 1 insertion(+)

diff --git a/xbps-src b/xbps-src
index ff249015ed02..1c1917bf1058 100755
--- a/xbps-src
+++ b/xbps-src
@@ -292,6 +292,7 @@ check_native_arch() {
 }
 
 masterdir_zap() {
+    chmod -R 777 "$XBPS_MASTERDIR"
     rm -rf "$XBPS_MASTERDIR"
     mkdir -p "$XBPS_MASTERDIR"
     msg_normal "xbps-src: $XBPS_MASTERDIR masterdir cleaned up.\n"

             reply	other threads:[~2021-12-13  4:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-13  4:44 b-l-a-i-n-e [this message]
2021-12-13  6:10 ` ericonr
2021-12-13  6:53 ` [PR PATCH] [Updated] " b-l-a-i-n-e
2021-12-13  6:54 ` b-l-a-i-n-e
2022-02-01 16:57 ` [PR PATCH] [Closed]: zap: `chmod -R` needed to remove Go modules b-l-a-i-n-e

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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-34506@inbox.vuxu.org \
    --to=b-l-a-i-n-e@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).