From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tim Landscheidt Newsgroups: gmane.emacs.devel Subject: ELPA: CONTRIBUTING.org and targets/ Date: Fri, 12 Jan 2018 16:03:01 +0000 Organization: http://www.tim-landscheidt.de/ Message-ID: <87h8rrysi2.fsf@passepartout.tim-landscheidt.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1515772988 878 195.159.176.226 (12 Jan 2018 16:03:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 12 Jan 2018 16:03:08 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) Cc: emacs-devel@gnu.org To: fabacino@gmail.com, Oleh Krehel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 12 17:03:04 2018 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 1ea1nJ-0008Fd-Al for ged-emacs-devel@m.gmane.org; Fri, 12 Jan 2018 17:03:01 +0100 Original-Received: from localhost ([::1]:49783 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ea1pI-0005LX-Ql for ged-emacs-devel@m.gmane.org; Fri, 12 Jan 2018 11:05:04 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34502) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ea1nU-0004Ll-9Z for emacs-devel@gnu.org; Fri, 12 Jan 2018 11:03:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ea1nM-00023L-Iu for emacs-devel@gnu.org; Fri, 12 Jan 2018 11:03:10 -0500 Original-Received: from mezzogiorno.tim-landscheidt.de ([2a01:4f8:d15:2286::2]:46966) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ea1nM-00021p-CJ for emacs-devel@gnu.org; Fri, 12 Jan 2018 11:03:04 -0500 Original-Received: from dslb-092-076-023-076.092.076.pools.vodafone-ip.de ([92.76.23.76]:47594 helo=passepartout.tim-landscheidt.de) by mezzogiorno.tim-landscheidt.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ea1nJ-00017U-RL; Fri, 12 Jan 2018 16:03:01 +0000 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a01:4f8:d15:2286::2 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:221892 Archived-At: Hi, AFAICT, CONTRIBUTING.org and targets/ do not pertain to ELPA itself, but to ivy and should be somewhere under packages/ivy/. If you want to guard (to some degree) against accidentally modifying other packages, you can add this fragment: | if git diff --cached --name-only -z $against | grep -qvz '^packages/ivy/'; then | echo "Trying to modify files outside of packages/ivy/"; | exit 1 | fi to your .git/hooks/pre-commit (I assume this won't necessar- ily work for merge commits). Tim