[run-task] Add an option to select specific submodules to update

Open
#504 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
devops

Research direction

Start by locating the run-task logic that detects and clones submodules, then trace how tasks provide their configuration. Done means a task can select the submodules it needs or disable submodule updates entirely, with cloning limited accordingly; check the existing run-task tests if available.

Written by the indexing model from the issue text.

Description

feature

Currently we just update all submodules we detect, but these are likely not all needed by every task. It would be nice if tasks could pass a list of submodules they need (or disable them entirely) so we can speed up cloning times.

This is particularly painful for mozilla-vpn-client which has a bunch of submodules that take a good while to clone and are hardly ever needed.

Dominant language
Python
Stars
26
Forks
55
Avg merge
2d 6m
Merged PRs (30d)
15

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from taskcluster/taskgraph

All issues in taskcluster/taskgraph

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.