Skip to content

Releases: koddsson/coworking-with

v0.4.3

19 Jun 20:01
Compare
Choose a tag to compare

What's Changed

  • Automatically discover git root by @tausbn in #28

New Contributors

Full Changelog: v0.4.2...v0.4.3

v0.4.2

29 Mar 10:16
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.4.1...v0.4.2

v0.4.1

17 Mar 19:38
v0.4.1
5a2665f
Compare
Choose a tag to compare

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.

v0.4.0...v0.4.1

v0.4.0

23 Feb 22:28
19d1cb6
Compare
Choose a tag to compare
  • Completely re-write commit-msg script in javascript (#21)

v0.3.2...v0.4.0

v0.3.2

22 Feb 16:55
e281d1b
Compare
Choose a tag to compare
  • Use commit search API instead of event stream (#20)

v0.3.1...v0.3.2

v0.3.1

08 May 21:58
73e66fa
Compare
Choose a tag to compare
  • 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

v0.3.0...v0.3.1

v0.3.0

11 Nov 15:41
b6432c8
Compare
Choose a tag to compare

New feature:

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

v0.2.0...v0.3.0

0.2.0

28 Oct 09:54
8beac04
Compare
Choose a tag to compare

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

v0.1.1

17 May 07:37
1987cc3
Compare
Choose a tag to compare

@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

17 May 07:37
1987cc3
Compare
Choose a tag to compare
Update main.workflow