Remove unavailable link to pkgupgrade info.
Change default contact person from Saul Wold to Anibal Limon.
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
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>
scripts/tools/rrs_upgrade_history.py: For initial import of recipe
use NoMaintainer by default.
rrs/views.py: Now is necessary to test if a RecipeMaintainer exists by
milestone to avoid errors for undefined variables.
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
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>
rrs_create_milestone.py: Helps in Milestone creation.
rrs_upgrade_history.py: Recreates upgrade history from recipes, this
should be run at initial installation.
rrs_upstream_email.py: Send Upstream report to mailing list, this
report contains information about recipes that need upgrade.
requirements.txt: Add tabulate module that is needed by
rrs_upstream_email.py.
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
For use the same code base for Recipe reporting system moves non-WEB
code outside layerindex, create lib directory that contains common code
for Layerindex and RRS.
Create scripts directory that contains common infraestructure to populate
db and tool scripts, modularize update.py script move Layerindex update
to own folder.
Update references for utils and recipeparse modules to point lib directory.
Add missing GitPython into requirements.txt.
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>