![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Allow you to commit with more than one person, e.g. Pair programming or Mob programming.
When pairing or doing mob programming on github projects, git does not allow us to commit with all the names of people who contributed. Gitpair allows you to setup your team members and commit as normal. It then changes your commit based on the list of people referenced in the commit message.
Each author will randomly be credited with commiter or authorship, so that we can each be credited in our github contributions view !
Gitpair does not require you to change the way you commit. Simplify use the git commit
command or your favorite tool!
The following two commits
$ commit -am "JBH|BDO|JON Added README file"
$ commit -am "@jordan @benoit @jonathan Added README file"
are equivalent and will result in the following commit:
commit 5aac6c15b7ea2b8ed6b8daaba01539931b9d9309
Author: Jordan Bartholomew-Harrison, Benoit d'Oncieu and Jon McClennon <bdoncieu@gmail.com>
AuthorDate: Thu Oct 27 22:09:34 2016 +0200
Commit: Jon McClennon <Jon.McClennon@gmail.com>
CommitDate: Thu Oct 27 22:09:34 2016 +0200
BDO|JM: Added README file
The author's name contains the list of all author names while the author and committer emails will be randomly choosen amongst the list of committers. The commit message is normalised as a pipe separated list of initials followed by a dash.
A recent version of node
and npm
.
$ npm install gitpair
The installation adds a post-commit
hook at the root of your project in the .git/hooks
directory.
Note: Do not install globally with npm install -g
as it won't work :wink:
Create a .gitpair
file in your user home folder. For instance:
{
"team": [
{ "name": "Benoit d'Oncieu",
"aliases": ["bdo", "benoit"],
"email": "bdoncieu@gmail.com" },
{ "name": "Jon McClennon",
"aliases": ["jm", "jon", "jonathan", "jonathanmcclennon"],
"email": "Jon.McClennon@gmail.com" },
{ "name": "Jordan Bartholomew-Harrison",
"aliases": ["jbh", "jordan", "jordanbharrison"],
"email": "jordan.bh@outlook.com" }
]
}
You can use one of two styles of commit messages. The user names used must correspond to one of the aliases you listed in your .gitpair
file (see above).
Github styled | Initials |
---|---|
@bdo @jon Added package.json | BDO|JON: Added package.json |
Notes:
Initials
pattern and the first alias
for each author.Initials
flavor, the semicolon is optional.$ npm uninstall gitpair
This removes the post-commit
hook which was added during the install.
FAQs
Allow you to commit with more than one person, e.g. Pair programming or Mob programming.
The npm package gitpair receives a total of 13 weekly downloads. As such, gitpair popularity was classified as not popular.
We found that gitpair demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.