e8b37cd86a
add author and timestamp to Issue
2025-07-08 20:59:02 -06:00
7acd94f7c0
add author to Comment
2025-07-08 20:59:02 -06:00
304b6b0d17
Merge pull request 'give Comment a timestamp, display in chronological order' ( #11 ) from sort-comments-chronologically into main
...
Reviewed-on: #11
2025-07-08 20:58:42 -06:00
a2c7ce34a3
fix git::git_log_oldest_timestamp() when there are multiple log entries
2025-07-08 18:42:14 -06:00
be362517fb
give Comment a timestamp, display in chronological order
...
This commit makes a couple of changes:
- `ent show ISSUE` now displays the Issue's Comments in chronological
order
- the Comment struct now includes a timestamp, which is the Author Time
of the oldest commit that touches the comment's directory
- the Issue struct now stores its Comments in a sorted Vec, not in
a HashMap
- The Comment's uuid moved into the Comment struct itself, instead of
being the key in the Issue's HashMap of Comments
2025-07-08 18:42:14 -06:00
431c67d43d
Merge pull request 'ent list now accepts a filter, default "state=New,Backlog,Blocked,InProgress"' ( #10 ) from filter-list into main
...
Reviewed-on: #10
2025-07-08 18:41:19 -06:00
5cfb7401db
Merge pull request 'add ent sync' ( #12 ) from ent-sync into main
...
Reviewed-on: #12
Reviewed-by: sigil-03 <sigil@glyphs.tech>
2025-07-08 12:25:05 -06:00
2106c69271
ent sync: report success if it all worked
2025-07-08 11:10:03 -06:00
9c54a92152
add ent sync
...
In a worktree with the `entomologist-data` branch checked out in it:
1. `git fetch REMOTE`
2. `git merge REMOTE/BRANCH`
3. `git push REMOTE BRANCH`
Pretty straight-forward. If anything goes wrong we error out and ask
the human to help.
2025-07-08 10:50:37 -06:00
ccabfa4ec8
remove an old debug log message from Issue::new_comment()
2025-07-08 10:50:37 -06:00
7d9284bf91
ent list now accepts a filter, default "state=New,Backlog,Blocked,InProgress"
2025-07-07 23:46:14 -06:00
4d6e18a9f4
Merge pull request 'start adding support for comments on issues' ( #9 ) from comments into main
...
Reviewed-on: #9
2025-07-07 22:35:31 -06:00
cd4eb82067
remove a useless debug message
2025-07-07 22:33:29 -06:00
8ac4ca4c54
add ent comment, to add a comment on an issue
2025-07-07 21:16:08 -06:00
9870d42fdc
ent show: include comments
2025-07-07 21:16:08 -06:00
50509dcf59
basic comment support in lib
2025-07-07 21:16:08 -06:00
5df03337d9
Merge pull request 'minor-ent-fixes' ( #8 ) from minor-ent-fixes into main
...
Reviewed-on: #8
Reviewed-by: sigil-03 <sigil@glyphs.tech>
2025-07-07 18:57:29 -06:00
035c150f4c
ent: better error reporting
2025-07-07 18:17:34 -06:00
4307ab98a0
better interface to looking up issue
2025-07-07 18:13:46 -06:00
b789a3d293
ent show: show dependencies, if any
2025-07-07 18:13:46 -06:00
bd41704906
Merge pull request 'Add User Control Over State Transitions' ( #7 ) from 03/state-transitions into main
...
Reviewed-on: #7
2025-07-07 18:13:06 -06:00
bcc8ba4f21
update CLI to have optional state control
2025-07-07 16:49:25 -06:00
964803716f
Merge pull request 'always render issue UUIDs as 128 bit hex numbers' ( #6 ) from fix-issue-uuids into main
...
Reviewed-on: #6
2025-07-07 13:53:31 -06:00
0f46eb7817
add State command to CLI
2025-07-07 13:29:09 -06:00
a6d2f7d1e8
issue.rs: add fmt::Display for State
2025-07-07 13:29:09 -06:00
ed1b4488b2
issue.rs: add state getter/setter
2025-07-07 13:29:01 -06:00
172055c480
always render issue UUIDs as 128 bit hex numbers
2025-07-07 12:53:05 -06:00
343e43a762
Merge pull request 'Use Logging Crate To Avoid STDOUT Spam' ( #5 ) from 03/logging into main
...
Reviewed-on: #5
2025-07-07 12:45:33 -06:00
4d4d0d336b
Merge pull request 'Add Simple Install Script' ( #4 ) from 03/install-script into main
...
Reviewed-on: #4
2025-07-07 12:44:12 -06:00
15f0ce57d5
install.sh: use /usr/local/bin not /usr/bin
2025-07-07 12:40:03 -06:00
1e5d328ab4
add logging crate to reduce unnecessary stdout spam
2025-07-07 12:31:09 -06:00
0b5e6f7379
Merge pull request 'ent-new-edit-show' ( #3 ) from ent-new-edit-show into main
...
Reviewed-on: #3
2025-07-07 12:04:49 -06:00
24df544a03
add install.sh script
2025-07-07 12:03:03 -06:00
3023576fec
did some todo items
2025-07-06 00:36:51 -06:00
3f2d3b1520
add ent show
2025-07-06 00:22:30 -06:00
ba0862f5a6
add ent edit
2025-07-06 00:22:30 -06:00
09373cda56
add ent new
2025-07-06 00:22:30 -06:00
5e482edb5c
rename ReadIssueError to just IssueError
...
Error handling is pretty broken in this project :-(
2025-07-06 00:22:30 -06:00
5b1c7a52b9
git: add git_commit_file()
2025-07-06 00:22:30 -06:00
1f4456fcaf
teach Issue to know what dir it lives in
...
The Issue struct is a cache of files on disk. There is never an Issue
without a directory to live in.
This commit adds a field to Issue to track what that directory is, so
that we can update those filew when we change the Issue, and commit the
changes to git.
2025-07-06 00:22:30 -06:00
48e74082ed
Merge pull request '"title" is just the first line of "description" now' ( #2 ) from merge-title-description into main
...
Reviewed-on: #2
2025-07-06 00:21:54 -06:00
559e70077e
"title" is just the first line of "description" now
2025-07-05 22:40:28 -06:00
64022b16fa
add a Todo file, ironically
2025-07-05 21:20:48 -06:00
26c98591b5
start adding ent binary
2025-07-05 21:20:44 -06:00
e8910b906a
add git support
...
This mostly provides an abstraction for "ephemeral worktrees", which
is a branch checked out in a worktree, to be read and maybe modified,
and the worktree is deleted/pruned when we're done with it.
There are also some helper functions for doing git things, the most
important one creates an orphaned branch.
The intent is to keep all the issues in a git branch. When we want to
do anything with issues (list them, add new issues, modify an issue,
etc) we check the issues branch out into an ephemeral worktree, modify
the branch, and delete the worktree.
2025-07-05 21:20:16 -06:00
d94c991eaa
add dependency tracking to issue type
2025-07-05 21:19:18 -06:00
16c6288cee
start adding Issues struct
...
This holds everything there is to know about everything, for now that's
all issues but in the future there might be more?
2025-07-05 21:18:36 -06:00
b9979f5e9e
start adding Issue struct
...
This abstracts a single issue.
2025-07-05 21:18:25 -06:00
07e9160cb5
git ignore Cargo.lock
2025-07-03 16:51:52 -06:00
c3fc87da3d
remove dead code from lib.rs
2025-07-03 12:01:26 -06:00