Example #1
0
def cumulative_sparkle_server(environ, start_response):
    environ['sparkleserver.cumulative'] = {
            'testapp.xml': dict(
                feed='testapp.xml',
                feedpath='cumulative/testapp.xml',
                changelogpath='cumulative/changes', 
                appname='Test App')
            }
    return sparkle_server(environ, start_response)
Example #2
0
def simple_sparkle_server(environ, start_response):
    environ['sparkleserver.log.apache.path'] = 'logs/apache_style.log'
    environ['sparkleserver.feedpath'] = 'feeds/'
    environ['sparkleserver.log.sqlite.path'] = 'logs/log.sqlite'
    environ['sparkleserver.log.csv.path'] = 'logs/log.csv'
    return sparkle_server(environ, start_response)