[yocto] [rrs][PATCH 1/2] rrs/models.py: Added raw SQL calls

2015-06-08 Thread mariano . lopez
From: Mariano Lopez mariano.lo...@linux.intel.com The raw calls are going to be used instead of Django's ORM. This improves the performance of the webpage. Signed-off-by: Mariano Lopez mariano.lo...@linux.intel.com --- rrs/models.py | 102

[yocto] [rrs][PATCH 2/2] rrs/views.py: Changed ORM to raw SQL calls

2015-06-08 Thread mariano . lopez
From: Mariano Lopez mariano.lo...@linux.intel.com Allow to use the new raw SQL call to get better performance in the web page. Also removed SQL queries inside loops. This is only for two views: recipes and maintainers Signed-off-by: Mariano Lopez mariano.lo...@linux.intel.com --- rrs/views.py

[yocto] [PATCH] views.py: Add how long a recipe hasn't been updated

2015-06-26 Thread mariano . lopez
From: Mariano Lopez mariano.lo...@linux.intel.com This add a tooltip in the upstream status field that show how long the recipe hasn't been updated. Signed-off-by: Mariano Lopez mariano.lo...@linux.intel.com --- rrs/models.py | 15 +++ rrs/views.py | 23

[yocto] [PATCH] views.py: Fix version in current milestone

2015-07-01 Thread mariano . lopez
From: Mariano Lopez mariano.lo...@linux.intel.com Fixed the version displayed in current milestone. Before the data was obtained from recipe upgrad table and this allows to fetch the data from the recipe table. Signed-off-by: Mariano Lopez mariano.lo...@linux.intel.com --- rrs/models.py | 7

[yocto] [PATCH] views.py: Fix current up to date percentage

2015-07-01 Thread mariano . lopez
From: Mariano Lopez mariano.lo...@linux.intel.com There was an issue where the current up to date was always using the latest upstream version to get the percentage. This uses the upstream version in the period displayed. Signed-off-by: Mariano Lopez mariano.lo...@linux.intel.com --- rrs

[yocto] [rrs][PATCH 2/2] rrs/base_toplevel.html: Navbar redesign

2015-08-17 Thread mariano . lopez
From: Mariano Lopez mariano.lo...@linux.intel.com This provides changes in the front end for the navbar, now it shows the percentage of recipes up-to-date, not update, unknown and can't be updated along with the number of recipes. This also moves the update percentage to the end and adds clarity

[yocto] [rrs][PATCH 1/2] rrs/views.py: Added percentages for navbar

2015-08-17 Thread mariano . lopez
From: Mariano Lopez mariano.lo...@linux.intel.com This adds the percentage for all the recipes types (up-to-date, not updated, unknown, can't be updated) so it can be displayed in the navbar. This also adds the number of the recipes not updated at the begining of the period and number of recipes

[yocto] [rrs][PATCH 0/2] Changes to the navbar

2015-08-17 Thread mariano . lopez
From: Mariano Lopez mariano.lo...@linux.intel.com These patches change the design of the navbar. It makes more clear what is the meaning of the percentage in there and adds more information. Mariano Lopez (2): rrs/views.py: Added percentages for navbar rrs/base_toplevel.html: Navbar redesign

[yocto] [PATCH] views.py: Added validation in recipe detail

2015-06-29 Thread mariano . lopez
From: Mariano Lopez mariano.lo...@linux.intel.com Added the validation for the maintainer in the recipe detail view. Also added a check if the recipe exists. [YOCTO #7904] Signed-off-by: Mariano Lopez mariano.lo...@linux.intel.com --- rrs/views.py | 12 1 file changed, 8

[yocto] [rrs][PATCH 2/3] rrs-additional.css: Added min-width to last update column

2015-07-28 Thread mariano . lopez
From: Mariano Lopez mariano.lo...@linux.intel.com This adds the min-width for the last updated column to the css. [YOCTO #8018] Signed-off-by: Mariano Lopez mariano.lo...@linux.intel.com --- rrs/static/css/rrs-additional.css | 4 1 file changed, 4 insertions(+) diff --git a/rrs/static

[yocto] [rrs][PATCH 3/3] recipes.html: Format change for last updated column

2015-07-28 Thread mariano . lopez
From: Mariano Lopez mariano.lo...@linux.intel.com This changes the format of the last updated column. Now the column text is set to the default text color. [YOCTO #8018] Signed-off-by: Mariano Lopez mariano.lo...@linux.intel.com --- templates/rrs/recipes.html | 9 + 1 file changed, 1

[yocto] [rrs][PATCH 1/3] views.py: Show last updated date for all recipes

2015-07-28 Thread mariano . lopez
From: Mariano Lopez mariano.lo...@linux.intel.com This changes the behavior of the last update column and show the date for all the recipes, including the up to date recipes. [YOCTO #8018] Signed-off-by: Mariano Lopez mariano.lo...@linux.intel.com --- rrs/views.py | 13 ++--- 1 file

[yocto] [rrs][PATCH 0/3] Changed behavior of last updated column

2015-07-28 Thread mariano . lopez
From: Mariano Lopez mariano.lo...@linux.intel.com Changed the last updated column behavior and color. Now it display the dates for all the recipes, including the up to date column. Also changed the color of the text to the default used in other columns. [YOCTOC #8018] Mariano Lopez (3

[yocto] [yocto-autobuilder][PATCH] README: Add information for connection managers and tap interfaces

2015-10-29 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> Lately there are a lot of ping failures in errors.yoctoproject.org, these seems to be related with the tap interfaces not being managed correctly. This just add some information to avoid the connection manager to manage the tap inte

[yocto] [rrs][PATCH 3/3] base_toplevel.html: Changed format of percentage done

2015-07-09 Thread mariano . lopez
From: Mariano Lopez mariano.lo...@linux.intel.com Changed the text of percentage done to updated. Also added a tooltip that shows how this percentage is calculated. Signed-off-by: Mariano Lopez mariano.lo...@linux.intel.com --- templates/rrs/base_toplevel.html | 2 +- 1 file changed, 1

[yocto] [rrs][PATCH 2/3] views.py: Changed the behavior of percentage done

2015-07-09 Thread mariano . lopez
From: Mariano Lopez mariano.lo...@linux.intel.com This changes the percetage done from recipes up to date in the period to percentage of not updated recipes that were updated in the period. Signed-off-by: Mariano Lopez mariano.lo...@linux.intel.com --- rrs/views.py | 33

[yocto] [rrs][PATCH 1/3] models.py: Added Raw SQL for percentage updated

2015-07-09 Thread mariano . lopez
From: Mariano Lopez mariano.lo...@linux.intel.com This adds SQL queries that will be used for the percentage of recipes updated in a period. Signed-off-by: Mariano Lopez mariano.lo...@linux.intel.com --- rrs/models.py | 44 1 file changed, 44

[yocto] [rrs][PATCH 0/3] Change behavior of the percentage done

2015-07-09 Thread mariano . lopez
From: Mariano Lopez mariano.lo...@linux.intel.com This patches changes the behavior of the percentage done to display the percentage of out to date recipes that were updated in the period. models.py: Added SQL queries views.py: Changed the behavior base_toplevel.html: Changed format

[yocto] [rrs][PATCH 0/2] Add Last Updated column

2015-07-09 Thread mariano . lopez
From: Mariano Lopez mariano.lo...@linux.intel.com These patches a column in the recipe view that show when a out dated recipes was updated the last time. Also changes the date formats to iso. views.py: Changed dates to iso recipes.html: Add the Last updated column Mariano Lopez (2): views.py

[yocto] [rrs][PATCH 1/2] views.py: Changed date format to iso

2015-07-09 Thread mariano . lopez
From: Mariano Lopez mariano.lo...@linux.intel.com Changed the day format to iso. Also, the outdated field in the recipes views was changed from days to the date the recipe was last updated. Signed-off-by: Mariano Lopez mariano.lo...@linux.intel.com --- rrs/views.py | 7 --- 1 file changed

[yocto] [rrs][PATCHv2 2/3] views.py: Changed the behavior of percentage done

2015-07-09 Thread mariano . lopez
From: Mariano Lopez mariano.lo...@linux.intel.com This changes the percetage done from recipes up to date in the period to percentage of not updated recipes that were updated in the period. Signed-off-by: Mariano Lopez mariano.lo...@linux.intel.com --- rrs/views.py | 36

[yocto] [rrs][PATCH 2/2] recipes.html: Add Last Updated column

2015-07-09 Thread mariano . lopez
From: Mariano Lopez mariano.lo...@linux.intel.com Added a column in the recipes view that show the last time a recipe was updated when is not up-to-date Signed-off-by: Mariano Lopez mariano.lo...@linux.intel.com --- templates/rrs/recipes.html | 17 + 1 file changed, 13

[yocto] [PATCH] models.py: Code cleanup

2015-07-09 Thread mariano . lopez
From: Mariano Lopez mariano.lo...@linux.intel.com Cleaned up the class Raw to have better readability. Also added docstring to methods in this class. Signed-off-by: Mariano Lopez mariano.lo...@linux.intel.com --- rrs/models.py | 176 +- 1

[yocto] [rrs][PATCH] rrs/views: Fix mismatch in summary and recipe list

2015-08-28 Thread mariano . lopez
From: Mariano Lopez mariano.lo...@linux.intel.com This fixes the issue with the mismatch in the statistics bar and the recipe list. The mismatch is caused by the gcc-source recipe, because every version of the recipe is counted in Upstream History but not in Recipe Upgrade. Also added

[yocto] [error-report-web][PATCH] parser: Add Unicode support to the error log

2015-09-30 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> If the server receives a error log with Unicode character in it, it will throw and internal server error, this is caused because the server doesn't try to convert everything to ASCII This patch changes the log encoding to UTF-8 so it will

[yocto] RFC: Reference updater filesystem

2015-11-23 Thread Mariano Lopez
There has been interest in an image based software updater in Yocto Project. The proposed solution for a image based updater is to use Stefano Babic's software updater (http://sbabic.github.io/swupdate). This software do a binary copy, so it is needed to have at least two partitions, these

[yocto] [yocto-autobuilder][PATCH] PublishArtifacts.py: Make PublishArtifacts step to fail when cp fails

2016-09-27 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> When publishing the artifacts, sometimes the cp commands fails because it can't find the origin files, but the step in te autobuilder is green, like there were no errors at all. This will catch these errors, and will mark the buil

Re: [yocto] change/modify recipe for OpenCV

2016-11-24 Thread Mariano Lopez
On Thursday, November 24, 2016 11:40:16 AM Peter Balazovic wrote: > Dears, > > I'm building Yocto image and this includes OpenCV 2.4 release. > > For example my loca.conf looks similar as > http://www.engcore.com/2014/02/building-opencv-2-4-x-for-freescales-i-mx6-bsp-yocto/ > : > > .. >

Re: [yocto] cve-checker tool

2016-10-28 Thread Mariano Lopez
glibc-initial/2.24-r0/cve/cve.log ./foomatic-filters/4.0.17-r1/cve/cve.log ./bzip2/1.0.6-r5/cve/cve.log ./libxml2/2.9.4-r0/cve/cve.log ./perl/5.22.1-r0/cve/cve.log ./expat/2.2.0-r0/cve/cve.log ./flex/2.6.0-r0/cve/cve.log //Sona Just remember that those logs are creat

Re: [yocto] update mechanisms

2016-12-12 Thread Mariano Lopez
>> I >> tried to summarize the key aspects of each mechanism in the table >> itself. That's something that I haven't seen elsewhere and something >> that the page can I tried to be as fair and objective as possible, >> please shout if I messed something up or you don't agree with my >> summary.

Re: [yocto] update mechanisms

2016-12-12 Thread Mariano Lopez
On 12/12/16 09:41, Patrick Ohly wrote: > On Mon, 2016-12-12 at 08:59 -0600, Mariano Lopez wrote: >>>> In particular the "complexity" column is a bit subjective. Stefano, I >>>> hope you don't mind that I did not quite buy the "easy to use" >

Re: [yocto] cve-checker tool

2016-12-07 Thread Mariano Lopez
On 06/12/16 08:41, Sona Sarmadi wrote: > Another qustion: > > We don't have recipes for libcurl, I guess both curl and libcurl CVEs are > patched in the curl recipes, right? > I think curl uses libcurl, and libcurl is built when building curl. > > Those CVEs which are listed in the nvd.xml