New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

commit-to-timesheet-log

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

commit-to-timesheet-log

Package to help automate timesheet log from git commits.

  • 1.0.4
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

commit-to-timesheet-log

Automate your timesheet with git commits

Commit-to-timesheet-log is a npm package to modify the github hooks in your project to automate your timesheet updation based on your git commits.

Installation

Install commit-to-timesheet-log globally.

Usage

npm i -g commit-to-timesheet-log

Run the command "setup-commit-to-time-sheet" in the root level of your git project and enter your geekyants email.

setup-commit-to-time-sheet

Based on the email entered it will create a personalised commit-msg hook in .git/hooks folder of your project.

commit syntax to log timesheet

git commit -am “[Log - {HRS}] [TICKET-ID: {JIRA_PROJECT_CODE-Ticket_ID}] : {COMMIT_MESSAGE}”

Example: git commit -am “[Log - 4] [TICKET-ID - EX-110] : Facebook login implemented”

The above example command will log your "4 hours" of work for today in GeekyAnts portal with the description as "Facebook login implemented".

Assumptions

At this time the timesheet api is not available so i created a "mock-timesheet-server" to mock the behaviour provided i.e

  • Success response: {”success”: true, “errorMessage”: “”}
  • Error response: {”success”: false, “errorMessage”: “User doesn’t exist”}

And currently "venkatas@geekyants.com" is the only whitelisted email and for other emails the api will respond with the Error response.

Keywords

FAQs

Package last updated on 26 Jun 2022

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc