Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] .gitignore: explicitly allow paths
@ 2022-12-31 16:24 paper42
  2022-12-31 17:04 ` [PR PATCH] [Updated] " paper42
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: paper42 @ 2022-12-31 16:24 UTC (permalink / raw)
  To: ml

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

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

https://github.com/paper42/void-packages new-gitignore
https://github.com/void-linux/void-packages/pull/41383

.gitignore: explicitly allow paths
This prevents git from picking up masterdirs that don't happen to be named the usual way and more custom and temporary files that should not be tracked by git.

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new-gitignore-41383.patch --]
[-- Type: text/x-diff, Size: 916 bytes --]

From a7e06b28aeda4da71b089b9d6f10b8f2c42874ff Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Sat, 31 Dec 2022 17:23:01 +0100
Subject: [PATCH] .gitignore: explicitly allow paths

This prevents git from picking up masterdirs that don't happen to be
named the usual way and more custom and temporary files that should not
be tracked by git.
---
 .gitignore | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

diff --git a/.gitignore b/.gitignore
index 958f644eee94..b250a982502a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,14 +1,18 @@
 *.swo
 *.swp
 *~
-\#*#
-*.o
-masterdir*
-hostdir*
-masterdir*/
-hostdir*/
+
+# exclude everything in root except files and directories from void-packages
+/*
+!/srcpkgs
+!/common
+!/CONTRIBUTING.md
+!/Manual.md
+!/README.md
+!/COPYING
+!/xbps-src
+!/etc
 etc/conf
 etc/conf.*
 etc/virtual
 etc/xbps.d/custom
-.xbps-checkvers*.plist

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

* Re: [PR PATCH] [Updated] .gitignore: explicitly allow paths
  2022-12-31 16:24 [PR PATCH] .gitignore: explicitly allow paths paper42
@ 2022-12-31 17:04 ` paper42
  2023-01-02 15:16 ` leahneukirchen
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: paper42 @ 2022-12-31 17:04 UTC (permalink / raw)
  To: ml

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

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

https://github.com/paper42/void-packages new-gitignore
https://github.com/void-linux/void-packages/pull/41383

.gitignore: explicitly allow paths
This prevents git from picking up masterdirs that don't happen to be named the usual way and more custom and temporary files that should not be tracked by git.

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new-gitignore-41383.patch --]
[-- Type: text/x-diff, Size: 908 bytes --]

From 5da411b394333a04f0fc032eeefbe62ee4ef584d Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Sat, 31 Dec 2022 17:23:01 +0100
Subject: [PATCH] .gitignore: explicitly allow paths

This prevents git from picking up masterdirs that don't happen to be
named the usual way and more custom and temporary files that should not
be tracked by git.
---
 .gitignore | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

diff --git a/.gitignore b/.gitignore
index 958f644eee94..0e4ce12f2863 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,13 +2,18 @@
 *.swp
 *~
 \#*#
-*.o
-masterdir*
-hostdir*
-masterdir*/
-hostdir*/
+
+# exclude everything in root except files and directories from void-packages
+/*
+!/srcpkgs
+!/common
+!/CONTRIBUTING.md
+!/Manual.md
+!/README.md
+!/COPYING
+!/xbps-src
+!/etc
 etc/conf
 etc/conf.*
 etc/virtual
 etc/xbps.d/custom
-.xbps-checkvers*.plist

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

* Re: .gitignore: explicitly allow paths
  2022-12-31 16:24 [PR PATCH] .gitignore: explicitly allow paths paper42
  2022-12-31 17:04 ` [PR PATCH] [Updated] " paper42
@ 2023-01-02 15:16 ` leahneukirchen
  2023-01-02 15:42 ` [PR PATCH] [Updated] " paper42
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: leahneukirchen @ 2023-01-02 15:16 UTC (permalink / raw)
  To: ml

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

New comment by leahneukirchen on void-packages repository

https://github.com/void-linux/void-packages/pull/41383#issuecomment-1369028690

Comment:
fine by me, but please sort the list of exclusions alphabetically

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

* Re: [PR PATCH] [Updated] .gitignore: explicitly allow paths
  2022-12-31 16:24 [PR PATCH] .gitignore: explicitly allow paths paper42
  2022-12-31 17:04 ` [PR PATCH] [Updated] " paper42
  2023-01-02 15:16 ` leahneukirchen
@ 2023-01-02 15:42 ` paper42
  2023-01-02 15:43 ` paper42
  2023-01-02 20:37 ` [PR PATCH] [Merged]: " paper42
  4 siblings, 0 replies; 6+ messages in thread
From: paper42 @ 2023-01-02 15:42 UTC (permalink / raw)
  To: ml

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

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

https://github.com/paper42/void-packages new-gitignore
https://github.com/void-linux/void-packages/pull/41383

.gitignore: explicitly allow paths
This prevents git from picking up masterdirs that don't happen to be named the usual way and more custom and temporary files that should not be tracked by git.

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new-gitignore-41383.patch --]
[-- Type: text/x-diff, Size: 908 bytes --]

From 1ad8d8c5cd3a3938c613db6d8e86e8509c64c5e9 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Sat, 31 Dec 2022 17:23:01 +0100
Subject: [PATCH] .gitignore: explicitly allow paths

This prevents git from picking up masterdirs that don't happen to be
named the usual way and more custom and temporary files that should not
be tracked by git.
---
 .gitignore | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

diff --git a/.gitignore b/.gitignore
index 958f644eee94..287be809543a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,13 +2,18 @@
 *.swp
 *~
 \#*#
-*.o
-masterdir*
-hostdir*
-masterdir*/
-hostdir*/
+
+# exclude everything in root except files and directories from void-packages
+/*
+!/CONTRIBUTING.md
+!/COPYING
+!/Manual.md
+!/README.md
+!/common
+!/etc
+!/srcpkgs
+!/xbps-src
 etc/conf
 etc/conf.*
 etc/virtual
 etc/xbps.d/custom
-.xbps-checkvers*.plist

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

* Re: .gitignore: explicitly allow paths
  2022-12-31 16:24 [PR PATCH] .gitignore: explicitly allow paths paper42
                   ` (2 preceding siblings ...)
  2023-01-02 15:42 ` [PR PATCH] [Updated] " paper42
@ 2023-01-02 15:43 ` paper42
  2023-01-02 20:37 ` [PR PATCH] [Merged]: " paper42
  4 siblings, 0 replies; 6+ messages in thread
From: paper42 @ 2023-01-02 15:43 UTC (permalink / raw)
  To: ml

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

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/41383#issuecomment-1369045741

Comment:
> fine by me, but please sort the list of exclusions alphabetically

makes sense, done

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

* Re: [PR PATCH] [Merged]: .gitignore: explicitly allow paths
  2022-12-31 16:24 [PR PATCH] .gitignore: explicitly allow paths paper42
                   ` (3 preceding siblings ...)
  2023-01-02 15:43 ` paper42
@ 2023-01-02 20:37 ` paper42
  4 siblings, 0 replies; 6+ messages in thread
From: paper42 @ 2023-01-02 20:37 UTC (permalink / raw)
  To: ml

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

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

.gitignore: explicitly allow paths
https://github.com/void-linux/void-packages/pull/41383

Description:
This prevents git from picking up masterdirs that don't happen to be named the usual way and more custom and temporary files that should not be tracked by git.

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

end of thread, other threads:[~2023-01-02 20:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-31 16:24 [PR PATCH] .gitignore: explicitly allow paths paper42
2022-12-31 17:04 ` [PR PATCH] [Updated] " paper42
2023-01-02 15:16 ` leahneukirchen
2023-01-02 15:42 ` [PR PATCH] [Updated] " paper42
2023-01-02 15:43 ` paper42
2023-01-02 20:37 ` [PR PATCH] [Merged]: " paper42

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