From mboxrd@z Thu Jan 1 00:00:00 1970 From: arnaud aujon Date: Thu, 19 Dec 2013 17:21:35 +0100 Subject: [Buildroot] More work on a package updates checking tool Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hi there, I did more work on a tool to check if packages are up-to-date. This is still a dev script, so kind of ugly, but the output is really better, even if there is still some false detections. generated html : http://intelibre.fr/buildroot/out.html script : http://intelibre.fr/buildroot/check-updates.py everything else : http://intelibre.fr/buildroot/ Hope you can find some interests in it. Best, Arnaud -------------- next part -------------- An HTML attachment was scrubbed... URL: From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Thu, 19 Dec 2013 18:02:39 +0100 Subject: [Buildroot] More work on a package updates checking tool In-Reply-To: References: Message-ID: <20131219180239.5a5c6771@skate> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Dear arnaud aujon, On Thu, 19 Dec 2013 17:21:35 +0100, arnaud aujon wrote: > I did more work on a tool to check if packages are up-to-date. > This is still a dev script, so kind of ugly, but the output is really > better, even if there is still some false detections. > > generated html : http://intelibre.fr/buildroot/out.html > script : http://intelibre.fr/buildroot/check-updates.py > everything else : http://intelibre.fr/buildroot/ > > Hope you can find some interests in it. This is *really* cool. Now, I'd like to see this integrated in Buildroot and in the autobuild infrastructure. Currently, the autobuild infrastructure executes the support/scripts/pkg-stats shell script everyday, and the result is visible at http://autobuild.buildroot.org/stats/. So, what would be really great is to slightly enhance your script to also make it display what pkg-stats is showing in terms of informations: * Infrastructure used by the package * Whether it's target, target+host, or host * Number of patches * Whether it has license info, and license files info And next to it, add your "current version", "latest available version", "provider" and "status" informations. Once your script does that, we can simply throw away the pkg-stats shell script, and replace it with your new Python-based pkg-stats script that does all the version checking, and we can commit it in the Buildroot tree. Other things to do / look at : * Integrate the template.html contents directly in the script itself, using a multiline string: template = """ Buildroot packages updates > >