[Git][NTPsec/ntpsec][master] temp-log: move from conrtib to ntpclients, w/ doc

Gary E. Miller gitlab at mg.gitlab.com
Wed Feb 8 03:38:00 UTC 2017


Gary E. Miller pushed to branch master at NTPsec / ntpsec


Commits:
f0bf3f8a by Gary E. Miller at 2017-02-07T19:37:15-08:00
temp-log: move from conrtib to ntpclients, w/ doc

- - - - -


6 changed files:

- contrib/README
- − contrib/temp-log.txt
- contrib/temp-log-body.txt → docs/includes/temp-log-body.txt
- contrib/temp-log → ntpclients/temp-log
- + ntpclients/temp-log-man.txt
- wscript


Changes:

=====================================
contrib/README
=====================================
--- a/contrib/README
+++ b/contrib/README
@@ -2,11 +2,9 @@ The following tools are not production-ready. They are included only as
 conveniences, examples or rudimentary starting points for other development
 efforts.
 
-temp-log is a program to collect temperatures on the local host and
-log them for use by ntpviz.  Soon this program will move in ntpclients
-and replace all the other termperature loggers.  temp-log will detect
-and automatically log values from 'sensors -u', 'smartctl -A', 
-'temper-poll' and /sys/class/thermal/thermal_zone*/temp.
+cpu-temp-log, smartctl-temp-log, temper-temp-log and zone-temp-log
+have been replaced by temp-log.  Those programs will stay in contrib for
+a while to give users a chance to migrate.
 
 cpu-temp-log is a tool to use the output of 'sensors -u' and write the
 motherboard temperatures to stdout.  Useful to create a log that can be used


=====================================
contrib/temp-log.txt deleted
=====================================
--- a/contrib/temp-log.txt
+++ /dev/null
@@ -1,18 +0,0 @@
-= temp-log - log tempd data for use by ntpviz =
-
-[cols="10%,90%",frame="none",grid="none",style="verse"]
-|==============================
-|image:pic/dogsnake.gif[]|
-{millshome}pictures.html[from 'Alice's Adventures in Wonderland', Lewis Carroll]
-
-S is for snakeoil.
-
-|==============================
-
-'''''
-
-include::includes/temp-log-body.txt[]
-
-'''''
-
-include::includes/footer.txt[]


=====================================
contrib/temp-log-body.txt → docs/includes/temp-log-body.txt
=====================================
--- a/contrib/temp-log-body.txt
+++ b/docs/includes/temp-log-body.txt


=====================================
contrib/temp-log → ntpclients/temp-log
=====================================
--- a/contrib/temp-log
+++ b/ntpclients/temp-log


=====================================
ntpclients/temp-log-man.txt
=====================================
--- /dev/null
+++ b/ntpclients/temp-log-man.txt
@@ -0,0 +1,19 @@
+= temp-log(1) =
+:doctype: manpage
+
+== NAME ==
+temp-log - log temperature data
+
+include::../docs/includes/temp-log-body.txt[]
+
+== EXIT STATUS ==
+
+One of the following exit values will be returned:
+
+0 (EXIT_SUCCESS)::
+  Successful program execution.
+1 (EXIT_FAILURE)::
+  The operation failed or the command syntax was not valid.
+
+// end
+


=====================================
wscript
=====================================
--- a/wscript
+++ b/wscript
@@ -155,6 +155,7 @@ python_scripts = [
     "ntpclients/ntptrace",
     "ntpclients/ntpviz",
     "ntpclients/ntpwait",
+    "ntpclients/temp-log",
 ]
 
 
@@ -204,16 +205,17 @@ def build(ctx):
     if ctx.cmd == 'clean' or ctx.cmd == 'distclean':
         afterparty(ctx)
 
-    ctx.manpage(8, "ntpclients/ntpleapfetch-man.txt")
+    ctx.manpage(1, "ntpclients/gps-log-man.txt")
     ctx.manpage(1, "ntpclients/ntpdig-man.txt")
-    ctx.manpage(8, "ntpclients/ntpkeygen-man.txt")
     ctx.manpage(1, "ntpclients/ntpmon-man.txt")
     ctx.manpage(1, "ntpclients/ntpq-man.txt")
     ctx.manpage(1, "ntpclients/ntpsweep-man.txt")
     ctx.manpage(1, "ntpclients/ntptrace-man.txt")
     ctx.manpage(1, "ntpclients/ntpviz-man.txt")
+    ctx.manpage(1, "ntpclients/temp-log-man.txt")
+    ctx.manpage(8, "ntpclients/ntpkeygen-man.txt")
+    ctx.manpage(8, "ntpclients/ntpleapfetch-man.txt")
     ctx.manpage(8, "ntpclients/ntpwait-man.txt")
-    ctx.manpage(1, "ntpclients/gps-log-man.txt")
 
     # Skip running unit tests on a cross compile build
     if not ctx.env.ENABLE_CROSS:



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/f0bf3f8a7fdecc19c0a8c6cb95b818b52ce514d3
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170208/8f23fa3c/attachment.html>


More information about the vc mailing list