Repository navigation
adding prefix when running find_decision_task for git repos - #1113
Tintinator wants to merge 4 commits into
Conversation
There was a problem hiding this comment.
Looking at the version in gecko_taskgraph, it actually doesn't use this pushlog route anymore. So we should actually just delete this whole branch of the if statement.
| ) | ||
| ) | ||
| elif parameters["repository_type"] == "git": | ||
| head_rev_param = "{}head_rev".format(graph_config["project-repo-param-prefix"]) |
There was a problem hiding this comment.
In order for a new value in graph_config to be used, it'll needed to be added to the schema in config.py, like this:
https://searchfox.org/firefox-main/rev/ed467ab812c04500de90029785eca5493deb260a/taskcluster/gecko_taskgraph/config.py#172
But there's a bit of a design problem with this too. Mainly that I don't really like project_repo_param_prefix. It feels hacky, and not something I'd like to include in upstream Taskgraph.
So for now could you revert this head_rev_param feature please? I'm going to do a little bit of thinking on how best to handle this difference.
when finding task ids for git repos,
graph_config["project-repo-param-prefix"].this is done as a part of the effort to merge actions logic between gecko_taskgraph and taskgraph.