X-Original-To: alpine-aports@mail.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id E25F1DC08F8 for ; Mon, 1 Feb 2016 01:49:21 +0000 (UTC) Received: from mail-pa0-f41.google.com (mail-pa0-f41.google.com [209.85.220.41]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id AC29CDC00AD for ; Mon, 1 Feb 2016 01:49:21 +0000 (UTC) Received: by mail-pa0-f41.google.com with SMTP id cy9so72774569pac.0 for ; Sun, 31 Jan 2016 17:49:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=kngKYEWfozCgLrpX8uOQJFKXdvXxdItq+eDd4H4Gebo=; b=PSdoGOtimdRA/agoHytuvoSWF8T6p5Gi+y33m+CzEdHG0Iiwsk5a41E2zKCi1g8m79 WZInkc6tVgZmglmqT6fYpdlKYj2jzJlYhS/dZD526QCIFOThFza7RE9Cf3SliiQxmDdE QQIO5isIWvSKRxDDdviZeOXlliewjEpAY2gqNq0XklMRn7/c1uEtzUVyU+03TR9KOMAs oXgXCKc61i4KeydkwFoAL5Sxlpi20UMbeJzkn2kGRffyswLGvmOuflUt+u6D4fVUO2ml NqlSYQk4zTy0YafPsvBNkM+FxYeAzBjPHMpSN8jTQMxyOdG5oQUt0xPe2t3gnbRp2C31 UMdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-type:content-disposition:user-agent; bh=kngKYEWfozCgLrpX8uOQJFKXdvXxdItq+eDd4H4Gebo=; b=G0l5SPlB+3fc0W0Z2K12jMmYaKDCNjLoQnNPeRBH60Gbq7DI3ZI5IHFsrxo8kbB4rW ly8d6CIkUKrYgo28q30msrvA3LzvdFZYp04ygFAeNv37jdULtYzP5RkUIerCnW44NZNN eJP4owcoin9fGjJ0lkEpiSuUAG9JiWlG9oOfsoqtGpvwKzWj5a8f5FfogAyiZ5dyJX39 xNUoPENOl3pQEB/Qmoi+RRCl1YFlqIk+ygCdPFald54KALE36OPnzp3vpBKbGM1CyjeM sZ0HHbWIabj65cRxXMTVe1zdVTRcV21Ep/kwEBSMWhf+aPV4Hk3ciUepZBEpWhDeyvFa oDDg== X-Gm-Message-State: AG10YOT6kdI/daT7vnegx0XX65hkdHWrnQ+KOMb2omrVyoUL8rC/qeoaLrO6DaL9hdAvGg== X-Received: by 10.66.233.103 with SMTP id tv7mr33549968pac.83.1454291359245; Sun, 31 Jan 2016 17:49:19 -0800 (PST) Received: from gmail.com (ec2-54-201-22-187.us-west-2.compute.amazonaws.com. [54.201.22.187]) by smtp.gmail.com with ESMTPSA id 1sm10061701pfm.10.2016.01.31.17.49.18 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 31 Jan 2016 17:49:18 -0800 (PST) Date: Mon, 1 Feb 2016 01:49:17 +0000 From: Paul Morgan To: alpine-aports@lists.alpinelinux.org Subject: [alpine-aports] [PATCH] protect tabs in APKBUILD files Message-ID: <20160201014916.GA16149@gmail.com> X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Editor: VIM - Vi IMproved 7.4 X-Mailer: Mutt 1.5.24 User-Agent: Mutt/1.5.24 (2015-08-30) X-Virus-Scanned: ClamAV using ClamSMTP If a user has an editorconfig plugin for their editor, it will enforce tabs instead of spaces for indentation for APKBUILD files. It ignores other files in the repo. --- .editorconfig | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..85d4df2 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,14 @@ +; This file is for unifying the coding style for different editors and IDEs. +; Plugins are available for notepad++, emacs, vim, gedit, +; textmate, visual studio, and more. +; +; See http://editorconfig.org for details. + +# Top-most EditorConfig file. +root = true + +[**/APKBUILD] +indent_style = tab +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true -- 2.7.0 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---