From owner-freebsd-doc@FreeBSD.ORG Fri Oct 19 12:44:41 2012 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 65C5F8DC for ; Fri, 19 Oct 2012 12:44:41 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id DF62A8FC0A for ; Fri, 19 Oct 2012 12:44:40 +0000 (UTC) Received: by mail-bk0-f54.google.com with SMTP id jf20so207245bkc.13 for ; Fri, 19 Oct 2012 05:44:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=8eN/B3Hb3MpaK0QqG5UJ/vH+q4Vus/sFrYvkgHLSh6k=; b=YsFsuBNolMcALLX2R2uVCKzXiPn+7WRiGD1gVrfvXyzXBwnjCsbA7rbni6mADxmYd7 PeQmYPPxs33en/0TJqsJeaCekUoLE3ij/+/epxGVYw1cb+zYuPh/qH7RFMiJ7HnggcQ1 /6CtNW26GGBirCpj97Anxyn+yqrPqlvAjH/WeyTqfnxUMF770gFDqI1tNa3tbgmTpvm4 uJ72NcVABm4p5QUSccozCW+JW0CRRDQ/KT2OwpcRlzvDTMp7x0Z1YSuBuRewW4gmFs1I NRgBVkvsbhoCqmHiQv20NcnMloaWwGgSeGfyTdjN/pgzMXrD17bryIX9zGTY4Tl1wrdo NzEQ== Received: by 10.204.6.25 with SMTP id 25mr391749bkx.126.1350650679655; Fri, 19 Oct 2012 05:44:39 -0700 (PDT) Received: from [192.168.2.47] ([194.29.130.243]) by mx.google.com with ESMTPS id x13sm948273bkv.16.2012.10.19.05.44.37 (version=SSLv3 cipher=OTHER); Fri, 19 Oct 2012 05:44:38 -0700 (PDT) Sender: =?UTF-8?Q?Ren=C3=A9_Ladan?= Message-ID: <50814B34.4070002@freebsd.org> Date: Fri, 19 Oct 2012 14:44:36 +0200 From: =?ISO-8859-1?Q?Ren=E9_Ladan?= User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:16.0) Gecko/20121016 Thunderbird/16.0.1 MIME-Version: 1.0 To: freebsd-doc@freebsd.org Subject: Re: RFC: standardizing SVN properties in the doc repo References: <50814827.8030707@FreeBSD.org> In-Reply-To: <50814827.8030707@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Oct 2012 12:44:41 -0000 On 19-10-2012 14:31, Gabor Kovesdan wrote: > Hi, > > currently, the proper use of SVN properties and dealing with file types > are not standardized in the doc repo. I propose the following policy for > the repo: > > - Use the .sh extension for shell scripts so that they can be easily > identified as such > > - Always add the $FreeBSD$ keyword and set svn:keywords to FreeBSD=%H if > you create a text non-binary file that support escaping it. > > - Only set fbsd:nokeywords for non-binary (i.e. human-readable) files if > there are no ways to escape the keyword. > > - If SVN detects your non-binary file as binary (may happen with > non-Latin encodings), DO NOT SET fbsd:nokeywords but use fbsd:notbinary. > > - If SVN complains that a binary file does not have the keyword, first > try to set the correct mime-type (see below) and only set > fbsd:nokeywords if SVN still rejects the file. > > .css text/css > .dtd application/xml-dtd > .ent application/xml-dtd > .gif image/gif > .gz application/gzip > .html text/html > .ico image/vnd.microsoft.icon > .jpg image/jpeg > .js application/javascript > .log text/plain > .pdf application/pdf > .png image/png > .rss application/rss+xml > .sh text/plain > .svg image/svg+xml > .txt text/plain > .xml application/xml > .xsl application/xslt+xml > > If there are no objections, I'll give a sweep to the tree to make it > consistent and I'll document this. What about adding a dsvn script like we have for the Ports Tree to take care of the svn attributes? René