Giter Club home page Giter Club logo

Comments (3)

ELLIOTTCABLE avatar ELLIOTTCABLE commented on May 31, 2024

Hi! I'm pretty interested in gtm, as it parallels something I've been thinking of doing for a long time.

In my own planning, I was assuming I'd integrate with my existing commit-labeling system, called gitlabels. (For me, this is a part of a personal crusade to start exposing “effort invested” numbers on open-source work, to help encourage newbies who feel swamped and incapable — for instance, I'm also time-labeling blog posts.)

So, I guess this is an advertisement for my work, and offer to integrate efforts.

Here's an example of one possible format for time-taken-information, as an example of an automatically-appended timing record:

(!! new API revert inc!) Replace ::walk with Giraphe

This was half-a-year in the making; bit of a black-triangle moment. 🤣

/time-invested "T11H42M"

(Yanked that format from ISO 8601, after removing the P, as the fact that it's a duration is implicit and a given in this case.)

Alternatively a shorter form (and these are explicitly equivalent), although I'm not a huge fan, as it wastes extremely-limited first-line-real-estate:

(!! new API revert inc! took:T11H42M) Replace ::walk with Giraphe

This was half-a-year in the making; bit of a black-triangle moment. 🤣

I'd be willing to apply some implementation-work here, although I may only be able to help with the Vim and sh implementations (my Go is non-existent).

Any thoughts? 😊

from gtm.

mschenk42 avatar mschenk42 commented on May 31, 2024

A nice way to integrate with gtm is via a git pre-commit hook to populate the commit message with the time spent. Take a look at this #72. Does that do accomplish what you are looking for?

from gtm.

ELLIOTTCABLE avatar ELLIOTTCABLE commented on May 31, 2024

Oh, I'm sure I can scrape and manipulate the data into the format for my personal use; I just thought this might be a nice on-by-default feature of gtm (encoding the time information into commits.)

To do it nicely, gtm might need to wrap git (saw some discussion of this elsewhere), though.

from gtm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.