1
What's changed in loggerhead?
2
=============================
7
- Add ``bzr load-test-loggerhead`` as a way to make sure loggerhead can
8
handle concurrent requests, etc. Scripts can be written that spawn
9
multiple threads, and issue concurrent requests.
12
- If we get a HEAD request, there is no reason to expand the template, we
13
shouldn't be returning body content anyway.
14
(John Arbash Meinel, #716201, #716217)
16
- Merge the pqm changes back into trunk, after trunk was reverted to an old
17
revision. (John Arbash Meinel, #716152)
19
- The json module is no longer claimed to be supported as alternative for
20
simplejson. (Jelmer Vernooij, #586611)
26
- Syntax highlighting is no longer applied for files greater than 512K,
27
reducing codebrowse.launchpad.net overloading.
28
(Max Kanat-Alexander, #513044)
30
- Documentation added in the docs directory. README simplified
31
accordingly. (Tres Seaver).
33
- Show svn/git/hg revision ids in loggerhead revision view.
36
- Fix .bzr/smart access to branches in shared repos. (You also need
37
a version of bzr with bug #348308 fixed.) (Andrew Bennetts)
39
- Support FastCGI, SCGI and AJP using flup. (Denis Martinez)
41
- Repository.get_revision_inventory() was removed in bzr 2.2; use
42
Repository.get_inventory() instead. (Matt Nordhoff, #528194)
44
- Ignore readonly+ prefix when checking if Loggerhead is serving a
45
local location. (Reported by Tres Seaver.) (Matt Nordhoff)
47
- Set Cache-Control and Expires headers on static pages.
50
- Generate relative links where possible (everywhere but HTTP
51
redirects and feed IDs). (Michael Hudson, Matt Nordhoff)
53
- Fix bad redirect when visiting "/download" or "/download/".
54
(Matt Nordhoff, #247992)
60
- Add bug links in revision informations (Alexandre Garnier, #314052)
62
- Make sure that binary files aren't annotated. (Martin Albisetti,
65
- Loggerhead now serves bzr branches over HTTP and exposes the URL
66
to branch them. Addresses bug #240577. (Jonathan Lange)
68
- Leading blank lines in commit messages no longer result in an
69
empty summary. (Colin Watson)
71
- Added optional syntax highlighting to annotate view using
72
python-pygments. Partially addresses bug #306631. (Peter Bui)
74
- Convert newlines in commit messages to HTML line breaks for
75
annotate and changelog views. Addresses bug #273688. (Peter
78
- serve-branches now errors if run behind a proxy without
79
paste.deploy installed. (Michael Hudson)
81
- Loggerhead should now handle file and directory names that need
82
URL escaping without crashing.
84
- The start-loggerhead script properly sets the wsgi.url_scheme
85
from the server.webpath option. (neror, #260547)
87
- The revision page defaults to unified style again, and can
88
convert to a side-by-side view using JavaScript. (Michael Hudson)
90
- Clean up and improve performance of the annotate view. (Michael
93
- Finish converting JavaScript from MooTools to YUI 3. (Michael
96
- Improve compatibility with IE 6. (Michael Hudson)
98
- Leading blank lines in commit messages no longer result in an
99
empty summary. (Colin Watson)
101
- Clip long lines in side-by-side diff view. (Michael Hudson,
104
- The user-confusing "next" and "previous" links now read "older"
105
and "newer" respectively. (Michael Hudson, #297930)
107
- The annotate view now contains line number anchors. (Michael
110
- Fix inventory pages using "//" in links. (Michael Hudson, #329668)
112
- Fix problems viewing files and directories containing spaces and
113
other funny characters. (Peter Bui)
115
- Changelog messages are now displayed with newlines preserved.
118
- Offer a link to see the full file diffs for a file path. (Michael
121
- Fix annotate error caused by Pygments stripping trailing
122
whitespace. (Michael Hudson, #338762)
124
- Loggerhead can be installed as a Bazaar plugin and run by
125
'bzr serve --http'. (Martin Pool)
127
- Load parts of the changelog and revision pages via XMLHttpRequest
128
to improve performance. This adds a dependency on simplejson or
129
json. Partially addresses bug #253950. (Michael Hudson)
131
- Various improvements to the animation JavaScript. (Michael Hudson)
133
- Fix HTML content of source files being displayed unescaped when
134
Pygments was unavailable. (Michael Hudson, #344970)
136
- Fix serve-branches's path argument. (Michael Hudson, #353230)
138
- serve-branches now has an option, --use-cdn, to load YUI from
139
Yahoo!'s CDN. (Matt Nordhoff)
141
- Fix certain race conditions for loading bzr-search. (Robert
144
- Fix errors when using serve-branches --log-folder or --user-dirs.
145
(It was calling config.get_option() incorrectly.) (Matt Nordhoff,
148
- Move some caching from RAM to the disk, and other caching and
149
memory usage improvements. (Michael Hudson)
151
- Add a --cache-dir option to serve-branches to choose where to
152
place the SQL cache, and only create one temporary SQL dir per
153
process. (Matt Nordhoff, #358322)
155
- Replace homebrew memory profiling code with Dozer. (Paul Hummer)
157
- Use the branch's public_branch as the default suggested URL to
158
branch from (Matt Nordhoff, #369767)
160
- Fix a file descriptor leak (Matt Nordhoff, #370845)
162
- Use transport API internally, so it is possible to specify a remote
163
URL to serve-branches. (Jelmer Vernooij, #371787)
165
- Fix internal server errors when using start-loggerhead. (Matt
168
- Fix annotating non-UTF-8 files when Pygments is disabled. (Matt
171
- Fix 'bzr serve --http' errors. (Matt Nordhoff, #377551)
173
- Added the option to hide branches by setting http_serve = False
174
in locations.conf (Martin Albisetti)
176
- Fix serving branches over HTTP. (Matt Nordhoff, Jelmer Vernooij,
179
- Install loggerhead as a bzr plugin by default (Jelmer Vernooij)
181
- Fix logging 404 Not Found responses (Matt Nordhoff, #381029)
183
- Bumped minimunm bzrlib version to 1.13 (Martin Albisetti)
185
- Make sure the Atom feeds (nearly) validate. (Matt Nordhoff, #247162)
187
- Support serving branches over HTTP using the smart server protocol.
188
(Jelmer Vernooij, #306853)
190
- Serving branch data was broken when --allow-writes was *not*
191
passed. (Michael Hudson, #388730)
193
- http_serve config values are interpreted more forgivingly.
196
- When specifying a remote url to serve-branches, do not share
197
connections between threads. (Michael Hudson, #390972)
199
- http_serve values from locations.conf are now applied to
200
non-branch .bzr data (e.g shared repositories). (Michael Hudson)
202
- tags are now displayed. (Cris Boylan, Alexandre Garnier, Michael
205
- Display Loggerhead's version number at the bottom of the page, and
206
add a <meta> generator tag also including the version numbers of
207
its dependencies. (Matt Nordhoff, #370155)
213
- Add startup deamon script for Linux (Marius Kruger)
215
- Switch navigation from file_ids to paths. Fixes bugs #260363,
216
#269365 and #128926. (Martin Albisetti)
218
- Fix bug #258710 ("the /files page explodes in an empty branch").
219
Also minor improvements to the /files and /changes pages.
222
- Added --port, --host and --prefix options to serve-branches
223
script. (Martin Albisetti)
225
- Fixed broken template for project browsing with start-loggerhead
228
- Added --reload options to restart the application when a python
229
file change. (Guillermo Gonzalez)
231
- Added error handling middleware. (Guillermo Gonzalez)
233
- Fix bug #243415 ("Tracebacks go to console but not log
234
file"). Also minor improvements to logging in serve-branches and
235
start-loggerhead. (Guillermo Gonzalez)
240
- Download a diffs between revisions. (Martin Albisetti)
242
- Modified templates to make loggerhead's theme easier to
243
change. (Paul Hummer)
245
- Default sqlite interface is now sqlite3. (Robert Collins)
247
- New ninja theme sponsored by Canonical (Martin Albisetti)
249
- Added COPYING file and clarified copyright headers (John Arbash Meinel)
251
- Remove the .py extension requiered by the Debian Policy.
254
- New startup script serve-branches will serve Loggerhead without
255
the need of configuration, and allow you to browse through directories
256
and branches. (Michael Hudson)
258
- Loggerhead is no longer a TurboGears application, but rather a
259
WSGI application built using Paste (see http://wsgi.org/ and
260
http://pythonpaste.org/ for more about WSGI and Paste).
262
- URLs now use revision numbers instead of revision ids (Martin Albisetti)
264
- The scripts no longer insist on Python 2.4 -- loggerhead works
267
- Bazaar as of version 1.5 has improved in performance enough that
268
the revision cache no longer gave any noticeable benefit, so it
269
was removed (the files-changed cache is still useful).
271
- The templates were rewritten in Zope's TAL markup, powered by
272
the simpleTAL library -- improving both the performance and
273
memory consumption of rendering by a factor of around 3 for
274
large pages over the old Kid templates.
276
- Loggerhead's poorly performing text index was disabled. bzr-search
277
is now used if the plugin is installed and a text index is present
278
on the branch being viewed. (Martin Albisetti, Robert Collins).
280
- Loggerhead no longer depends on bzrlib functions deprecated in
281
Bazaar 1.5 and removed in 1.6 (Martin Albisetti).
283
- The daemonization code was made more regular, fixing bugs
284
#139161 ("Starting loggerhead process may not close its stdin
285
and stdout properly") and #211526 ("Codebrowse log directory has
286
unnecessarily permissive permissions")
288
- Some confusion about what the 'file_id' query argument means was
289
cleared up: filter_file_id now means "filter revisions to those
290
that affect this file" in all views and file_id means "examine
291
this file/directory" in the annotate and inventory views.
293
- Dates are present more compactly.
295
- The loggerhead.conf file can specify which network interface to
296
bind to (Mattias Eriksson)
301
- The changelog view was out of order when not using the revision
306
- Michael Hudson <michael.hudson@canonical.com> has mostly taken
307
over the maintenance of loggerhead.
309
- loggerhead now has a simple test suite -- use 'nosetests' in the
310
loggerhead directory to run it.
312
- The rendering performance of pages that display large amounts of
313
text was improved by a factor of 4 or so.
315
- loggerhead no longer caches the text of the diffs between
316
revisions. It rarely helped and wasted a lot of disk space.
318
- The layout of most pages was made more "tight" to waste less
319
screen real estate, and some other UI improvements (Kent
322
- Much dead code was removed.
324
- Loggerhead now computes the files changed between revisions only
325
when it needs to know this. This is a fairly expensive
326
operation in Bazaar, and doing it less massively improves
327
performance and memory usage in some situations.
329
- Loggerhead now takes a read lock on the branch being viewed for
330
the duration of each request, which improves performance
333
- Loggerhead no longer uses the corruption-prone Berkely DB-backed
334
shelve module for its caches, and rather (ab)uses a sqlite
337
- The creation of History objects is much faster for large
338
branches (Aaron Bentley).
340
- Allow the construction of URLs using revnos and file paths as
341
well as revids and fileids (bug #98826):
343
- For changes pages, append the newest revno to display to the
344
URL, like http://.../changes/<revno>
346
- For annotate pages, append the revno to display to the URL,
347
followed by the path, like http://.../annotate/<revno>/<path>
349
- For file listing and revision pages append the revno to
350
display to the URL, like http://.../files/<revno>
352
Loggerhead still generates URLs using revision and file ids for
355
- Many bugs were fixed:
357
- Loggerhead does not escape special characters when embedding a
358
revision ID in a URL (bug #88286)
360
- Improved robustness in the face of ghosts.
362
- Don't crash on displaying a commit with an empty message (bug
365
- codebrowse fails with infinite redirections (James Henstridge,
368
- Loggerhead fails to browse revisions that change binary files
369
(James Henstridge, bug #91686)
371
- Loggerhead atom feeds expose internal hostname (James
372
Henstridge, bug #93585)
374
- loggerhead don't like page break character (0x0C) in text
377
- codebrowse source listings don't contain line number anchors
380
- only serve up unescaped user content with "Content-Disposition:
383
- viewing the file listing consumes a lot memory (bug #116869)
385
- loggerhead can't handle empty branches (bug #119228)
387
- upgrading the format of a branch behind loggerhead could make
388
it fail for that branch (bug #118673)
390
- Error parsing non-ascii content (bug #117799)
392
- Loggerhead failed on whitespace-only commit messages.
394
- Links to diffs from within a revision do not work (bug
397
- UTF-8 patches served as ISO-8859-1, fixed by served bundles as
398
application/octet-stream (bug #121336)
400
- TurboGears was turning query arguments into unicode, and bzr
401
stopped accepting unicode revids (bug #175228)
407
- fix broken inventory page (oops!)
409
- fix a few rendering problems with kid and safari
4
415
- new feature to compare two revisions to each other
6
417
- inserted text in diffs is now blue instead of green
8
419
- fixed to start and stop as a daemon now (use "-f" to run in the
9
420
foreground), and all config is in loggerhead.conf (no need to mess with
12
423
- renamed show/hide javascript buttons to expand/collapse, and made them
15
426
- added an atom-feed link to each branch on the browse page [elliot
18
429
- auto-publish feature for multiple branches under a single folder (see
19
430
loggerhead.conf.example)
21
432
- added the ability to share cache files per-project instead of just
24
435
- added side-by-side diff display for the revision page (which is the
25
436
default), with a button to switch between side-by-side and unified diff
28
439
- made caching use file locking, and close cleanly on shutdown
30
441
- miscellaneous speed and page-size improvements