Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 994 Bytes

README.md

File metadata and controls

29 lines (18 loc) · 994 Bytes

io-platform-scripts

A useful group of scripts to maximize the management of several pagopa's repo together

Prerequisites

  • Updating the list of repository we want to update under io-functions-list.txt
  • Having hub command installed
  • Setup hub config file with username and Github Personal Access Token like this:
    echo "github.com:
          - user: <github username>
            oauth_token: <github token>" > ~/.config/hub

Scripts

copy-file-from-template-to-all-functions

Script used to copy one or more files from io-functions-template to all the repos contained into io-funtctions-list.txt and make a PR each

remove-file-from-all-repo

Script used to remove one or more files from all the repos contained into io-functions-list.txt and make a PR each

update-all-package-names-with-org

One-time only script to update the package name with "@pagopa/" prefix for all repos contained into io-functions-list.txt and make a PR each