[PATCH v10 0/3] maintenance: add support for systemd timers on Linux

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

 



Hello,

Please find hereafter my updated patchset to add support for systemd
timers on Linux for the `git maintenance start` command.

The only changes compared to the previous version are fixes for the
two typos in a comment that Ramsay Jones pointed out [1]

[1] https://lore.kernel.org/git/51246c10-fe0b-b8e5-cdc3-54bdc6c8054e@xxxxxxxxxxxxxxxxxxxx/


The patches are:

* cache.h: Introduce a generic "xdg_config_home_for(…)" function

  This patch introduces a function to compute configuration files
  paths inside $XDG_CONFIG_HOME.

* maintenance: `git maintenance run` learned `--scheduler=<scheduler>`

  This patch adds a new parameter to the `git maintenance run` to let
  the user choose a scheduler.

* maintenance: add support for systemd timers on Linux

  This patch implements the support of systemd timers on top of
  crontab scheduler on Linux systems.

Best wishes,
Lénaïc.

Lénaïc Huard (3):
  cache.h: Introduce a generic "xdg_config_home_for(…)" function
  maintenance: `git maintenance run` learned `--scheduler=<scheduler>`
  maintenance: add support for systemd timers on Linux

 Documentation/git-maintenance.txt |  57 +++
 builtin/gc.c                      | 581 ++++++++++++++++++++++++++----
 cache.h                           |   7 +
 path.c                            |  13 +-
 t/t7900-maintenance.sh            | 110 +++++-
 5 files changed, 690 insertions(+), 78 deletions(-)

Diff-intervalle contre v9 :
1:  1639bd151c = 1:  0c0362d4ec cache.h: Introduce a generic "xdg_config_home_for(…)" function
2:  ea5568269c ! 2:  5fb061ca9d maintenance: `git maintenance run` learned `--scheduler=<scheduler>`
    @@ builtin/gc.c: static const char *get_frequency(enum schedule_priority schedule)
     + * list of colon-separated key/value pairs where each pair contains a scheduler
     + * and its corresponding mock.
     + *
    -+ * * If $GET_TEST_MAINT_SCHEDULER is not set, return false and leave the
    ++ * * If $GIT_TEST_MAINT_SCHEDULER is not set, return false and leave the
     + *   arguments unmodified.
     + *
    -+ * * If $GET_TEST_MAINT_SCHEDULER is set, return true.
    ++ * * If $GIT_TEST_MAINT_SCHEDULER is set, return true.
     + *   In this case, the *cmd value is read as input.
     + *
     + *   * if the input value *cmd is the key of one of the comma-separated list
3:  8c25ebd3be = 3:  b0f2f6df0e maintenance: add support for systemd timers on Linux
-- 
2.33.0




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux