summaryrefslogtreecommitdiffstats
path: root/git-p4.py
diff options
context:
space:
mode:
authorDerrick Stolee <dstolee@microsoft.com>2020-11-24 05:16:42 +0100
committerJunio C Hamano <gitster@pobox.com>2020-11-24 22:02:29 +0100
commit31345d5545e755bf79143841f3840ae5bcd0ac0b (patch)
treef792fbd1623a8f1f0ae8cbe174570941cd24de1e /git-p4.py
parentmaintenance: add troubleshooting guide to docs (diff)
downloadgit-31345d5545e755bf79143841f3840ae5bcd0ac0b.tar.xz
git-31345d5545e755bf79143841f3840ae5bcd0ac0b.zip
maintenance: extract platform-specific scheduling
The existing schedule mechanism using 'cron' is supported by POSIX platforms, but not Windows. It also works slightly differently on macOS to significant detriment of the user experience. To allow for new implementations on these platforms, extract a method that performs the platform-specific scheduling mechanism. This will be swapped at compile time with new implementations on specialized platforms. As we add this generality, rename GIT_TEST_CRONTAB to GIT_TEST_MAINT_SCHEDULER. Further, this variable is now parsed as "<scheduler>:<command>" so we can test platform-specific scheduling logic even when not on the correct platform. By specifying the <scheduler> in this string, we will be able to test all three sets of Git logic from a Linux machine. Co-authored-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-p4.py')
0 files changed, 0 insertions, 0 deletions