You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bloodhound.apache.org by gj...@apache.org on 2012/07/12 18:04:43 UTC

svn commit: r1360740 - in /incubator/bloodhound/trunk: bloodhound_dashboard/bhdashboard/default-pages/ bloodhound_dashboard/bhdashboard/default-pages/WikiStart installer/bloodhound_setup.py

Author: gjm
Date: Thu Jul 12 16:04:42 2012
New Revision: 1360740

URL: http://svn.apache.org/viewvc?rev=1360740&view=rev
Log:
installer: adds a bloodhound WikiStart page prior to installing the rest of the default trac wiki - #32

Added:
    incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/default-pages/
    incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/default-pages/WikiStart
Modified:
    incubator/bloodhound/trunk/installer/bloodhound_setup.py

Added: incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/default-pages/WikiStart
URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/default-pages/WikiStart?rev=1360740&view=auto
==============================================================================
--- incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/default-pages/WikiStart (added)
+++ incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/default-pages/WikiStart Thu Jul 12 16:04:42 2012
@@ -0,0 +1,26 @@
+= Welcome to Apache Bloodhound (incubating) =
+
+Apache Bloodhound is a tool created for issue tracking and managing of software projects.
+
+This page is amongst a set of Wiki pages that were provided when the environment was created. The [wiki:TracWiki Wiki] is intended to be used as a place for you to organize information about your project. This page acts as the front page to this system and so you should modify this page to suit your needs. To do so, click the "Edit this page" button at the bottom of the page. The WikiFormatting page gives a detailed description of available Wiki formatting commands that you can use to provide links between pages and structure to your documents.
+
+== Next Steps ==
+
+Your newly created environment contains [wiki:TracGuide documentation] to help you get started with your project.
+
+The heart of the issue tracker is the [wiki:TracTickets Ticket] which provides the means to record information about a task, bug or feature request. To provide a structure for these Tickets, you can characterise tickets with the following categorisations:
+
+ * Components: Used to categorise different parts of the software project. For a simple example you might want to have separate components for frontend and backend. You will almost certainly want more of course.
+ * Milestones: These are used to group tickets into blocks of work that should be achieved, often over a specified timescale, to step towards the next version.
+ * Versions: These are used to represent the versions of your software so that work associated with older supported versions can be tracked.
+
+You may want to edit the predefined categories that are provided for each of these.
+
+== Starting Points ==
+
+ * [wiki:TracGuide Guide] --  Built-in Documentation
+ * [https://issues.apache.org/bloodhound/ The Bloodhound project]
+ * [http://trac.edgewall.org/ The Trac project]
+ * [wiki:TracSupport Support]
+
+For a complete list of local wiki pages, see TitleIndex.
\ No newline at end of file

Modified: incubator/bloodhound/trunk/installer/bloodhound_setup.py
URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/installer/bloodhound_setup.py?rev=1360740&r1=1360739&r2=1360740&view=diff
==============================================================================
--- incubator/bloodhound/trunk/installer/bloodhound_setup.py (original)
+++ incubator/bloodhound/trunk/installer/bloodhound_setup.py Thu Jul 12 16:04:42 2012
@@ -19,6 +19,7 @@
 """Initial configuration for Bloodhound"""
 
 import os
+import pkg_resources
 import sys
 import traceback
 
@@ -50,6 +51,7 @@ DEFAULT_DB_USER = 'bloodhound'
 DEFAULT_DB_NAME = 'bloodhound'
 DEFAULT_ADMIN_USER = 'admin'
 
+BH_PROJECT_SITE = 'https://issues.apache.org/bloodhound/'
 BASE_CONFIG = {'components': {'bhtheme.*': 'enabled',
                               'bhdashboard.*': 'enabled',
                               'multiproduct.*': 'enabled',
@@ -67,6 +69,9 @@ BASE_CONFIG = {'components': {'bhtheme.*
                'trac': {'mainnav': ','.join(['dashboard', 'wiki', 'browser',
                                              'tickets', 'newticket', 'timeline',
                                              'roadmap', 'search', 'admin']),},
+               'project': {'footer': ('Visit Apache Bloodhound at<br />'
+                                      '<a href="%(site)s">%(site)s</a>'
+                                      % {'site': BH_PROJECT_SITE,}),},
                }
 
 ACCOUNTS_CONFIG = {'account-manager': {'account_changes_notify_addresses' : '',
@@ -173,7 +178,8 @@ class BloodhoundSetup(object):
             try:
                 trac.do_initenv('%(project)s %(db)s '
                                 '%(repo_type)s %(repo_path)s '
-                                '--inherit=%(inherit)s'
+                                '--inherit=%(inherit)s '
+                                '--nowiki'
                                 % options)
             except SystemExit:
                 print ("Error: Unable to initialise the database"
@@ -198,6 +204,9 @@ class BloodhoundSetup(object):
         # final upgrade
         print "Running upgrades"
         bloodhound.onecmd('upgrade')
+        pages =  pkg_resources.resource_filename('bhdashboard',
+                                                 'default-pages')
+        bloodhound.onecmd('wiki load %s' % pages)
 
         print "Running wiki upgrades"
         bloodhound.onecmd('wiki upgrade')



Re: Incubation branding question (would have been Re: svn commit: r1360740)

Posted by Joachim Dreimann <jo...@wandisco.com>.
Just as a constructive alternative for the WikiStart page specifically, I
have posted a suggestion to the issue tracker as well:
https://issues.apache.org/bloodhound/ticket/32#comment:2

This shows "currently incubating" next to Apache Bloodhound in the ==
Further reading == section.

- Joe

On 13 July 2012 13:33, Gary Martin <ga...@wandisco.com> wrote:

> Hi,
>
> As the commit email sort of shows, I have recently created a new WikiStart
> page to be used for new installations of Bloodhound. One question that
> arises from this is whether it was necessary to specify the use of
> incubating in "Welcome to Apache Bloodhound (incubating)" page heading.
>
> And while I am asking.. the same question should probably be put about the
> "Powered by Apache^TM Bloodhound" and "Visit Apache Bloodhound at"
>
> Cheers,
>     Gary
>
>
> On 07/12/2012 05:04 PM, gjm@apache.org wrote:
>
>> Author: gjm
>> Date: Thu Jul 12 16:04:42 2012
>> New Revision: 1360740
>>
>> URL: http://svn.apache.org/viewvc?**rev=1360740&view=rev<http://svn.apache.org/viewvc?rev=1360740&view=rev>
>> Log:
>> installer: adds a bloodhound WikiStart page prior to installing the rest
>> of the default trac wiki - #32
>>
>> Added:
>>      incubator/bloodhound/trunk/**bloodhound_dashboard/**
>> bhdashboard/default-pages/
>>      incubator/bloodhound/trunk/**bloodhound_dashboard/**
>> bhdashboard/default-pages/**WikiStart
>> Modified:
>>      incubator/bloodhound/trunk/**installer/bloodhound_setup.py
>>
>> Added: incubator/bloodhound/trunk/**bloodhound_dashboard/**
>> bhdashboard/default-pages/**WikiStart
>> URL: http://svn.apache.org/viewvc/**incubator/bloodhound/trunk/**
>> bloodhound_dashboard/**bhdashboard/default-pages/**
>> WikiStart?rev=1360740&view=**auto<http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/default-pages/WikiStart?rev=1360740&view=auto>
>> ==============================**==============================**
>> ==================
>> --- incubator/bloodhound/trunk/**bloodhound_dashboard/**
>> bhdashboard/default-pages/**WikiStart (added)
>> +++ incubator/bloodhound/trunk/**bloodhound_dashboard/**
>> bhdashboard/default-pages/**WikiStart Thu Jul 12 16:04:42 2012
>> @@ -0,0 +1,26 @@
>> += Welcome to Apache Bloodhound (incubating) =
>> +
>> +Apache Bloodhound is a tool created for issue tracking and managing of
>> software projects.
>> +
>> +This page is amongst a set of Wiki pages that were provided when the
>> environment was created. The [wiki:TracWiki Wiki] is intended to be used as
>> a place for you to organize information about your project. This page acts
>> as the front page to this system and so you should modify this page to suit
>> your needs. To do so, click the "Edit this page" button at the bottom of
>> the page. The WikiFormatting page gives a detailed description of available
>> Wiki formatting commands that you can use to provide links between pages
>> and structure to your documents.
>> +
>> +== Next Steps ==
>> +
>> +Your newly created environment contains [wiki:TracGuide documentation]
>> to help you get started with your project.
>> +
>> +The heart of the issue tracker is the [wiki:TracTickets Ticket] which
>> provides the means to record information about a task, bug or feature
>> request. To provide a structure for these Tickets, you can characterise
>> tickets with the following categorisations:
>> +
>> + * Components: Used to categorise different parts of the software
>> project. For a simple example you might want to have separate components
>> for frontend and backend. You will almost certainly want more of course.
>> + * Milestones: These are used to group tickets into blocks of work that
>> should be achieved, often over a specified timescale, to step towards the
>> next version.
>> + * Versions: These are used to represent the versions of your software
>> so that work associated with older supported versions can be tracked.
>> +
>> +You may want to edit the predefined categories that are provided for
>> each of these.
>> +
>> +== Starting Points ==
>> +
>> + * [wiki:TracGuide Guide] --  Built-in Documentation
>> + * [https://issues.apache.org/**bloodhound/<https://issues.apache.org/bloodhound/>The Bloodhound project]
>> + * [http://trac.edgewall.org/ The Trac project]
>> + * [wiki:TracSupport Support]
>> +
>> +For a complete list of local wiki pages, see TitleIndex.
>> \ No newline at end of file
>>
>> Modified: incubator/bloodhound/trunk/**installer/bloodhound_setup.py
>> URL: http://svn.apache.org/viewvc/**incubator/bloodhound/trunk/**
>> installer/bloodhound_setup.py?**rev=1360740&r1=1360739&r2=**
>> 1360740&view=diff<http://svn.apache.org/viewvc/incubator/bloodhound/trunk/installer/bloodhound_setup.py?rev=1360740&r1=1360739&r2=1360740&view=diff>
>> ==============================**==============================**
>> ==================
>> --- incubator/bloodhound/trunk/**installer/bloodhound_setup.py (original)
>> +++ incubator/bloodhound/trunk/**installer/bloodhound_setup.py Thu Jul
>> 12 16:04:42 2012
>> @@ -19,6 +19,7 @@
>>   """Initial configuration for Bloodhound"""
>>     import os
>> +import pkg_resources
>>   import sys
>>   import traceback
>>   @@ -50,6 +51,7 @@ DEFAULT_DB_USER = 'bloodhound'
>>   DEFAULT_DB_NAME = 'bloodhound'
>>   DEFAULT_ADMIN_USER = 'admin'
>>   +BH_PROJECT_SITE = 'https://issues.apache.org/**bloodhound/<https://issues.apache.org/bloodhound/>
>> '
>>   BASE_CONFIG = {'components': {'bhtheme.*': 'enabled',
>>                                 'bhdashboard.*': 'enabled',
>>                                 'multiproduct.*': 'enabled',
>> @@ -67,6 +69,9 @@ BASE_CONFIG = {'components': {'bhtheme.*
>>                  'trac': {'mainnav': ','.join(['dashboard', 'wiki',
>> 'browser',
>>                                                'tickets', 'newticket',
>> 'timeline',
>>                                                'roadmap', 'search',
>> 'admin']),},
>> +               'project': {'footer': ('Visit Apache Bloodhound at<br />'
>> +                                      '<a href="%(site)s">%(site)s</a>'
>> +                                      % {'site': BH_PROJECT_SITE,}),},
>>                  }
>>     ACCOUNTS_CONFIG = {'account-manager': {'account_changes_notify_**addresses'
>> : '',
>> @@ -173,7 +178,8 @@ class BloodhoundSetup(object):
>>               try:
>>                   trac.do_initenv('%(project)s %(db)s '
>>                                   '%(repo_type)s %(repo_path)s '
>> -                                '--inherit=%(inherit)s'
>> +                                '--inherit=%(inherit)s '
>> +                                '--nowiki'
>>                                   % options)
>>               except SystemExit:
>>                   print ("Error: Unable to initialise the database"
>> @@ -198,6 +204,9 @@ class BloodhoundSetup(object):
>>           # final upgrade
>>           print "Running upgrades"
>>           bloodhound.onecmd('upgrade')
>> +        pages =  pkg_resources.resource_**filename('bhdashboard',
>> +                                                 'default-pages')
>> +        bloodhound.onecmd('wiki load %s' % pages)
>>             print "Running wiki upgrades"
>>           bloodhound.onecmd('wiki upgrade')
>>
>>
>>
>
>

Incubation branding question (would have been Re: svn commit: r1360740)

Posted by Gary Martin <ga...@wandisco.com>.
Hi,

As the commit email sort of shows, I have recently created a new 
WikiStart page to be used for new installations of Bloodhound. One 
question that arises from this is whether it was necessary to specify 
the use of incubating in "Welcome to Apache Bloodhound (incubating)" 
page heading.

And while I am asking.. the same question should probably be put about 
the "Powered by Apache^TM Bloodhound" and "Visit Apache Bloodhound at"

Cheers,
     Gary


On 07/12/2012 05:04 PM, gjm@apache.org wrote:
> Author: gjm
> Date: Thu Jul 12 16:04:42 2012
> New Revision: 1360740
>
> URL: http://svn.apache.org/viewvc?rev=1360740&view=rev
> Log:
> installer: adds a bloodhound WikiStart page prior to installing the rest of the default trac wiki - #32
>
> Added:
>      incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/default-pages/
>      incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/default-pages/WikiStart
> Modified:
>      incubator/bloodhound/trunk/installer/bloodhound_setup.py
>
> Added: incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/default-pages/WikiStart
> URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/default-pages/WikiStart?rev=1360740&view=auto
> ==============================================================================
> --- incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/default-pages/WikiStart (added)
> +++ incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/default-pages/WikiStart Thu Jul 12 16:04:42 2012
> @@ -0,0 +1,26 @@
> += Welcome to Apache Bloodhound (incubating) =
> +
> +Apache Bloodhound is a tool created for issue tracking and managing of software projects.
> +
> +This page is amongst a set of Wiki pages that were provided when the environment was created. The [wiki:TracWiki Wiki] is intended to be used as a place for you to organize information about your project. This page acts as the front page to this system and so you should modify this page to suit your needs. To do so, click the "Edit this page" button at the bottom of the page. The WikiFormatting page gives a detailed description of available Wiki formatting commands that you can use to provide links between pages and structure to your documents.
> +
> +== Next Steps ==
> +
> +Your newly created environment contains [wiki:TracGuide documentation] to help you get started with your project.
> +
> +The heart of the issue tracker is the [wiki:TracTickets Ticket] which provides the means to record information about a task, bug or feature request. To provide a structure for these Tickets, you can characterise tickets with the following categorisations:
> +
> + * Components: Used to categorise different parts of the software project. For a simple example you might want to have separate components for frontend and backend. You will almost certainly want more of course.
> + * Milestones: These are used to group tickets into blocks of work that should be achieved, often over a specified timescale, to step towards the next version.
> + * Versions: These are used to represent the versions of your software so that work associated with older supported versions can be tracked.
> +
> +You may want to edit the predefined categories that are provided for each of these.
> +
> +== Starting Points ==
> +
> + * [wiki:TracGuide Guide] --  Built-in Documentation
> + * [https://issues.apache.org/bloodhound/ The Bloodhound project]
> + * [http://trac.edgewall.org/ The Trac project]
> + * [wiki:TracSupport Support]
> +
> +For a complete list of local wiki pages, see TitleIndex.
> \ No newline at end of file
>
> Modified: incubator/bloodhound/trunk/installer/bloodhound_setup.py
> URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/installer/bloodhound_setup.py?rev=1360740&r1=1360739&r2=1360740&view=diff
> ==============================================================================
> --- incubator/bloodhound/trunk/installer/bloodhound_setup.py (original)
> +++ incubator/bloodhound/trunk/installer/bloodhound_setup.py Thu Jul 12 16:04:42 2012
> @@ -19,6 +19,7 @@
>   """Initial configuration for Bloodhound"""
>   
>   import os
> +import pkg_resources
>   import sys
>   import traceback
>   
> @@ -50,6 +51,7 @@ DEFAULT_DB_USER = 'bloodhound'
>   DEFAULT_DB_NAME = 'bloodhound'
>   DEFAULT_ADMIN_USER = 'admin'
>   
> +BH_PROJECT_SITE = 'https://issues.apache.org/bloodhound/'
>   BASE_CONFIG = {'components': {'bhtheme.*': 'enabled',
>                                 'bhdashboard.*': 'enabled',
>                                 'multiproduct.*': 'enabled',
> @@ -67,6 +69,9 @@ BASE_CONFIG = {'components': {'bhtheme.*
>                  'trac': {'mainnav': ','.join(['dashboard', 'wiki', 'browser',
>                                                'tickets', 'newticket', 'timeline',
>                                                'roadmap', 'search', 'admin']),},
> +               'project': {'footer': ('Visit Apache Bloodhound at<br />'
> +                                      '<a href="%(site)s">%(site)s</a>'
> +                                      % {'site': BH_PROJECT_SITE,}),},
>                  }
>   
>   ACCOUNTS_CONFIG = {'account-manager': {'account_changes_notify_addresses' : '',
> @@ -173,7 +178,8 @@ class BloodhoundSetup(object):
>               try:
>                   trac.do_initenv('%(project)s %(db)s '
>                                   '%(repo_type)s %(repo_path)s '
> -                                '--inherit=%(inherit)s'
> +                                '--inherit=%(inherit)s '
> +                                '--nowiki'
>                                   % options)
>               except SystemExit:
>                   print ("Error: Unable to initialise the database"
> @@ -198,6 +204,9 @@ class BloodhoundSetup(object):
>           # final upgrade
>           print "Running upgrades"
>           bloodhound.onecmd('upgrade')
> +        pages =  pkg_resources.resource_filename('bhdashboard',
> +                                                 'default-pages')
> +        bloodhound.onecmd('wiki load %s' % pages)
>   
>           print "Running wiki upgrades"
>           bloodhound.onecmd('wiki upgrade')
>
>