[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xen master] tools/python: add .gitignore file



commit 16a0e16dab749bb50a95d93320d8c6b4b5544272
Author:     Juergen Gross <jgross@xxxxxxxx>
AuthorDate: Wed Nov 22 14:02:20 2023 +0100
Commit:     Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
CommitDate: Thu Nov 23 17:21:01 2023 +0000

    tools/python: add .gitignore file
    
    Add a local .gitignore file for tools/python.
    
    As at least on some systems (e.g. OpenSUSE Leap 15.5) the build will
    produce a tools/python/xen.egg-info directory, add it to the new
    .gitignore file, too.
    
    Use "/dir/" as pattern for ignoring a directory and its contents, as
    the "/dir/*" pattern won't ignore the directory itself (git just
    doesn't complain when seeing a directory without any not ignored file
    in it).
    
    Signed-off-by: Juergen Gross <jgross@xxxxxxxx>
    Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>
---
 .gitignore              | 3 ---
 tools/python/.gitignore | 3 +++
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/.gitignore b/.gitignore
index 3009545af2..5b8f23271e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -213,7 +213,6 @@ tools/misc/xencov
 tools/pkg-config/*
 tools/qemu-xen-build
 tools/xentrace/xenalyze
-tools/python/build/*
 tools/tests/depriv/depriv-fd-checker
 tools/tests/x86_emulator/*.bin
 tools/tests/x86_emulator/*.tmp
@@ -370,8 +369,6 @@ tools/ocaml/test/raise_exception
 tools/debugger/kdd/kdd
 tools/firmware/etherboot/ipxe.tar.gz
 tools/firmware/etherboot/ipxe/
-tools/python/xen/lowlevel/xl/_pyxl_types.c
-tools/python/xen/lowlevel/xl/_pyxl_types.h
 tools/xl/xl
 
 docs/txt/misc/*.txt
diff --git a/tools/python/.gitignore b/tools/python/.gitignore
new file mode 100644
index 0000000000..e8545df68b
--- /dev/null
+++ b/tools/python/.gitignore
@@ -0,0 +1,3 @@
+/build/
+/xen.egg-info/
+/xen/lowlevel/xl/_pyxl_types.[ch]
--
generated by git-patchbot for /home/xen/git/xen.git#master



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.