GitPHP 0.0.6
- May 19th, 2009
- Posted in Programming
- Write comment
Wasn’t really getting any bug reports, so I figured I’d just release.
There’s a README file included now. I’m no master technical writer, but it should explain what you need to know.
The config file is no longer distributed directly; it is distributed as an example file so you don’t overwrite your old config when upgrading. I recommend checking for new options that have been added to the example config that you may not have in your main config.
Changes in this release:
- Mime type support, to display images inline. When viewing a blob, if it recognizes the mime type as an image, it will embed and display the image using a data uri rather than dumping the binary content. This is only done for images, though – there isn’t a good way to embed other binary file formats. It supports pecl-fileinfo (which was merged into PHP in 5.3), the “file” command on *nix machines, and just checking the file extension. Based on work by Trevino
- Searching of commit logs, authors, committers, filenames, and file contents
- Blob diffs show the filenames instead of the hashes to be more readable
- Fixed blank entries that appeared at the end of the log/shortlog
- Added a link to the tree from the main project list
- Some performance fixes for projects with many commits
- Snapshots can be sent as tar.gz or zip
- templates_c directory created for you already, just change the permissions
- Single tag view page… somehow I forgot this a long time ago and never noticed since I don’t usually annotate my tags
As usual, release is on the GitPHP page, the repository can be browsed here, and bugs / enhancement suggestions can be reported on Mantis.
I am working on setting up a gentoo portage overlay with a gitphp ebuild, which will install gitphp and handle stuff for you, like the templates_c permissions and config file management using etc-update.
No comments yet.