Skip to contentSkip to conversation

um: tell git to ignore generated files

PATCH Superseded Américo Wang 4 participants 8 messages Feb 20, 2010 – Feb 25, 2010 User-mode Linux (UML)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 um: tell git to ignore generated files

git should ignore these files, since they are generated.

---

.gitignore +1 -0
index de6344e..efab0eb 100644
@@ -36,6 +36,7 @@ modules.builtin
 #
 tags
 TAGS
+linux
 vmlinux
 vmlinuz
 System.map
arch/um/.gitignore new file +5 -0
new file mode 100644
index 0000000..f22bd73
@@ -0,0 +1,5 @@
+include/shared/kern_constants.h
+include/shared/user_constants.h
+kernel/config.c
+kernel/config.tmp
+kernel/vmlinux.lds
#1 lore raw

arch/um/.gitignore line 2

Quoted 5 lines · Am??rico Wang

git should ignore these files, since they are generated.

arch/um/.gitignore new file +2 -0
+include/shared/kern_constants.h
+include/shared/user_constants.h

I have patches taking that to include/generated, actually

#2 lore raw
Quoted 8 lines · Al Viro

arch/um/.gitignore line 2

Quoted 5 lines · Am??rico Wang

git should ignore these files, since they are generated.

arch/um/.gitignore new file +2 -0
+include/shared/kern_constants.h
+include/shared/user_constants.h

I have patches taking that to include/generated, actually

BTW, what's the status of skas4? I have a series of patches leading towards resurrection of uml/powerpc (skas0), but I'd rather avoid breaking skas4 in process... Where does the recent version of that thing live?

#3 lore raw
Quoted 5 lines · Al Viro
Quoted 4 lines · Al Viro
Quoted 2 lines · Am??rico Wang

git should ignore these files, since they are generated.

Quoted 8 lines
Quoted 4 lines

arch/um/.gitignore line 2

Quoted 2 lines
arch/um/.gitignore new file +2 -0
+include/shared/kern_constants.h
+include/shared/user_constants.h

I have patches taking that to include/generated, actually

BTW, what's the status of skas4? I have a series of patches leading towards resurrection of uml/powerpc (skas0), but I'd rather avoid breaking skas4 in process... Where does the recent version of that thing live?

I have no idea, maybe it is still in draft? Jeff?

Thanks.

#4 lore raw
In reply to Al Viro
Quoted 5 lines · Al Viro
Quoted 4 lines · Al Viro
Quoted 2 lines · Am??rico Wang

git should ignore these files, since they are generated.

Quoted 8 lines
Quoted 4 lines

arch/um/.gitignore line 2

Quoted 2 lines
arch/um/.gitignore new file +2 -0
+include/shared/kern_constants.h
+include/shared/user_constants.h

I have patches taking that to include/generated, actually

BTW, what's the status of skas4? I have a series of patches leading towards resurrection of uml/powerpc (skas0), but I'd rather avoid breaking skas4 in process... Where does the recent version of that thing live?

TBH, I haven't done any real work in UML in the last year or so. The world has pretty much passed UML by, and it's beyond my capabilities and time to catch up and keep up.

So, to answer the question, I'd say that skas4 is in the same boat.

Jeff

Signature · 12 lines
Work email - jdike at linux dot intel dot com

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
#5 lore raw

[uml-devel] future of UML, was: Re: [Patch] um: tell git to ignore generated files

[ [email protected] added, CC: to be sent
separately[1] ]

Quoted 3 lines · Jeff Dike

TBH, I haven't done any real work in UML in the last year or so. The world has pretty much passed UML by, and it's beyond my capabilities and time to catch up and keep up.

Sad. I've seen supposed benchmarks showing the benefits of other virtualization (FULL v12n) approaches over UML, but I've never believed them. The default UML images opened up xterms as tty devices. I didn't use those; I made ttys elsewhere, or even used a system tty chown'ed.

I thought UML was a pretty nice idea. Makes more sense to me to run Linux on Linux rather than having to do full hardware v12n. To me, the subjective "feel" was fine. I ran servers in the UMLs. They didn't seem sluggish.

My major UML project was a virtual DMZ. Really cool thing: boot up one physical machine connected to the Internet, but it had no services exposed to the Internet ... yet it was a full-service mail and Web and VPN server, plus Samba and other services on the LAN.

My project died due to funding (it was sold to a customer without proper consideration of development costs, and I declined to continue development for free.)

Sometimes what the world chooses is not the best thing. This is not the only occurrance of that happening in the computing world.

Thanks, Jeff; you were right, it *was* fun.

[1] I find that list servers tend to accept mail from me using this address, but since it's not sent through GMX facilities, it's commonly regarded as spam elsewhere. Thus I will send Jeff a CC:
using an address which passes SPF et al, but is not subscribed.

Signature · 13 lines
    Offlist mail to this address is discarded unless
    "/dev/rob0" or "not-spam" is in Subject: header

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
#6 lore raw
In reply to Al Viro
Quoted 8 lines · Al Viro

Review

Quoted 5 lines · Am??rico Wang

git should ignore these files, since they are generated.

(quoted diff) +2 -0
+include/shared/kern_constants.h
+include/shared/user_constants.h

I have patches taking that to include/generated, actually

Oh, ok, I can remove these two for you. :)

Thanks.

------------>

Tell git to ignore the generated files under um, except:

include/shared/kern_constants.h
include/shared/user_constants.h

which will be moved to include/generated.

---

.gitignore +1 -0
index de6344e..efab0eb 100644
@@ -36,6 +36,7 @@ modules.builtin
 #
 tags
 TAGS
+linux
 vmlinux
 vmlinuz
 System.map
arch/um/.gitignore new file +3 -0
new file mode 100644
index 0000000..f22bd73
@@ -0,0 +1,3 @@
+kernel/config.c
+kernel/config.tmp
+kernel/vmlinux.lds
#7 lore raw

PATCH RESEND 1/1 um: tell git to ignore generated files

Tell git to ignore the generated files under um, except:

include/shared/kern_constants.h
include/shared/user_constants.h

which will be moved to include/generated.

---

.gitignore +1 -0
index de6344e..efab0eb 100644
@@ -36,6 +36,7 @@ modules.builtin
 #
 tags
 TAGS
+linux
 vmlinux
 vmlinuz
 System.map
arch/um/.gitignore new file +3 -0
new file mode 100644
index 0000000..f22bd73
@@ -0,0 +1,3 @@
+kernel/config.c
+kernel/config.tmp
+kernel/vmlinux.lds