Hiltjo Posthuma
81dd454368
rename urmoms to stagit, improve documentation
2015-12-26 21:05:55 +01:00
Hiltjo Posthuma
8c58750b63
nvm, dont strip .git from bare repos
2015-12-26 20:58:28 +01:00
Hiltjo Posthuma
781beb4950
add example script to make repo index and files per dir
2015-12-26 20:46:33 +01:00
Hiltjo Posthuma
114899a22d
rename EXTRAOBJ to COMPATOBJ
2015-12-26 20:11:59 +01:00
Hiltjo Posthuma
664e60ede5
Makefile: link for COMPAT
2015-12-26 13:08:41 +01:00
Hiltjo Posthuma
597e3cdbed
add compat.h
2015-12-26 13:01:41 +01:00
Hiltjo Posthuma
e4e03b3bf9
strip suffix .git used typically for bare repos
2015-12-26 12:57:33 +01:00
Hiltjo Posthuma
3da41fa5dd
humanreadable filemodes (code from sbase ls)
2015-12-26 12:57:14 +01:00
Hiltjo Posthuma
a7dd8c5f08
align filesize header right, minor code-style
2015-12-26 12:56:56 +01:00
Hiltjo Posthuma
9c7e2c5678
fix dirname for glibc
2015-12-26 12:56:23 +01:00
Hiltjo Posthuma
1778cba979
allow to specify clone url, displayed in header
2015-12-26 12:55:59 +01:00
Hiltjo Posthuma
955c3779ef
update TODO
2015-12-26 12:54:44 +01:00
Hiltjo Posthuma
63a71643d0
index: highlight row on mouseover
2015-12-26 12:54:09 +01:00
Hiltjo Posthuma
9295d3f190
remove TODO from code, see TODO file
2015-12-25 17:49:54 +01:00
Hiltjo Posthuma
1cc9f5fcb1
README: atleast libgit2 v0.22 is required (API)
...
update TODO
2015-12-25 17:49:03 +01:00
Hiltjo Posthuma
55556b66bc
compat: add strlcpy, strlcat, for glibc
2015-12-25 17:48:46 +01:00
Hiltjo Posthuma
543e74e64f
fix libgit2 include, it is in the include path
2015-12-24 20:58:22 +01:00
Hiltjo Posthuma
ae620515b0
remove double newline bloat
2015-12-20 21:49:23 +01:00
Hiltjo Posthuma
b8fc56187e
update README and improve man pages
2015-12-20 21:34:40 +01:00
Hiltjo Posthuma
2e4ed81390
urmoms-index: kill some lines
2015-12-20 21:13:54 +01:00
Hiltjo Posthuma
75cba4e6fd
rewrite writefiles, now works with bare repos
...
dont use the index but get the tree by the last commit id (revparse HEAD).
2015-12-20 20:42:53 +01:00
Hiltjo Posthuma
09e1377c68
README: add install and dependencies instructions
2015-12-20 20:42:31 +01:00
Hiltjo Posthuma
304c896bd4
style.css: maximize contrast for text
2015-12-20 20:42:16 +01:00
Hiltjo Posthuma
5436dd7892
update TODO
2015-12-20 17:11:34 +01:00
Hiltjo Posthuma
7102cfd3f7
add urmoms-index, initial version
2015-12-20 17:11:25 +01:00
Hiltjo Posthuma
372fe8d86e
writelog: remove return value, it was unused
2015-12-20 17:11:06 +01:00
Hiltjo Posthuma
e01336e656
improve fopen flag: remove b and r+ in some case
...
don't require rw rights for just reading
2015-12-20 17:10:07 +01:00
Hiltjo Posthuma
2ab268d5b1
use relative url in header, escape name and description too
2015-12-20 17:09:51 +01:00
Hiltjo Posthuma
6414c8b212
set diff options
2015-12-17 22:59:19 +01:00
Hiltjo Posthuma
8ea5831438
free the tree
2015-12-17 22:56:32 +01:00
Hiltjo Posthuma
d073ffa0a2
file_size is uint32_t on latest libgit2, thanks uggedal for reporting it!
2015-12-17 19:53:07 +01:00
Hiltjo Posthuma
3f77fb211d
fix warning
2015-12-10 19:51:15 +01:00
Hiltjo Posthuma
23fdbb0c8c
fix warning + minor style
2015-12-09 23:56:42 +01:00
Hiltjo Posthuma
a0e2be52c1
update TODO
2015-12-09 23:02:43 +01:00
Hiltjo Posthuma
0f5deec0a2
open repo: dont try to detect repos above the specified dir
2015-12-09 22:55:59 +01:00
Hiltjo Posthuma
e489408b99
walk revision by time and only "flat"
2015-12-09 22:55:34 +01:00
Hiltjo Posthuma
21ffbb062e
also free objects for haslicense and hasreadme checks, cleanup
2015-12-09 21:02:49 +01:00
Hiltjo Posthuma
52520a4289
prettification
2015-12-07 23:54:31 +01:00
Hiltjo Posthuma
f69f33eb3c
log: reorder time as first column
2015-12-07 23:23:00 +01:00
Hiltjo Posthuma
1d9324a87e
truncate message in log, shorter time format
2015-12-07 23:22:45 +01:00
Hiltjo Posthuma
c5c6741b0a
simplify time format
2015-12-07 23:22:18 +01:00
Hiltjo Posthuma
b1ad5e2633
update TODO
2015-12-07 23:01:09 +01:00
Hiltjo Posthuma
9c1862ccda
rework code, "cache" commit data in struct commitinfo
2015-12-07 23:00:07 +01:00
Hiltjo Posthuma
1b4f30ba2e
cleanup + some better error handling
2015-12-07 21:35:18 +01:00
Hiltjo Posthuma
a0dbff9161
performance tweak: check if commit file exists, if so skip
2015-12-07 21:34:53 +01:00
Hiltjo Posthuma
8de7a32f07
logo is 32x32
2015-12-07 21:20:59 +01:00
Hiltjo Posthuma
86c970e1ec
style: center menu and make title smaller
2015-12-07 21:19:30 +01:00
Hiltjo Posthuma
55b823b226
fix when commit has no parent
...
also dont show parent when there is no id for it.
2015-12-07 21:16:28 +01:00
Hiltjo Posthuma
a523491d6c
update README with basic usage
2015-12-07 20:53:48 +01:00
Hiltjo Posthuma
437d99fb0f
update TODO
2015-12-07 20:46:59 +01:00
Hiltjo Posthuma
fe5855546a
detect binary diff, comment index + delta header for now (broken)
2015-12-07 20:46:51 +01:00
Hiltjo Posthuma
18e6c1beda
dont use reverse diff
2015-12-07 20:00:33 +01:00
Hiltjo Posthuma
a73ca0483c
simplify + style fixes
2015-12-07 19:58:19 +01:00
Hiltjo Posthuma
673122b0d5
highlight/make bold some fields
2015-12-07 19:46:07 +01:00
Hiltjo Posthuma
a20e271f93
escape commit msg, dont indent it
2015-12-07 19:34:13 +01:00
Hiltjo Posthuma
9d26489084
fix relpath for files, small cleanup
2015-12-07 19:01:40 +01:00
Hiltjo Posthuma
9b10046464
fix: check readme and license before writing header
2015-12-07 19:00:53 +01:00
Hiltjo Posthuma
0808028312
improve HTML code
2015-12-07 19:00:30 +01:00
Hiltjo Posthuma
53d6b47cc2
make file in diff a link, make hunk and link anchor
2015-12-07 19:00:16 +01:00
Hiltjo Posthuma
ded9719afd
commit: use simple shortstat
2015-12-07 18:59:30 +01:00
Hiltjo Posthuma
17f9f53ea0
make author e-mail a link
2015-12-07 18:59:13 +01:00
Hiltjo Posthuma
51ecd71d5f
improve Atom feed
2015-12-07 18:58:39 +01:00
Hiltjo Posthuma
e3006c9373
improve header and footer
2015-12-07 18:57:46 +01:00
Hiltjo Posthuma
d16e00a72b
style.css: improve style, add highlight colors for diff
2015-12-07 18:57:03 +01:00
Hiltjo Posthuma
02989361fe
update README with some features and update TODO
2015-12-07 18:56:41 +01:00
Hiltjo Posthuma
5215103888
print file as table, add link
2015-12-07 16:40:45 +01:00
Hiltjo Posthuma
45d8d2f430
add atom feed support + some fixes
2015-12-07 16:14:03 +01:00
Hiltjo Posthuma
77260d21f1
improve log, fix warnings
2015-12-07 15:22:47 +01:00
Hiltjo Posthuma
87f3a5a8a8
add favicon
2015-12-07 14:41:54 +01:00
Hiltjo Posthuma
beb7a3b29d
add diffstat
2015-12-07 14:26:35 +01:00
Hiltjo Posthuma
a95a439aaa
initial diff support, fix log link
2015-12-07 14:07:58 +01:00
Hiltjo Posthuma
04eeb7f000
update TODO with wanted features
2015-12-07 14:07:26 +01:00
Hiltjo Posthuma
46eae58e35
read README and LICENSE from repo, escape as HTML
2015-12-06 22:34:56 +01:00
Hiltjo Posthuma
59912de009
fix menu separator if one or both of license or readme is missing
2015-12-05 21:11:26 +01:00
Hiltjo Posthuma
b069cb6fd5
add Makefile and config.mk
2015-12-05 21:07:52 +01:00
Hiltjo Posthuma
8b6a646b7a
urmoms.1: initial manpage
2015-12-05 21:01:38 +01:00
Hiltjo Posthuma
3872d9e902
detect name and description
2015-12-05 20:59:14 +01:00
Hiltjo Posthuma
7294b10b65
add README and LICENSE file-detection
2015-12-05 20:43:29 +01:00
Hiltjo Posthuma
415e3fdd55
rewrite in C with libgit2, first version
2015-12-05 20:22:57 +01:00
Hiltjo Posthuma
bda4633633
improvements:
...
- nicer file list.
- relative urls, dont use base href.
- add link to plain files, files should be checked out in "file" dir.
- strip .git from bare repos.
- simplify part of commit per file, just link to commit + file anchor (WIP).
2015-12-05 00:37:31 +01:00
Hiltjo Posthuma
5734f7aca1
style.css: sane style
2015-12-05 00:36:54 +01:00
Hiltjo Posthuma
336b746deb
add LICENSE
2015-12-04 23:40:10 +01:00
Hiltjo Posthuma
c6d8a37bb9
improvements
...
- rename $logdir to $htmldir.
- use file .git/description as $description.
- use directory name of repodir as $name.
- set symlink for default page.
2015-12-04 17:26:39 +01:00
Hiltjo Posthuma
598615fa1b
add usage for urmoms, update TODO
2015-12-04 17:11:24 +01:00
Hiltjo Posthuma
acd2400049
initial insertion
2015-12-04 16:58:04 +01:00