Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Adding Github version control metadata

3 views
Skip to first unread message

Armen Zambrano Gasparnian

unread,
Oct 31, 2019, 10:26:02 AM10/31/19
to mozilla-tool...@lists.mozilla.org
Hello all,
In order to make it easier to build automation (in this case for Treeherder's task ingestion) I would like to ask for some metadata to be included in tasks related to Github pushes.

I have filed https://bugzilla.mozilla.org/show_bug.cgi?id=1590512 to track this request.

In short, what I want is something like this:
```
"version_contol": {
"BASE_REPOSITORY": "https://github.com/mozilla-mobile/android-components",
"HEAD_REPOSITORY": "https://github.com/sblatz/android-components",
"HEAD_REF": "download-updates",
"HEAD_REV": "ccd1101f1416b16a2e57cb69e0c2649876728775",
"PULL_REQUEST_NUMBER": "4759"
},
```

PULL_REQUEST_NUMBER only applies to PRs.

My questions for you:

* Is there any upcoming proposal that would cover some of what I ask?
* Is this thread/bug enough to being an agreement?

Thanks in advance,
Armen

Dustin Mitchell

unread,
Oct 31, 2019, 11:19:41 AM10/31/19
to Armen Zambrano Gasparnian, mozilla-tool...@lists.mozilla.org
I commented in the bug. I see this largely as a contract between
Treeherder and projects which are reporting their status to
Treeherder. TC is merely the conduit through which that data flows.

This matches how things work with hg right now: tasks from hg which
wish to report to Treeherder contain the required data in
`task.extra`, in a format defined by Treeherder.

Dustin
> _______________________________________________
> tools-taskcluster mailing list
> tools-ta...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/tools-taskcluster
0 new messages