Name: github-pr-template
Owner: Red Hat Middleware Container Images
Description: Github Pull Request template for all images
Created: 2017-08-15 13:24:22.0
Updated: 2017-09-06 12:38:12.0
Pushed: 2018-02-12 12:28:21.0
Homepage: null
Size: 16
Language: Shell
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This is a Pull Request Template for the xPaas image repositories.
This repository contains the template and some scripts for synchronising the instances of the template in the image repositories with this master copy.
hub
Available from https://hub.github.com/ or brew install hub
on a Mac.
These scripts call hub
via the name hub
so you do not need to install
it as an alias for git
.
WARNING! These scripts open up Pull Requests for all submodules, that is currently 27 other repositories. Please make sure that's exactly what you want to do before running them!
To initialise the git submodules and set up the GitHub forks, run the init.sh
command. If you have not used hub
already then you may be prompted for your
github username and password (and possibly 2FA token). This should only happen
once, after which an OAuth token is cached. Example:
$ ./init.sh
...
github.com username: jmtd
github.com password for jmtd (never stored):
two-factor authentication code: 422560
$ ./sync-all.sh
cd images/<example image submodule>
../../sync.sh
When the default branch for one of the image repositories is changed, the submodule definitions in this repository will need to be manually updated.