Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] .github/workflows/cycle.yml: fix error message related to git 2.35.1+
@ 2022-04-25 18:30 classabbyamp
  2022-04-25 18:54 ` [PR PATCH] [Updated] .github/workflows/cycle.yml: fix error message related to git 2.35.2+ classabbyamp
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: classabbyamp @ 2022-04-25 18:30 UTC (permalink / raw)
  To: ml

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

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

https://github.com/classabbyamp/void-packages fix-cycle
https://github.com/void-linux/void-packages/pull/36858

.github/workflows/cycle.yml: fix error message related to git 2.35.1+
the cycles CI has been spitting out 50k lines of:

```
fatal: unsafe repository ('/__w/void-packages/void-packages' is owned by someone else)
To add an exception for this directory, call:

	git config --global --add safe.directory /__w/void-packages/void-packages
```

This should fix that


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-fix-cycle-36858.patch --]
[-- Type: text/x-diff, Size: 889 bytes --]

From 1029a14ed25e3c7625da8c765216498455881a8e Mon Sep 17 00:00:00 2001
From: classabbyamp <dev@placeviolette.net>
Date: Mon, 25 Apr 2022 14:28:55 -0400
Subject: [PATCH] .github/workflows/cycle.yml: fix error message related to git
 2.35.1+

---
 .github/workflows/cycles.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/cycles.yml b/.github/workflows/cycles.yml
index e75297ac937d..857b11353575 100644
--- a/.github/workflows/cycles.yml
+++ b/.github/workflows/cycles.yml
@@ -28,6 +28,7 @@ jobs:
          common/travis/prepare.sh
       - name: Find cycles and open issues
         run: |
+         git config --global --add safe.directory /__w/void-packages/void-packages
          common/scripts/xbps-cycles.py | tee cycles
          grep 'Cycle:' cycles | while read -r line; do
              if gh issue list -R "$GITHUB_REPOSITORY" -S "$line" | grep .; then

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

* Re: [PR PATCH] [Updated] .github/workflows/cycle.yml: fix error message related to git 2.35.2+
  2022-04-25 18:30 [PR PATCH] .github/workflows/cycle.yml: fix error message related to git 2.35.1+ classabbyamp
@ 2022-04-25 18:54 ` classabbyamp
  2022-04-26 17:32 ` [PR REVIEW] " Chocimier
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: classabbyamp @ 2022-04-25 18:54 UTC (permalink / raw)
  To: ml

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

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

https://github.com/classabbyamp/void-packages fix-cycle
https://github.com/void-linux/void-packages/pull/36858

.github/workflows/cycle.yml: fix error message related to git 2.35.2+
the cycles CI has been spitting out 50k lines of:

```
fatal: unsafe repository ('/__w/void-packages/void-packages' is owned by someone else)
To add an exception for this directory, call:

	git config --global --add safe.directory /__w/void-packages/void-packages
```

This should fix that


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-fix-cycle-36858.patch --]
[-- Type: text/x-diff, Size: 889 bytes --]

From 6dcdf9c0315d727889228b56b3eed10428dbf972 Mon Sep 17 00:00:00 2001
From: classabbyamp <dev@placeviolette.net>
Date: Mon, 25 Apr 2022 14:28:55 -0400
Subject: [PATCH] .github/workflows/cycle.yml: fix error message related to git
 2.35.2+

---
 .github/workflows/cycles.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/cycles.yml b/.github/workflows/cycles.yml
index e75297ac937d..857b11353575 100644
--- a/.github/workflows/cycles.yml
+++ b/.github/workflows/cycles.yml
@@ -28,6 +28,7 @@ jobs:
          common/travis/prepare.sh
       - name: Find cycles and open issues
         run: |
+         git config --global --add safe.directory /__w/void-packages/void-packages
          common/scripts/xbps-cycles.py | tee cycles
          grep 'Cycle:' cycles | while read -r line; do
              if gh issue list -R "$GITHUB_REPOSITORY" -S "$line" | grep .; then

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

* Re: [PR REVIEW] .github/workflows/cycle.yml: fix error message related to git 2.35.2+
  2022-04-25 18:30 [PR PATCH] .github/workflows/cycle.yml: fix error message related to git 2.35.1+ classabbyamp
  2022-04-25 18:54 ` [PR PATCH] [Updated] .github/workflows/cycle.yml: fix error message related to git 2.35.2+ classabbyamp
@ 2022-04-26 17:32 ` Chocimier
  2022-04-26 17:37 ` [PR PATCH] [Updated] " classabbyamp
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Chocimier @ 2022-04-26 17:32 UTC (permalink / raw)
  To: ml

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

New review comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/36858#discussion_r858980061

Comment:
Should use $PWD instead of hardcoded value. Generally ok, that's what checkout@v3 does.

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

* Re: [PR PATCH] [Updated] .github/workflows/cycle.yml: fix error message related to git 2.35.2+
  2022-04-25 18:30 [PR PATCH] .github/workflows/cycle.yml: fix error message related to git 2.35.1+ classabbyamp
  2022-04-25 18:54 ` [PR PATCH] [Updated] .github/workflows/cycle.yml: fix error message related to git 2.35.2+ classabbyamp
  2022-04-26 17:32 ` [PR REVIEW] " Chocimier
@ 2022-04-26 17:37 ` classabbyamp
  2022-04-26 17:37 ` [PR REVIEW] " classabbyamp
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: classabbyamp @ 2022-04-26 17:37 UTC (permalink / raw)
  To: ml

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

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

https://github.com/classabbyamp/void-packages fix-cycle
https://github.com/void-linux/void-packages/pull/36858

.github/workflows/cycle.yml: fix error message related to git 2.35.2+
the cycles CI has been spitting out 50k lines of:

```
fatal: unsafe repository ('/__w/void-packages/void-packages' is owned by someone else)
To add an exception for this directory, call:

	git config --global --add safe.directory /__w/void-packages/void-packages
```

This should fix that


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-fix-cycle-36858.patch --]
[-- Type: text/x-diff, Size: 863 bytes --]

From a75b59e4b31dc974c39470ffc0104ceaccb71b16 Mon Sep 17 00:00:00 2001
From: classabbyamp <dev@placeviolette.net>
Date: Mon, 25 Apr 2022 14:28:55 -0400
Subject: [PATCH] .github/workflows/cycle.yml: fix error message related to git
 2.35.2+

---
 .github/workflows/cycles.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/cycles.yml b/.github/workflows/cycles.yml
index e75297ac937d..72c8d83b2c82 100644
--- a/.github/workflows/cycles.yml
+++ b/.github/workflows/cycles.yml
@@ -28,6 +28,7 @@ jobs:
          common/travis/prepare.sh
       - name: Find cycles and open issues
         run: |
+         git config --global --add safe.directory "$PWD"
          common/scripts/xbps-cycles.py | tee cycles
          grep 'Cycle:' cycles | while read -r line; do
              if gh issue list -R "$GITHUB_REPOSITORY" -S "$line" | grep .; then

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

* Re: [PR REVIEW] .github/workflows/cycle.yml: fix error message related to git 2.35.2+
  2022-04-25 18:30 [PR PATCH] .github/workflows/cycle.yml: fix error message related to git 2.35.1+ classabbyamp
                   ` (2 preceding siblings ...)
  2022-04-26 17:37 ` [PR PATCH] [Updated] " classabbyamp
@ 2022-04-26 17:37 ` classabbyamp
  2022-04-26 17:40 ` Chocimier
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: classabbyamp @ 2022-04-26 17:37 UTC (permalink / raw)
  To: ml

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

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/36858#discussion_r858984179

Comment:
fixed

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

* Re: [PR REVIEW] .github/workflows/cycle.yml: fix error message related to git 2.35.2+
  2022-04-25 18:30 [PR PATCH] .github/workflows/cycle.yml: fix error message related to git 2.35.1+ classabbyamp
                   ` (3 preceding siblings ...)
  2022-04-26 17:37 ` [PR REVIEW] " classabbyamp
@ 2022-04-26 17:40 ` Chocimier
  2022-04-26 17:50 ` [PR PATCH] [Updated] " classabbyamp
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Chocimier @ 2022-04-26 17:40 UTC (permalink / raw)
  To: ml

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

New review comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/36858#discussion_r858986397

Comment:
Would you like to change build workflow too?

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

* Re: [PR PATCH] [Updated] .github/workflows/cycle.yml: fix error message related to git 2.35.2+
  2022-04-25 18:30 [PR PATCH] .github/workflows/cycle.yml: fix error message related to git 2.35.1+ classabbyamp
                   ` (4 preceding siblings ...)
  2022-04-26 17:40 ` Chocimier
@ 2022-04-26 17:50 ` classabbyamp
  2022-04-26 17:50 ` [PR REVIEW] " classabbyamp
  2022-04-26 17:56 ` [PR PATCH] [Merged]: " Chocimier
  7 siblings, 0 replies; 9+ messages in thread
From: classabbyamp @ 2022-04-26 17:50 UTC (permalink / raw)
  To: ml

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

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

https://github.com/classabbyamp/void-packages fix-cycle
https://github.com/void-linux/void-packages/pull/36858

.github/workflows/cycle.yml: fix error message related to git 2.35.2+
the cycles CI has been spitting out 50k lines of:

```
fatal: unsafe repository ('/__w/void-packages/void-packages' is owned by someone else)
To add an exception for this directory, call:

	git config --global --add safe.directory /__w/void-packages/void-packages
```

This should fix that


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-fix-cycle-36858.patch --]
[-- Type: text/x-diff, Size: 1741 bytes --]

From a75b59e4b31dc974c39470ffc0104ceaccb71b16 Mon Sep 17 00:00:00 2001
From: classabbyamp <dev@placeviolette.net>
Date: Mon, 25 Apr 2022 14:28:55 -0400
Subject: [PATCH 1/2] .github/workflows/cycle.yml: fix error message related to
 git 2.35.2+

---
 .github/workflows/cycles.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/cycles.yml b/.github/workflows/cycles.yml
index e75297ac937d..72c8d83b2c82 100644
--- a/.github/workflows/cycles.yml
+++ b/.github/workflows/cycles.yml
@@ -28,6 +28,7 @@ jobs:
          common/travis/prepare.sh
       - name: Find cycles and open issues
         run: |
+         git config --global --add safe.directory "$PWD"
          common/scripts/xbps-cycles.py | tee cycles
          grep 'Cycle:' cycles | while read -r line; do
              if gh issue list -R "$GITHUB_REPOSITORY" -S "$line" | grep .; then

From 7e094decfbcd696bab235a36eb5fcb916558cf3b Mon Sep 17 00:00:00 2001
From: classabbyamp <dev@placeviolette.net>
Date: Tue, 26 Apr 2022 13:50:36 -0400
Subject: [PATCH 2/2] common/travis/fetch_upstream.sh: fix checkout dir

---
 common/travis/fetch_upstream.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/travis/fetch_upstream.sh b/common/travis/fetch_upstream.sh
index 5c0256fdbe17..049cfd69e54d 100755
--- a/common/travis/fetch_upstream.sh
+++ b/common/travis/fetch_upstream.sh
@@ -9,7 +9,7 @@ elif command -v git >/dev/null 2>&1; then
 fi
 
 # required by git 2.35.2+
-$GIT_CMD config --global --add safe.directory /__w/void-packages/void-packages
+$GIT_CMD config --global --add safe.directory "$PWD"
 
 /bin/echo -e '\x1b[32mFetching upstream...\x1b[0m'
 $GIT_CMD fetch --depth 200 https://github.com/void-linux/void-packages.git master

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

* Re: [PR REVIEW] .github/workflows/cycle.yml: fix error message related to git 2.35.2+
  2022-04-25 18:30 [PR PATCH] .github/workflows/cycle.yml: fix error message related to git 2.35.1+ classabbyamp
                   ` (5 preceding siblings ...)
  2022-04-26 17:50 ` [PR PATCH] [Updated] " classabbyamp
@ 2022-04-26 17:50 ` classabbyamp
  2022-04-26 17:56 ` [PR PATCH] [Merged]: " Chocimier
  7 siblings, 0 replies; 9+ messages in thread
From: classabbyamp @ 2022-04-26 17:50 UTC (permalink / raw)
  To: ml

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

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/36858#discussion_r858995300

Comment:
good idea, done.

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

* Re: [PR PATCH] [Merged]: .github/workflows/cycle.yml: fix error message related to git 2.35.2+
  2022-04-25 18:30 [PR PATCH] .github/workflows/cycle.yml: fix error message related to git 2.35.1+ classabbyamp
                   ` (6 preceding siblings ...)
  2022-04-26 17:50 ` [PR REVIEW] " classabbyamp
@ 2022-04-26 17:56 ` Chocimier
  7 siblings, 0 replies; 9+ messages in thread
From: Chocimier @ 2022-04-26 17:56 UTC (permalink / raw)
  To: ml

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

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

.github/workflows/cycle.yml: fix error message related to git 2.35.2+
https://github.com/void-linux/void-packages/pull/36858

Description:
the cycles CI has been spitting out 50k lines of:

```
fatal: unsafe repository ('/__w/void-packages/void-packages' is owned by someone else)
To add an exception for this directory, call:

	git config --global --add safe.directory /__w/void-packages/void-packages
```

This should fix that


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

end of thread, other threads:[~2022-04-26 17:56 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-25 18:30 [PR PATCH] .github/workflows/cycle.yml: fix error message related to git 2.35.1+ classabbyamp
2022-04-25 18:54 ` [PR PATCH] [Updated] .github/workflows/cycle.yml: fix error message related to git 2.35.2+ classabbyamp
2022-04-26 17:32 ` [PR REVIEW] " Chocimier
2022-04-26 17:37 ` [PR PATCH] [Updated] " classabbyamp
2022-04-26 17:37 ` [PR REVIEW] " classabbyamp
2022-04-26 17:40 ` Chocimier
2022-04-26 17:50 ` [PR PATCH] [Updated] " classabbyamp
2022-04-26 17:50 ` [PR REVIEW] " classabbyamp
2022-04-26 17:56 ` [PR PATCH] [Merged]: " Chocimier

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