Skip to content

Commit 41380ef

Browse files
committed
Add a README
1 parent 775d17c commit 41380ef

1 file changed

Lines changed: 62 additions & 0 deletions

File tree

README.org

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
#+title: magit-standup
2+
#+author: István Karaszi
3+
4+
Collect recent git commits across multiple repositories and format them as org-mode standup notes.
5+
6+
* Features
7+
8+
- Scans one or more git repositories for your recent commits
9+
- Weekday-aware lookback: on Monday (and weekends) looks back to Friday; otherwise looks back 1 day
10+
- Transient menu lets you override the since-date and repository list before running
11+
- Output is an org-mode buffer with clickable commit links (via [[https://github.com/magit/orgit][orgit]] or [[https://orgmode.org/worg/org-contrib/org-git-link.html][org-git-link]])
12+
- Directories that aren't git repos are searched recursively for nested repos
13+
14+
* Requirements
15+
16+
- Emacs 28.1+
17+
- [[https://github.com/magit/magit][Magit]] 4.5.0+
18+
- [[https://github.com/magit/transient][Transient]] 0.8.0+
19+
20+
* Installation
21+
22+
** With use-package and straight.el
23+
24+
#+begin_src emacs-lisp
25+
(use-package magit-standup
26+
:straight (:host github :repo "function-artisans/magit-standup"))
27+
#+end_src
28+
29+
** Manual
30+
31+
Clone the repository and add it to your =load-path=:
32+
33+
#+begin_src emacs-lisp
34+
(add-to-list 'load-path "/path/to/magit-standup")
35+
(require 'magit-standup)
36+
#+end_src
37+
38+
* Usage
39+
40+
Run =M-x magit-standup= to open the transient menu:
41+
42+
- =-d= / =--since== — override the since-date (defaults to the weekday-aware computed date)
43+
- =-r= / =--repos== — override the repository list
44+
- =s= — show the standup buffer
45+
46+
Press =s= to generate the standup notes in a =*magit-standup*= buffer.
47+
48+
* Configuration
49+
50+
All options can be customized via =M-x customize-group RET magit-standup=.
51+
52+
| Variable | Default | Description |
53+
|---------------------------------+---------+--------------------------------------------------------------------|
54+
| =magit-standup-repos= | =nil= | List of directories to scan. When nil, uses current repo. |
55+
| =magit-standup-repos-max-depth= | =1= | Max depth to search non-repo directories for nested repos. |
56+
| =magit-standup-author= | =nil= | Author filter. When nil, uses =git config user.email=. |
57+
| =magit-standup-since-days-ago= | =nil= | Fixed lookback override. When nil, weekday-aware logic. |
58+
| =magit-standup-link-package= | =nil= | Link style: =orgit=, =org-git-link=, =none=, or nil (auto-detect). |
59+
60+
* License
61+
62+
GPL-3.0-or-later

0 commit comments

Comments
 (0)