unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#55662] [PATCH] Ignore temporary files created my macOS
@ 2022-05-26 17:34 Pavel Shlyak
  2022-05-26 19:33 ` Liliana Marie Prikler
  2022-06-05 19:07 ` bug#55662: " Mathieu Othacehe
  0 siblings, 2 replies; 8+ messages in thread
From: Pavel Shlyak @ 2022-05-26 17:34 UTC (permalink / raw)
  To: 55662

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

Check https://en.wikipedia.org/wiki/.DS_Store and https://stackoverflow.com/questions/107701/how-can-i-remove-ds-store-files-from-a-git-repository for more details

[-- Attachment #2: 0001-gitignore-macOS-files.patch --]
[-- Type: application/octet-stream, Size: 520 bytes --]

From 2cb21f75f8f1440cda74d1075ee9437dad409bb9 Mon Sep 17 00:00:00 2001
From: Pavel Shlyak <p.shlyak@pantherx.org>
Date: Thu, 26 May 2022 20:29:42 +0300
Subject: [PATCH] gitignore: macOS files

---
 .gitignore | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitignore b/.gitignore
index f4b4bb4dc1..18e1b0739f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -157,3 +157,4 @@ tmp
 /gnu/packages/bootstrap
 /gnu/packages/aux-files/guile-guile-launcher.o
 /guile
+.DS_Store
-- 
2.32.1 (Apple Git-133)


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

* [bug#55662] [PATCH] Ignore temporary files created my macOS
  2022-05-26 17:34 [bug#55662] [PATCH] Ignore temporary files created my macOS Pavel Shlyak
@ 2022-05-26 19:33 ` Liliana Marie Prikler
  2022-05-26 20:24   ` Pavel Shlyak
  2022-05-26 21:07   ` Maxime Devos
  2022-06-05 19:07 ` bug#55662: " Mathieu Othacehe
  1 sibling, 2 replies; 8+ messages in thread
From: Liliana Marie Prikler @ 2022-05-26 19:33 UTC (permalink / raw)
  To: Pavel Shlyak, 55662

Am Donnerstag, dem 26.05.2022 um 20:34 +0300 schrieb Pavel Shlyak:
> Check https://en.wikipedia.org/wiki/.DS_Store and
> https://stackoverflow.com/questions/107701/how-can-i-remove-ds-store-files-from-a-git-repository
>  for more details
Is there a realistic chance that anyone working on Guix will ever
commit this to upstream?  Note that you can set up a global gitignore,
e.g. under $XDG_CONFIG_HOME/git/ignore on Linux distros such as Guix
System.

Cheers




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

* [bug#55662] [PATCH] Ignore temporary files created my macOS
  2022-05-26 19:33 ` Liliana Marie Prikler
@ 2022-05-26 20:24   ` Pavel Shlyak
  2022-05-26 21:09     ` Liliana Marie Prikler
  2022-05-26 21:07   ` Maxime Devos
  1 sibling, 1 reply; 8+ messages in thread
From: Pavel Shlyak @ 2022-05-26 20:24 UTC (permalink / raw)
  To: Liliana Marie Prikler; +Cc: 55662

I hope so!

> 26 мая 2022 г., в 22:33, Liliana Marie Prikler <liliana.prikler@gmail.com> написал(а):
> 
> Am Donnerstag, dem 26.05.2022 um 20:34 +0300 schrieb Pavel Shlyak:
>> Check https://en.wikipedia.org/wiki/.DS_Store and
>> https://stackoverflow.com/questions/107701/how-can-i-remove-ds-store-files-from-a-git-repository
>>  for more details
> Is there a realistic chance that anyone working on Guix will ever
> commit this to upstream?  Note that you can set up a global gitignore,
> e.g. under $XDG_CONFIG_HOME/git/ignore on Linux distros such as Guix
> System.
> 
> Cheers





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

* [bug#55662] [PATCH] Ignore temporary files created my macOS
  2022-05-26 19:33 ` Liliana Marie Prikler
  2022-05-26 20:24   ` Pavel Shlyak
@ 2022-05-26 21:07   ` Maxime Devos
  2022-05-26 21:09     ` Pavel Shlyak
  1 sibling, 1 reply; 8+ messages in thread
From: Maxime Devos @ 2022-05-26 21:07 UTC (permalink / raw)
  To: Liliana Marie Prikler, Pavel Shlyak, 55662

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

Liliana Marie Prikler schreef op do 26-05-2022 om 21:33 [+0200]:
> Am Donnerstag, dem 26.05.2022 um 20:34 +0300 schrieb Pavel Shlyak:
> > Check https://en.wikipedia.org/wiki/.DS_Store and
> > https://stackoverflow.com/questions/107701/how-can-i-remove-ds-store-files-from-a-git-repository
> >  for more details
> Is there a realistic chance that anyone working on Guix will ever
> commit this to upstream?  Note that you can set up a global gitignore,
> e.g. under $XDG_CONFIG_HOME/git/ignore on Linux distros such as Guix
> System.
> 
> Cheers

Can be useful if someone wants to port Guix to Apple systems -- a huge
effort I'd think, but why not?  Or if someone edits Guix on an Apple
system (maybe documentation, which doesn't require actually building
Guix) and pulls it from a VM to test it inside the VM (writing
modifications outside the VM, running the result inside).

Greetings,
Maxime.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

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

* [bug#55662] [PATCH] Ignore temporary files created my macOS
  2022-05-26 20:24   ` Pavel Shlyak
@ 2022-05-26 21:09     ` Liliana Marie Prikler
  2022-05-26 21:43       ` Maxime Devos
  0 siblings, 1 reply; 8+ messages in thread
From: Liliana Marie Prikler @ 2022-05-26 21:09 UTC (permalink / raw)
  To: Pavel Shlyak; +Cc: 55662

Am Donnerstag, dem 26.05.2022 um 23:24 +0300 schrieb Pavel Shlyak:
> I hope so!
> 
> > 26 мая 2022 г., в 22:33, Liliana Marie Prikler
> > <liliana.prikler@gmail.com> написал(а):
> > 
> > Am Donnerstag, dem 26.05.2022 um 20:34 +0300 schrieb Pavel Shlyak:
> > > Check https://en.wikipedia.org/wiki/.DS_Store and
> > > https://stackoverflow.com/questions/107701/how-can-i-remove-ds-store-files-from-a-git-repository
> > >  for more details
> > Is there a realistic chance that anyone working on Guix will ever
> > commit this to upstream?  Note that you can set up a global
> > gitignore, e.g. under $XDG_CONFIG_HOME/git/ignore on Linux distros
> > such as Guix System.
Pardon my lack of clarity.  By "this" I meant a file that's exclusively
produced by a proprietary operating system for no good reason (the
.DS_Store).  I don't think any of our committers run a risk of
accidentally pushing it, do they?




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

* [bug#55662] [PATCH] Ignore temporary files created my macOS
  2022-05-26 21:07   ` Maxime Devos
@ 2022-05-26 21:09     ` Pavel Shlyak
  0 siblings, 0 replies; 8+ messages in thread
From: Pavel Shlyak @ 2022-05-26 21:09 UTC (permalink / raw)
  To: Maxime Devos; +Cc: Liliana Marie Prikler, 55662

Yeah, that’s exactly what I do here. I run headless VM on an ARM Mac as it provides better performance than raspberry pi that I develop for. 

>  Or if someone edits Guix on an Apple
> system (maybe documentation, which doesn't require actually building
> Guix) and pulls it from a VM to test it inside the VM (writing
> modifications outside the VM, running the result inside).





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

* [bug#55662] [PATCH] Ignore temporary files created my macOS
  2022-05-26 21:09     ` Liliana Marie Prikler
@ 2022-05-26 21:43       ` Maxime Devos
  0 siblings, 0 replies; 8+ messages in thread
From: Maxime Devos @ 2022-05-26 21:43 UTC (permalink / raw)
  To: Liliana Marie Prikler, Pavel Shlyak; +Cc: 55662

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

Liliana Marie Prikler schreef op do 26-05-2022 om 23:09 [+0200]:
> Am Donnerstag, dem 26.05.2022 um 23:24 +0300 schrieb Pavel Shlyak:
> > I hope so!
> > 
> > > 26 мая 2022 г., в 22:33, Liliana Marie Prikler
> > > <liliana.prikler@gmail.com> написал(а):
> > > 
> > > Am Donnerstag, dem 26.05.2022 um 20:34 +0300 schrieb Pavel Shlyak:
> > > > Check https://en.wikipedia.org/wiki/.DS_Store and
> > > > https://stackoverflow.com/questions/107701/how-can-i-remove-ds-store-files-from-a-git-repository
> > > >  for more details
> > > Is there a realistic chance that anyone working on Guix will ever
> > > commit this to upstream?  Note that you can set up a global
> > > gitignore, e.g. under $XDG_CONFIG_HOME/git/ignore on Linux distros
> > > such as Guix System.
> Pardon my lack of clarity.  By "this" I meant a file that's exclusively
> produced by a proprietary operating system for no good reason (the
> .DS_Store).  I don't think any of our committers run a risk of
> accidentally pushing it, do they?

These files can clutter up "git status".  And they can be accidentally
committed by people without push access (e.g. with "git add .").

Greetings,
Maxime.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

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

* bug#55662: [PATCH] Ignore temporary files created my macOS
  2022-05-26 17:34 [bug#55662] [PATCH] Ignore temporary files created my macOS Pavel Shlyak
  2022-05-26 19:33 ` Liliana Marie Prikler
@ 2022-06-05 19:07 ` Mathieu Othacehe
  1 sibling, 0 replies; 8+ messages in thread
From: Mathieu Othacehe @ 2022-06-05 19:07 UTC (permalink / raw)
  To: Pavel Shlyak; +Cc: 55662-done


>  .gitignore | 1 +
>  1 file changed, 1 insertion(+)

Added a commit message and pushed!

Mathieu




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

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

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-26 17:34 [bug#55662] [PATCH] Ignore temporary files created my macOS Pavel Shlyak
2022-05-26 19:33 ` Liliana Marie Prikler
2022-05-26 20:24   ` Pavel Shlyak
2022-05-26 21:09     ` Liliana Marie Prikler
2022-05-26 21:43       ` Maxime Devos
2022-05-26 21:07   ` Maxime Devos
2022-05-26 21:09     ` Pavel Shlyak
2022-06-05 19:07 ` bug#55662: " Mathieu Othacehe

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).