Closed Bug 774780 Opened 13 years ago Closed 13 years ago

Support reading a repo manifest.xml in symbolstore.py for source info

Categories

(Toolkit :: Crash Reporting, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla19

People

(Reporter: ted, Assigned: ted)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

B2G uses the Google 'repo' tool to pull in a forest of git repositories. repo has an XML manifest format that describes all the repositories in use, and it can dump out a version of the manifest that contains the changesets that each repo was checked out at. Since we will probably wind up building B2G builds from tarballs instead of cloning a zillion repos, we should support reading this manifest in symbolstore.py so we can add VCS info to our symbol files without having actual repos present. repo command to dump current repository info: repo manifest -r -o current.xml
is this required for b2g crash reporting? who should this be assigned to?
I think this is a very strong 'nice to have', but bug 774284 has the edge on priority. Ted will you be taking this one too?
This is required for making B2G crash reports have source links in the stack traces. I don't have time to work on this right now, but I'd be happy to mentor someone. It'd just be some Python hacking in symbolstore.py.
Whiteboard: [mentor=ted][lang=python]
Assignee: nobody → ted
Status: NEW → ASSIGNED
Whiteboard: [mentor=ted][lang=python]
This patch just refactors how the data structures underlying GetVCSFilename work. The next patch in this series gets this info from the repo manifest, so it's easier to implement if we do this first.
Attachment #673893 - Flags: review?(catlee)
This patch adds a --repo-manifest argument to symbolstore.py, and uses that info to populate VCS info. I'll hook this up to the B2G buildsymbols in a separate patch to gonk-misc.
Attachment #673894 - Flags: review?(catlee)
Attachment #673893 - Flags: review?(catlee) → review+
Attachment #673894 - Flags: review?(catlee) → review+
Depends on: 803654
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
Depends on: 846864
Blocks: 866241
Blocks: 774287
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: