Skip to content

v3: Now with a background continuous fetcher

Choose a tag to compare

@gbataille gbataille released this 04 Aug 16:54
· 46 commits to master since this release

Backgroud Fetcher, the missing feature

It was missing, you wanted it, it's now there.
Githud has been enriching your prompt and your GIT context awareness for years. One thing was missing though: it failed to tell you what was happening on the remote while you were working.

Well this is from the past. From now on, githud will launch a daemon (githudd) that will regularly fetch the latest state of your remote(s) (defaults to every 30s).

From the changelog:

  • Feat: Add a daemon called githudd that will continuously fetch the last git folder where
    githud was executed. In a typical install where githud is used in the prompt, that means the
    last git folder browsed.
  • Config: some new configuration has been added for the githudd daemon. The default values have
    been tested on Mac. You can find this new section in the .githudrc file in this repo. The new
    parameters are also pasted below along with their default values.
# -------------------------------------------------------------------------------------------
# The following config controls the background fetcher daemon behavior called githudd
# -------------------------------------------------------------------------------------------
# run_fetcher_daemon=True
# githudd_sleep_seconds=30       # how long does the daemon sleep between cycles
# githudd_pid_file_path=/usr/local/var/run/githudd.pid
# githudd_socket_file_path=/usr/local/var/run/githudd.socket
#
# # Githudd logs can be verbose. They are here for debugging only. It is not advised that you
# # activate them
# githudd_log_file_path=/dev/null