Return-Path: X-Original-To: apmail-incubator-bloodhound-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-bloodhound-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E63C1D2D1 for ; Tue, 5 Mar 2013 11:55:59 +0000 (UTC) Received: (qmail 1928 invoked by uid 500); 5 Mar 2013 11:55:59 -0000 Delivered-To: apmail-incubator-bloodhound-dev-archive@incubator.apache.org Received: (qmail 1898 invoked by uid 500); 5 Mar 2013 11:55:59 -0000 Mailing-List: contact bloodhound-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: bloodhound-dev@incubator.apache.org Delivered-To: mailing list bloodhound-dev@incubator.apache.org Received: (qmail 1866 invoked by uid 99); 5 Mar 2013 11:55:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Mar 2013 11:55:58 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gary.martin@wandisco.com designates 74.125.83.41 as permitted sender) Received: from [74.125.83.41] (HELO mail-ee0-f41.google.com) (74.125.83.41) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Mar 2013 11:55:52 +0000 Received: by mail-ee0-f41.google.com with SMTP id c13so4533890eek.14 for ; Tue, 05 Mar 2013 03:55:30 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=DarjmxWWzel1pLZVpc2oODXNlRpdn1Xx4JtL5kFLDqg=; b=Bc9BGnoK+4ltXNKauXvgPp33loCPdh3MojuBdz3ZsQV77OEvMkG6i7L33XxEiNVjSw bfSA1RIhEUtd8MWIfkz7rX8P4SOIYb4ibd5ahq+D61N/e64BSOqpbCZMWfn1mciNiBF6 BzRThOdhCibC8PG5MMIOnB3R+XuzEBbCkK9tE28Jjvi+g+I5nEcdnoU2JZrO/hYZ9aDd LkGBt35ZHkgpFHBmJaAp3AYw+1V0J9ORc1lsgsGUcyxG9qnqKT12YF95hvoMEA84dMep EXJLkrd+VGQm+D5H96EPh+QQHmyoeRd1VAfqeSfPxrjvp+qeX7c9V9ZvC4W2WH++sji4 ryKg== X-Received: by 10.14.5.6 with SMTP id 6mr69822485eek.42.1362484530673; Tue, 05 Mar 2013 03:55:30 -0800 (PST) Received: from [10.2.5.205] ([109.159.232.61]) by mx.google.com with ESMTPS id a1sm37009158eep.2.2013.03.05.03.55.27 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 05 Mar 2013 03:55:29 -0800 (PST) Message-ID: <5135DD22.4030107@wandisco.com> Date: Tue, 05 Mar 2013 11:55:14 +0000 From: Gary Martin User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 MIME-Version: 1.0 To: bloodhound-dev@incubator.apache.org Subject: Re: [Apache Bloodhound] #390: Product wiki syntax References: <055.88e62b912ed293164d9bc776d0fddb17@incubator.apache.org> <51250B28.9050500@wandisco.com> <51251A5C.8050009@wandisco.com> <51346DF5.308@apache.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQnzz2h3S06o2aynMhqSQfs5SbKqifISQucO6usnbKwYtaYPR6pj2aAfw5EzA3iOC9x95JtC X-Virus-Checked: Checked by ClamAV on apache.org On 04/03/13 22:39, Olemis Lang wrote: > even if we don't choose sep = '-' it seems it may be matched > > so far I have discarded these chars as prefixes > > / collisions with relative wiki page refs in wiki context > - has a major ambiguity when it comes to expanding raw-attachment and > similar TracLinks namespace > : TracLinks meta-char , obviously out > . collisions with relative wiki > > I'm starting to think that we should be using one of ~ > > > 1. prefix~#123 > 2. prefix>#123 > > ... or a combination of the former e.g. > > 3. prefix->#123 > > I think I'd rather prefer 1 or 3 . In the first version I'll implement (1) Well, I have considered those and I might compromise (I prefer '>') but... The case of raw-attachment is a very good point. However, it is possible to get around it and it also has a particular major advantage if we ever get people to defect from jira. In order to achieve that I would be prepared to drop the requirement to be able to use the short form for anything other but tickets. In particular PREFIX-123 would be the important case. If we are interested in more, it would be possible to get away with '-' under more conditions by specifying only uppercase namespaces are allowed or making by deciding how a clash with other link resolvers will be resolved. It should be noted that '-' is a problem for 'raw-attachment' because of 'attachment'. It might be annoying for the raw product that you are unable to refer to attachments in that form but from within the product I still expect users to be able to drop the prefix and externally there is still the product:raw:attachment: form. Cheers, Gary