Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:88505 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 66926 invoked from network); 25 Sep 2015 22:51:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Sep 2015 22:51:43 -0000 Authentication-Results: pb1.pair.com header.from=francois@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=francois@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 212.27.42.6 as permitted sender) X-PHP-List-Original-Sender: francois@php.net X-Host-Fingerprint: 212.27.42.6 smtp6-g21.free.fr Received: from [212.27.42.6] ([212.27.42.6:56783] helo=smtp6-g21.free.fr) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3B/C8-31991-DFFC5065 for ; Fri, 25 Sep 2015 18:51:42 -0400 Received: from [127.0.0.1] (unknown [82.232.41.54]) (Authenticated sender: flaupretre@free.fr) by smtp6-g21.free.fr (Postfix) with ESMTPSA id B719F82249; Sat, 26 Sep 2015 00:43:37 +0200 (CEST) To: j adams , internals References: Message-ID: <5605CFF5.8080002@php.net> Date: Sat, 26 Sep 2015 00:51:33 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Antivirus: avast! (VPS 150925-1, 25/09/2015), Outbound message X-Antivirus-Status: Clean Subject: Re: [PHP-DEV] recommended .gitignore for PHP/PECL extensions From: francois@php.net (=?UTF-8?Q?Fran=c3=a7ois_Laupretre?=) Le 25/09/2015 21:10, j adams a écrit : > I have made good progress on a PHP extension and I'd like to post it on > github to get some review and help from some others. The folder has quite a > few files and I'm hoping to avoid putting anything in git that doesn't need > to be there. > > I see that php 5.6 has this .gitignore file: > http://git.php.net/?p=php-src.git;a=blob_plain;f=.gitignore;hb=f5751638dbd77136ce5c90e7d8bd090aa655c2a3 > > But that one is for the root of the php project. I just want my git repo to > contain my code in the ext/extension-name folder. > > Can anyone recommend a good .gitignore file for extensions? I looked around > in a bunch of the PECL dirs and found a couple: > http://git.php.net/?p=pecl/languages/v8js.git;a=tree > http://git.php.net/?p=pecl/networking/ssh2.git;a=tree > From the ext_skel script : .deps *.lo *.la .libs acinclude.m4 aclocal.m4 autom4te.cache build config.guess config.h config.h.in config.log config.nice config.status config.sub configure configure.in include install-sh libtool ltmain.sh Makefile Makefile.fragments Makefile.global Makefile.objects missing mkinstalldirs modules run-tests.php tests/*/*.diff tests/*/*.out tests/*/*.php tests/*/*.exp tests/*/*.log tests/*/*.sh Regards François