-
Notifications
You must be signed in to change notification settings - Fork 0
Maintaining This Repo
Campbell, Justin edited this page Feb 26, 2021
·
1 revision
Read Creating This Repo: Why and How before this.
Maintaining this repo simply consists of upstream changes when a new release is made and preserving the removal of SASL from build dependencies.
It recommended to watch python-ldap on GitHub for new releases so you're aware of when they're available. TO do so:
- Go to https://github.com/python-ldap/python-ldap
- Watch the repo for new releases:
- Clone this repo:
git clone git@github.itap.purdue.edu:ECN/python-ldap.git
- Add python-ldap upstream remote:
git remote add upstream https://github.com/python-ldap/python-ldap.git
# Confirm the remotes have been added and named properly
git remote -v
# Expected Output:
origin git@github.itap.purdue.edu:ECN/python-ldap.git (fetch)
origin git@github.itap.purdue.edu:ECN/python-ldap.git (push)
upstream https://github.com/python-ldap/python-ldap.git (fetch)
upstream https://github.com/python-ldap/python-ldap.git (push)
- Pull changes from upstream
git pull upstream master
You will likely have to resolve merge conflicts at this stage. Accept all changes from upstream except changes that override the defines
options of the [_ldap]
section in setup.py
.
- Push changes to origin
git add *
git commit
git push
- Create a new release to match upstream's release: See Configuring a remote for a fork - GitHub Docs. Use settings to match upstream's release:
Setting | Value |
---|---|
Tag Version | python-ldap-VERSION |
Target | master |
Release Title | VERSION |
Release Description | DESC FROM UPSTREAM |
Now you should be up to date. Wait until a new release comes out and do it again.