Blame SOURCES/0008-Refresh-HACKING-file.patch

985088
From cc9f1f9d8f17e8ac5a6a73af830c132d916fd6e0 Mon Sep 17 00:00:00 2001
985088
From: "Richard W.M. Jones" <rjones@redhat.com>
985088
Date: Mon, 27 Mar 2017 12:30:01 +0100
985088
Subject: [PATCH 08/17] Refresh HACKING file.
985088
985088
Fixes commit b7c3ef13cbd9c9cd49005a32ffb70faf6f5bbe8c.
985088
---
985088
 HACKING | 72 ++---------------------------------------------------------------
985088
 1 file changed, 2 insertions(+), 70 deletions(-)
985088
985088
diff --git a/HACKING b/HACKING
985088
index bce40a9..3cd266b 100644
985088
--- a/HACKING
985088
+++ b/HACKING
985088
@@ -7,75 +7,7 @@ General OCaml advice:
985088
 
985088
 (2) Emacs users: use tuareg-mode for editing OCaml.
985088
 
985088
-(3) http://www.ocaml-tutorial.org/
985088
+(3) https://realworldocaml.org/ is the definitive book which is also
985088
+    available online in full.
985088
 
985088
 (4) http://camltastic.blogspot.com/2008/08/3-things-that-will-confuse-you-when.html
985088
-
985088
-The code is structured into these files:
985088
-
985088
-  virt_top_utils.mli / virt_top_utils.ml
985088
-
985088
-    String functions and other small utility functions.  This is
985088
-    included directly into virt_top.ml.
985088
-
985088
-  virt_top_version.ml
985088
-
985088
-    The version number (automatically generated by configure).
985088
-
985088
-  virt_top.mli / virt_top.ml
985088
-
985088
-    This is the virt-top program.
985088
-
985088
-    The two interesting functions are called 'collect' and 'redraw'.
985088
-
985088
-    'collect' collects all the information about domains, etc.
985088
-
985088
-    'redraw' updates the display on each frame.
985088
-
985088
-    Another interesting function is 'start_up' which handles all
985088
-    start-up stuff, eg. command line arguments, connecting to the
985088
-    hypervisor, enabling curses.
985088
-
985088
-    The function 'main_loop' runs the main loop and has sub-functions
985088
-    to deal with keypresses, help screens and so on.
985088
-
985088
-  virt_top_xml.ml
985088
-
985088
-    Any code which needs the optional xml-light library goes
985088
-    in here.  Mainly for parsing domain XML descriptions to get
985088
-    the list of block devices and network interfaces.
985088
-
985088
-    The reason for having it in a separate file is so that we
985088
-    don't depend on xml-light.
985088
-
985088
-  virt_top_csv.ml
985088
-
985088
-    Any code which needs the optional ocaml-csv library goes
985088
-    in here.  This implements the --csv command line option.
985088
-
985088
-  virt_top_calendar1.ml
985088
-  virt_top_calendar2.ml
985088
-
985088
-    Any code which needs the optional ocaml-calendar library
985088
-    goes in here.  This implements the --end-time command line
985088
-    option.  Note there are two incompatible versions of the
985088
-    ocaml-calendar library, which is why we have two
985088
-    implementations.  The Makefile works out which one to use.
985088
-
985088
-  virt_top_gettext.ml
985088
-
985088
-    Gettext interaction (this is generated by ./configure).
985088
-
985088
-  virt_top_main.ml
985088
-
985088
-    This is just a small bit of code to glue the modules above
985088
-    together.
985088
-
985088
-The man-page is generated from the single file:
985088
-
985088
-  virt-top.pod
985088
-
985088
-which generates (using perldoc) the following:
985088
-
985088
-  virt-top.1
985088
-  virt-top.txt
985088
-- 
985088
2.9.3
985088