2
1
What's changed in loggerhead?
3
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)
23
- Syntax highlighting is no longer applied for files greater than 512K,
24
reducing codebrowse.launchpad.net overloading.
25
(Max Kanat-Alexander, #513044)
27
- Documentation added in the docs directory. README simplified
28
accordingly. (Tres Seaver).
30
- Show svn/git/hg revision ids in loggerhead revision view.
33
- Fix .bzr/smart access to branches in shared repos. (You also need
34
a version of bzr with bug #348308 fixed.) (Andrew Bennetts)
36
- Support FastCGI, SCGI and AJP using flup. (Denis Martinez)
38
- Repository.get_revision_inventory() was removed in bzr 2.2; use
39
Repository.get_inventory() instead. (Matt Nordhoff, #528194)
41
- Ignore readonly+ prefix when checking if Loggerhead is serving a
42
local location. (Reported by Tres Seaver.) (Matt Nordhoff)
44
- Set Cache-Control and Expires headers on static pages.
47
- Generate relative links where possible (everywhere but HTTP
48
redirects and feed IDs). (Michael Hudson, Matt Nordhoff)
50
- Fix bad redirect when visiting "/download" or "/download/".
51
(Matt Nordhoff, #247992)
57
- Add bug links in revision informations (Alexandre Garnier, #314052)
59
- Make sure that binary files aren't annotated. (Martin Albisetti,
62
- Loggerhead now serves bzr branches over HTTP and exposes the URL
63
to branch them. Addresses bug #240577. (Jonathan Lange)
65
- Leading blank lines in commit messages no longer result in an
66
empty summary. (Colin Watson)
68
- Added optional syntax highlighting to annotate view using
69
python-pygments. Partially addresses bug #306631. (Peter Bui)
71
- Convert newlines in commit messages to HTML line breaks for
72
annotate and changelog views. Addresses bug #273688. (Peter
75
- serve-branches now errors if run behind a proxy without
76
paste.deploy installed. (Michael Hudson)
78
- Loggerhead should now handle file and directory names that need
79
URL escaping without crashing.
81
- The start-loggerhead script properly sets the wsgi.url_scheme
82
from the server.webpath option. (neror, #260547)
84
- The revision page defaults to unified style again, and can
85
convert to a side-by-side view using JavaScript. (Michael Hudson)
87
- Clean up and improve performance of the annotate view. (Michael
90
- Finish converting JavaScript from MooTools to YUI 3. (Michael
93
- Improve compatibility with IE 6. (Michael Hudson)
95
- Leading blank lines in commit messages no longer result in an
96
empty summary. (Colin Watson)
98
- Clip long lines in side-by-side diff view. (Michael Hudson,
101
- The user-confusing "next" and "previous" links now read "older"
102
and "newer" respectively. (Michael Hudson, #297930)
104
- The annotate view now contains line number anchors. (Michael
107
- Fix inventory pages using "//" in links. (Michael Hudson, #329668)
109
- Fix problems viewing files and directories containing spaces and
110
other funny characters. (Peter Bui)
112
- Changelog messages are now displayed with newlines preserved.
115
- Offer a link to see the full file diffs for a file path. (Michael
118
- Fix annotate error caused by Pygments stripping trailing
119
whitespace. (Michael Hudson, #338762)
121
- Loggerhead can be installed as a Bazaar plugin and run by
122
'bzr serve --http'. (Martin Pool)
124
- Load parts of the changelog and revision pages via XMLHttpRequest
125
to improve performance. This adds a dependency on simplejson or
126
json. Partially addresses bug #253950. (Michael Hudson)
128
- Various improvements to the animation JavaScript. (Michael Hudson)
130
- Fix HTML content of source files being displayed unescaped when
131
Pygments was unavailable. (Michael Hudson, #344970)
133
- Fix serve-branches's path argument. (Michael Hudson, #353230)
135
- serve-branches now has an option, --use-cdn, to load YUI from
136
Yahoo!'s CDN. (Matt Nordhoff)
138
- Fix certain race conditions for loading bzr-search. (Robert
141
- Fix errors when using serve-branches --log-folder or --user-dirs.
142
(It was calling config.get_option() incorrectly.) (Matt Nordhoff,
145
- Move some caching from RAM to the disk, and other caching and
146
memory usage improvements. (Michael Hudson)
148
- Add a --cache-dir option to serve-branches to choose where to
149
place the SQL cache, and only create one temporary SQL dir per
150
process. (Matt Nordhoff, #358322)
152
- Replace homebrew memory profiling code with Dozer. (Paul Hummer)
154
- Use the branch's public_branch as the default suggested URL to
155
branch from (Matt Nordhoff, #369767)
157
- Fix a file descriptor leak (Matt Nordhoff, #370845)
159
- Use transport API internally, so it is possible to specify a remote
160
URL to serve-branches. (Jelmer Vernooij, #371787)
162
- Fix internal server errors when using start-loggerhead. (Matt
165
- Fix annotating non-UTF-8 files when Pygments is disabled. (Matt
168
- Fix 'bzr serve --http' errors. (Matt Nordhoff, #377551)
170
- Added the option to hide branches by setting http_serve = False
171
in locations.conf (Martin Albisetti)
173
- Fix serving branches over HTTP. (Matt Nordhoff, Jelmer Vernooij,
176
- Install loggerhead as a bzr plugin by default (Jelmer Vernooij)
178
- Fix logging 404 Not Found responses (Matt Nordhoff, #381029)
180
- Bumped minimunm bzrlib version to 1.13 (Martin Albisetti)
182
- Make sure the Atom feeds (nearly) validate. (Matt Nordhoff, #247162)
184
- Support serving branches over HTTP using the smart server protocol.
185
(Jelmer Vernooij, #306853)
187
- Serving branch data was broken when --allow-writes was *not*
188
passed. (Michael Hudson, #388730)
190
- http_serve config values are interpreted more forgivingly.
193
- When specifying a remote url to serve-branches, do not share
194
connections between threads. (Michael Hudson, #390972)
196
- http_serve values from locations.conf are now applied to
197
non-branch .bzr data (e.g shared repositories). (Michael Hudson)
199
- tags are now displayed. (Cris Boylan, Alexandre Garnier, Michael
202
- Display Loggerhead's version number at the bottom of the page, and
203
add a <meta> generator tag also including the version numbers of
204
its dependencies. (Matt Nordhoff, #370155)
210
- Add startup deamon script for Linux (Marius Kruger)
212
- Switch navigation from file_ids to paths. Fixes bugs #260363,
213
#269365 and #128926. (Martin Albisetti)
215
- Fix bug #258710 ("the /files page explodes in an empty branch").
216
Also minor improvements to the /files and /changes pages.
219
- Added --port, --host and --prefix options to serve-branches
220
script. (Martin Albisetti)
222
- Fixed broken template for project browsing with start-loggerhead
225
- Added --reload options to restart the application when a python
226
file change. (Guillermo Gonzalez)
228
- Added error handling middleware. (Guillermo Gonzalez)
230
- Fix bug #243415 ("Tracebacks go to console but not log
231
file"). Also minor improvements to logging in serve-branches and
232
start-loggerhead. (Guillermo Gonzalez)
237
- Download a diffs between revisions. (Martin Albisetti)
239
- Modified templates to make loggerhead's theme easier to
240
change. (Paul Hummer)
242
- Default sqlite interface is now sqlite3. (Robert Collins)
244
- New ninja theme sponsored by Canonical (Martin Albisetti)
246
- Added COPYING file and clarified copyright headers (John Arbash Meinel)
248
- Remove the .py extension requiered by the Debian Policy.
251
- New startup script serve-branches will serve Loggerhead without
252
the need of configuration, and allow you to browse through directories
253
and branches. (Michael Hudson)
255
- Loggerhead is no longer a TurboGears application, but rather a
256
WSGI application built using Paste (see http://wsgi.org/ and
257
http://pythonpaste.org/ for more about WSGI and Paste).
259
- URLs now use revision numbers instead of revision ids (Martin Albisetti)
261
- The scripts no longer insist on Python 2.4 -- loggerhead works
264
- Bazaar as of version 1.5 has improved in performance enough that
265
the revision cache no longer gave any noticeable benefit, so it
266
was removed (the files-changed cache is still useful).
268
- The templates were rewritten in Zope's TAL markup, powered by
269
the simpleTAL library -- improving both the performance and
270
memory consumption of rendering by a factor of around 3 for
271
large pages over the old Kid templates.
273
- Loggerhead's poorly performing text index was disabled. bzr-search
274
is now used if the plugin is installed and a text index is present
275
on the branch being viewed. (Martin Albisetti, Robert Collins).
277
- Loggerhead no longer depends on bzrlib functions deprecated in
278
Bazaar 1.5 and removed in 1.6 (Martin Albisetti).
280
- The daemonization code was made more regular, fixing bugs
281
#139161 ("Starting loggerhead process may not close its stdin
282
and stdout properly") and #211526 ("Codebrowse log directory has
283
unnecessarily permissive permissions")
285
- Some confusion about what the 'file_id' query argument means was
286
cleared up: filter_file_id now means "filter revisions to those
287
that affect this file" in all views and file_id means "examine
288
this file/directory" in the annotate and inventory views.
290
- Dates are present more compactly.
292
- The loggerhead.conf file can specify which network interface to
293
bind to (Mattias Eriksson)
298
- The changelog view was out of order when not using the revision
303
- Michael Hudson <michael.hudson@canonical.com> has mostly taken
304
over the maintenance of loggerhead.
306
- loggerhead now has a simple test suite -- use 'nosetests' in the
307
loggerhead directory to run it.
309
- The rendering performance of pages that display large amounts of
310
text was improved by a factor of 4 or so.
312
- loggerhead no longer caches the text of the diffs between
313
revisions. It rarely helped and wasted a lot of disk space.
315
- The layout of most pages was made more "tight" to waste less
316
screen real estate, and some other UI improvements (Kent
319
- Much dead code was removed.
321
- Loggerhead now computes the files changed between revisions only
322
when it needs to know this. This is a fairly expensive
323
operation in Bazaar, and doing it less massively improves
324
performance and memory usage in some situations.
326
- Loggerhead now takes a read lock on the branch being viewed for
327
the duration of each request, which improves performance
330
- Loggerhead no longer uses the corruption-prone Berkely DB-backed
331
shelve module for its caches, and rather (ab)uses a sqlite
334
- The creation of History objects is much faster for large
335
branches (Aaron Bentley).
337
- Allow the construction of URLs using revnos and file paths as
338
well as revids and fileids (bug #98826):
340
- For changes pages, append the newest revno to display to the
341
URL, like http://.../changes/<revno>
343
- For annotate pages, append the revno to display to the URL,
344
followed by the path, like http://.../annotate/<revno>/<path>
346
- For file listing and revision pages append the revno to
347
display to the URL, like http://.../files/<revno>
349
Loggerhead still generates URLs using revision and file ids for
352
- Many bugs were fixed:
354
- Loggerhead does not escape special characters when embedding a
355
revision ID in a URL (bug #88286)
357
- Improved robustness in the face of ghosts.
359
- Don't crash on displaying a commit with an empty message (bug
362
- codebrowse fails with infinite redirections (James Henstridge,
365
- Loggerhead fails to browse revisions that change binary files
366
(James Henstridge, bug #91686)
368
- Loggerhead atom feeds expose internal hostname (James
369
Henstridge, bug #93585)
371
- loggerhead don't like page break character (0x0C) in text
374
- codebrowse source listings don't contain line number anchors
377
- only serve up unescaped user content with "Content-Disposition:
380
- viewing the file listing consumes a lot memory (bug #116869)
382
- loggerhead can't handle empty branches (bug #119228)
384
- upgrading the format of a branch behind loggerhead could make
385
it fail for that branch (bug #118673)
387
- Error parsing non-ascii content (bug #117799)
389
- Loggerhead failed on whitespace-only commit messages.
391
- Links to diffs from within a revision do not work (bug
394
- UTF-8 patches served as ISO-8859-1, fixed by served bundles as
395
application/octet-stream (bug #121336)
397
- TurboGears was turning query arguments into unicode, and bzr
398
stopped accepting unicode revids (bug #175228)
8
404
- fix broken inventory page (oops!)
10
406
- fix a few rendering problems with kid and safari