Skip to content

Releases: koddsson/coworking-with

v0.1.0: Update main.workflow

17 May 07:33
525da85
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.0

17 May 07:33
525da85
Compare
Choose a tag to compare
Update main.workflow

hopefully publish to GPR correctly from actions

v0.0.9: Update main.workflow

17 May 07:25
525da85
Compare
Choose a tag to compare
hopefully publish to GPR correctly from actions

0.0.9

17 May 07:25
525da85
Compare
Choose a tag to compare
Update main.workflow

hopefully publish to GPR correctly from actions

Basically just a release to trigger the action to publish to GPR

13 May 21:03
0dea6eb
Compare
Choose a tag to compare

0.0.8

13 May 21:19
0dea6eb
Compare
Choose a tag to compare
rename package in README.md

Package name change to include scope.

13 May 20:57
87a537a
Compare
Choose a tag to compare

Now called: @koddsson/coworking-with

0.0.6

13 May 16:42
a6f2d99
Compare
Choose a tag to compare
reword some words

v0.0.6

13 May 16:42
f3fc76e
Compare
Choose a tag to compare

coworking-with

Easily add coworking signitures to your commits.

Usage

Go into "coworking mode" by denoting the usernames of the people you are working with.

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.

npx coworking-with <usernames>...

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

npx 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.

Initial release

13 Mar 08:49
77f59b6
Compare
Choose a tag to compare
  • dont exit hard in tests 6057d50
  • set version to 0.0.0 so that I can run np and publish to 0.0.1 2e738dc
  • add help command/option ceeb9c9
  • update usage message 4fa35d7
  • implement git get-coauthor in js 566b0dd
  • actually make git hook be a javascript file because bash sucks dd4315a
  • this is a bash file ya dunce dde1cca
  • make git hook executable 8622638
  • fix symlinking of git hook 8f81583
  • fix current working directory references 100594f
  • check if user is in repo 482c59b
  • implement stuff cbf10bf

b128d9b...v0.0.1