Add description to git projects used in Linaro Android builds

Bug #1194801 reported by Amit Pundir
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Android Infrastructure
Fix Released
High
Paul Sokolovsky

Bug Description

There have been member request (http://cards.linaro.org/browse/DEVPLAT-98) to point out what repositories and changes get pulled into the Android build.

The idea we are going with is to write tools/scripts which not only add description to all the git projects used in our builds but also pull them into the month end release notes.

Attached in this bug report are 4 json files which contain description of projects used across our Android builds:
1) git_description_glo.json --> Description of projects pulled from git.linaro.org
2) git_description_aglo.json --> Description of projects pulled from android.git.linaro.org
3) git_description_lpglo.json --> Description of projects pulled from linaro-private.git.linaro.org
4) git_description_hglo.json --> Description of projects pulled from hisilicon.git.linaro.org/landing-team/hisilicon

Here is the json template I have used for descriptions:
------------------------------
    {
      "name": "<RELATIVE_PROJECT_PATH_GOES_HERE">,
      "branch": [
        {"name": "<BRANCH_NAME", "description": "<DESCRIPTION>"},
        {"name": "<BRANCH_NAME2", "description": "<DESCRIPTION>"}
      ]
    },
------------------------------
Note: BRANCH_NAME(s) is optional. If it is missing it means that the description stands true for all the branches.

In git_description_aglo.json, if a project is a Linaro addon/extra project e.g. "binutils-current" then I have specifically mentioned in its description that it is a "Non AOSP" project. e.g.:
-----------------------------
    {
      "name": "toolchain/binutils-current",
      "branch": [
        {"description": "Non AOSP project. Collection of various GNU compilers, assemblers, linkers, debuggers, etc., plus their support routines, definitions, and documentation."}
      ]
    },
-----------------------------
It doesn't look neat but it gives us flexibility of marking that project a non-AOSP project while scanning through its git description and preparing the release doc. Open for discussion on this.

Revision history for this message
Amit Pundir (pundiramit) wrote :
Changed in linaro-android-infrastructure:
assignee: nobody → Paul Sokolovsky (pfalcon)
Revision history for this message
Amit Pundir (pundiramit) wrote :
Revision history for this message
Amit Pundir (pundiramit) wrote :
Revision history for this message
Amit Pundir (pundiramit) wrote :
Changed in linaro-android-infrastructure:
status: New → Triaged
importance: Undecided → High
Changed in linaro-android-infrastructure:
milestone: none → 2013.07
Revision history for this message
Amit Pundir (pundiramit) wrote :

I have pushed manifest description files at http://android.git.linaro.org/gitweb?p=platform/manifest-descriptions.git;a=summary in json format.

Changed in linaro-android-infrastructure:
status: Triaged → In Progress
Revision history for this message
Paul Sokolovsky (pfalcon) wrote :

Ok, so code changes to support this landed in https://code.launchpad.net/~pfalcon/linaro-android-build-tools/manifest-descr/+merge/178534

Example of how it work as implemented is here:

https://android-build.linaro.org/jenkins/job/paul.sokolovsky_galaxynexus-linaro/94/console
http://snapshots.linaro.org/android/~paul.sokolovsky/galaxynexus-linaro/94

So, annotated versions of source and pinned manifests are currently created as source-manifest.xml.ann and pinned-manifest.xml.ann, respectively. Is that how'd you want it to be (annotated versions go to separate files)? If yes, maybe they should be named as source-manifest-ann.xml? If no, should annotated versions just replace original files? Let me know so I perform last changes/migration to accommodate it.

Changed in linaro-android-infrastructure:
status: In Progress → Incomplete
Revision history for this message
Paul Sokolovsky (pfalcon) wrote :

Actually, renaming output manifests to *-ann.xml will make them exported automagically. Let's do that, close this, and treat any possible change requests as separate things.

Revision history for this message
Paul Sokolovsky (pfalcon) wrote :
Revision history for this message
Paul Sokolovsky (pfalcon) wrote :
Changed in linaro-android-infrastructure:
status: Incomplete → Fix Committed
Changed in linaro-android-infrastructure:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.