Open Bug 2000181 Opened 2 months ago Updated 28 days ago

Add treeherder supported links for TryFox

Categories

(Tree Management :: Treeherder, enhancement)

enhancement

Tracking

(Not tracked)

People

(Reporter: jonalmeida, Unassigned, NeedInfo)

Details

TryFox is a tool for internal contributors to get prototype or pre-release builds in the hands of engineers, product managers, and QA. Despite the name, it has support for development and some release release stabilization repos on Treeherder.

TryFox has support for opening Treeherder links that contain a revision ID or author param if the link is clicked from an email/QR code/Slack, however in order to have app linking registered to handle treeherder.mozilla.org links by TryFox, the treeherder sub-domain would have to publish an assetlinks.json that follows the Digital Asset Links protocol.

Here is an example of photos.google.com including App Link handling for the Google Photos app: https://photos.google.com/.well-known/assetlinks.json

Equivalently, we'd like to request if an assetlinks.json can be hosted at: https://treeherder.mozilla.org/.well-known/assetlinks.json

The contents that would include the current app's fingerprint:

[{
  "relation": ["delegate_permission/common.handle_all_urls"],
  "target": {
    "namespace": "android_app",
    "package_name": "org.mozilla.tryfox",
    "sha256_cert_fingerprints": [
      "8B:D3:17:55:F3:9E:51:81:62:3F:0B:E3:1D:64:8D:A2:24:0E:C0:F2:88:38:EB:A3:D8:89:67:DE:F5:4D:FF:36"
    ]
  }
}]
Summary: Add treehereder supported links for TryFox → Add treeherder supported links for TryFox

Hey Marco, I see that jmaher is OOO for a bit. Do you know if there is someone else that could take a look at this? Hopefully, it's straight-forward to serve the JSON file at the given path without too much work.

Thanks!

Flags: needinfo?(mcastelluccio)

Sebastian might be able to help.

Also CCing Zeid, as this new tool seems to be very related to mozregression.

Flags: needinfo?(mcastelluccio) → needinfo?(aryx.bugmail)

Happy to put up a patch as well if someone can point to where the static files should go in mozilla/treeherder, and I can verify it works locally too.

You need to log in before you can comment on or make changes to this bug.