Commit graph

129 commits

Author SHA1 Message Date
Jérémy Lecour fe0eccd53a déplacement des variables pour les binaires 2018-09-20 14:24:05 +02:00
Jérémy Lecour 2f249eda73 log + mail des stats Git 2018-09-07 15:03:25 +02:00
Jérémy Lecour ee93e19130 don't try to commit if nothing has changed 2018-09-06 12:22:35 +02:00
Jérémy Lecour 7e5b571fc9 better formatting for the blob of text 2018-09-06 10:54:02 +02:00
Jérémy Lecour 07bb68ad60 improve code comments 2018-09-06 10:50:07 +02:00
Jérémy Lecour c15ee205d2 Show a better message to submit or cancel 2018-09-06 10:49:55 +02:00
Jérémy Lecour 25d7f786bc Git must know the GIT_DIR and the GIT_WORK_TREE
… otherwise it looks for content in the current working directory (where
the script is executed from) which is catastrophic for the repository.
2018-09-06 10:46:50 +02:00
Jérémy Lecour 786db8b60b improve formatting of message 2018-09-06 10:44:13 +02:00
Jérémy Lecour dfd9e431b4 handle multiple git repositories 2018-09-06 10:16:48 +02:00
Jérémy Lecour a7c6c94626 improve dates handling
* combine BEGIN_DATE and add END_DATE
* add the timestamp at the begining of the log blob
2018-09-06 10:12:06 +02:00
Jérémy Lecour 72b43f314e multiline blob of text for log file and git commit 2018-09-05 18:45:46 +02:00
Jérémy Lecour 5fd01a1614 use locale timezone 2018-09-05 18:45:08 +02:00
Jérémy Lecour 583642945b use "who -m" to simplify information gathering 2018-09-05 18:44:53 +02:00
Jérémy Lecour 1f7a91678f remove chown/touch on logfile 2018-09-05 18:44:16 +02:00
Jérémy Lecour c02bdbc720 update version and copyright 2018-09-05 00:04:22 +02:00
Jérémy Lecour b1ae34fe47 use tty(1) to get the TTY of the current session 2018-09-05 00:03:16 +02:00
Jérémy Lecour 5a0603430a use logname(1) instead of USER or SUDO_USER 2018-09-04 23:35:21 +02:00
Jérémy Lecour d3ffbc8225 fix log file permissions on OpenBSD 2018-09-04 23:33:16 +02:00
Jérémy Lecour 0cde3681a6 simplify Git section 2018-09-04 23:24:05 +02:00
Jérémy Lecour 05335d7f08 Add curly braces and quotes around variables 2018-09-04 23:10:08 +02:00
Jérémy Lecour 20c69a8fac Add a log file 2018-09-04 22:50:25 +02:00
Daniel Jakots 29fb639f6f update comment about dependencies 2016-12-08 16:51:55 +01:00
Daniel Jakots 869b03b018 don't duplicate lines 2016-12-08 16:49:41 +01:00
Daniel Jakots eaa2c6b2a3 Replace foo=bar with foo=$(bar) so we comply with GUIDELINES 2016-12-08 16:46:31 +01:00
Tristan PILAT a99f087e87 Add OpenBSD compatibility 2016-12-08 16:32:35 +01:00
Romain Dessort e3fb815563 Make evomaintenance works if called from a script. 2016-04-20 16:32:12 -04:00
Benoît S. 1330a5a1d9 Implement #1484. Set path for sendmail. 2015-12-02 16:29:36 +01:00
Benoît S. 6f7aa04bb0 Implement #1483. Uses GIT if available. 2015-12-02 16:20:42 +01:00
Gregory Colpart ddbf1d2555 init 2015-09-13 15:29:22 +02:00