HTTP mirror selector web server

lp:mirror-selector

Created by João Pinto on 2010-07-20 and last modified on 2014-02-17
Get this branch:
bzr branch lp:mirror-selector
Members of Mirror-selector Developers can upload to this branch. Log in for directions.

Related bugs

Related blueprints

Branch information

Owner:
Mirror-selector Developers
Project:
mirror-selector
Status:
Development

Recent revisions

45. By Christoph Korn on 2014-02-17

Fix reference

Inside the class access member directly. No object needed there.

44. By Christoph Korn on 2014-02-17

Move function to own file

upstreamVersion is used in multiple sources.
Extract it and import it.

43. By Christoph Korn on 2014-02-17

Add self

Beginner failure.

42. By Christoph Korn on 2014-02-17

update_downloadcount: Write package_stats

Additionally to counting the downloads for every version and
package we stat the downloads for the last 30 days per package.

41. By Christoph Korn on 2014-02-17

db.py: Add optional argument for define_tables functions

Allow passing an own function for defining tables.

40. By Christoph Korn on 2014-02-16

update_downloadcount: Remove unused variable

Variable is not used and referenced before assignment.

39. By Christoph Korn on 2014-02-16

update_downloadcount: Update download count on additional database

The mirror_traffic table is only on one database but there may be
different databases with the package table.
So add an additional database in the config and also update the
download count there.

38. By Christoph Korn on 2014-02-16

update_downloadcount: Only update download_count when it changed

Most of the downloads will not change within one hour. So just skip
the UPDATE when there is no change. Should give an performance boost.

37. By Christoph Korn on 2014-02-16

update_downloadcount: Script for updating the download count for each package version

This script updates the package.download_count for the entire
mirror_traffic table. Uses sorting and bisecting. Should
only run a few minutes.
Needs to be updated to work with PlayDeb because the
mirror_traffic table is in the GetDeb database.

36. By Christoph Korn on 2014-02-15

Correct parameter for timedelta is "days"

The parameter is "days" actually and not "day".
Took so long to find the bug ;)

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers