Live data from Hacker News

Dura is a background process that watches your Git repositories

github.com

51–60 of 207 posts

Re: Dura is a background process that watches your Git repositories

#51
post #9

I’ve had this idea for about 10 years - it really pays off to wait and eventually someone will build all my ideas :) There are many things to build on top: - Squash history so that it doesn’t grow indefinitely. - Be somewhat language aware to provide better commit messages - IDE integration

Fossil has had this feature for a long time

I'm curious about this, any links handy?

Re: Dura is a background process that watches your Git repositories

#52

Earlier quoted context omitted.

Do you have those commands handy by chance? :D

It's usually something like: git status && git add -A git commit -m "checkpoint" --no-verify I include `git status` so I can see what's being committed. `--no-verify` is used to skip any pre-commit hooks.

You can use `-v` on the add to see what it’s doing instead of the extra status

Re: Dura is a background process that watches your Git repositories

#55

Cool tool! It's kind of insane to that in 2022 were still dealing with "save early, save often." Our tools are so antiquated. Storage is cheap and computers are fast, every keystroke should be persisted somewhere I can recover from rather than having to manually save and commit works in progress.

A lightweight way to accomplish this is to at least set up frequent autosaves in your editor. I had `au FocusLost * :wa` in vim to save all buffers to disk whenever it loses focus. Now that I've converted to the church of VS Code (with vim bindings, of course), there's an "Auto Save: onFocusChange" config option to do the same thing. I don't know how people live without it!

Re: Dura is a background process that watches your Git repositories

#56

Cool tool! It's kind of insane to that in 2022 were still dealing with "save early, save often." Our tools are so antiquated. Storage is cheap and computers are fast, every keystroke should be persisted somewhere I can recover from rather than having to manually save and commit works in progress.

Proper text editors[0] do this since decades.

[0]: vim and emacs, at least.

Re: Dura is a background process that watches your Git repositories

#57
post #53

As a sidenote - “dura” is a common and fairly rude Russian word for “fool” or “imbecile” as applied to women. Perhaps it was intended, but I can’t quite make a connection.

if you're a fool you will be happy you installed this tool

Re: Dura is a background process that watches your Git repositories

#58

Cool tool! It's kind of insane to that in 2022 were still dealing with "save early, save often." Our tools are so antiquated. Storage is cheap and computers are fast, every keystroke should be persisted somewhere I can recover from rather than having to manually save and commit works in progress.

IntelliJ does it, and you can even look at the local history and go back as far as you like.

Re: Dura is a background process that watches your Git repositories

#59
post #53

As a sidenote - “dura” is a common and fairly rude Russian word for “fool” or “imbecile” as applied to women. Perhaps it was intended, but I can’t quite make a connection.

I took it as short for "durable". But then again "git" is a common, slightly rude English word for "fool" or "imbecile" as usually applied to men...

Re: Dura is a background process that watches your Git repositories

#60

Cool tool! It's kind of insane to that in 2022 were still dealing with "save early, save often." Our tools are so antiquated. Storage is cheap and computers are fast, every keystroke should be persisted somewhere I can recover from rather than having to manually save and commit works in progress.

[deleted]
Post reply on HN