Author: rjollos Date: Fri Feb 14 04:21:59 2014 New Revision: 1568197 URL: http://svn.apache.org/r1568197 Log: 0.8dev: Normalized license headers. Prevent rendering license headers in templates.
Modified: bloodhound/trunk/bloodhound_dashboard/bhdashboard/templates/bh_model_view.html bloodhound/trunk/bloodhound_multiproduct/multiproduct/__init__.py bloodhound/trunk/bloodhound_multiproduct/multiproduct/api.py bloodhound/trunk/bloodhound_multiproduct/multiproduct/config.py bloodhound/trunk/bloodhound_multiproduct/multiproduct/core.py bloodhound/trunk/bloodhound_multiproduct/multiproduct/dbcursor.py bloodhound/trunk/bloodhound_multiproduct/multiproduct/env.py bloodhound/trunk/bloodhound_multiproduct/multiproduct/hooks.py bloodhound/trunk/bloodhound_multiproduct/multiproduct/model.py bloodhound/trunk/bloodhound_multiproduct/multiproduct/perm.py bloodhound/trunk/bloodhound_multiproduct/multiproduct/product_admin.py bloodhound/trunk/bloodhound_multiproduct/multiproduct/templates/admin_products.html bloodhound/trunk/bloodhound_multiproduct/multiproduct/templates/repository_links.html bloodhound/trunk/bloodhound_multiproduct/multiproduct/ticket/__init__.py bloodhound/trunk/bloodhound_multiproduct/multiproduct/ticket/batch.py bloodhound/trunk/bloodhound_multiproduct/multiproduct/ticket/query.py bloodhound/trunk/bloodhound_multiproduct/multiproduct/ticket/web_ui.py bloodhound/trunk/bloodhound_multiproduct/multiproduct/util.py bloodhound/trunk/bloodhound_multiproduct/multiproduct/versioncontrol.py bloodhound/trunk/bloodhound_multiproduct/multiproduct/web_ui.py bloodhound/trunk/bloodhound_multiproduct/setup.py bloodhound/trunk/bloodhound_search/bhsearch/templates/bhsearch.html bloodhound/trunk/bloodhound_search/bhsearch/templates/bhsearch_breadcrumbs.html Modified: bloodhound/trunk/bloodhound_dashboard/bhdashboard/templates/bh_model_view.html URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_dashboard/bhdashboard/templates/bh_model_view.html?rev=1568197&r1=1568196&r2=1568197&view=diff ============================================================================== --- bloodhound/trunk/bloodhound_dashboard/bhdashboard/templates/bh_model_view.html (original) +++ bloodhound/trunk/bloodhound_dashboard/bhdashboard/templates/bh_model_view.html Fri Feb 14 04:21:59 2014 @@ -1,7 +1,3 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - <!--! Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file @@ -21,6 +17,9 @@ under the License. --> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <div xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://genshi.edgewall.org/" xmlns:i18n="http://genshi.edgewall.org/i18n" Modified: bloodhound/trunk/bloodhound_multiproduct/multiproduct/__init__.py URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_multiproduct/multiproduct/__init__.py?rev=1568197&r1=1568196&r2=1568197&view=diff ============================================================================== --- bloodhound/trunk/bloodhound_multiproduct/multiproduct/__init__.py (original) +++ bloodhound/trunk/bloodhound_multiproduct/multiproduct/__init__.py Fri Feb 14 04:21:59 2014 @@ -1,4 +1,5 @@ - +# -*- coding: UTF-8 -*- +# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information @@ -16,8 +17,7 @@ # specific language governing permissions and limitations # under the License. -"""multiproduct module""" +import multiproduct.ticket from multiproduct.api import MultiProductSystem from multiproduct.product_admin import ProductAdminPanel -import multiproduct.ticket from multiproduct.web_ui import ProductModule Modified: bloodhound/trunk/bloodhound_multiproduct/multiproduct/api.py URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_multiproduct/multiproduct/api.py?rev=1568197&r1=1568196&r2=1568197&view=diff ============================================================================== --- bloodhound/trunk/bloodhound_multiproduct/multiproduct/api.py (original) +++ bloodhound/trunk/bloodhound_multiproduct/multiproduct/api.py Fri Feb 14 04:21:59 2014 @@ -1,4 +1,5 @@ - +# -*- coding: UTF-8 -*- +# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information @@ -16,8 +17,6 @@ # specific language governing permissions and limitations # under the License. -"""Core components to support multi-product""" - import copy import os import shutil Modified: bloodhound/trunk/bloodhound_multiproduct/multiproduct/config.py URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_multiproduct/multiproduct/config.py?rev=1568197&r1=1568196&r2=1568197&view=diff ============================================================================== --- bloodhound/trunk/bloodhound_multiproduct/multiproduct/config.py (original) +++ bloodhound/trunk/bloodhound_multiproduct/multiproduct/config.py Fri Feb 14 04:21:59 2014 @@ -1,4 +1,5 @@ - +# -*- coding: UTF-8 -*- +# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information @@ -16,8 +17,6 @@ # specific language governing permissions and limitations # under the License. -"""Configuration objects for Bloodhound product environments""" - __all__ = 'Configuration', 'Section' import os.path Modified: bloodhound/trunk/bloodhound_multiproduct/multiproduct/core.py URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_multiproduct/multiproduct/core.py?rev=1568197&r1=1568196&r2=1568197&view=diff ============================================================================== --- bloodhound/trunk/bloodhound_multiproduct/multiproduct/core.py (original) +++ bloodhound/trunk/bloodhound_multiproduct/multiproduct/core.py Fri Feb 14 04:21:59 2014 @@ -1,6 +1,5 @@ -#!/usr/bin/env python # -*- coding: UTF-8 -*- - +# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information Modified: bloodhound/trunk/bloodhound_multiproduct/multiproduct/dbcursor.py URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_multiproduct/multiproduct/dbcursor.py?rev=1568197&r1=1568196&r2=1568197&view=diff ============================================================================== --- bloodhound/trunk/bloodhound_multiproduct/multiproduct/dbcursor.py (original) +++ bloodhound/trunk/bloodhound_multiproduct/multiproduct/dbcursor.py Fri Feb 14 04:21:59 2014 @@ -1,4 +1,5 @@ - +# -*- coding: UTF-8 -*- +# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information @@ -16,6 +17,7 @@ # specific language governing permissions and limitations # under the License. + import trac.db.util from trac.util import concurrency Modified: bloodhound/trunk/bloodhound_multiproduct/multiproduct/env.py URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_multiproduct/multiproduct/env.py?rev=1568197&r1=1568196&r2=1568197&view=diff ============================================================================== --- bloodhound/trunk/bloodhound_multiproduct/multiproduct/env.py (original) +++ bloodhound/trunk/bloodhound_multiproduct/multiproduct/env.py Fri Feb 14 04:21:59 2014 @@ -17,8 +17,6 @@ # specific language governing permissions and limitations # under the License. -"""Bloodhound product environment and related APIs""" - import os.path from urlparse import urlsplit Modified: bloodhound/trunk/bloodhound_multiproduct/multiproduct/hooks.py URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_multiproduct/multiproduct/hooks.py?rev=1568197&r1=1568196&r2=1568197&view=diff ============================================================================== --- bloodhound/trunk/bloodhound_multiproduct/multiproduct/hooks.py (original) +++ bloodhound/trunk/bloodhound_multiproduct/multiproduct/hooks.py Fri Feb 14 04:21:59 2014 @@ -1,3 +1,5 @@ +# -*- coding: UTF-8 -*- +# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information Modified: bloodhound/trunk/bloodhound_multiproduct/multiproduct/model.py URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_multiproduct/multiproduct/model.py?rev=1568197&r1=1568196&r2=1568197&view=diff ============================================================================== --- bloodhound/trunk/bloodhound_multiproduct/multiproduct/model.py (original) +++ bloodhound/trunk/bloodhound_multiproduct/multiproduct/model.py Fri Feb 14 04:21:59 2014 @@ -1,4 +1,5 @@ - +# -*- coding: UTF-8 -*- +# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information @@ -16,7 +17,6 @@ # specific language governing permissions and limitations # under the License. -"""Models to support multi-product""" from datetime import datetime from itertools import izip Modified: bloodhound/trunk/bloodhound_multiproduct/multiproduct/perm.py URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_multiproduct/multiproduct/perm.py?rev=1568197&r1=1568196&r2=1568197&view=diff ============================================================================== --- bloodhound/trunk/bloodhound_multiproduct/multiproduct/perm.py (original) +++ bloodhound/trunk/bloodhound_multiproduct/multiproduct/perm.py Fri Feb 14 04:21:59 2014 @@ -1,5 +1,5 @@ -from functools import wraps - +# -*- coding: UTF-8 -*- +# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information @@ -19,11 +19,13 @@ from functools import wraps """Permission components for Bloodhound product environments""" -__all__ = 'ProductPermissionPolicy', +from functools import wraps from trac.core import Component, implements from trac.perm import IPermissionPolicy, PermissionSystem, PermissionError +__all__ = 'ProductPermissionPolicy', + #-------------------------- # Permission components #-------------------------- Modified: bloodhound/trunk/bloodhound_multiproduct/multiproduct/product_admin.py URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_multiproduct/multiproduct/product_admin.py?rev=1568197&r1=1568196&r2=1568197&view=diff ============================================================================== --- bloodhound/trunk/bloodhound_multiproduct/multiproduct/product_admin.py (original) +++ bloodhound/trunk/bloodhound_multiproduct/multiproduct/product_admin.py Fri Feb 14 04:21:59 2014 @@ -1,4 +1,5 @@ - +# -*- coding: UTF-8 -*- +# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information @@ -16,8 +17,6 @@ # specific language governing permissions and limitations # under the License. -"""Admin panels for product management""" - from trac.admin.api import IAdminCommandProvider, AdminCommandError,\ AdminCommandManager from trac.admin.console import TracAdmin, TRAC_VERSION Modified: bloodhound/trunk/bloodhound_multiproduct/multiproduct/templates/admin_products.html URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_multiproduct/multiproduct/templates/admin_products.html?rev=1568197&r1=1568196&r2=1568197&view=diff ============================================================================== --- bloodhound/trunk/bloodhound_multiproduct/multiproduct/templates/admin_products.html (original) +++ bloodhound/trunk/bloodhound_multiproduct/multiproduct/templates/admin_products.html Fri Feb 14 04:21:59 2014 @@ -1,4 +1,4 @@ -<!-- +<!--! Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information Modified: bloodhound/trunk/bloodhound_multiproduct/multiproduct/templates/repository_links.html URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_multiproduct/multiproduct/templates/repository_links.html?rev=1568197&r1=1568196&r2=1568197&view=diff ============================================================================== --- bloodhound/trunk/bloodhound_multiproduct/multiproduct/templates/repository_links.html (original) +++ bloodhound/trunk/bloodhound_multiproduct/multiproduct/templates/repository_links.html Fri Feb 14 04:21:59 2014 @@ -1,4 +1,4 @@ -<!-- +<!--! Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information Modified: bloodhound/trunk/bloodhound_multiproduct/multiproduct/ticket/__init__.py URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_multiproduct/multiproduct/ticket/__init__.py?rev=1568197&r1=1568196&r2=1568197&view=diff ============================================================================== --- bloodhound/trunk/bloodhound_multiproduct/multiproduct/ticket/__init__.py (original) +++ bloodhound/trunk/bloodhound_multiproduct/multiproduct/ticket/__init__.py Fri Feb 14 04:21:59 2014 @@ -1,4 +1,5 @@ - +# -*- coding: UTF-8 -*- +# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information @@ -16,5 +17,4 @@ # specific language governing permissions and limitations # under the License. -"""multiproduct ticket related functionality and overrides""" from multiproduct.ticket.web_ui import ProductTicketModule, ProductReportModule Modified: bloodhound/trunk/bloodhound_multiproduct/multiproduct/ticket/batch.py URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_multiproduct/multiproduct/ticket/batch.py?rev=1568197&r1=1568196&r2=1568197&view=diff ============================================================================== --- bloodhound/trunk/bloodhound_multiproduct/multiproduct/ticket/batch.py (original) +++ bloodhound/trunk/bloodhound_multiproduct/multiproduct/ticket/batch.py Fri Feb 14 04:21:59 2014 @@ -1,4 +1,5 @@ - +# -*- coding: UTF-8 -*- +# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information Modified: bloodhound/trunk/bloodhound_multiproduct/multiproduct/ticket/query.py URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_multiproduct/multiproduct/ticket/query.py?rev=1568197&r1=1568196&r2=1568197&view=diff ============================================================================== --- bloodhound/trunk/bloodhound_multiproduct/multiproduct/ticket/query.py (original) +++ bloodhound/trunk/bloodhound_multiproduct/multiproduct/ticket/query.py Fri Feb 14 04:21:59 2014 @@ -1,4 +1,5 @@ - +# -*- coding: UTF-8 -*- +# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information @@ -16,8 +17,6 @@ # specific language governing permissions and limitations # under the License. -""" Multi product support for ticket queries.""" - from __future__ import with_statement import re Modified: bloodhound/trunk/bloodhound_multiproduct/multiproduct/ticket/web_ui.py URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_multiproduct/multiproduct/ticket/web_ui.py?rev=1568197&r1=1568196&r2=1568197&view=diff ============================================================================== --- bloodhound/trunk/bloodhound_multiproduct/multiproduct/ticket/web_ui.py (original) +++ bloodhound/trunk/bloodhound_multiproduct/multiproduct/ticket/web_ui.py Fri Feb 14 04:21:59 2014 @@ -1,4 +1,5 @@ - +# -*- coding: UTF-8 -*- +# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information @@ -16,8 +17,6 @@ # specific language governing permissions and limitations # under the License. -""" Multi product support for tickets.""" - import re from genshi.builder import tag Modified: bloodhound/trunk/bloodhound_multiproduct/multiproduct/util.py URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_multiproduct/multiproduct/util.py?rev=1568197&r1=1568196&r2=1568197&view=diff ============================================================================== --- bloodhound/trunk/bloodhound_multiproduct/multiproduct/util.py (original) +++ bloodhound/trunk/bloodhound_multiproduct/multiproduct/util.py Fri Feb 14 04:21:59 2014 @@ -1,4 +1,5 @@ - +# -*- coding: UTF-8 -*- +# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information @@ -16,8 +17,6 @@ # specific language governing permissions and limitations # under the License. -"""Bloodhound multiproduct utility APIs""" - from genshi.builder import tag import trac.db.api Modified: bloodhound/trunk/bloodhound_multiproduct/multiproduct/versioncontrol.py URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_multiproduct/multiproduct/versioncontrol.py?rev=1568197&r1=1568196&r2=1568197&view=diff ============================================================================== --- bloodhound/trunk/bloodhound_multiproduct/multiproduct/versioncontrol.py (original) +++ bloodhound/trunk/bloodhound_multiproduct/multiproduct/versioncontrol.py Fri Feb 14 04:21:59 2014 @@ -1,3 +1,5 @@ +# -*- coding: UTF-8 -*- +# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information @@ -15,8 +17,6 @@ # specific language governing permissions and limitations # under the License. -"""Bloodhound version control support""" - import os.path from trac.util.concurrency import threading Modified: bloodhound/trunk/bloodhound_multiproduct/multiproduct/web_ui.py URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_multiproduct/multiproduct/web_ui.py?rev=1568197&r1=1568196&r2=1568197&view=diff ============================================================================== --- bloodhound/trunk/bloodhound_multiproduct/multiproduct/web_ui.py (original) +++ bloodhound/trunk/bloodhound_multiproduct/multiproduct/web_ui.py Fri Feb 14 04:21:59 2014 @@ -1,4 +1,5 @@ - +# -*- coding: UTF-8 -*- +# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information @@ -16,11 +17,6 @@ # specific language governing permissions and limitations # under the License. -"""ProductModule - -Provides request filtering to capture product related paths -""" - import re from trac.core import Component, TracError, implements Modified: bloodhound/trunk/bloodhound_multiproduct/setup.py URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_multiproduct/setup.py?rev=1568197&r1=1568196&r2=1568197&view=diff ============================================================================== --- bloodhound/trunk/bloodhound_multiproduct/setup.py (original) +++ bloodhound/trunk/bloodhound_multiproduct/setup.py Fri Feb 14 04:21:59 2014 @@ -1,4 +1,6 @@ - +#!/usr/bin/env python +# -*- coding: UTF-8 -*- +# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information @@ -16,7 +18,6 @@ # specific language governing permissions and limitations # under the License. -"""setup for multi product plugin""" import sys, codecs from pkg_resources import parse_version from setuptools import setup Modified: bloodhound/trunk/bloodhound_search/bhsearch/templates/bhsearch.html URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_search/bhsearch/templates/bhsearch.html?rev=1568197&r1=1568196&r2=1568197&view=diff ============================================================================== --- bloodhound/trunk/bloodhound_search/bhsearch/templates/bhsearch.html (original) +++ bloodhound/trunk/bloodhound_search/bhsearch/templates/bhsearch.html Fri Feb 14 04:21:59 2014 @@ -1,6 +1,3 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file @@ -20,6 +17,10 @@ under the License. --> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> + <html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://genshi.edgewall.org/" xmlns:i18n="http://genshi.edgewall.org/i18n" Modified: bloodhound/trunk/bloodhound_search/bhsearch/templates/bhsearch_breadcrumbs.html URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_search/bhsearch/templates/bhsearch_breadcrumbs.html?rev=1568197&r1=1568196&r2=1568197&view=diff ============================================================================== --- bloodhound/trunk/bloodhound_search/bhsearch/templates/bhsearch_breadcrumbs.html (original) +++ bloodhound/trunk/bloodhound_search/bhsearch/templates/bhsearch_breadcrumbs.html Fri Feb 14 04:21:59 2014 @@ -1,7 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<!-- +<!--! Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information @@ -19,6 +16,10 @@ specific language governing permissions and limitations under the License. --> + +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://genshi.edgewall.org/" xmlns:i18n="http://genshi.edgewall.org/i18n"