Now can you get maintainers based on Milestones.
Feature changes,
rrs/models.py: Add RecipeMaintainerHistory to store maintainer updates.
rrs/admin.py: Add admin site for RecipeMaintainerHistory.
scripts/tools/rrs_maintainer_history.py: Add script for update
maintainership history.
scripts/update.py: Drop maintainer update support use
rrs_maintainer_history.py instead.
Adapt changes,
Now you need to specify RecipeMaintainerHistory to get RecipeMaintainer.
rrs/views.py:
scripts/tools/rrs_upstream_email.py:
scripts/rrs_update/recipe_upgrade.py:
These set of changes are incompatible with the previous version you need
to do initial setup described in README.rrs.
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
To provide statistics about RecipeUpstream information based on
Milestones we need to store RecipeUpstreamHistory that contains when the
update script was executed.
rrs/admin.py: Add admin page for RecipeUpstreamHistory.
rrs/models.py: Add model for RecipeUpstreamHistory with helper functions
for get last and last by date range also add migration.
scripts/rrs_update/recipe_upstream.py: Add support in update.py for store
RecipeUpstreamHistory relation in RecipeUpstream.
scripts/tools/rrs_upstream_email.py: Update email script for take into
account RecipeUpstreamHistory get the last one for generate report.
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Add models for store Milestone, Maintainer and Recipe{Maintainer,
Upgrade, Upstream, Distro}, add initial data for Milestone and
Maintainer, initial migration and admin sites.
Add rrs/context_processors.py for return the site_name and application
for use in templates.
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>