Configure GitHub External Plugins
This topic explains how to configure GitHub external plugins with Agility.
Introduction
The agilitysync-externalplugins repository is hosted on GitHub. To get a copy of the source code you must fork the agilitysync-externalplugins repository on GitHub, create a local clone of your personal fork, and configure the remote systems.
You must execute these steps once per machine:
- Go to https://github.com/digital-ai/agilitysync-externalplugins.
- Press
Fork
on the top right. - When prompted where to fork the repository, choose to fork it to your username.
- Your fork will be created at
https://github.com/<username>/
. - Clone your GitHub fork
(replace <username> with your username)
:git clone git@github.com:<username>/agilitysync-externalplugins.git
- You can use both SSH-based orHTTPS -based URLs
- Add an upstream remote, then configure git to pull main from upstream and always push to origin:
cd agilitysync-externalplugins
git remote add upstream https://github.com/digital-ai/agilitysync-externalplugins
git config --local branch.main.remote upstream
git remote set-url --push upstream git@github.com:<yourusername>/agilitysync-externalplugins.git
- Verify that yoursetup is correct:
$git remote -v
origin git@github.com:<your-username>/agilitysyncexternalplugins.git fetch)
origin git@github.com:<your-username>/agilitysyncexternalplugins.git (push)
upstream https://github.com/digital-ai/agilitysyncexternalplugins (fetch)
upstream git@github.com:<your-username>/agilitysync-externalplugins.git (push)
$git config branch.main.remote
Procedure to Create a Repository for External Plug-in
- Update data from your upstream repository
git fetch upstream
- Create a new branch in your local clone from the main branch in the upstream repository:
git checkout -b <branch-name> upstream/main
- Once you are satisfied with the changes, add the files and commit them:
git add <filenames>
git commit -m '<message>'
- Then push your work to your GitHub fork:
git push origin <branch-name>
Finally go on https://github.com/[your-username]/agilitysync-externalplugins: you will see a box with the branch you just pushed and a green button that allows you to create a pull request against the official agilitysync-externalplugins repository.
Review Process
This Product Request will be reviewed by Agility Sync core team, once the PR is approved, testing is done, after which the plugin will be merged into Agility Sync external plugin repository.