1
What's changed in loggerhead?
2
=============================
7
- Remove ``start-loggerhead`` and ``stop-loggerhead`` which were already
8
deprecated. (John Arbash Meinel)
10
- Syntax highlighting is no longer applied for files greater than 512K,
11
reducing codebrowse.launchpad.net overloading.
12
(Max Kanat-Alexander, #513044)
14
- Documentation added in the docs directory. README simplified
15
accordingly. (Tres Seaver).
17
- Show svn/git/hg revision ids in loggerhead revision view.
20
- Fix .bzr/smart access to branches in shared repos. (You also need
21
a version of bzr with bug #348308 fixed.) (Andrew Bennetts)
23
- Support FastCGI, SCGI and AJP using flup. (Denis Martinez)
25
- Repository.get_revision_inventory() was removed in bzr 2.2; use
26
Repository.get_inventory() instead. (Matt Nordhoff, #528194)
28
- Ignore readonly+ prefix when checking if Loggerhead is serving a
29
local location. (Reported by Tres Seaver.) (Matt Nordhoff)
31
- Set Cache-Control and Expires headers on static pages.
34
- Generate relative links where possible (everywhere but HTTP
35
redirects and feed IDs). (Michael Hudson, Matt Nordhoff)
37
- Fix bad redirect when visiting "/download" or "/download/".
38
(Matt Nordhoff, #247992)
44
- Add bug links in revision informations (Alexandre Garnier, #314052)
46
- Make sure that binary files aren't annotated. (Martin Albisetti,
49
- Loggerhead now serves bzr branches over HTTP and exposes the URL
50
to branch them. Addresses bug #240577. (Jonathan Lange)
52
- Leading blank lines in commit messages no longer result in an
53
empty summary. (Colin Watson)
55
- Added optional syntax highlighting to annotate view using
56
python-pygments. Partially addresses bug #306631. (Peter Bui)
58
- Convert newlines in commit messages to HTML line breaks for
59
annotate and changelog views. Addresses bug #273688. (Peter
62
- serve-branches now errors if run behind a proxy without
63
paste.deploy installed. (Michael Hudson)
65
- Loggerhead should now handle file and directory names that need
66
URL escaping without crashing.
68
- The start-loggerhead script properly sets the wsgi.url_scheme
69
from the server.webpath option. (neror, #260547)
71
- The revision page defaults to unified style again, and can
72
convert to a side-by-side view using JavaScript. (Michael Hudson)
74
- Clean up and improve performance of the annotate view. (Michael
77
- Finish converting JavaScript from MooTools to YUI 3. (Michael
80
- Improve compatibility with IE 6. (Michael Hudson)
82
- Leading blank lines in commit messages no longer result in an
83
empty summary. (Colin Watson)
85
- Clip long lines in side-by-side diff view. (Michael Hudson,
88
- The user-confusing "next" and "previous" links now read "older"
89
and "newer" respectively. (Michael Hudson, #297930)
91
- The annotate view now contains line number anchors. (Michael
94
- Fix inventory pages using "//" in links. (Michael Hudson, #329668)
96
- Fix problems viewing files and directories containing spaces and
97
other funny characters. (Peter Bui)
99
- Changelog messages are now displayed with newlines preserved.
102
- Offer a link to see the full file diffs for a file path. (Michael
105
- Fix annotate error caused by Pygments stripping trailing
106
whitespace. (Michael Hudson, #338762)
108
- Loggerhead can be installed as a Bazaar plugin and run by
109
'bzr serve --http'. (Martin Pool)
111
- Load parts of the changelog and revision pages via XMLHttpRequest
112
to improve performance. This adds a dependency on simplejson or
113
json. Partially addresses bug #253950. (Michael Hudson)
115
- Various improvements to the animation JavaScript. (Michael Hudson)
117
- Fix HTML content of source files being displayed unescaped when
118
Pygments was unavailable. (Michael Hudson, #344970)
120
- Fix serve-branches's path argument. (Michael Hudson, #353230)
122
- serve-branches now has an option, --use-cdn, to load YUI from
123
Yahoo!'s CDN. (Matt Nordhoff)
125
- Fix certain race conditions for loading bzr-search. (Robert
128
- Fix errors when using serve-branches --log-folder or --user-dirs.
129
(It was calling config.get_option() incorrectly.) (Matt Nordhoff,
132
- Move some caching from RAM to the disk, and other caching and
133
memory usage improvements. (Michael Hudson)
135
- Add a --cache-dir option to serve-branches to choose where to
136
place the SQL cache, and only create one temporary SQL dir per
137
process. (Matt Nordhoff, #358322)
139
- Replace homebrew memory profiling code with Dozer. (Paul Hummer)
141
- Use the branch's public_branch as the default suggested URL to
142
branch from (Matt Nordhoff, #369767)
144
- Fix a file descriptor leak (Matt Nordhoff, #370845)
146
- Use transport API internally, so it is possible to specify a remote
147
URL to serve-branches. (Jelmer Vernooij, #371787)
149
- Fix internal server errors when using start-loggerhead. (Matt
152
- Fix annotating non-UTF-8 files when Pygments is disabled. (Matt
155
- Fix 'bzr serve --http' errors. (Matt Nordhoff, #377551)
157
- Added the option to hide branches by setting http_serve = False
158
in locations.conf (Martin Albisetti)
160
- Fix serving branches over HTTP. (Matt Nordhoff, Jelmer Vernooij,
163
- Install loggerhead as a bzr plugin by default (Jelmer Vernooij)
165
- Fix logging 404 Not Found responses (Matt Nordhoff, #381029)
167
- Bumped minimunm bzrlib version to 1.13 (Martin Albisetti)
169
- Make sure the Atom feeds (nearly) validate. (Matt Nordhoff, #247162)
171
- Support serving branches over HTTP using the smart server protocol.
172
(Jelmer Vernooij, #306853)
174
- Serving branch data was broken when --allow-writes was *not*
175
passed. (Michael Hudson, #388730)
177
- http_serve config values are interpreted more forgivingly.
180
- When specifying a remote url to serve-branches, do not share
181
connections between threads. (Michael Hudson, #390972)
183
- http_serve values from locations.conf are now applied to
184
non-branch .bzr data (e.g shared repositories). (Michael Hudson)
186
- tags are now displayed. (Cris Boylan, Alexandre Garnier, Michael
189
- Display Loggerhead's version number at the bottom of the page, and
190
add a <meta> generator tag also including the version numbers of
191
its dependencies. (Matt Nordhoff, #370155)
197
- Add startup deamon script for Linux (Marius Kruger)
199
- Switch navigation from file_ids to paths. Fixes bugs #260363,
200
#269365 and #128926. (Martin Albisetti)
202
- Fix bug #258710 ("the /files page explodes in an empty branch").
203
Also minor improvements to the /files and /changes pages.
206
- Added --port, --host and --prefix options to serve-branches
207
script. (Martin Albisetti)
209
- Fixed broken template for project browsing with start-loggerhead
212
- Added --reload options to restart the application when a python
213
file change. (Guillermo Gonzalez)
215
- Added error handling middleware. (Guillermo Gonzalez)
217
- Fix bug #243415 ("Tracebacks go to console but not log
218
file"). Also minor improvements to logging in serve-branches and
219
start-loggerhead. (Guillermo Gonzalez)
224
- Download a diffs between revisions. (Martin Albisetti)
226
- Modified templates to make loggerhead's theme easier to
227
change. (Paul Hummer)
229
- Default sqlite interface is now sqlite3. (Robert Collins)
231
- New ninja theme sponsored by Canonical (Martin Albisetti)
233
- Added COPYING file and clarified copyright headers (John Arbash Meinel)
235
- Remove the .py extension requiered by the Debian Policy.
238
- New startup script serve-branches will serve Loggerhead without
239
the need of configuration, and allow you to browse through directories
240
and branches. (Michael Hudson)
242
- Loggerhead is no longer a TurboGears application, but rather a
243
WSGI application built using Paste (see http://wsgi.org/ and
244
http://pythonpaste.org/ for more about WSGI and Paste).
246
- URLs now use revision numbers instead of revision ids (Martin Albisetti)
248
- The scripts no longer insist on Python 2.4 -- loggerhead works
251
- Bazaar as of version 1.5 has improved in performance enough that
252
the revision cache no longer gave any noticeable benefit, so it
253
was removed (the files-changed cache is still useful).
255
- The templates were rewritten in Zope's TAL markup, powered by
256
the simpleTAL library -- improving both the performance and
257
memory consumption of rendering by a factor of around 3 for
258
large pages over the old Kid templates.
260
- Loggerhead's poorly performing text index was disabled. bzr-search
261
is now used if the plugin is installed and a text index is present
262
on the branch being viewed. (Martin Albisetti, Robert Collins).
264
- Loggerhead no longer depends on bzrlib functions deprecated in
265
Bazaar 1.5 and removed in 1.6 (Martin Albisetti).
267
- The daemonization code was made more regular, fixing bugs
268
#139161 ("Starting loggerhead process may not close its stdin
269
and stdout properly") and #211526 ("Codebrowse log directory has
270
unnecessarily permissive permissions")
272
- Some confusion about what the 'file_id' query argument means was
273
cleared up: filter_file_id now means "filter revisions to those
274
that affect this file" in all views and file_id means "examine
275
this file/directory" in the annotate and inventory views.
277
- Dates are present more compactly.
279
- The loggerhead.conf file can specify which network interface to
280
bind to (Mattias Eriksson)
285
- The changelog view was out of order when not using the revision
290
- Michael Hudson <michael.hudson@canonical.com> has mostly taken
291
over the maintenance of loggerhead.
293
- loggerhead now has a simple test suite -- use 'nosetests' in the
294
loggerhead directory to run it.
296
- The rendering performance of pages that display large amounts of
297
text was improved by a factor of 4 or so.
299
- loggerhead no longer caches the text of the diffs between
300
revisions. It rarely helped and wasted a lot of disk space.
302
- The layout of most pages was made more "tight" to waste less
303
screen real estate, and some other UI improvements (Kent
306
- Much dead code was removed.
308
- Loggerhead now computes the files changed between revisions only
309
when it needs to know this. This is a fairly expensive
310
operation in Bazaar, and doing it less massively improves
311
performance and memory usage in some situations.
313
- Loggerhead now takes a read lock on the branch being viewed for
314
the duration of each request, which improves performance
317
- Loggerhead no longer uses the corruption-prone Berkely DB-backed
318
shelve module for its caches, and rather (ab)uses a sqlite
321
- The creation of History objects is much faster for large
322
branches (Aaron Bentley).
324
- Allow the construction of URLs using revnos and file paths as
325
well as revids and fileids (bug #98826):
327
- For changes pages, append the newest revno to display to the
328
URL, like http://.../changes/<revno>
330
- For annotate pages, append the revno to display to the URL,
331
followed by the path, like http://.../annotate/<revno>/<path>
333
- For file listing and revision pages append the revno to
334
display to the URL, like http://.../files/<revno>
336
Loggerhead still generates URLs using revision and file ids for
339
- Many bugs were fixed:
341
- Loggerhead does not escape special characters when embedding a
342
revision ID in a URL (bug #88286)
344
- Improved robustness in the face of ghosts.
346
- Don't crash on displaying a commit with an empty message (bug
349
- codebrowse fails with infinite redirections (James Henstridge,
352
- Loggerhead fails to browse revisions that change binary files
353
(James Henstridge, bug #91686)
355
- Loggerhead atom feeds expose internal hostname (James
356
Henstridge, bug #93585)
358
- loggerhead don't like page break character (0x0C) in text
361
- codebrowse source listings don't contain line number anchors
364
- only serve up unescaped user content with "Content-Disposition:
367
- viewing the file listing consumes a lot memory (bug #116869)
369
- loggerhead can't handle empty branches (bug #119228)
371
- upgrading the format of a branch behind loggerhead could make
372
it fail for that branch (bug #118673)
374
- Error parsing non-ascii content (bug #117799)
376
- Loggerhead failed on whitespace-only commit messages.
378
- Links to diffs from within a revision do not work (bug
381
- UTF-8 patches served as ISO-8859-1, fixed by served bundles as
382
application/octet-stream (bug #121336)
384
- TurboGears was turning query arguments into unicode, and bzr
385
stopped accepting unicode revids (bug #175228)
391
- fix broken inventory page (oops!)
393
- fix a few rendering problems with kid and safari
399
- new feature to compare two revisions to each other
401
- inserted text in diffs is now blue instead of green
403
- fixed to start and stop as a daemon now (use "-f" to run in the
404
foreground), and all config is in loggerhead.conf (no need to mess with
407
- renamed show/hide javascript buttons to expand/collapse, and made them
410
- added an atom-feed link to each branch on the browse page [elliot
413
- auto-publish feature for multiple branches under a single folder (see
414
loggerhead.conf.example)
416
- added the ability to share cache files per-project instead of just
419
- added side-by-side diff display for the revision page (which is the
420
default), with a button to switch between side-by-side and unified diff
423
- made caching use file locking, and close cleanly on shutdown
425
- miscellaneous speed and page-size improvements