Commits
- Commit:
6cd04c7054a96d0025d9a12fc17c8ffbc5085925
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove outdated TOOD item and tweak test accordingly
The default deny policy is working as expected according to newly added
regression test. Tweak this test to use an implicit read-only rule,
rather than an explicit one, as stated in the TODO item.
- Commit:
bbca3812085e5772aac555a22b906351d2acfe91
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add test for read-only access on empty repository
- Commit:
166674b8808a9a16a3cff59d166410cd37833014
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix gotd notification test failures due to missing shell quoting
The expected output generated by test scripts was wrong on days
with a single-digit date. Found by Omar's regress builder.
ok op@
- Commit:
2fed5287a0b2737115e6d0dcad77a6b371206cb1
- From:
- Omar Polo <op@omarpolo.com>
- Date:
regress: use seq instead of jot
This is just for -portable since jot is not always available.
ok stsp@
- Commit:
c623f22185d49aeb866ddc765ad0becfb2052e35
- From:
- Omar Polo <op@omarpolo.com>
- Date:
cast a time_t to long long for printf for portability
- Commit:
8bffa12946bc31a810c9a0dc418fc23f0bd227b2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
remove trailing whitespaces
- Commit:
124eeb84c84b5d49a94e0210e4add23c6da93b47
- From:
- Omar Polo <op@omarpolo.com>
- Date:
got.1: escape Eq since it's a GNU roff macro
`.Op Fl Eq' gets rendered as [-] with groff because Eq it's a macro.
Escape it to get it rendered correctly. Discussed with bentley.
Reported by casaca on the IRC channel, thanks!
- Commit:
85d7db14be73c565d470f20f48186f650021be1c
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Stefan Sperling <stsp@stsp.name>
- Date:
initial documentation for the got-notify-http json payload
committing on behalf of op@, ok by me
- Commit:
e789f02b267046e82b75e50ea5239a477e7e1d75
- From:
- Omar Polo <op@omarpolo.com>
- Date:
got-notify-http: fix threshold for reading the tag message
- Commit:
763b7f49146da1df5142d9f88651f4516b1d1a88
- From:
- Omar Polo <op@omarpolo.com>
- Date:
got-notify-http: parse diffstat; adjust tag/commit
- Commit:
cd18253299922842254cc506eb7fa85be402962d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add test_tag_changed() for got-notify-http
at the moment it is indistinguishable from the created tag.
- Commit:
553d83475bd124e7e5ba693c5ae9313d21d2139b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
got-notify-http: handle new tags
- Commit:
7a0952773e482459a286e0128d0a192fcaaeb8c9
- From:
- Omar Polo <op@omarpolo.com>
- Date:
remove trailing whitespaces
- Commit:
d60570848cd614b529f720c17d37d54c77dd5949
- From:
- Omar Polo <op@omarpolo.com>
- Date:
got-notify-http: handle branch removals
- Commit:
914bfd3ddbdf1adc0adf828c7531b8174b6b2010
- From:
- Omar Polo <op@omarpolo.com>
- Date:
http_notification.sh: add a testcase
add test_branch_created(). at the moment this is not different
from a "normal" commit notification but it'll change in the future
and it's handy to have it for an upcoming branch removed notification.
- Commit:
936239010f884c916c0f8680490fea91813b5334
- From:
- Omar Polo <op@omarpolo.com>
- Date:
got-notify-http: add a type:commit field in the json
will help to differentiate these notification objects from the
others.
- Commit:
a4656c38219b986dc7919a9c5c36195b9dd0acee
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
small man page fix, spotted by op@
- Commit:
f4ab0e5770b96257cb1a43cfe292daa54f2b402e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'got status' display interrupted rebase, histedit, and merge operations
When an operation is interrupted add a trailing message to status output
which displays the operation and branches involved.
This information will be useful when diagnosing problem reports and it
helps new users with contextualizing multi-operation work tree state.
ok op@
- Commit:
a397e3fbad25f5da2f4a33e1d2ac8248f32aa24b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
man nits; found with mandoc -Tlint
- Commit:
8af456a9cc91eb4cba92e455baf06e679fe9ced6
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
forgot to unveil the log message file passed to got commit -F
found by op's regress builder
- Commit:
a854b8c994a1381e4c6f2ba45bef9c22da0ec956
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
initialize and tidy up *branch_ref in got_worktree_histedit_continue()
- Commit:
ec405b99414136a277c6d2bc223a538d9d701ccc
- From:
- Omar Polo <op@omarpolo.com>
- Date:
got-notify-http: refactor jsonify()
To support the other types of notifications, we can't just peek at
the first byte and decide wether it's a short or long format.
Refactor the parsing so that there's one main entrypoint, jsonify(),
that calls jsonify_comment() or jsonify_comment_short() depending
on the format of the line. Other "line types" will be added as a
follow-up to support the other notification types.
- Commit:
efcfe9187f7bcd4faecb4eabda86f3a921c62387
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fold some long lines
- Commit:
ac0a4dfc3547f38c3fe0544f329f3c7bded24010
- From:
- Omar Polo <op@omarpolo.com>
- Date:
got-notify-http: change the layout of the json
Split the author/committer in sub-fields, rename author -> committer
in the short format parser and cache the author for the long format
in case it's the same user as the committer. Put a copy of the
first line of the commit message in the "short_message" field.
There's some redundancy now, but it's to make consuming easier.
ok stsp@
- Commit:
909ef56bac18cdc0d889412542697be574acfe6b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
call unveil earlier in 'got tag'
We now know that unveil(2) will never traverse exec.
No need to wait with unveil until the editor has been run.
ok op@