Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:88498 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 43995 invoked from network); 25 Sep 2015 19:10:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Sep 2015 19:10:38 -0000 Authentication-Results: pb1.pair.com header.from=zardozrocks@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=zardozrocks@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: zardozrocks@gmail.com X-Host-Fingerprint: 209.85.223.169 mail-io0-f169.google.com Received: from [209.85.223.169] ([209.85.223.169:35815] helo=mail-io0-f169.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 75/65-31991-D2C95065 for ; Fri, 25 Sep 2015 15:10:37 -0400 Received: by ioiz6 with SMTP id z6so120488756ioi.2 for ; Fri, 25 Sep 2015 12:10:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=gcLhC/meQrEIG9eS6MOa4qjRlING/Zbta3b9gMwcwmE=; b=xWk/40Sc+X3Nr/yYSOo6hd0JVk6OvUfC+nP8CT1s8nL1FJYWBek92hb0J+dGq/VnB7 Fswefr0wMV+HLCRM8IqP/bmOeuNykwsr1A9ZOarQxEVDIzmTj+X3wNh419uDqKRZZZS8 PYCvSq2dozXiszSUHZbEna86CAEV2MWeBNBy7O4TQ7Icn64XMhQF+mIUj9IIlFG9wP1V agU4U12V7vGCevWtVzqnu6cynQH05pK9J7XIrYHW7wjtFLKGZqpXA0YYbgbZ72xA7Cwq 2lWNmK0Rr5fZAels66AMiGoixxKNxzdsEUDhGiCVSriiA5vhqe+4l7oJZUPr1bchuA9D 64NA== MIME-Version: 1.0 X-Received: by 10.107.25.71 with SMTP id 68mr7564535ioz.46.1443208233799; Fri, 25 Sep 2015 12:10:33 -0700 (PDT) Received: by 10.107.31.148 with HTTP; Fri, 25 Sep 2015 12:10:33 -0700 (PDT) Date: Fri, 25 Sep 2015 12:10:33 -0700 Message-ID: To: internals Content-Type: multipart/alternative; boundary=001a113ff20e1cf78e0520971a3d Subject: recommended .gitignore for PHP/PECL extensions From: zardozrocks@gmail.com (j adams) --001a113ff20e1cf78e0520971a3d Content-Type: text/plain; charset=UTF-8 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 --001a113ff20e1cf78e0520971a3d--