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

[PATCH 11/11 RFC] gitignore: RFC Prelimiary final cleanup of top-level .gitignore



This sorts .gitignore and cleans a few entries up.

Notably I *think* "dist/*" and "install/*" should be "/dist/*" and
"/install/*" as I'm doubting whether anyone will have those directories
anywhere, but the top.  Yet on top of this there is also an entry for
"dist" which I'm unsure of.

I'm rather concerned about "build-*" as I see the scripts:
"automation/scripts/build-test.sh" and
"automation/gitlab-ci/build-each-commit.sh" already in the repository.
These aren't effected by the .gitignore as they're already being tracked,
but this is a suboptimal situation.

I also note the presence of /tools/qemu-xen-build,
/tools/pygrub/build/, /tools/python/build/ and
/tools/tests/regression/build/ as things which might be useful to
address.

The entry "LibVNCServer*" seems like perhaps it should start with a
slash and/or have a tighter glob?

Some of the very old entries which originate at the begining,
e46056227fa3a7319e859455fa9f10c918451e43 I'm unsure of.  Does anyone
still want "TAGS" ignored?
".git" and ".hg" are obvious, though is there value in them remaining
when Mercurial seems to be disappearing?

What is/was behind c1df7c6ab655bcbf97024e8b79e55ba554cde83f and are those
still useful?  Presently they're still there, but in a situation like
this, removing this is more valuable than leaving them.

Signed-off-by: Elliott Mitchell <ehem+xen@xxxxxxx>

---
 .gitignore | 70 +++++++++++++++++++++++++-----------------------------
 1 file changed, 33 insertions(+), 37 deletions(-)

diff --git a/.gitignore b/.gitignore
index 5c17736c2e..5f9b8b0297 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,54 +1,50 @@
 !__*__.py
-.hg
-.*.cmd
-*.orig
-*~
-*.swp
-*.o
+*.a
+*.bak
+*.bin
 *.d
 *.d2
+*.gcda
+*.gcno
+*.o
+*.old
 *.opic
-*.a
+*.orig
+*.pc
+*.py[ocd]
 *.so
 *.so.[0-9]*
-*.bin
-*.bak
+*.spit
+*.spot
+*.swp
 *.tar
 *.tar.*z*
 *.tmp
-*.spot
-*.spit
-*.gcno
-*.gcda
-*.old
-*.pc
-*.py[ocd]
-TAGS
-GTAGS
-GRTAGS
+*~
+.*.cmd
+.config
+.git
+.hg
+.vimrc
+.vscode
 GPATH
+GRTAGS
 GSYMS
-tags
+GTAGS
+LibVNCServer*
+TAGS
+autom4te.cache/
+build-*
+config.cache
+config.h
+config.log
+config.status
 cscope.files
 cscope.in.out
 cscope.out
 cscope.po.out
-.config
-.vimrc
-.vscode
-
 dist
+tags
 
-autom4te.cache/
-config.log
-config.status
-config.cache
-config.h
-
-build-*
-dist/*
-extras/mini-os*
-install/*
-LibVNCServer*
-
-.git
+/dist/*
+/install/*
-- 


-- 
(\___(\___(\______          --=> 8-) EHM <=--          ______/)___/)___/)
 \BS (    |         ehem+sigmsg@xxxxxxx  PGP 87145445         |    )   /
  \_CS\   |  _____  -O #include <stddisclaimer.h> O-   _____  |   /  _/
8A19\___\_|_/58D2 7E3D DDF4 7BA6 <-PGP-> 41D1 B375 37D0 8714\_|_/___/5445






 


Rackspace

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