From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: Accessible "building from source" instructions Date: Sat, 25 May 2019 18:30:49 -0700 Organization: UCLA Computer Science Department Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------9EE795AE88270866A62A0861" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="204534"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 Cc: Emacs Development To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun May 26 03:41:06 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hUi9p-000r1z-Mj for ged-emacs-devel@m.gmane.org; Sun, 26 May 2019 03:41:05 +0200 Original-Received: from localhost ([127.0.0.1]:49320 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hUi9o-0006PI-I9 for ged-emacs-devel@m.gmane.org; Sat, 25 May 2019 21:41:04 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:55023) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hUi05-00069w-5f for Emacs-devel@gnu.org; Sat, 25 May 2019 21:31:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hUi03-0000uU-2N for Emacs-devel@gnu.org; Sat, 25 May 2019 21:31:01 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:55154) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hUi02-0000s2-QS for Emacs-devel@gnu.org; Sat, 25 May 2019 21:30:58 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id A6079161058; Sat, 25 May 2019 18:30:54 -0700 (PDT) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id drN2TMfX5Jum; Sat, 25 May 2019 18:30:53 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id D6EE1161823; Sat, 25 May 2019 18:30:53 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id dJfEg8gKYGB6; Sat, 25 May 2019 18:30:53 -0700 (PDT) Original-Received: from [192.168.1.9] (cpe-23-242-74-103.socal.res.rr.com [23.242.74.103]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id A21F5161058; Sat, 25 May 2019 18:30:53 -0700 (PDT) In-Reply-To: Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 131.179.128.68 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:236999 Archived-At: This is a multi-part message in MIME format. --------------9EE795AE88270866A62A0861 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Dmitry Gutov wrote: > In particular, it changes the user's Git configuration. And if somebody just > copy-pastes in into their terminal, it will bork their global Git config. The Git configuration should be a good one for Emacs development, and these commands (at least the transfer.fsckObjects part) should be done before the first 'git clone' command. That being said, you're right that people who aren't contributing to Emacs don't need a development-oriented Git configuration. So I separated the development-oriented commands from the fetch-and-build commands by installing the attached patch into master. --------------9EE795AE88270866A62A0861 Content-Type: text/x-patch; name="0001-CONTRIBUTE-Split-git-configuration-from-fetch-and-bu.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename*0="0001-CONTRIBUTE-Split-git-configuration-from-fetch-and-bu.pa"; filename*1="tch" >From 461cb9217d83c0518de2e9bb6fd3ee0d8cd0626b Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 25 May 2019 18:29:16 -0700 Subject: [PATCH] * CONTRIBUTE: Split git configuration from fetch-and-build --- CONTRIBUTE | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTE b/CONTRIBUTE index a5433e30d3..f257fc57f0 100644 --- a/CONTRIBUTE +++ b/CONTRIBUTE @@ -7,11 +7,14 @@ or run the shell command 'info "(emacs)Contributing"'.) ** The Emacs repository Emacs development uses Git on Savannah for its main repository. -Briefly, the following shell commands build and run Emacs from scratch: +To configure Git for Emacs development, you can run the following: git config --global user.name 'Your Name' git config --global user.email 'your.name@example.com' git config --global transfer.fsckObjects true + +The following shell commands then build and run Emacs from scratch: + git clone git://git.sv.gnu.org/emacs.git cd emacs ./autogen.sh -- 2.17.1 --------------9EE795AE88270866A62A0861--