From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by dcvr.yhbt.net (Postfix) with ESMTP id A2DD51F66F for ; Tue, 3 Nov 2020 20:18:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728855AbgKCUSF (ORCPT ); Tue, 3 Nov 2020 15:18:05 -0500 Received: from pb-smtp2.pobox.com ([64.147.108.71]:64944 "EHLO pb-smtp2.pobox.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725997AbgKCUSF (ORCPT ); Tue, 3 Nov 2020 15:18:05 -0500 Received: from pb-smtp2.pobox.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id DA4DC9AE33; Tue, 3 Nov 2020 15:18:04 -0500 (EST) (envelope-from junio@pobox.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=0ZdEPalRENIrk0PFZUXvMZsG7i8=; b=xCfQNM Qxd/vOAgKkUrROfQZYHOMq5WLA0+VypFFWZMN4tPAD4CMnOwZOvYoid90UlUuePa m2HSwF0YtBGgjiTozLmhKkc3UMuBLimuSo0g8njx3k//zjxzFnxwmnOFpnkRQ+Rk f2+lYMDuU8aR+bhXD11LbNjLCCMxZclYghF4g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=RHN5QG5OxdcsRzhI6BLW2/I7kWMbWVkm OL6v8nroZ2p2cmOZ8i7k4HeJETGTx6XBVCUmH2QQeYQi5bB0Kld9/v0E+K9oOd+Q xFFJGsO2Qilw0KG+HPRLyHOtqzWieSvJ+zjcPibJ1kXtwPMK4Gk0GanxRefy3VSF 3DFZBipc/DQ= Received: from pb-smtp2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id D16CD9AE32; Tue, 3 Nov 2020 15:18:04 -0500 (EST) (envelope-from junio@pobox.com) Received: from pobox.com (unknown [34.74.119.39]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp2.pobox.com (Postfix) with ESMTPSA id 7D8999AE31; Tue, 3 Nov 2020 15:18:03 -0500 (EST) (envelope-from junio@pobox.com) From: Junio C Hamano To: "Derrick Stolee via GitGitGadget" Cc: git@vger.kernel.org, jrnieder@gmail.com, jonathantanmy@google.com, sluongng@gmail.com, Derrick Stolee , =?utf-8?B?xJBv?= =?utf-8?B?w6BuIFRy4bqnbiBDw7RuZw==?= Danh , Martin =?utf-8?Q?=C3=85gren?= , Derrick Stolee Subject: Re: [PATCH 0/3] Maintenance IV: Platform-specific background maintenance References: Date: Tue, 03 Nov 2020 12:18:02 -0800 In-Reply-To: (Derrick Stolee via GitGitGadget's message of "Tue, 03 Nov 2020 14:03:13 +0000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: AD48F7E6-1E11-11EB-B1B2-74DE23BA3BAF-77302942!pb-smtp2.pobox.com Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org "Derrick Stolee via GitGitGadget" writes: > This is based on ds/maintenance-part-3. > > After sitting with the background maintenance as it has been cooking, I > wanted to come back around and implement the background maintenance for > Windows. However, I noticed that there were some things bothering me with > background maintenance on my macOS machine. These are detailed in PATCH 2, > but the tl;dr is that 'cron' is not recommended by Apple and instead > 'launchd' satisfies our needs. Nicely done. > This series implements the background scheduling so git maintenance > (start|stop) works on those platforms. I've been operating with these > schedules for a while now without the problems described in the patches. > > There is a particularly annoying case about console windows popping up on > Windows, but PATCH 3 describes a plan to get around that. > > Thanks, -Stolee > > Derrick Stolee (3): > maintenance: extract platform-specific scheduling > maintenance: use launchctl on macOS > maintenance: use Windows scheduled tasks > > builtin/gc.c | 428 +++++++++++++++++++++++++++++++++++++++-- > t/t7900-maintenance.sh | 86 ++++++++- > t/test-lib.sh | 4 + > 3 files changed, 498 insertions(+), 20 deletions(-) > > > base-commit: 0016b618182f642771dc589cf0090289f9fe1b4f > Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-776%2Fderrickstolee%2Fmaintenance%2FmacOS-v1 > Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-776/derrickstolee/maintenance/macOS-v1 > Pull-Request: https://github.com/gitgitgadget/git/pull/776