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

Re: [PATCH 05/11 RFC] gitignore: Create .gitignore file for tools/ocaml/


  • To: Elliott Mitchell <ehem+xen@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Christian Lindig <christian.lindig@xxxxxxxxxx>
  • Date: Thu, 10 Sep 2020 08:20:05 +0000
  • Accept-language: en-GB, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wCJHMKMNxVwltLkrR1sE4S7bK1M2sYwufcMm0gqetto=; b=V+2HFDPJEpgO7pNBcIWs+B/laigCP2nEuGTEknRaQK7AssaATR1pQV5ezrpNUx8Yzcm0V3WGqps1H+LfJRFvEeDnnnCjnm48tttvVCFkPHux0rtzs8Il8mE/RcD8ogyhcnbAn5ksDdH8KNq1WcDmY8IK/3PKfzcXKS/XEwoCSubt59bc2HmYWvMdfFC1qB3iNapB34cXJvTFa0elTwvag+sFAJnrT/UBZvNMkP/MaTQj1xo6HZlYOwQa+01r5GYGq34tPyLF8hI0HvlZQfZJcYHebLaEpAwGixXMBGqt335wc049eTaVoefLGeNNCddWi31+URYNneKNdMsWUMS5+w==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gndr7GM2wjqcpFnKOjvnFUN9tlohmEkpREhe2nNkPurSCWvCZX3Y1EloDvKjCVmwsg2UPsivwW7Vbh7t7I0nPK4L5nwyXNit4IdR7SGKX+/oYItcWShUClwG33+XjHVciDZ7cJUZoqA93n6ibCqBzn2KNDSyg+NOrdlFilkspj1+pFQetNms0ZR94Vyl5n0/APM5sRRRMz2X+qyAc/trh663HpEeUVr0AozM2dxxER2YWG6vZwzM21Jwj0p+e3xSnrNbVAMlXE9uk+kug/g4EbRcv3HLvl7BHkLGYimYcDPoFStSNzmo/jnzWRV0BTW/VDgRQL3ofRHjNZUUjg86pA==
  • Authentication-results: esa1.hc3370-68.iphmx.com; dkim=pass (signature verified) header.i=@citrix.onmicrosoft.com
  • Cc: Andrew Cooper <Andrew.Cooper3@xxxxxxxxxx>, George Dunlap <George.Dunlap@xxxxxxxxxx>, Ian Jackson <Ian.Jackson@xxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, David Scott <dave@xxxxxxxxxx>, Edwin Torok <edvin.torok@xxxxxxxxxx>
  • Delivery-date: Thu, 10 Sep 2020 08:20:37 +0000
  • Ironport-sdr: fHCnMuXhNbzEaxJtLlsP6DSbEcH6LB1g3hLtUcBjXfPwvpq7sYXzpdRDsaWR+eh88G/3qGdb/w GQvoriUHsnue+/No3BwFgI5P8LbjKharw+XbjKJr2KWUYGTTPprRMXXiUhWVk0hfPBgzAjYzo9 7UMBlAfXyt7Mim5CA9v60nHLACcmHlydsiV9s/54e16d+/7g18jZKrio7tsZuOe5Xsf6Cdd8lD B+X36U+uG0JzfWjm8EOGbtiitV2xnRc9J+3n84ISytB/U/SgR9jgwEVCC/3J8nc0XdpPhEq2hy egE=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHWhvPtX4ARDtRBqkWG6CStpXG46qlhhtke
  • Thread-topic: [PATCH 05/11 RFC] gitignore: Create .gitignore file for tools/ocaml/

Fine with me. Edvin is using locally for the OCaml part a Dune-based build that does away with a lot of the cruft because it puts all files generated during a build into _build/ directory which then is enough to ignore. IMHO that is the direction of the future.  

-- 
Acked-by: Christian Lindig <christian.lindig@xxxxxxxxxx>



From: Elliott Mitchell <ehem+xen@xxxxxxx>
Sent: 03 September 2020 05:10
To: xen-devel@xxxxxxxxxxxxxxxxxxxx <xen-devel@xxxxxxxxxxxxxxxxxxxx>
Cc: Andrew Cooper <Andrew.Cooper3@xxxxxxxxxx>; George Dunlap <George.Dunlap@xxxxxxxxxx>; Ian Jackson <Ian.Jackson@xxxxxxxxxx>; Jan Beulich <jbeulich@xxxxxxxx>; Julien Grall <julien@xxxxxxx>; Stefano Stabellini <sstabellini@xxxxxxxxxx>; Wei Liu <wl@xxxxxxx>; Christian Lindig <christian.lindig@xxxxxxxxxx>; David Scott <dave@xxxxxxxxxx>
Subject: [PATCH 05/11 RFC] gitignore: Create .gitignore file for tools/ocaml/
 
The portion of the global .gitignore attributeable to tools/ocaml/ is
significant.  As such, create a local .gitignore file.  Currently the
OCAML bits for Xen are also somewhat contained to this one area too.

Slashes were left at the start of all filenames.  Entries without slashes
match files in subdirectories, entries with a slash anywhere are a
specific path.  I feel it is more consistent to have leading slashes on
all full paths.

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

---
I have a suspicion several of the patterns *should* be more general
and/or the OCAML area could use some local ignore patterns.

In particular "*.annot", "*.cm[ixao]", "*.cmxa", ".ocamldep.make" and
"META" might be appropriate as general patterns for tools/ocaml/ and not
be restricted to subdirectories.
---
 .gitignore             | 28 ----------------------------
 tools/ocaml/.gitignore | 24 ++++++++++++++++++++++++
 2 files changed, 24 insertions(+), 28 deletions(-)
 create mode 100644 tools/ocaml/.gitignore

diff --git a/.gitignore b/.gitignore
index 08800a11d5..297cd59c5c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -284,34 +284,6 @@ tools/libxl/test_timedereg
 tools/libxl/test_fdderegrace
 tools/libvchan/vchan-node[12]
 tools/libvchan/vchan-socket-proxy
-tools/ocaml/*/.ocamldep.make
-tools/ocaml/*/*.cm[ixao]
-tools/ocaml/*/*.cmxa
-tools/ocaml/*/*.annot
-tools/ocaml/*/*/.ocamldep.make
-tools/ocaml/*/*/*.cm[ixao]
-tools/ocaml/*/*/*.cmxa
-tools/ocaml/*/*/*.annot
-tools/ocaml/*/*/META
-tools/ocaml/libs/xl/_libxl_types.inc
-tools/ocaml/libs/xl/_libxl_types.ml.in
-tools/ocaml/libs/xl/_libxl_types.mli.in
-tools/ocaml/libs/xl/xenlight.ml
-tools/ocaml/libs/xl/xenlight.mli
-tools/ocaml/libs/xentoollog/_xtl_levels.*
-tools/ocaml/libs/xentoollog/xentoollog.ml
-tools/ocaml/libs/xentoollog/xentoollog.mli
-tools/ocaml/libs/xs/paths.ml
-tools/ocaml/libs/xc/xenctrl_abi_check.h
-tools/ocaml/xenstored/_paths.h
-tools/ocaml/xenstored/oxenstored
-tools/ocaml/xenstored/oxenstored.conf
-tools/ocaml/xenstored/paths.ml
-tools/ocaml/test/xtl
-tools/ocaml/test/send_debug_keys
-tools/ocaml/test/list_domains
-tools/ocaml/test/dmesg
-tools/ocaml/test/raise_exception
 tools/debugger/kdd/kdd
 tools/python/xen/lowlevel/xl/_pyxl_types.c
 tools/python/xen/lowlevel/xl/_pyxl_types.h
diff --git a/tools/ocaml/.gitignore b/tools/ocaml/.gitignore
new file mode 100644
index 0000000000..8b50454937
--- /dev/null
+++ b/tools/ocaml/.gitignore
@@ -0,0 +1,24 @@
+/*/**/*.annot
+/*/**/*.cm[ixao]
+/*/**/*.cmxa
+/*/**/.ocamldep.make
+/*/*/META
+/libs/xc/xenctrl_abi_check.h
+/libs/xentoollog/_xtl_levels.*
+/libs/xentoollog/xentoollog.ml
+/libs/xentoollog/xentoollog.mli
+/libs/xl/_libxl_types.inc
+/libs/xl/_libxl_types.ml.in
+/libs/xl/_libxl_types.mli.in
+/libs/xl/xenlight.ml
+/libs/xl/xenlight.mli
+/libs/xs/paths.ml
+/test/dmesg
+/test/list_domains
+/test/raise_exception
+/test/send_debug_keys
+/test/xtl
+/xenstored/_paths.h
+/xenstored/oxenstored
+/xenstored/oxenstored.conf
+/xenstored/paths.ml
--


--
(\___(\___(\______          --=> 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®.