Plan your commits, go sleep

Gitplan

Somehow make it so you can plan your commit, to make your coworkers think you are working, while you are actually just sleeping

Installation

Either grab the latest release:

Linux

or build from source

go install

Requirements

  • git must be installed globally

Usage

Before committing, your branch must exist on remote (for now, we can't know from which branch your local branch was created)

  • commit This command creates a .diff file of the staged changes in .gitplan/commits and a .info file containing the date, branch and commit message. It also commits to the branch you're actually on, so you can keep working or doing other stuff without worrying about your changes.
git add *
gitplan commit -m "My sick commit" -date "+2hours"

date param accepts hours and minutes (I don't know why you would want to use seconds or days here)

The first time you use this command on a repository, it will ask for your private key file path and passphrase (because it might be needed to clone, fetch and push)

  • consume

That is the command you will launch before going to take a nap. It walks the .info files in .gitplan/commits every 20 seconds to find commits to commit and push

for some reasons (for now) you need to have a branch that exists with the same name on the remote

gitplan consume

When a commit is pushed, you receive a notification

Owner
Alexandre Granjeon
I'm kinda dumb, but it's ok I guess. Projects here are either because I was tired of doing the same things over and over, or I wanted to try things
Alexandre Granjeon
Similar Resources

Plan team's rotation on google calendar

google-rotation-planner Plan rota on google calendar. Usage Get a credentials.json file from GCloud and place it in the same folder as the executable.

Jul 4, 2022

2021 pingcap talent-plan tinykv

2021 pingcap talent-plan tinykv

The TinyKV Course The TinyKV course builds a key-value storage system with the Raft consensus algorithm. It is inspired by MIT 6.824 and TiKV Project.

Jan 7, 2022

Softsuite - Start from gofiber boilerplate and plan to build large projects

Softsuite Thanks to Cozy (ItsCosmas) to build gofiber boilerplate. I start learn

Apr 25, 2022

Conventional Commits Versioner

Conventional Commits Versioner ccv does one thing: it walks git commit history back from the current HEAD to find the most recent tag, taking note of

Jan 2, 2023

Generate Changelogs from Commits (CLI)

Commitlog Changelog generator using Commit History To see an example of this in action, you can check the actions file for this repo. Yes it uses itse

Sep 30, 2022

Git Commits as Artwork

Git Commits as Artwork

gitart Git Commits as Artwork What is this? It's pointless! Still here? Generate some fantastic art from your git object ids. Usage Installing To inst

Dec 18, 2021

Conventional Commits parser written in Go

Conventional Commit Parser This is a parser for Conventional Commits go get -u github.com/release-lab/conventional-commit-parser package main import

Feb 4, 2022

Git-now-playing - Git commits are the new AIM status messages

git-now-playing git-now-playing is an attempt to bring some of the panache of th

Apr 4, 2022

Monitor your Website and APIs from your Computer. Get Notified through Slack, E-mail when your server is down or response time is more than expected.

Monitor your Website and APIs from your Computer. Get Notified through Slack, E-mail when your server is down or response time is more than expected.

StatusOK Monitor your Website and APIs from your computer.Get notified through Slack or E-mail when your server is down or response time is more than

Dec 27, 2022

Host yo' self from your browser, your phone, your toaster.

Host yo' self from your browser, your phone, your toaster.

A hosting service from the browser, because why not. Try it at hostyoself.com. See it in action Here's an example where I use hostyoself.com to host i

Jan 1, 2023

Send email and SMS broadcasts to your contacts. SMS are sent via your Android phone connected to your PC.

Polysender Send email and SMS broadcasts to your contacts. Polysender is a desktop application, so it does not require a complicated server setup. Ema

Aug 11, 2022

Are you programming and suddenly your stomach is rumbling? No problem, order your Ifood without leaving your favorite text editor ❤️

vim-ifood Você ta programando e de repente bateu aquela fome? Sem problemas, peça seu Ifood sem sair do seu editor de texto favorito ❤️ Are you progra

Jun 2, 2022

Simple application in Golang that retrieves your ip and updates your DNS entries automatically each time your IP changes.

DNS-Updater Simple application in Golang that retrieves your ip and updates your DNS entries automatically each time your IP changes. Motivation Havin

Mar 10, 2022

Write your SQL queries in raw files with all benefits of modern IDEs, use them in an easy way inside your application with all the profit of compile time constants

About qry is a general purpose library for storing your raw database queries in .sql files with all benefits of modern IDEs, instead of strings and co

Dec 25, 2022

With this package you can create your own syslog server with your own handlers for different kind of syslog messages

Using this library you can easy implement your own syslog server that: Can listen on multiple UDP ports and unix domain sockets. Can pass parsed syslo

Nov 9, 2022

Manage your repository's TODOs, tickets and checklists as config in your codebase.

tickgit 🎟️ tickgit is a tool to help you manage latent work in a codebase. Use the tickgit command to view pending tasks, progress reports, completio

Dec 30, 2022

James is your butler and helps you to create, build, debug, test and run your Go projects

James is your butler and helps you to create, build, debug, test and run your Go projects

go-james James is your butler and helps you to create, build, debug, test and run your Go projects. When you often create new apps using Go, it quickl

Oct 8, 2022

Supporting your devops by shortening your strings using common abbreviations and clever guesswork

abbreviate Shorten your strings using common abbreviations. Supported by Tidelift Motivation This tool comes out of a frustration of the name of resou

Dec 14, 2022

A quick and easy password protected web server for your files. httpfolder makes downloading/uploading files from your current working directory easy, even for fairly large files.

httpfolder A quick and easy password protected web server for your files. httpfolder makes downloading/uploading files from your current working direc

Sep 12, 2022
Comments
  • Add some way to find out what commits are planned

    Add some way to find out what commits are planned

    Is your feature request related to a problem? Please describe. To find out what and when commits are planned, we have to go in .gitplan/commits and look at each file one by one, pick the first line and convert it to a human readable date

    Describe the solution you'd like Maybe add a gitplan status command that lists the planned commits with branch / message / human readable date

  • Fix assets being creating in .gitplan/repo

    Fix assets being creating in .gitplan/repo

    On the first commit using gitplan consume assets were created in .gitplan/repo/.gitplan/assets The second commit would then apply its diff + "git add *" which meant .gitplan/assets were actually committed and pushed. Fixed that. Also removed .gitignore to identify such behaviour faster

  • non fast forward....

    non fast forward....

    Describe the bug While consuming, I got an error "non fast-forward... ref/head/master" (i think) Was the first time I was using gitplan on a project

    To Reproduce Steps to reproduce the behavior:

    1. Edit files
    2. git add files
    3. gitplan -m "message" -date "+0minutes"
    4. gitplan consume

    Expected behavior Commit is pushed to remote without any error

  • Improve consumer

    Improve consumer

    Is your feature request related to a problem? Please describe. Feels like the consumer is a bit dumb and reading each of the .info file every 20 seconds until the commit is processed seems a bit too much

    Describe the solution you'd like Maybe read it once, save the UNIX date in a map that map the date to the filename so we only have to check the variable instead of the whole files every 20 seconds

Related tags
Sync tags in your git repository and a changelog in Keep a Changelog format with releases of your GitLab project.

Automatic GitLab releases Sync tags in your git repository and a changelog in Keep a Changelog format with releases of your GitLab project. Features:

Nov 12, 2022
go mod vendor lets you check in your dependencies to git, but that's both bloaty (for developers) and tedious (remembering to update it).

go-mod-archiver Afraid of being unable to build historical versions of your Go program? go mod vendor lets you check in your dependencies to git, but

Dec 1, 2022
Switch between your git profiles easily
Switch between your git profiles easily

Git Profile Switcher Switch between your git profiles easily Install With Brew brew install theykk/tap/git-switcher With golang go get github.com/the

Dec 11, 2022
Simple git hooks written in go that installs globally to your machine

Go-hooks Simple git hooks written in go that installs globally to your machine Install curl -fsSL

Oct 19, 2022
A Github Action that verify if your README.md has broken links

A GitHub Action that automatically check if some link in your README.md is broken or not responding.

Nov 10, 2022
Installs git repos onto your system and keeps them up-to-date

Gitfile Installs git repos onto your system and keeps them up-to-date. It's a lightweight package manager for things that haven't been published to a

Jan 16, 2021
A really smart bot that connects with your email, discord, telegram and gitlab
A really smart bot that connects with your email, discord, telegram and gitlab

SmarttyBot The smartest multiplatform bot SmarttyBot is a multiplatform bot that uses natural language to execute functions using discord, telegram, e

Jun 2, 2022
sleep command accepting Go duration syntax.

gsleep sleep command accepting Go duration syntax. Installation go install github.com/forestgagnon/gsleep@latest Usage # Sleep 5 minutes gsleep 5m #

Jan 14, 2022
Go-http-sleep: Delayed response http server, useful for testing various timeout issue for application running behind proxy

delayed response http server, useful for testing various timeout issue for application running behind proxy

Jan 22, 2022
Reference implementation of the PLAN Data Model and core components

PLAN is a free and open platform for groups to securely communicate, collaborate, and coordinate projects and activities.

Nov 2, 2021