Improve robustness adding a exception handling when two versions
are compared because sometimes fails due to incompatible version
format.
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
reports
scripts/tools/rrs_upstream_history.py: Add script to migrate the
upstream info from distrodata reports.
scripts/rrs_update/recipe_upstream.py: Make vercmp_string function
public in order to import from rrs_upstream_history.
rrs/views.py: Now if a recipe have history but not upstream info
set to Unknown state.
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>
conf/local.conf: Add meta-yocto includes for get distro information
(distro aliases, maintainers, upstream {regex, tracking}) needed by
rrs.
scripts/update.py: Add support for rrs, ability to download poky layer
and set BBPATH to support meta-yocto includes in bitbake.
scripts/rrs_update/*: Modules for update data needed by rrs, distros,
maintainers, upgrades and upstream.
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>