Return-Path: X-Original-To: apmail-incubator-allura-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-allura-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 184E410D1F for ; Mon, 1 Jul 2013 14:20:48 +0000 (UTC) Received: (qmail 83473 invoked by uid 500); 1 Jul 2013 14:20:47 -0000 Delivered-To: apmail-incubator-allura-dev-archive@incubator.apache.org Received: (qmail 83453 invoked by uid 500); 1 Jul 2013 14:20:47 -0000 Mailing-List: contact allura-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: allura-dev@incubator.apache.org Delivered-To: mailing list allura-dev@incubator.apache.org Received: (qmail 83433 invoked by uid 99); 1 Jul 2013 14:20:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Jul 2013 14:20:47 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of noreply@sourceforge.net designates 216.34.181.60 as permitted sender) Received: from [216.34.181.60] (HELO smtp.ch3.sourceforge.com) (216.34.181.60) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Jul 2013 14:20:42 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.com; s=x; h=Date:Message-ID:Subject:Reply-To:From:To:MIME-Version:Content-Type; bh=Z4OZJUrD8V1NGVdEeBkDMxvI86sX7ay5PUd/OMe5Bq0=; b=Mkbm2Y8zm5LTSHZu4xqZzzzqwrgyz/h+46guj5vgrts7FkBv3jcsofQalj4msr0UT6a7A6jkIbm5kUYUtVIaoN7LruhOKBVbpHibufJoUUcrQl20VWq4Aiw6XS9rEp4EyVwNiv5yn6JiN6cxlTC/D7zjMvqXFDM+9A3qJncc/As=; Received: from localhost ([127.0.0.1] helo=sfs-alluradaemon-4.v29.ch3.sourceforge.com) by sfs-alluradaemon-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1Utexp-0003pc-PX for allura-dev@incubator.apache.org; Mon, 01 Jul 2013 14:20:21 +0000 Content-Type: multipart/related; boundary="===============2538761135762776714==" MIME-Version: 1.0 To: "[allura:tickets] " <6391@tickets.allura.p.re.sf.net> From: "Dave Brondsema" Reply-To: "[allura:tickets] " <6391@tickets.allura.p.re.sf.net> Subject: [allura:tickets] #6391 Provide default `sitemap` in base Application class Message-ID:

Date: Mon, 01 Jul 2013 14:20:21 +0000 X-Virus-Checked: Checked by ClamAV on apache.org --===============2538761135762776714== Content-Type: multipart/alternative; boundary="===============1324243244687695905==" MIME-Version: 1.0 --===============1324243244687695905== MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit - **status**: code-review --> closed --- ** [tickets:#6391] Provide default `sitemap` in base Application class** **Status:** closed **Created:** Tue Jun 25, 2013 01:55 PM UTC by Tim Van Steenburgh **Last Updated:** Mon Jul 01, 2013 02:14 PM UTC **Owner:** Tim Van Steenburgh >From IRC: tvansteenburgh I would like to add this to the Application base class: @property def sitemap(self): return [SitemapEntry(self.config.options.mount_label, '.')] There's no reason for Application to not implement this default. Otherwise, subclasses need to provide `sitemap` just to get the tool to show up in the nav. --- Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. --===============1324243244687695905== MIME-Version: 1.0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: 7bit
  • status: code-review --> closed

[tickets:#6391] Provide default sitemap in base Application class

Status: closed
Created: Tue Jun 25, 2013 01:55 PM UTC by Tim Van Steenburgh
Last Updated: Mon Jul 01, 2013 02:14 PM UTC
Owner: Tim Van Steenburgh

From IRC:

tvansteenburgh
I would like to add this to the Application base class:

@property
def sitemap(self):
    return [SitemapEntry(self.config.options.mount_label, '.')]

There's no reason for Application to not implement this default.
Otherwise, subclasses need to provide sitemap just to get the tool to show up in the nav.


Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.

--===============1324243244687695905==-- --===============2538761135762776714==--