This is a recap of the discussion we did about source meta data for packages. While interesting it was fruitless, nothing has happened. I'd like to propose to put lava-friendly meta data in: /usr/share/lava/{srcpackagename}/source.json
The file should look like this (for bzr-based projects)
{ "branch_revision": 93556, "branch_url": "lp:gcc-linaro/4.4", "branch_vcs": "bzr", "commit_timestamp": "2010-09-07T14:49:43Z", "project_name": "linaro-gcc" }
And like this for git-based projects
{ "branch_revision": "69f19fbedf6b88eb314b22f1263e2624d4477ac8", "branch_url": "git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git", "branch_vcs": "git", "commit_timestamp": "2011-11-23T14:15:50Z", "project_name": "linux" }
If needed we can add support for svn (although I'd prefer to work with a bzr-svn import on launchpad in that case). The field commit_timestamp can be removed. It is optional and can be resolved automatically assuming the repository is still alive. Still it is highly recommended to include this information directly. The field project_name should refer to a launchpad project (when using bzr branches) or to a consistently-named upstream project (otherwise).
I'm not saying this will help to solve OPs problem but at least it will feed LAVA with loads of meta-information about source that runs on the tested boards. If someone likes this format it could be adopted by other tools.
Best regards Zygmunt Krynicki
On Tue, Jan 24, 2012 at 4:01 PM, Christian Robottom Reis kiko@linaro.org wrote:
On Tue, Jan 24, 2012 at 12:59:33PM -0200, Christian Robottom Reis wrote:
On Tue, Jan 24, 2012 at 09:29:34AM -0500, Chris Lalancette wrote:
(I'm aware that there is a thread on linaro-dev discussing this exact topic; this is a request for specific information, so I decided to start a new thread)
Hello, As has been pointed out elsewhere, it is very difficult to find the exact git tree that corresponds to a kernel release. Currently the problem I am having is that the 11.11 linaro kernel release (linux-linaro-lt-omap_3.1.0-1402.5~oneiric1) works well on my new board, but later kernels do not. While I can download the kernel tarball for 3.1.0-1402.5 from launchpad, I would much prefer to use the git tree that it was produced from. Can anybody tell me exactly which git tree was used to create that kernel, and which tag/branch I should be looking at?
That's a really good question. The answer is that it's this tag and branch:
linux-release-2011-12 http://git.linaro.org/git/landing-teams/leb/ti/kernel.git
Sorry, for 11.11 that's tag linux-release-2011-11-1 -- you can see all the tags here:
http://git.linaro.org/gitweb?p=landing-teams/leb/ti/kernel.git%3Ba=summary
Christian Robottom Reis, Engineering VP Brazil (GMT-3) | [+55] 16 9112 6430 | [+1] 612 216 4935 Linaro.org: Open Source Software for ARM SoCs
linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev