From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Radon Rosborough Newsgroups: gmane.emacs.devel Subject: Re: Why does make run git? Date: Wed, 2 Aug 2017 10:43:32 -0700 Message-ID: References: <83bmo00yw7.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1501695874 22803 195.159.176.226 (2 Aug 2017 17:44:34 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 2 Aug 2017 17:44:34 +0000 (UTC) Cc: eliz@gnu.org, emacs-devel@gnu.org, Tino Calancha To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 02 19:44:29 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dcxgx-0005FB-5B for ged-emacs-devel@m.gmane.org; Wed, 02 Aug 2017 19:44:19 +0200 Original-Received: from localhost ([::1]:49137 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dcxh3-0003qT-3F for ged-emacs-devel@m.gmane.org; Wed, 02 Aug 2017 13:44:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48998) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dcxgw-0003qM-Jp for emacs-devel@gnu.org; Wed, 02 Aug 2017 13:44:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dcxgv-0004W4-P2 for emacs-devel@gnu.org; Wed, 02 Aug 2017 13:44:18 -0400 Original-Received: from mail-it0-x22b.google.com ([2607:f8b0:4001:c0b::22b]:36702) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dcxgt-0004TW-5b; Wed, 02 Aug 2017 13:44:15 -0400 Original-Received: by mail-it0-x22b.google.com with SMTP id 77so27465122itj.1; Wed, 02 Aug 2017 10:44:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Mo0H5XK5XwwkTHhV+MUPhMlY0mz8dkJHRJDtDKD2B9k=; b=aOaPjVf+VQ6pemlmgTbVfQAmSjVCd1OmSDOuoWLkuQnl4Mi/PzGLR8mwo/BEcpRT8V SqR2D//cdgx9h+s7Pm7PMVqQ3/AN6Ffiz+LaNn/SOVOjJfo2UuUhbc+cvarN/n4QVBj1 qczldvhl6FmNpEJYLykLgcG3TxERe4+vEIYkOBrmsksEhNRIpLRfGc5foGZcS0lKVMMv viVYF1zggYpyaAvJi3DIt+lVPQPJWFgVn6FugsIlgqX+tn8fN/dcLbBsPXKfBwsw4rR2 vLX0IWxaB3PV332Z5FJQAdOiXt2mGlrMMiVZLx/zNBZU5u8VSGGMlGY1Ffbe0Xrqduwj M1tA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Mo0H5XK5XwwkTHhV+MUPhMlY0mz8dkJHRJDtDKD2B9k=; b=sKNuTdAusd+4ZxFMfio12sGfR2PMNDfR42kLVjTiayoVcAUXzGTqDErKmXfuKfAUvR P9IP9hwahm6dnvAGOr0vXxXqIrIWjlowbELkPL5kEhYBQIVoWMVpHqLkW4FbtxGUb78R 76E8FyDv2p1ZO4PsKldiSnFDydmSIkY+RFuN4zBaKPXqfKDQKMkI/lOkdPK01AW5Wz9q Tg3oSoBZUIrjQckjwpQT9kYa/xOhmYYakHjZs/2DUzukowV7EngGaFHpqhGujx6hkGPt JknWZe1eH+/E6iAZgNEU09N/MbhL5sfpETa5Ued5F+nJJHAmhG0UKHNDfMV3159ZvInF WC6A== X-Gm-Message-State: AIVw110XlTN0sihz/fSSEjFxXMqP3Q3zHRbBO8b35u/DOPcRkWCrhfDG eQKher7uVOKdiW9MlRSrat8lH7+7Z0He X-Received: by 10.36.173.91 with SMTP id a27mr6597505itj.130.1501695852643; Wed, 02 Aug 2017 10:44:12 -0700 (PDT) Original-Received: by 10.50.193.131 with HTTP; Wed, 2 Aug 2017 10:43:32 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4001:c0b::22b X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:217247 Archived-At: > You can't rely on the user's having done 'make' > in the repository before doing the git operations that use these > settings. That is true but it's much worse to rely on the user using VC. Hooking into the build process isn't foolproof, but it's much better than hooking into every possible version-control package for Emacs, including ones like Magit which aren't built in to Emacs. I don't think there really is any perfect solution to the problem of configuring Git. You just have to accept that in some circumstances, the configuration won't be done correctly, so that's why it's important for there to be more robust checks run on CI when possible. But really, hooking into the build process is probably the easiest way to reach the most users with the least maintenance overhead and inconvenience. On Wed, Aug 2, 2017 at 10:26 AM, Richard Stallman wrote: > [[[ To any NSA and FBI agents reading my email: please consider ]]] > [[[ whether defending the US Constitution against all enemies, ]]] > [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > > > Perhaps there should be a function in Emacs that does this, and some > > > VC commands could call it. > > I think is for convenience. > > But it is unreliable. You can't rely on the user's having done 'make' > in the repository before doing the git operations that use these > settings. > > > -- > Dr Richard Stallman > President, Free Software Foundation (gnu.org, fsf.org) > Internet Hall-of-Famer (internethalloffame.org) > Skype: No way! See stallman.org/skype.html. > >