Commit e85ce772 authored by Arno Töll's avatar Arno Töll
Browse files

Make it possible to disable experimental features

parent 453e54fc
...@@ -96,6 +96,9 @@ class SponsorController(BaseController): ...@@ -96,6 +96,9 @@ class SponsorController(BaseController):
This page honors filters configured in the user session This page honors filters configured in the user session
""" """
if not config['debexpo.enable_experimental_code'].lower() == 'true':
return render('/sponsor/index-old.mako')
if 'debexpo.html.sponsors_intro' in config: if 'debexpo.html.sponsors_intro' in config:
f = open(config['debexpo.html.sponsors_intro']) f = open(config['debexpo.html.sponsors_intro'])
c.custom_html = literal(f.read()) c.custom_html = literal(f.read())
......
# -*- coding: utf-8 -*-
<%inherit file="/base.mako"/>
<h1>Introduction for sponsors</h1>
<h3>What is a sponsor?</h3>
<p>Someone who uploads the package and is responsible for the package in the archive. The sponsor is responsible for the quality of the package and checks the work of the package maintainer to improve his skills.</p>
<h3>Motivation</h3>
<p>Thanks for helping. There are a lot of sponsorees waiting for a Developer to help them with their packages, and if you want to help with the New Maintainer process this is a good step to get involved.</p>
<h3>What to do for sponsoring</h3>
<p>Look for packages that you would like to sponsor on this website. Once you have found some you should download, build and test them. Please notify your sponsoree of every problem that you find in order to give him a chance to fix them. We believe that it is of uttermost importance to stay in contact with your sponsorees to keep them interested in working on Debian. Moreover, they will also learn how to maintain packages within a team and will learn skills that are crucial for Debian Developers more easily. </p>
...@@ -93,6 +93,10 @@ debexpo.server = http://localhost:5000 ...@@ -93,6 +93,10 @@ debexpo.server = http://localhost:5000
# Path to the gpg binary # Path to the gpg binary
debexpo.gpg_path = /usr/bin/gpg debexpo.gpg_path = /usr/bin/gpg
# Enable experimental and/or broken code
debexpo.enable_experimental_code = false
# DEBEXPO # DEBEXPO
# The folling configuration settings allow you to customize the looks # The folling configuration settings allow you to customize the looks
# of your web site. You can either comment it out or specify a path # of your web site. You can either comment it out or specify a path
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment