Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:88504 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 59644 invoked from network); 25 Sep 2015 21:53:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Sep 2015 21:53:32 -0000 Authentication-Results: pb1.pair.com header.from=mike.php.net@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=mike.php.net@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.223.169 as permitted sender) X-PHP-List-Original-Sender: mike.php.net@gmail.com X-Host-Fingerprint: 209.85.223.169 mail-io0-f169.google.com Received: from [209.85.223.169] ([209.85.223.169:36386] helo=mail-io0-f169.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FF/67-31991-B52C5065 for ; Fri, 25 Sep 2015 17:53:32 -0400 Received: by ioii196 with SMTP id i196so125172681ioi.3 for ; Fri, 25 Sep 2015 14:53:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=YwrycQsSSbLAKLcVpCABq4GfWYK0MDIzMktVul6M1mU=; b=g9jZuJrhV6NL5L2xFlDHIEYpiwjo+P5BbdO1UJCA6JhE8P45UMdswWi9xDBr0PBbJG fD/wYRWu98hpV/t2OwS7NQzMVbIgNjHKMHSvK5tQ7t1V4xDNuqI4pvf6USUT3NvSl83r 3/r9h1E0NTVW9i9SYGZBF+QwpZqTPNXgxZ9tOzbw8h+ipyhCq8gbekHnhwxeZm+0aaSv AC6W8IoKRoU2zqBPlfoH6K+U63RvZkOtm+opkEyVH+iLPzep4aGJW0X6cQaWniE0ikaC 517AlzkRPCjZclVNeHKeGhUUsHaHw/HkBfNiimmZldhwtSaIqSU4jFlct3iPIQwRHma6 i7Iw== MIME-Version: 1.0 X-Received: by 10.107.162.204 with SMTP id l195mr8656029ioe.196.1443218009237; Fri, 25 Sep 2015 14:53:29 -0700 (PDT) Received: by 10.79.27.86 with HTTP; Fri, 25 Sep 2015 14:53:28 -0700 (PDT) Received: by 10.79.27.86 with HTTP; Fri, 25 Sep 2015 14:53:28 -0700 (PDT) In-Reply-To: References: Date: Fri, 25 Sep 2015 23:53:28 +0200 Message-ID: To: j adams Cc: PHP Internals Content-Type: multipart/alternative; boundary=001a114043c2c62f25052099608f Subject: Re: [PHP-DEV] recommended .gitignore for PHP/PECL extensions From: mike.php.net@gmail.com (Michael Wallner) --001a114043c2c62f25052099608f Content-Type: text/plain; charset=UTF-8 On 25 Sep 2015 21:10, "j adams" wrote: > > 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 The "standard" .gitignore is generated by the ext_skel script, see http://git.php.net/?p=php-src.git;a=blob;f=ext/ext_skel;h=a1c64640ae63b15149add0f1e94378edc7291a38;hb=HEAD --001a114043c2c62f25052099608f--