1
0
Fork 0
Commit Graph

26 Commits (2b3ffdcb65b9730f24a22e990bb381b2b79804be)

Author SHA1 Message Date
Mike Gerwitz f3bba8812c
Correct index year range 2016-10-31 00:17:49 -04:00
Mike Gerwitz 6c95ba243a
Include author and email in commit list 2015-05-22 00:37:03 -04:00
Mike Gerwitz 0e0414027a
-E option now represents html url extension
This is useful for URL rewriting. The -E option was previously used to denote an
empty -e and can still be done with `-e ''`. To use a URL rewriting scheme that
removes the extension, use -E ''.

To support this change properly, and to support users who may not want to use
`.' as their extension prefix, it is no longer automatically added.

(This breaks backwards compatibility, but -E was pushed publically so recently
that this change is likely to affect anyone but, well, me.)
2013-06-06 14:24:01 -04:00
Mike Gerwitz 31461e7236 hashcache will now output commit subject to cache
The script currently provides no abstraction for retrieving this value---this
will be added in the future. For the meantime, this is useful for any scripts
that wish to reference the cache directly, though this is of course discouraged
(in case the format changes).
2013-06-02 11:56:00 -04:00
Mike Gerwitz e69f16e908 Removed path_root export and reassignment in processor
This is not longer used by templates (url_root used instead); path_root is supposed to represent
the cwd of the caller of repo2html.
2013-06-02 11:54:37 -04:00
Mike Gerwitz f776c8f918 Moved template functions/procedures into their own file
In particular, this makes resume-default available to raw (-i) mode
2013-05-29 20:20:35 -04:00
Mike Gerwitz 80b466694b Added -P option to msgfmt and moved addition of beginning and ending p tags from commit2html to msgfmt
This not only makes more sense, but allows raw (-i) mode to work properly
2013-05-29 20:20:31 -04:00
Mike Gerwitz 82c6539306 do-index now accepts command names for heading, line and footer outputs for index sections 2013-05-27 16:57:15 -04:00
Mike Gerwitz 3be799da5c Removed extra indentation from do-index in processor 2013-05-27 16:57:15 -04:00
Mike Gerwitz 0f5561e893
Added support for custom HTML extension (or omission); adds -e and -E options
-E will create the effect of a URL rewriting scheme without having to actually use rewriting on the server
2013-05-21 17:36:21 -04:00
Mike Gerwitz f620de709c
Added resume-default as abstraction for invoking default templates from custom overrides 2013-05-19 16:19:21 -04:00
Mike Gerwitz 6cea4d3426
Commit template application now makes user of apply-template function 2013-05-19 16:04:25 -04:00
Mike Gerwitz 01ea10f0bf
Separated index HTML into its own template 2013-05-19 16:01:03 -04:00
Mike Gerwitz 397d8837a9
Added configurable template path via path_tpl env var (-T option to repo2html)
The .sh extension was removed from the commit filename to recognize the fact
that configurable templates may be any type of executable.
2013-05-17 23:11:21 -04:00
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 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 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 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 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 81356e4104
Ignoring commits with ':' subject prefix
This will later be configurable.
2012-10-11 00:48:57 -04:00
Mike Gerwitz 6916c2bfc8
Corrected day output on index page 2012-10-09 19:01:14 -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