GitPHP 0.2.2
- December 12th, 2010
- Write comment
I’ve released GitPHP 0.2.2. There are a number of neat enhancements in this release; you might have seen some running on the local copy on this site – javascript livesearch of the project list, ajax tree drilldown, choice of snapshot format, bugtracker linking, etc. Plus there are major enhancements on the backend, including the object cache described in a previous post, and built-in memcache support for all caching – just specify the memcache server(s) in the config and you’re good to go.
Full changelog:
- Enhancements:
- Atom feed support, thanks to Christian Weiske
- Error pages now return proper HTTP error codes to avoid search engine indexing
- Users can now choose the file format of snapshot they want, based on what’s supported by the system. The config value still controls the default for non-javascript users.
- Directories in the config file no longer require you to specify the trailing slash
- Overriding project settings (category, owner, description, clone url, etc) can now be done for all project listing methods – directory list, file list, and array list. Previously it could only be done with the array
- The tree view can now be drilled down using AJAX
- Memcache support
- Support for linking bug numbers in commit messages to a bug tracker
- Search box to search projects on the project list. This is a live search if you have javascript
- Object cache, for caching immutable git data – more info on what this is and why you want it is here
- Javascript is now minified to decrease its size
- Clone/push urls on the project page are now links, thanks to Cory Thomas
- Project owners are now read from the git config value gitweb.owner if set, thanks to Cory Thomas
- Translations:
- Russian, thanks to Aidsoid
- German, thanks to Andy Tandler
- Bugfixes:
- Fix issue where commit tooltips didn’t escape HTML characters correctly
- Project ages on the project list page now use a more accurate method to get the age
- The default tmpdir, if not specified in the config, is read from the system/php config rather than hardcoding it. This also fixes an issue where the default tmpdir for windows was incorrect
- Fix the default git binary for windows x64 installs
- An error message now displays when the diff/git executable isn’t found or doesn’t work, rather than just failing silently
For those who are wondering about this post about a backwards incompatible change – the change to specify overrides for all project list formats does change the project config file (projects.conf.php) format slightly, but the code is backwards compatible and will continue to use your old project config file until you adjust it for the new changes.
As always, the release can be downloaded from the gitphp page and bugs can be reported on the bugtracker.