harvest-worklog 0.10.0 → 0.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +7 -5
- data/bin/verify-plugin-release +18 -0
- data/lib/harvest_worklog/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9f1908df098837d21f4966ce8f56800ecdece9226b78a7ce2739aa154a926a61
|
|
4
|
+
data.tar.gz: '083aab29fd401584e987413bcfd9a08e3a25bf20a87e5c94fd6830f9ced89d7d'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5b914fac7e561a5d6c08c3015d9fad0870b4e1b7bc71a709d014f07de4a1f2f271439c73cc26ccc3bf37868e8322c06329f5a36e88f3ca502276f57db73af921
|
|
7
|
+
data.tar.gz: 76f3b76c1d27cde0dcc90f92f956f8e47c12f6788f08f9cf60c303543ebe08363f13d2197d5bbc9dddd4ffb53c36b04e36c5a5772660fdd72065fa3995ff311e
|
data/README.md
CHANGED
|
@@ -64,15 +64,16 @@ The `harvest_time_aggregates` OMP tool exposes the same optional filters and is
|
|
|
64
64
|
|
|
65
65
|
### Daily timesheets
|
|
66
66
|
|
|
67
|
-
The `timesheet` command
|
|
67
|
+
The CLI `timesheet` command and `harvest_time_sheet` OMP tool read the authenticated user's compact daily Harvest view. They show task totals, entry durations, and notes already recorded in Harvest.
|
|
68
68
|
|
|
69
69
|
```bash
|
|
70
70
|
harvest-worklog timesheet today --project WRAP
|
|
71
71
|
```
|
|
72
72
|
|
|
73
|
-
|
|
73
|
+
The `/harvest-worklog timesheet today --project wrap` slash command instead reads local OMP Project Time and reports separate `Human active` and `Agent elapsed` totals. It does not call Harvest or require `projectTimeMappings`; mappings remain specific to previewing or recording Harvest entries.
|
|
74
|
+
`/project-time history` reports all logged dates, so its totals can be larger than a single-day timesheet.
|
|
74
75
|
|
|
75
|
-
Type `/harvest-worklog ` in OMP to discover `timesheet`, then select `today`, `yesterday`, or an ISO date before the contextual `--project`
|
|
76
|
+
Type `/harvest-worklog ` in OMP to discover `timesheet`, then select `today`, `yesterday`, or an ISO date before the contextual `--project` option. The editable project name must exactly match the case-sensitive local Project Time name.
|
|
76
77
|
|
|
77
78
|
## OMP settings
|
|
78
79
|
|
|
@@ -136,7 +137,8 @@ gem push "harvest-worklog-${VERSION}.gem"
|
|
|
136
137
|
gem uninstall harvest-time-off --all --executables --ignore-dependencies
|
|
137
138
|
gem install --clear-sources --source https://rubygems.org harvest-worklog --version "$VERSION" --no-document
|
|
138
139
|
omp plugin uninstall harvest-time-off
|
|
139
|
-
|
|
140
|
-
omp plugin list
|
|
140
|
+
npm run verify:release
|
|
141
141
|
harvest-worklog --help
|
|
142
142
|
```
|
|
143
|
+
|
|
144
|
+
OMP loads extensions at process startup; reinstalling a plugin does not update already-running sessions. Confirm `harvest-worklog@<VERSION>` in `omp plugin list`, then start a fresh OMP process for autocomplete and slash-command QA. Exit and restart every older OMP session before relying on the released behavior.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
set -euo pipefail
|
|
3
|
+
|
|
4
|
+
root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
|
5
|
+
cd "$root"
|
|
6
|
+
version="$(node -p 'require("./package.json").version')"
|
|
7
|
+
|
|
8
|
+
omp plugin uninstall harvest-worklog
|
|
9
|
+
omp plugin install --force github:klondikemarlen/harvest-worklog
|
|
10
|
+
plugins="$(omp plugin list)"
|
|
11
|
+
if [[ "$plugins" != *"harvest-worklog@$version"* ]]; then
|
|
12
|
+
printf 'Expected harvest-worklog@%s after install.\n%s\n' "$version" "$plugins" >&2
|
|
13
|
+
exit 1
|
|
14
|
+
fi
|
|
15
|
+
|
|
16
|
+
printf 'Verified harvest-worklog@%s. Starting fresh OMP for slash-command QA.\n' "$version"
|
|
17
|
+
printf 'Existing OMP sessions must also be restarted.\n'
|
|
18
|
+
exec omp --no-session --no-tools --cwd "$root"
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: harvest-worklog
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.10.
|
|
4
|
+
version: 0.10.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Marlen Brunner
|
|
@@ -60,6 +60,7 @@ extra_rdoc_files: []
|
|
|
60
60
|
files:
|
|
61
61
|
- README.md
|
|
62
62
|
- bin/harvest-worklog
|
|
63
|
+
- bin/verify-plugin-release
|
|
63
64
|
- harvest-worklog.rb
|
|
64
65
|
- lib/harvest_worklog.rb
|
|
65
66
|
- lib/harvest_worklog/aggregate_cli.rb
|