Mike Gerwitz
0982212464
Output prefixes are now handled by parent script
...
As they should be.
2013-03-10 22:54:21 -04:00
Mike Gerwitz
84f3c589de
rss will now log when its input limit has been reached
2013-03-10 22:40:52 -04:00
Mike Gerwitz
8dc8d8b3b9
repo2html will no longer return a non-zero exit status when cref-bad is empty
...
This bug was introduced by the last commit.
2013-03-10 21:54:01 -04:00
Mike Gerwitz
3cec847866
Added cref-errlog to post-process cref errors rather than priming the hashcache
...
This is more performant, contains additional logging and will properly output
invalid crefs.
2013-03-10 21:51:08 -04:00
Mike Gerwitz
6f9001740c
hashcache will now exit with non-zero status if requested item cannot be found
2013-03-10 16:14:14 -04:00
Mike Gerwitz
01bdca9422
hashcache is now primed before processing
...
This is a temporary implementation to ensure crefs work properly; will optimize
in future commits.
2013-03-10 16:12:56 -04:00
Mike Gerwitz
ba4eed71be
Added -R option to repo2html getopts (flag support was there, but option was not recognized)
2013-03-09 10:11:42 -05:00
Mike Gerwitz
e7fadb3513
Added cref tag support to msgfmt, permitting ref of previous commits
2013-03-09 09:59:29 -05:00
Mike Gerwitz
a096f7ea19
hashcache now permits partial hash matches (common practice in git)
2013-03-09 09:44:37 -05:00
Mike Gerwitz
3c06dfc763
Added hashcache
...
This will be used to generate links to previous commits (to avoid putting full URLs in the articles themselves)
2013-03-05 23:51:44 -05:00
Mike Gerwitz
8ac9aa9531
Simple target highlighting for refs
...
Will add configurable background color later on
2013-01-30 22:37:33 -05:00
Mike Gerwitz
16993151a8
Hyperlink-related enhancements to msgfmt
...
- Removing <> delimiters from links
- Stripping punctuation from the end of links
Yes, Perl would be easier, but I'd prefer to avoid the dependency if at all
possible. If this gets too much more complicated, Perl may be a necessity to
prevent a maintinance nightmare.
2012-10-28 00:03:40 -04:00
Mike Gerwitz
ba85af8b52
msgfmt will now properly handle adjacent blockquote paragraphs
2012-10-27 23:18:45 -04:00
Mike Gerwitz
a570abc87a
Moved ampersand escaping in msgfmt to occur before other replacements
...
Oops
2012-10-27 23:09:03 -04:00
Mike Gerwitz
7c5fb75352
Added configurable RSS count (default all)
2012-10-19 20:13:53 -04:00
Mike Gerwitz
7c3e1cae31
msgfmt is now configurable
...
The scripts that use it will still provide defaults for direct invocation
2012-10-19 20:09:35 -04:00
Mike Gerwitz
1cb7c53b6e
Altered README
...
Accidentally committed README of the repo from this which project originated
2012-10-16 23:04:29 -04:00
Mike Gerwitz
c5cc5c4ffa
Added emphasis support to msgfmt
2012-10-16 23:01:20 -04:00
Mike Gerwitz
3adf4a836a
Added blockquote support to msgfmt
2012-10-16 22:49:46 -04:00
Mike Gerwitz
ff237bbc6f
RSS feed no longer outputs HTML entities in the title
2012-10-13 00:42:29 -04:00
Mike Gerwitz
81356e4104
Ignoring commits with ':' subject prefix
...
This will later be configurable.
2012-10-11 00:48:57 -04:00
Mike Gerwitz
0ea280a430
References in text are now converted into hyperlinks
...
References are bracketed---they are converted into superscripts. If text
immediately preceeding the reference is bracketed, it is also hyperlinked.
2012-10-09 23:31:40 -04:00
Mike Gerwitz
6916c2bfc8
Corrected day output on index page
2012-10-09 19:01:14 -04:00
Mike Gerwitz
64c9dfc20a
Corrected RSS link path (year)
2012-10-09 19:00:32 -04:00
Mike Gerwitz
54856a5412
Corrected output path directory creation
2012-10-08 23:08:38 -04:00
Mike Gerwitz
b29accaa03
Replaced bash %()T printf (which requires 4.2) with date
...
Bash 4.2 is still relatively new.
2012-10-08 23:08:29 -04:00
Mike Gerwitz
4eb2b2f348
Integrated RSS feed
...
The RSS feed does not yet fully validate with the W3C feed validation service
2012-10-08 22:19:55 -04:00
Mike Gerwitz
5cb939fe0a
Title, description, copyright and license are now configurable
...
Warnings will be output to stderr if any are not provided.
2012-10-07 16:44:12 -04:00
Mike Gerwitz
dd6c1679e5
The processor is now VCS-agnostic
...
Git calls have been abstracted such that any detected VCS may be used. Of
course, I only have interest in Git at present, so it is my hope that anyone
else interested in this project will contribute.
2012-10-07 12:01:40 -04:00
Mike Gerwitz
9bf3831c28
Corrected copyright notice
...
..this is what happens when you copy notices from other projects blindly (at
least it was my own)
2012-10-07 11:22:49 -04:00
Mike Gerwitz
033baae96a
Using shell script for commit template
...
The majority of the data is exposed via the environment and the actual body is
piped to the script. This change allows for a great deal of flexibility with
regards to templating---users may write "templates" in whatever language they
choose to generate whatever output they wish.
We should do as much processing beforehand as possible so that the template does
not need to, for example, start snooping through the repos (which will be more
complicated once we support multiple VCSs).
2012-10-07 11:01:32 -04:00
Mike Gerwitz
7965009bd4
Initial repo2html concept
...
Certain things are thrown in place just to demonstrate the concept. Many things
are also hard-coded that should be configurable (such as the title, copyright
and RSS item count).
Licensed under the GPLv3 instead of the AGPLv3 because the license does not
apply to generated content unless that content uses a portion of the program.
2012-10-07 10:04:42 -04:00