stagit, branch HEADstatic git page generator
293e00857a1605229efa888988392d1c16f67e632024-04-12T11:01:43Z2024-04-12T11:01:43Zbump LICENSE yearHiltjo Posthumahiltjo@codemadness.orgcommit 293e00857a1605229efa888988392d1c16f67e63
parent 5e0b02d248653b1434c3317f1654cb5c6f011320
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 12 Apr 2024 13:01:43 +0200
bump LICENSE year
5e0b02d248653b1434c3317f1654cb5c6f0113202023-04-10T10:33:35Z2023-04-10T10:33:35Zin Atom (RFC4287) an atomTextConstruct specifies the type text as the defaultHiltjo Posthumahiltjo@codemadness.orgcommit 5e0b02d248653b1434c3317f1654cb5c6f011320
parent 37f2b1165a709e27d810624359b14acb487028fe
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Mon, 10 Apr 2023 12:33:35 +0200
in Atom (RFC4287) an atomTextConstruct specifies the type text as the default
This saves a few bytes.
37f2b1165a709e27d810624359b14acb487028fe2022-08-16T11:17:00Z2022-08-16T11:17:00Zprefix usage with the common prefix "usage: "Hiltjo Posthumahiltjo@codemadness.orgcommit 37f2b1165a709e27d810624359b14acb487028fe
parent 02c00248d8134c69758557a78e3c632ac77ae687
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 16 Aug 2022 13:17:00 +0200
prefix usage with the common prefix "usage: "
02c00248d8134c69758557a78e3c632ac77ae6872022-08-07T08:10:16Z2022-08-07T08:10:16Zbump version to 1.2Hiltjo Posthumahiltjo@codemadness.orgcommit 02c00248d8134c69758557a78e3c632ac77ae687
parent 174ea5d6fee240ec5df3afabfea1c5ce1319e3ea
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 7 Aug 2022 10:10:16 +0200
bump version to 1.2
174ea5d6fee240ec5df3afabfea1c5ce1319e3ea2022-07-26T21:50:40Z2022-07-26T21:50:40ZMakefile: add workaround for distros still using older libgit2 versionsHiltjo Posthumahiltjo@codemadness.orgcommit 174ea5d6fee240ec5df3afabfea1c5ce1319e3ea
parent 289045115432562f5fb4ddc721bd9008e8df4ad5
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 26 Jul 2022 23:50:40 +0200
Makefile: add workaround for distros still using older libgit2 versions
Noticed on Void Linux, Debian, etc.
289045115432562f5fb4ddc721bd9008e8df4ad52022-05-27T19:29:14Z2022-05-27T19:29:14ZRevert "remain compatible with slightly older libgit versions for now"Hiltjo Posthumahiltjo@codemadness.orgcommit 289045115432562f5fb4ddc721bd9008e8df4ad5
parent 70541c5e2cbdc141ba94e76899aba5f07047cecf
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 27 May 2022 21:29:14 +0200
Revert "remain compatible with slightly older libgit versions for now"
This reverts commit 70541c5e2cbdc141ba94e76899aba5f07047cecf.
Reported by Anton:
The last commit[1] is not correct as GIT_OPT_SET_OWNER_VALIDATION is not
a preprocessor directive but rather an enum. Causing the branch to never
be entered.
70541c5e2cbdc141ba94e76899aba5f07047cecf2022-05-24T12:07:27Z2022-05-24T12:07:27Zremain compatible with slightly older libgit versions for nowHiltjo Posthumahiltjo@codemadness.orgcommit 70541c5e2cbdc141ba94e76899aba5f07047cecf
parent 1357ad5181f80a99fe9c436af134e947ec7f4d29
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 24 May 2022 14:07:27 +0200
remain compatible with slightly older libgit versions for now
1357ad5181f80a99fe9c436af134e947ec7f4d292022-05-24T08:58:37Z2022-05-24T09:09:05ZAllow git to run on an other user repositoryAnton Lindqvistanton@basename.secommit 1357ad5181f80a99fe9c436af134e947ec7f4d29
parent a8a5e9c3b37e133d26fe3ea5cd361281d7a56c85
Author: Anton Lindqvist <anton@basename.se>
Date: Tue, 24 May 2022 10:58:37 +0200
Allow git to run on an other user repository
Reported by Anton:
"Recent versions of libgit2 broke stagit for me due to the added opt-out
GIT_OPT_SET_OWNER_VALIDATION configuration knob. My repositories are owned by
root:vcs and I run stagit as another user which happens to be in vcs group but
not the owner of the repository. Disabling the validation makes stagit work as
expected again."
Some notes:
When using regular git it also provides a knob. This is due to a security
concern in some cases, which is not applicable to stagit.
git log somerepo
fatal: unsafe repository ('somerepo' is owned by someone else)
To add an exception for this directory, call:
git config --global --add safe.directory somerepo
See also / related:
- https://github.blog/2022-04-12-git-security-vulnerability-announced/
a8a5e9c3b37e133d26fe3ea5cd361281d7a56c852022-04-02T15:35:47Z2022-04-02T15:35:47Zbump version to 1.1Hiltjo Posthumahiltjo@codemadness.orgcommit a8a5e9c3b37e133d26fe3ea5cd361281d7a56c85
parent d0e36eb6abce72c587dd53dcabc35120c3cf3a81
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 2 Apr 2022 17:35:47 +0200
bump version to 1.1
d0e36eb6abce72c587dd53dcabc35120c3cf3a812022-03-19T11:22:43Z2022-03-19T11:51:40Zimprove stream read and write error handlingHiltjo Posthumahiltjo@codemadness.orgcommit d0e36eb6abce72c587dd53dcabc35120c3cf3a81
parent 7c419a8bac26e491206953bf2646ac634296b160
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 19 Mar 2022 12:22:43 +0100
improve stream read and write error handling
7c419a8bac26e491206953bf2646ac634296b1602022-03-15T15:58:32Z2022-03-19T11:23:16Zadd dark mode support for the example stylesheetHiltjo Posthumahiltjo@codemadness.orgcommit 7c419a8bac26e491206953bf2646ac634296b160
parent 037d2c70531b879ced2f013e3d75e95c1b29553b
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 15 Mar 2022 16:58:32 +0100
add dark mode support for the example stylesheet
037d2c70531b879ced2f013e3d75e95c1b29553b2022-01-03T11:22:40Z2022-01-03T11:22:57Zbump LICENSE yearHiltjo Posthumahiltjo@codemadness.orgcommit 037d2c70531b879ced2f013e3d75e95c1b29553b
parent 4d19863b062ac469fe09dec014976ba3b8677fb0
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Mon, 3 Jan 2022 12:22:40 +0100
bump LICENSE year
4d19863b062ac469fe09dec014976ba3b8677fb02022-01-03T11:21:12Z2022-01-03T11:22:52Zlibgit2 config opts: set the search to an empty pathHiltjo Posthumahiltjo@codemadness.orgcommit 4d19863b062ac469fe09dec014976ba3b8677fb0
parent df2a31c67a7b6ca782121248f650526a4fbe08d2
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Mon, 3 Jan 2022 12:21:12 +0100
libgit2 config opts: set the search to an empty path
Otherwise this would search outside the unveiled paths and cause an unveil
violation.
Reported by Anton Lindqvist, thanks!
df2a31c67a7b6ca782121248f650526a4fbe08d22021-12-14T19:51:02Z2021-12-14T19:52:18Zdo not percent-encode: ',' or '-' or '.' it looks uglyHiltjo Posthumahiltjo@codemadness.orgcommit df2a31c67a7b6ca782121248f650526a4fbe08d2
parent cd5814fdedba47b03d42833019e6753b2a20b6ef
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 14 Dec 2021 20:51:02 +0100
do not percent-encode: ',' or '-' or '.' it looks ugly
cd5814fdedba47b03d42833019e6753b2a20b6ef2021-11-30T17:13:20Z2021-11-30T17:13:20Zbump version to 1.0Hiltjo Posthumahiltjo@codemadness.orgcommit cd5814fdedba47b03d42833019e6753b2a20b6ef
parent 67e5e6c5e74117b478c150480c282a03543fe887
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 30 Nov 2021 18:13:20 +0100
bump version to 1.0
67e5e6c5e74117b478c150480c282a03543fe8872021-11-16T17:17:45Z2021-11-16T17:18:32ZPrint the number of remaining commitsQuentin Rameauquinq@fifth.spacecommit 67e5e6c5e74117b478c150480c282a03543fe887
parent 5f78d89d591ad26b902947288625b90528954372
Author: Quentin Rameau <quinq@fifth.space>
Date: Tue, 16 Nov 2021 18:17:45 +0100
Print the number of remaining commits
5f78d89d591ad26b902947288625b905289543722021-11-16T13:24:30Z2021-11-16T13:24:30Zignore '\r' in writing the blob aswellHiltjo Posthumahiltjo@codemadness.orgcommit 5f78d89d591ad26b902947288625b90528954372
parent 6eeefd208743b0b2edbd7330dea36eea5b1099b7
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 16 Nov 2021 14:24:30 +0100
ignore '\r' in writing the blob aswell
Follow-up on commit 295e4b8cb95114bb74b582c7332bc4c171f36dd3 which changed it
for diffs.
6eeefd208743b0b2edbd7330dea36eea5b1099b72021-11-16T13:16:46Z2021-11-16T13:16:46Zpercent encode characters in path namesHiltjo Posthumahiltjo@codemadness.orgcommit 6eeefd208743b0b2edbd7330dea36eea5b1099b7
parent 961cf0f9d86e1e043d80398e4a71d218c28123a0
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 16 Nov 2021 14:16:46 +0100
percent encode characters in path names
Paths could contain characters like # (fragment), '?', control-characters, etc.
961cf0f9d86e1e043d80398e4a71d218c28123a02021-11-16T10:44:23Z2021-11-16T10:44:23Zencode the name, it could contain XML entitiesHiltjo Posthumahiltjo@codemadness.orgcommit 961cf0f9d86e1e043d80398e4a71d218c28123a0
parent 1b6a24c893866a604d9b7bc425f9b23706f39912
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 16 Nov 2021 11:44:23 +0100
encode the name, it could contain XML entities
Like ", which would unquote the attribute value. Crazy but true.
1b6a24c893866a604d9b7bc425f9b23706f399122021-08-03T17:22:50Z2021-08-03T17:22:50Zman pages: add EXAMPLES sectionHiltjo Posthumahiltjo@codemadness.orgcommit 1b6a24c893866a604d9b7bc425f9b23706f39912
parent 61be8f532818ac1c8d16e418d6e3124d10f82bd6
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 3 Aug 2021 19:22:50 +0200
man pages: add EXAMPLES section
61be8f532818ac1c8d16e418d6e3124d10f82bd62021-07-30T23:09:45Z2021-07-30T23:09:45Zsmall typo fixes and url -> URLHiltjo Posthumahiltjo@codemadness.orgcommit 61be8f532818ac1c8d16e418d6e3124d10f82bd6
parent 57f84d0fd12d6466122dc8a2190e7e284f5668d7
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 31 Jul 2021 01:09:45 +0200
small typo fixes and url -> URL
57f84d0fd12d6466122dc8a2190e7e284f5668d72021-05-27T10:41:43Z2021-05-27T10:41:43Zbump version to 0.9.6Hiltjo Posthumahiltjo@codemadness.orgcommit 57f84d0fd12d6466122dc8a2190e7e284f5668d7
parent 45394004a3455f76a2eef42d6f36c250f5e9a9ac
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Thu, 27 May 2021 12:41:43 +0200
bump version to 0.9.6
45394004a3455f76a2eef42d6f36c250f5e9a9ac2021-05-18T09:42:41Z2021-05-18T09:42:41Zman page: codemadness is the primary server. make logo brandless (not 2f30)Hiltjo Posthumahiltjo@codemadness.orgcommit 45394004a3455f76a2eef42d6f36c250f5e9a9ac
parent ddc581bd9088d0b3503606993eb8ed9dbeb44347
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 18 May 2021 11:42:41 +0200
man page: codemadness is the primary server. make logo brandless (not 2f30)
ddc581bd9088d0b3503606993eb8ed9dbeb443472021-05-18T08:38:54Z2021-05-18T08:42:21ZREADME: improve a bit the usage examplesQuentin Rameauquinq@fifth.spacecommit ddc581bd9088d0b3503606993eb8ed9dbeb44347
parent c827ab1b1dee13e512f8ae24aa824879d547d0db
Author: Quentin Rameau <quinq@fifth.space>
Date: Tue, 18 May 2021 10:38:54 +0200
README: improve a bit the usage examples
c827ab1b1dee13e512f8ae24aa824879d547d0db2021-05-05T17:15:58Z2021-05-05T17:15:58Zdo not simplify the history by first-parentHiltjo Posthumahiltjo@codemadness.orgcommit c827ab1b1dee13e512f8ae24aa824879d547d0db
parent 727e02be6c6aaafd929341963465bf6e1ff2947d
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Wed, 5 May 2021 19:15:58 +0200
do not simplify the history by first-parent
Reference:
https://libgit2.org/libgit2/#HEAD/group/revwalk/git_revwalk_simplify_first_parent
Noticed on merge commits on:
https://git.simple-cc.org/scc/
Reported by quinq, thanks!
727e02be6c6aaafd929341963465bf6e1ff2947d2021-03-25T17:17:34Z2021-03-25T17:17:34Ztiny comment changeHiltjo Posthumahiltjo@codemadness.orgcommit 727e02be6c6aaafd929341963465bf6e1ff2947d
parent 295e4b8cb95114bb74b582c7332bc4c171f36dd3
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Thu, 25 Mar 2021 18:17:34 +0100
tiny comment change
295e4b8cb95114bb74b582c7332bc4c171f36dd32021-03-25T17:13:13Z2021-03-25T17:13:13Zadd function to print a single line, ignoring \r and \nHiltjo Posthumahiltjo@codemadness.orgcommit 295e4b8cb95114bb74b582c7332bc4c171f36dd3
parent 995f7d5c5d8e396b06e70b1497ac96df63ffec36
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Thu, 25 Mar 2021 18:13:13 +0100
add function to print a single line, ignoring \r and \n
This can happen when there is no newline at end of file in the diff which is
served by libgit2 as:
"\n\ No newline at end of file\n".
995f7d5c5d8e396b06e70b1497ac96df63ffec362021-03-19T10:29:53Z2021-03-19T10:29:53Zadd meta viewport on stagit-index tooHiltjo Posthumahiltjo@codemadness.orgcommit 995f7d5c5d8e396b06e70b1497ac96df63ffec36
parent f46405850133e43dcae95e0a41b74bcca7b10027
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 19 Mar 2021 11:29:53 +0100
add meta viewport on stagit-index too
Patch by Oscar Benedito, thanks!
f46405850133e43dcae95e0a41b74bcca7b100272021-03-14T15:23:58Z2021-03-14T15:23:58Zbump version to 0.9.5Hiltjo Posthumahiltjo@codemadness.orgcommit f46405850133e43dcae95e0a41b74bcca7b10027
parent c4d5fecc40e51ab4667315bd11dabd2023e357f3
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 14 Mar 2021 16:23:58 +0100
bump version to 0.9.5
c4d5fecc40e51ab4667315bd11dabd2023e357f32021-03-05T11:47:08Z2021-03-05T11:47:08ZLICENSE: updateHiltjo Posthumahiltjo@codemadness.orgcommit c4d5fecc40e51ab4667315bd11dabd2023e357f3
parent 5ced189f1993fc17ae683f0a542218db7be7267b
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 5 Mar 2021 12:47:08 +0100
LICENSE: update
5ced189f1993fc17ae683f0a542218db7be7267b2021-03-05T11:44:48Z2021-03-05T11:44:48Zchange STAGIT_BASEURL to an -u option and also update the example scriptHiltjo Posthumahiltjo@codemadness.orgcommit 5ced189f1993fc17ae683f0a542218db7be7267b
parent 7968c0bc9c0172bd654e1f87d8194aef7fb69865
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 5 Mar 2021 12:44:48 +0100
change STAGIT_BASEURL to an -u option and also update the example script
7968c0bc9c0172bd654e1f87d8194aef7fb698652021-03-05T10:51:21Z2021-03-05T10:51:21Zadd $STAGIT_BASEURL environment variable to make Atom links absoluteHiltjo Posthumahiltjo@codemadness.orgcommit 7968c0bc9c0172bd654e1f87d8194aef7fb69865
parent d1c528fb5ad81c876f07a69e1b759764f69cb9de
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 5 Mar 2021 11:51:21 +0100
add $STAGIT_BASEURL environment variable to make Atom links absolute
With feedback from adc, thanks!
d1c528fb5ad81c876f07a69e1b759764f69cb9de2021-03-05T10:50:16Z2021-03-05T10:50:16ZREADME: mention tags.xml featureHiltjo Posthumahiltjo@codemadness.orgcommit d1c528fb5ad81c876f07a69e1b759764f69cb9de
parent 722f8364601d2b6ee2439b42cd75750f6aac90ed
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 5 Mar 2021 11:50:16 +0100
README: mention tags.xml feature
722f8364601d2b6ee2439b42cd75750f6aac90ed2021-01-09T13:59:53Z2021-01-09T13:59:53Zmicro-optimization: fputc (function) -> putc (macro/inline function)Hiltjo Posthumahiltjo@codemadness.orgcommit 722f8364601d2b6ee2439b42cd75750f6aac90ed
parent 5044ddeea3c77fea97daa62d51593d73b0e08413
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 9 Jan 2021 14:59:53 +0100
micro-optimization: fputc (function) -> putc (macro/inline function)
5044ddeea3c77fea97daa62d51593d73b0e084132021-01-08T13:32:33Z2021-01-08T13:32:33ZLICENSE: bump yearHiltjo Posthumahiltjo@codemadness.orgcommit 5044ddeea3c77fea97daa62d51593d73b0e08413
parent e1c0aebde443979a524a944027b81f84f4323ff3
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 8 Jan 2021 14:32:33 +0100
LICENSE: bump year
e1c0aebde443979a524a944027b81f84f4323ff32020-11-28T11:28:05Z2020-11-28T11:28:05Zfix warning with libgit2 v0.99+, remain compatible with older versionsHiltjo Posthumahiltjo@codemadness.orgcommit e1c0aebde443979a524a944027b81f84f4323ff3
parent 66df204c440de3b0cf3442d3a0c719016cdcf9c6
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 28 Nov 2020 12:28:05 +0100
fix warning with libgit2 v0.99+, remain compatible with older versions
git_blob_rawsize now returns with git_object_size_t (unsigned). This was
git_off_t (signed).
In my current version 1.1.0:
types.h:typedef uint64_t git_object_size_t;
v0.28.5:
https://libgit2.org/libgit2/#v0.28.5/group/blob/git_blob_rawsize
changed from v0.99 onwards:
https://libgit2.org/libgit2/#v0.99.0/group/blob/git_blob_rawsize
Fix: use size_t to remain compatible (with a possible warning in older
versions), since git_object_size_t is a new defined type.
This assumes size_t is atleast uint32_t / uint64_t size.
Adapted from a patch by Augustin Fabre <augustin@augfab.fr>, thanks!
66df204c440de3b0cf3442d3a0c719016cdcf9c62020-11-16T22:24:32Z2020-11-23T16:15:30Zadd abbreviated commit hash to submodule fileOscar Beneditooscar@oscarbenedito.comcommit 66df204c440de3b0cf3442d3a0c719016cdcf9c6
parent a63645a5ea4e60523c0024f69c627f586b601d82
Author: Oscar Benedito <oscar@oscarbenedito.com>
Date: Mon, 16 Nov 2020 23:24:32 +0100
add abbreviated commit hash to submodule file
a63645a5ea4e60523c0024f69c627f586b601d822020-11-15T20:11:46Z2020-11-15T20:16:24Zadd meta viewport for scaling on mobileHiltjo Posthumahiltjo@codemadness.orgcommit a63645a5ea4e60523c0024f69c627f586b601d82
parent ae41add24a87027343e3a6f7eea19f3902af4a12
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 15 Nov 2020 21:11:46 +0100
add meta viewport for scaling on mobile
Patch by Augustin Fabre <augustin@augfab.fr>
ae41add24a87027343e3a6f7eea19f3902af4a122020-11-15T20:11:10Z2020-11-15T20:16:06Zstyle.css: improve contrastHiltjo Posthumahiltjo@codemadness.orgcommit ae41add24a87027343e3a6f7eea19f3902af4a12
parent fc5ef41165df39d6def252e5230a63cc6839bfc1
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 15 Nov 2020 21:11:10 +0100
style.css: improve contrast
https://webaim.org/resources/contrastchecker/?fcolor=555555&bcolor=FFFFFF
Patch by Augustin Fabre <augustin@augfab.fr> and adapted.
fc5ef41165df39d6def252e5230a63cc6839bfc12020-11-15T19:59:34Z2020-11-15T20:01:50Zuse size_t to count linesHiltjo Posthumahiltjo@codemadness.orgcommit fc5ef41165df39d6def252e5230a63cc6839bfc1
parent 4f60446c011b45e862540c97b684c62fd8dc3c60
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 15 Nov 2020 20:59:34 +0100
use size_t to count lines
4f60446c011b45e862540c97b684c62fd8dc3c602020-11-15T19:58:58Z2020-11-15T19:58:58Zavoid shadowed `name' global variableHiltjo Posthumahiltjo@codemadness.orgcommit 4f60446c011b45e862540c97b684c62fd8dc3c60
parent 9467f347a2224ac95b96ef5c74d50a4e2aad5241
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 15 Nov 2020 20:58:58 +0100
avoid shadowed `name' global variable
by Augustin Fabre <augustin@augfab.fr>
9467f347a2224ac95b96ef5c74d50a4e2aad52412020-11-15T19:58:41Z2020-11-15T19:58:41Zrefs_cmp: remove unneeded castHiltjo Posthumahiltjo@codemadness.orgcommit 9467f347a2224ac95b96ef5c74d50a4e2aad5241
parent 3e7865f8f9ef87f622a7a94e7ae70355753ee66a
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 15 Nov 2020 20:58:41 +0100
refs_cmp: remove unneeded cast
3e7865f8f9ef87f622a7a94e7ae70355753ee66a2020-11-15T19:58:02Z2020-11-15T19:58:02Zuse LEN() macros for arraysHiltjo Posthumahiltjo@codemadness.orgcommit 3e7865f8f9ef87f622a7a94e7ae70355753ee66a
parent 75555cd99ee4d5df765f7dd6f0d09f2f925be725
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 15 Nov 2020 20:58:02 +0100
use LEN() macros for arrays
from Augustin Fabre <augustin@augfab.fr>
75555cd99ee4d5df765f7dd6f0d09f2f925be7252020-08-17T14:09:33Z2020-08-17T14:09:33Zbump version to 0.9.4Hiltjo Posthumahiltjo@codemadness.orgcommit 75555cd99ee4d5df765f7dd6f0d09f2f925be725
parent 5334f3e0009bb7d5835c3bad60db507bfd146930
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Mon, 17 Aug 2020 16:09:33 +0200
bump version to 0.9.4
5334f3e0009bb7d5835c3bad60db507bfd1469302020-08-10T14:09:46Z2020-08-10T14:09:46Zfix a small memleak in writeatom()Hiltjo Posthumahiltjo@codemadness.orgcommit 5334f3e0009bb7d5835c3bad60db507bfd146930
parent dc0709f6f4f7e256e27272cb0b8611715caf1f3b
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Mon, 10 Aug 2020 16:09:46 +0200
fix a small memleak in writeatom()
non-tag references were not freed.
dc0709f6f4f7e256e27272cb0b8611715caf1f3b2020-08-08T18:01:05Z2020-08-08T18:01:05Zstagit-index: remove unveil support for argvHiltjo Posthumahiltjo@codemadness.orgcommit dc0709f6f4f7e256e27272cb0b8611715caf1f3b
parent 174a763058f9a90831ab5a2aeb1c9bfbecdabf48
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 8 Aug 2020 20:01:05 +0200
stagit-index: remove unveil support for argv
This can reach the unveil argument limits and it is not a good case for using
unveil.
174a763058f9a90831ab5a2aeb1c9bfbecdabf482020-08-05T22:11:18Z2020-08-06T16:25:27Zfix submodule lookup in bare reposkstnil@krj.stcommit 174a763058f9a90831ab5a2aeb1c9bfbecdabf48
parent f05e6b0fcb3b874180970d06ebcde05fb5aea470
Author: kst <nil@krj.st>
Date: Wed, 5 Aug 2020 22:11:18 +0000
fix submodule lookup in bare repos
git_submodule_lookup does not work without a working tree [1], so the
current approach fails to recognize any submodules in bare repos.
Instead, notice that
$ git ls-tree HEAD
lists any submodules as commit objects regardless of a working tree.
This is the only instance commit object is used in a tree, so we will
use this to check for submodules.
[1]: https://github.com/libgit2/libgit2/pull/4305/files
f05e6b0fcb3b874180970d06ebcde05fb5aea4702020-07-20T12:15:12Z2020-07-20T12:15:12Zregression: do not show unset or empty tagsHiltjo Posthumahiltjo@codemadness.orgcommit f05e6b0fcb3b874180970d06ebcde05fb5aea470
parent d80a163acd47df2bd9ab145be6b249814aa9eceb
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Mon, 20 Jul 2020 14:15:12 +0200
regression: do not show unset or empty tags
d80a163acd47df2bd9ab145be6b249814aa9eceb2020-07-19T14:41:10Z2020-07-19T14:41:10Zrefactor get reference, add another feed for tags/releasesHiltjo Posthumahiltjo@codemadness.orgcommit d80a163acd47df2bd9ab145be6b249814aa9eceb
parent 693c06448972f049d74addbd4942365cd37d92e4
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 19 Jul 2020 16:41:10 +0200
refactor get reference, add another feed for tags/releases
A separate Atom feed is helpful to ports maintainers to monitor new
tags/releases.
693c06448972f049d74addbd4942365cd37d92e42020-07-19T12:07:54Z2020-07-19T12:07:54Zsort branches and tags by time (descending)Hiltjo Posthumahiltjo@codemadness.orgcommit 693c06448972f049d74addbd4942365cd37d92e4
parent 467dfeb8f4bf2dd1ddb69e5c9592147acb425aab
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 19 Jul 2020 14:07:54 +0200
sort branches and tags by time (descending)
In general version tags are done in chronological order, so this will have a
better sorting for tagged (versioned) releases.
Request from Caltlgin Stsodaat and others, thanks!
467dfeb8f4bf2dd1ddb69e5c9592147acb425aab2020-02-23T19:30:46Z2020-02-23T19:30:46Zbump version to 0.9.3Hiltjo Posthumahiltjo@codemadness.orgcommit 467dfeb8f4bf2dd1ddb69e5c9592147acb425aab
parent bbeffc281df6838182ea17be4b915a6f0eb97570
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 23 Feb 2020 20:30:46 +0100
bump version to 0.9.3
bbeffc281df6838182ea17be4b915a6f0eb975702020-02-21T12:46:23Z2020-02-21T12:46:23Zatom.xml: improve output format a bitHiltjo Posthumahiltjo@codemadness.orgcommit bbeffc281df6838182ea17be4b915a6f0eb97570
parent 2f7e7f2503014f66607b588f32de0b1be69c28a1
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 21 Feb 2020 13:46:23 +0100
atom.xml: improve output format a bit
2f7e7f2503014f66607b588f32de0b1be69c28a12020-02-12T22:20:25Z2020-02-12T22:20:25Zimprove includes, stagit-index does not need compat.hHiltjo Posthumahiltjo@codemadness.orgcommit 2f7e7f2503014f66607b588f32de0b1be69c28a1
parent 4a93974f52683114dd6c4db3bad0b7adace7c771
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Wed, 12 Feb 2020 23:20:25 +0100
improve includes, stagit-index does not need compat.h
4a93974f52683114dd6c4db3bad0b7adace7c7712019-12-29T18:02:04Z2019-12-29T18:02:04Zstyle.css: highlight anchor ids, useful for linking highlighting lines in a diffHiltjo Posthumahiltjo@codemadness.orgcommit 4a93974f52683114dd6c4db3bad0b7adace7c771
parent 31c0f006516d494dd91b10bc0486e4f9be2ca623
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 29 Dec 2019 19:02:04 +0100
style.css: highlight anchor ids, useful for linking highlighting lines in a diff
31c0f006516d494dd91b10bc0486e4f9be2ca6232019-12-22T11:53:54Z2019-12-22T11:53:54Zsmall code-style white-space/newlineHiltjo Posthumahiltjo@codemadness.orgcommit 31c0f006516d494dd91b10bc0486e4f9be2ca623
parent edee68f398f5b190f4be0127338956c0a2500662
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 22 Dec 2019 12:53:54 +0100
small code-style white-space/newline
edee68f398f5b190f4be0127338956c0a25006622019-12-01T17:31:07Z2019-12-01T17:31:07Zadd OpenBSD unveil supportHiltjo Posthumahiltjo@codemadness.orgcommit edee68f398f5b190f4be0127338956c0a2500662
parent b5607f75afb9c6e6e6ab49128f9760d3538809cd
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 1 Dec 2019 18:31:07 +0100
add OpenBSD unveil support
The unveil() system call first appeared in OpenBSD 6.4.
For stagit it has the following properties now:
- stagit-index: only read-access to the file-system for the specified
directories/repositories.
- stagit: read-access to the specified directory/repository.
read-write and creation access to the current directory for the output files.
read-write and creation access to the specified cache file.
b5607f75afb9c6e6e6ab49128f9760d3538809cd2019-12-01T17:26:27Z2019-12-01T17:26:27Zsome README tweaks and rewording, reorderingHiltjo Posthumahiltjo@codemadness.orgcommit b5607f75afb9c6e6e6ab49128f9760d3538809cd
parent adaff713dc3e9ff494632a44d5743cbc0e0e16c7
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 1 Dec 2019 18:26:27 +0100
some README tweaks and rewording, reordering
adaff713dc3e9ff494632a44d5743cbc0e0e16c72019-12-01T17:26:04Z2019-12-01T17:26:04ZMakefile improvementsHiltjo Posthumahiltjo@codemadness.orgcommit adaff713dc3e9ff494632a44d5743cbc0e0e16c7
parent d6937c195f3459194d5ab056397981e1ade54871
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 1 Dec 2019 18:26:04 +0100
Makefile improvements
- remove double -c in .c.o target.
- remove config.mk abstraction.
- change LIBS and INCS to LIBGIT_INC and LIBGIT_LIB.
- use system cflags and ldflags, but allow the same override rules for porters.
d6937c195f3459194d5ab056397981e1ade548712019-05-05T17:11:36Z2019-05-05T17:28:19ZREADME: works also on NetBSDLeonardo Taccariiamleot@gmail.comcommit d6937c195f3459194d5ab056397981e1ade54871
parent c783e54dae5bd74de2280e31223ce8a0ad0d611d
Author: Leonardo Taccari <iamleot@gmail.com>
Date: Sun, 5 May 2019 19:11:36 +0200
README: works also on NetBSD
c783e54dae5bd74de2280e31223ce8a0ad0d611d2019-04-23T18:53:05Z2019-04-23T18:53:05Zbump version to 0.9.2Hiltjo Posthumahiltjo@codemadness.orgcommit c783e54dae5bd74de2280e31223ce8a0ad0d611d
parent 028c7526bac907c91ef8afc6c3ae0f6d424bd229
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 23 Apr 2019 20:53:05 +0200
bump version to 0.9.2
028c7526bac907c91ef8afc6c3ae0f6d424bd2292019-03-16T12:07:58Z2019-03-16T12:07:58Zescape HTML in pathsHiltjo Posthumahiltjo@codemadness.orgcommit 028c7526bac907c91ef8afc6c3ae0f6d424bd229
parent bb1d06eb204b1d1135fcddccd14f6306abcd7f72
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 16 Mar 2019 13:07:58 +0100
escape HTML in paths
- escape paths in diff line.
- escape path in anchor href attribute in files.html
bb1d06eb204b1d1135fcddccd14f6306abcd7f722019-03-09T11:39:10Z2019-03-09T11:39:10Zpedantic snprintf() improvementHiltjo Posthumahiltjo@codemadness.orgcommit bb1d06eb204b1d1135fcddccd14f6306abcd7f72
parent 587b01428d6ec2be1ab6b468198663118d483990
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 9 Mar 2019 12:39:10 +0100
pedantic snprintf() improvement
POSIX says:
"If an output error was encountered, these functions shall return a negative
value and set errno to indicate the error."
587b01428d6ec2be1ab6b468198663118d4839902019-03-01T10:49:29Z2019-03-01T10:49:29Zfix issues in example scriptsHiltjo Posthumahiltjo@codemadness.orgcommit 587b01428d6ec2be1ab6b468198663118d483990
parent 477d50169a42431d7fb0f939eb851ef6a2d80c3a
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 1 Mar 2019 11:49:29 +0100
fix issues in example scripts
- in case cd fails don't continue (don't write in previous directory).
- post-receive: quote $(pwd) in case it has spaces.
found by shellcheck tool.
477d50169a42431d7fb0f939eb851ef6a2d80c3a2019-02-22T10:13:44Z2019-02-22T10:13:44Zbump version to 0.9.1Hiltjo Posthumahiltjo@codemadness.orgcommit 477d50169a42431d7fb0f939eb851ef6a2d80c3a
parent 9224d31cf6fd63b6b0a29d43185ccc64035449ec
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 22 Feb 2019 11:13:44 +0100
bump version to 0.9.1
9224d31cf6fd63b6b0a29d43185ccc64035449ec2019-02-09T14:02:38Z2019-02-16T20:17:45ZMakefile: add DOCPREFIX for installing docs in portsHiltjo Posthumahiltjo@codemadness.orgcommit 9224d31cf6fd63b6b0a29d43185ccc64035449ec
parent 3fbef5c9b0dee2106537a6718e2380eaa6e27f15
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 9 Feb 2019 15:02:38 +0100
Makefile: add DOCPREFIX for installing docs in ports
change installed doc from /usr/local/share/stagit to /usr/local/share/doc/stagit
3fbef5c9b0dee2106537a6718e2380eaa6e27f152019-02-07T20:00:06Z2019-02-16T20:17:45Zchange order of commits in log from most recent to old to applied orderHiltjo Posthumahiltjo@codemadness.orgcommit 3fbef5c9b0dee2106537a6718e2380eaa6e27f15
parent 583c44395ccc0e052c8db5217bd51fc21f7ffbb7
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Thu, 7 Feb 2019 21:00:06 +0100
change order of commits in log from most recent to old to applied order
583c44395ccc0e052c8db5217bd51fc21f7ffbb72019-02-03T14:24:34Z2019-02-16T20:17:38Zfix compile: libgit2 0.28 changed giterr_last to git_error_lastHiltjo Posthumahiltjo@codemadness.orgcommit 583c44395ccc0e052c8db5217bd51fc21f7ffbb7
parent 9ad1cb6e42096a8e1f8663bc0968bb7ea49a5052
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 3 Feb 2019 15:24:34 +0100
fix compile: libgit2 0.28 changed giterr_last to git_error_last
libgit2 commit:
https://github.com/libgit2/libgit2/commit/a27a4de6f8003961d38958893c6c637395c7cc04
9ad1cb6e42096a8e1f8663bc0968bb7ea49a50522018-12-25T12:44:02Z2018-12-25T12:44:02Zbump version to 0.9Hiltjo Posthumahiltjo@codemadness.orgcommit 9ad1cb6e42096a8e1f8663bc0968bb7ea49a5052
parent 1df3f334f6ae77950c9343299fb4bbd449d93729
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 25 Dec 2018 13:44:02 +0100
bump version to 0.9
1df3f334f6ae77950c9343299fb4bbd449d937292018-12-25T12:39:34Z2018-12-25T12:39:34Zstyle: keep default browser style for links, except patch chunksHiltjo Posthumahiltjo@codemadness.orgcommit 1df3f334f6ae77950c9343299fb4bbd449d93729
parent 3a151527e1d72aa75d9461ee9918bda3bd08bcb1
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 25 Dec 2018 13:39:34 +0100
style: keep default browser style for links, except patch chunks
This is almost always an underline. This improves accessibility.
Remove underline for patch chunks for readability.
3a151527e1d72aa75d9461ee9918bda3bd08bcb12018-11-18T17:08:20Z2018-11-18T17:08:20Zin the diffstat prefix the type of change, allow CSS stylingHiltjo Posthumahiltjo@codemadness.orgcommit 3a151527e1d72aa75d9461ee9918bda3bd08bcb1
parent 608593b0f875012875f13d28fbccd533d1266fd2
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 18 Nov 2018 18:08:20 +0100
in the diffstat prefix the type of change, allow CSS styling
608593b0f875012875f13d28fbccd533d1266fd22018-11-18T17:07:22Z2018-11-18T17:07:22Zdon't use a heuristic for renames, the content must match exactlyHiltjo Posthumahiltjo@codemadness.orgcommit 608593b0f875012875f13d28fbccd533d1266fd2
parent c100c3cc30dd948c881abd96720ca4fb2ddbb82f
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 18 Nov 2018 18:07:22 +0100
don't use a heuristic for renames, the content must match exactly
this prevents showing files as renames when most (but not all) of the file was
changed.
c100c3cc30dd948c881abd96720ca4fb2ddbb82f2018-11-18T17:06:41Z2018-11-18T17:06:41Zdetect filetype changes in diff (for example a normal file to symlink)Hiltjo Posthumahiltjo@codemadness.orgcommit c100c3cc30dd948c881abd96720ca4fb2ddbb82f
parent 84bb2212e86c54f67dc18cf803bd2ac6edf24804
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 18 Nov 2018 18:06:41 +0100
detect filetype changes in diff (for example a normal file to symlink)
84bb2212e86c54f67dc18cf803bd2ac6edf248042018-11-11T17:23:28Z2018-11-11T18:12:55Zdetect more names for README and LICENSEHiltjo Posthumahiltjo@codemadness.orgcommit 84bb2212e86c54f67dc18cf803bd2ac6edf24804
parent 8c45dfc58edc069a3787224f522c7f62da501a80
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 11 Nov 2018 18:23:28 +0100
detect more names for README and LICENSE
- for license: LICENSE, LICENSE.md, COPYING.
- for readme: README, README.md.
8c45dfc58edc069a3787224f522c7f62da501a802018-11-11T17:09:27Z2018-11-11T17:54:40Zdetect copies and renames based on the threshold of changesHiltjo Posthumahiltjo@codemadness.orgcommit 8c45dfc58edc069a3787224f522c7f62da501a80
parent 175094899d7c453786857d0e5a7d2e634611aea4
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 11 Nov 2018 18:09:27 +0100
detect copies and renames based on the threshold of changes
175094899d7c453786857d0e5a7d2e634611aea42018-08-19T20:03:45Z2018-08-22T16:30:00Zsimplify range checkHiltjo Posthumahiltjo@codemadness.orgcommit 175094899d7c453786857d0e5a7d2e634611aea4
parent 1f76a28422e1081400b1c0a3319553c73620b065
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 19 Aug 2018 22:03:45 +0200
simplify range check
1f76a28422e1081400b1c0a3319553c73620b0652018-08-19T12:06:19Z2018-08-22T16:30:00Zstagit: log: indicate when using the -l option and there are more commitsHiltjo Posthumahiltjo@codemadness.orgcommit 1f76a28422e1081400b1c0a3319553c73620b065
parent 187daac42007c87e6af9317a20446e3b81907f63
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 19 Aug 2018 14:06:19 +0200
stagit: log: indicate when using the -l option and there are more commits
187daac42007c87e6af9317a20446e3b81907f632018-05-25T16:43:36Z2018-05-25T16:43:36Zassume OpenBSD 5.9+, always try pledge(2) on OpenBSDHiltjo Posthumahiltjo@codemadness.orgcommit 187daac42007c87e6af9317a20446e3b81907f63
parent c7f158c58c338961b1a1a91f41a5dade42853dec
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 25 May 2018 18:43:36 +0200
assume OpenBSD 5.9+, always try pledge(2) on OpenBSD
c7f158c58c338961b1a1a91f41a5dade42853dec2018-05-09T16:51:08Z2018-05-09T16:57:31ZClarify usage regarding -c and -l mutual exclusionQuentin Rameauquinq@fifth.spacecommit c7f158c58c338961b1a1a91f41a5dade42853dec
parent 66e341067762857e5b3e6b4279395a2dcae46f04
Author: Quentin Rameau <quinq@fifth.space>
Date: Wed, 9 May 2018 18:51:08 +0200
Clarify usage regarding -c and -l mutual exclusion
66e341067762857e5b3e6b4279395a2dcae46f042018-04-07T12:14:35Z2018-04-07T12:14:35Zbump version to 0.8Hiltjo Posthumahiltjo@codemadness.orgcommit 66e341067762857e5b3e6b4279395a2dcae46f04
parent 6a1224afae24c2ae875978108137962e64dc2d24
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 7 Apr 2018 14:14:35 +0200
bump version to 0.8
6a1224afae24c2ae875978108137962e64dc2d242018-04-06T17:28:05Z2018-04-06T17:28:05Zstagit-index: pledge after git_libgit2_initHiltjo Posthumahiltjo@codemadness.orgcommit 6a1224afae24c2ae875978108137962e64dc2d24
parent 3c07e52f98b0f49250c3de026b31202b426eb45a
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 6 Apr 2018 19:28:05 +0200
stagit-index: pledge after git_libgit2_init
3c07e52f98b0f49250c3de026b31202b426eb45a2018-03-26T18:08:19Z2018-03-26T18:08:19Zpledge after git_libgit2_initHiltjo Posthumahiltjo@codemadness.orgcommit 3c07e52f98b0f49250c3de026b31202b426eb45a
parent f53f481b3f02431b151ae9953998d7c7b3138585
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Mon, 26 Mar 2018 20:08:19 +0200
pledge after git_libgit2_init
this is because libgit uses curl which uses some initialization
checks, namely an IPv6 check which creates a socket.
f53f481b3f02431b151ae9953998d7c7b31385852018-03-18T14:34:37Z2018-03-18T14:34:37Zoptimization: only diff the tree when it is needed for the diffstat...Hiltjo Posthumahiltjo@codemadness.orgcommit f53f481b3f02431b151ae9953998d7c7b3138585
parent 20c37e4fe4bfef13642542f3fa15aa73c92a037c
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 18 Mar 2018 15:34:37 +0100
optimization: only diff the tree when it is needed for the diffstat...
... also clear all fields in the structure on failure.
This is not as big an optimization as stagit-gopher, because the diffstat is
displayed in the log, but the difference is still measurable.
20c37e4fe4bfef13642542f3fa15aa73c92a037c2018-01-28T15:27:10Z2018-01-28T15:27:10ZREADME: improve tarball generation by tag exampleHiltjo Posthumahiltjo@codemadness.orgcommit 20c37e4fe4bfef13642542f3fa15aa73c92a037c
parent 31392c13cf805602c6e4a46695a27325d908f3fb
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 28 Jan 2018 16:27:10 +0100
README: improve tarball generation by tag example
- set the project name + '-' + tag name as prefix.
- allow '/' in the tag name.
- allow '-' as suffix in the tag.
31392c13cf805602c6e4a46695a27325d908f3fb2018-01-21T15:47:10Z2018-01-21T15:47:10Zstagit: add -l option: limit the amount of commits for the log.html fileHiltjo Posthumahiltjo@codemadness.orgcommit 31392c13cf805602c6e4a46695a27325d908f3fb
parent 2f2ecde5c38db848cf6286aca9fc0f73137244e6
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 21 Jan 2018 16:47:10 +0100
stagit: add -l option: limit the amount of commits for the log.html file
2f2ecde5c38db848cf6286aca9fc0f73137244e62018-01-21T14:23:21Z2018-01-21T14:23:21Zbump LICENSE to 2018Hiltjo Posthumahiltjo@codemadness.orgcommit 2f2ecde5c38db848cf6286aca9fc0f73137244e6
parent 67a862df28c21d893def371780bcee59f13e26f8
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 21 Jan 2018 15:23:21 +0100
bump LICENSE to 2018
67a862df28c21d893def371780bcee59f13e26f82018-01-20T12:18:27Z2018-01-20T12:18:27Zstyle.css: improve compatibility with older browsers, namely dilloHiltjo Posthumahiltjo@codemadness.orgcommit 67a862df28c21d893def371780bcee59f13e26f8
parent fd3a542c94ae54c6730084f2095f3c329a70c51f
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 20 Jan 2018 13:18:27 +0100
style.css: improve compatibility with older browsers, namely dillo
fd3a542c94ae54c6730084f2095f3c329a70c51f2017-12-02T18:04:22Z2017-12-07T18:07:48ZRemove a non-portable syntax in MakefileQuentin Rameauquinq@fifth.spacecommit fd3a542c94ae54c6730084f2095f3c329a70c51f
parent fb0ec82a615db929d100f6bed2f7299f91afbb5d
Author: Quentin Rameau <quinq@fifth.space>
Date: Sat, 2 Dec 2017 19:04:22 +0100
Remove a non-portable syntax in Makefile
fb0ec82a615db929d100f6bed2f7299f91afbb5d2017-11-25T15:06:26Z2017-11-25T15:06:26ZMakefile: bump version to 0.7.2Hiltjo Posthumahiltjo@codemadness.orgcommit fb0ec82a615db929d100f6bed2f7299f91afbb5d
parent 020673b8fddfc649e391831aee2e5562ac25210c
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 25 Nov 2017 16:06:26 +0100
Makefile: bump version to 0.7.2
020673b8fddfc649e391831aee2e5562ac25210c2017-11-25T15:02:24Z2017-11-25T15:02:24Zpost-receive: fix warning in script for example when pushing deleted tagsHiltjo Posthumahiltjo@codemadness.orgcommit 020673b8fddfc649e391831aee2e5562ac25210c
parent 1add4bf3ae0105ce19d9189a499bf450e32ec171
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 25 Nov 2017 16:02:24 +0100
post-receive: fix warning in script for example when pushing deleted tags
the "new" variable would be zero:
remote: fatal: bad object 0000000000000000000000000000000000000000
NOTE: when pushing new tags the "old" variable would be zero, this was
already fixed.
1add4bf3ae0105ce19d9189a499bf450e32ec1712017-11-25T11:09:56Z2017-11-25T11:23:24ZSort style.css in alphabetical orderAaron Marcherme@drkhsh.atcommit 1add4bf3ae0105ce19d9189a499bf450e32ec171
parent 04d36c3a724bd3d0a53e9e8527f7e045f43b4d58
Author: Aaron Marcher <me@drkhsh.at>
Date: Sat, 25 Nov 2017 12:09:56 +0100
Sort style.css in alphabetical order
04d36c3a724bd3d0a53e9e8527f7e045f43b4d582017-11-19T13:58:15Z2017-11-19T13:58:15ZMakefile: bump version to 0.7.1Hiltjo Posthumahiltjo@codemadness.orgcommit 04d36c3a724bd3d0a53e9e8527f7e045f43b4d58
parent 2ff0c0d6c02dc0d7b5570d12895f12e0ccafd657
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 19 Nov 2017 14:58:15 +0100
Makefile: bump version to 0.7.1
2ff0c0d6c02dc0d7b5570d12895f12e0ccafd6572017-11-19T13:52:04Z2017-11-19T13:52:04Zfix: add "fattr" pledge for chmod(2) for cachefileHiltjo Posthumahiltjo@codemadness.orgcommit 2ff0c0d6c02dc0d7b5570d12895f12e0ccafd657
parent 6662b8ee42f0f31c163786d8ed4db2fbf32fdbca
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 19 Nov 2017 14:52:04 +0100
fix: add "fattr" pledge for chmod(2) for cachefile
improve checks for when head is NULL (empty repo)
6662b8ee42f0f31c163786d8ed4db2fbf32fdbca2017-11-18T11:53:08Z2017-11-18T11:53:08ZMakefile: bump version to 0.7Hiltjo Posthumahiltjo@codemadness.orgcommit 6662b8ee42f0f31c163786d8ed4db2fbf32fdbca
parent 870b024671694465cac79dcbc58f9a298e901fad
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 18 Nov 2017 12:53:08 +0100
Makefile: bump version to 0.7
870b024671694465cac79dcbc58f9a298e901fad2017-11-11T00:34:50Z2017-11-11T00:34:50ZMakefile: remove unused $SCRIPTSHiltjo Posthumahiltjo@codemadness.orgcommit 870b024671694465cac79dcbc58f9a298e901fad
parent 26bd89f681b631ce3596148c9320c3208e16f8e9
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 11 Nov 2017 01:34:50 +0100
Makefile: remove unused $SCRIPTS
26bd89f681b631ce3596148c9320c3208e16f8e92017-11-10T19:55:20Z2017-11-10T19:55:20Zfix file permissions for cachefile and respect umask(2)Hiltjo Posthumahiltjo@codemadness.orgcommit 26bd89f681b631ce3596148c9320c3208e16f8e9
parent 1bab6952c6dcac50e66418f117032bb0f627d559
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 10 Nov 2017 20:55:20 +0100
fix file permissions for cachefile and respect umask(2)
1bab6952c6dcac50e66418f117032bb0f627d5592017-11-10T19:53:46Z2017-11-10T19:53:46Zmore verbose errors: show which file failed on openHiltjo Posthumahiltjo@codemadness.orgcommit 1bab6952c6dcac50e66418f117032bb0f627d559
parent 2a5669514088684bc9bfe1fddb5e353fb07ae6d6
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 10 Nov 2017 20:53:46 +0100
more verbose errors: show which file failed on open
2a5669514088684bc9bfe1fddb5e353fb07ae6d62017-10-31T22:25:35Z2017-10-31T22:25:35ZREADME: clarify some consHiltjo Posthumahiltjo@codemadness.orgcommit 2a5669514088684bc9bfe1fddb5e353fb07ae6d6
parent cfbf4a11adc8c2e3b55724e7341b18b21fc5b6f7
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 31 Oct 2017 23:25:35 +0100
README: clarify some cons
cfbf4a11adc8c2e3b55724e7341b18b21fc5b6f72017-10-31T22:20:18Z2017-10-31T22:20:18Zpost-receive hook: force UTF-8 localeHiltjo Posthumahiltjo@codemadness.orgcommit cfbf4a11adc8c2e3b55724e7341b18b21fc5b6f7
parent d7e003a51924d1686574598f7db5557faf65000e
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 31 Oct 2017 23:20:18 +0100
post-receive hook: force UTF-8 locale
this fixes encoding errors when the pages are generated in the
post-receive hook.
d7e003a51924d1686574598f7db5557faf65000e2017-09-04T16:14:52Z2017-09-04T16:14:52Zallow umask to handle permissionsHiltjo Posthumahiltjo@codemadness.orgcommit d7e003a51924d1686574598f7db5557faf65000e
parent 8787f495e09fd3857fd4bbbb7c32784f86787df6
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Mon, 4 Sep 2017 18:14:52 +0200
allow umask to handle permissions
8787f495e09fd3857fd4bbbb7c32784f86787df62017-08-09T16:52:53Z2017-08-09T16:52:53Zignore object 0000000000000000000000000000000000000000Hiltjo Posthumahiltjo@codemadness.orgcommit 8787f495e09fd3857fd4bbbb7c32784f86787df6
parent 304d095d3d31cee82ac1b868d912abb946cef6b9
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Wed, 9 Aug 2017 18:52:53 +0200
ignore object 0000000000000000000000000000000000000000
remote: fatal: bad object 0000000000000000000000000000000000000000
this can happen on initial repos or when pushing tags etc.