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