bids-apps / maintenance-tools

0 stars 0 forks source link

maintenance-tools

using all-repos

https://github.com/asottile/all-repos

pip install all-repos

other commands

all-repos-grep ':image' -- .circleci/config.yml
all-repos-sed \
    "s@image: circleci/buildpack-deps:stretch@image: ubuntu-2204:2022.10.2@g" \
    .circleci/config.yml \
    --commit-msg "use ubuntu image"

Cloning all the repos

all-repos-clone -C all-repos.json

Configuration

Currently, the config file is set to no to anything on the repo

"push": "all_repos.push.readonly",

Change this setting to all_repos.push.merge_to_master to push to the default branch.

See the all-repos doc to see other push options.

You can filter the repos to clone by adding a include or exclude key to the all-repos.json file.