Coworking With Versions Save

👩🏻‍💻 Easily add coworking signitures to your commits.

v0.4.3

10 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/koddsson/coworking-with/compare/v0.4.2...v0.4.3

v0.4.2

2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/koddsson/coworking-with/compare/v0.4.1...v0.4.2

v0.4.1

3 years ago

This version updates the project's dependencies as well as fixing an issue where the program would crash when working in a project that has a package.json file and "type": "module" set in it.

https://github.com/koddsson/coworking-with/compare/v0.4.0...v0.4.1

v0.4.0

3 years ago
  • Completely re-write commit-msg script in javascript (#21)

https://github.com/koddsson/coworking-with/compare/v0.3.2...v0.4.0

v0.3.2

3 years ago
  • Use commit search API instead of event stream (#20)

https://github.com/koddsson/coworking-with/compare/v0.3.1...v0.3.2

v0.3.1

4 years ago
  • Merge pull request #16 from koddsson/fix-12 d1af722
  • use signature directly 88974b0
  • fix formating of commit trailer 397741a
  • run eslint with default settings on the project 246ae05
  • keep track of commit trailers 200457a
  • Merge pull request #14 from koddsson/eslint f973063
  • install depenencies? b4d610a
  • eslint is test script 14abdb3
  • Merge pull request #15 from koddsson/action cf900ba
  • Create nodejs.yml 23b32e2
  • run eslint with default settings on the project c7a72dc
  • Delete main.workflow ff8cc2f

https://github.com/koddsson/coworking-with/compare/v0.3.0...v0.3.1

v0.3.0

4 years ago

New feature:

  • fetch user info from github if the user isn't in git log (#10)

https://github.com/koddsson/coworking-with/compare/v0.2.0...v0.3.0

v0.2.0

4 years ago

Confirm coauthor info + prevent duplicated coauthored-by entries #9

v0.1.1

5 years ago

@koddsson/coworking-with

Easily add coworking signitures to your commits.

Usage

npx @koddsson/coworking-with <usernames>...

The script installs a commit-msg hook that will append all commit messages with Co-authored-by: USERNAME <EMAIL> for each user you have specified. This commit trailer can be picked up by tools such as GitHub.

Note that since we go through the git log history to find the signiture that the user you want to cowork with needs to have at least one commit into the repo you are working in.

Quit "coworking mode" with the --stop flag.

npx @koddsson/coworking-with --stop

That's pretty much it.

Enhancements

I want a indicator on my shell to tell me if I'm coworking mode or not. I do this in my fish shell by checking the coworking.coauthor key in the git config.

function _is_coworking
  echo (command git config --get-all coworking.coauthor 2> /dev/null)
end

[..]

if [ (_is_coworking) ]
  set -l git_coworking "👨🏻‍💻"
  set git_info "$git_info$git_coworking"
end

This snippet just sets a little emoji on my prompt when I'm in coworking mode but your setup is going to need some different way to indicate coworking mode.

0.1.1

5 years ago