GothenburgBitFactory / timewarrior

Timewarrior - Commandline Time Tracking and Reporting
https://timewarrior.net
MIT License
1.25k stars 94 forks source link

`on-modify.timewarrior` not included with Homebrew package for macOS #543

Closed leifericf closed 1 year ago

leifericf commented 1 year ago

I have installed Timewarrior (and Taskwarrior) via Homebrew.

$ which task
/opt/homebrew/bin/task

$ which timew
/opt/homebrew/bin/timew

And I'm trying to integrate the two, as described in this guide.

However, I can't find the mentioned script (on-modify.timewarrior) anywhere on my system under /usr.

Is this script not included with the Homebrew package?

Here is some more details about my Timewarrior installation:

$ timew diagnostics

timew 1.5.0
       Platform: Darwin

Compiler:
        Version: Apple LLVM 14.0.0 (clang-1400.0.29.202)
           Caps: +stdc +stdc_hosted +LP64 +c8 +i32 +l64 +vp64 +time_t64
     Compliance: C++11

Build Features
          Built: Apr  5 2023 03:04:16
          CMake: 3.26.3
     Build type: Release

Configuration
  TIMEWARRIORDB: -
            Cfg: /Users/my-username/.timewarrior/timewarrior.cfg (-rw- 0 bytes)
       Database: /Users/my-username/.timewarrior (drwx 160 bytes)
    Color theme: Built-in default
                 00 01 02 03 04 05 06 07 08 09 10 11 12

Extensions
       Location: /Users/my-username/.timewarrior/extensions (drwx 64 bytes)
lauft commented 1 year ago

Is this script not included with the Homebrew package?

The file on-modify.timewarrior is included in the timew-1.5.0.tar.gz tarball used by the formula. However, the formula itself is not maintained by us, so please open an issue over there.

As a workaround, you could download the on-modify.timewarrior from here.