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
- HEAD requests should not return body content. This is done by adding
13
another wsgi middleware that strips the body when the REQUEST_METHOD is
14
HEAD. Note that you have to add the middleware into your pipeline, and
15
it does not decrease the actual work done.
16
(John Arbash Meinel, #716201)
18
- If we get a HEAD request, there is no reason to expand the template, we
19
shouldn't be returning body content anyway.
20
(John Arbash Meinel, #716201, #716217)
22
- Merge the pqm changes back into trunk, after trunk was reverted to an old
23
revision. (John Arbash Meinel, #716152)
25
- Redirect ``/files/file.txt`` to ``/view/file.txt`` and ``/view/dir`` to
26
``/files/dir``. (Jasper St. Pierre, #569358)
28
- Remove ``start-loggerhead`` and ``stop-loggerhead`` which were already
29
deprecated. (John Arbash Meinel)
31
- Show "Author(s)" as separate from "Committer". And label them
32
correctly. (John Arbash Meinel, #733015)
34
- The json module is no longer claimed to be supported as alternative for
35
simplejson. (Jelmer Vernooij, #586611)
37
- Viewing the ``/changes`` page only iterates enough of the history to show
38
the actual revisions displayed, rather than walking the whole mainline.
39
Improves performance on projects with long histories like emacs.
42
- Fix escaping of filenames in revision views.
43
(William Grant, #740142)
45
- Fix support for displaying foreign revision ids.
46
(Jelmer Vernooij, #736026)
52
- Syntax highlighting is no longer applied for files greater than 512K,
53
reducing codebrowse.launchpad.net overloading.
54
(Max Kanat-Alexander, #513044)
56
- Documentation added in the docs directory. README simplified
57
accordingly. (Tres Seaver).
59
- Show svn/git/hg revision ids in loggerhead revision view.
62
- Fix .bzr/smart access to branches in shared repos. (You also need
63
a version of bzr with bug #348308 fixed.) (Andrew Bennetts)
65
- Support FastCGI, SCGI and AJP using flup. (Denis Martinez)
67
- Repository.get_revision_inventory() was removed in bzr 2.2; use
68
Repository.get_inventory() instead. (Matt Nordhoff, #528194)
70
- Ignore readonly+ prefix when checking if Loggerhead is serving a
71
local location. (Reported by Tres Seaver.) (Matt Nordhoff)
73
- Set Cache-Control and Expires headers on static pages.
76
- Generate relative links where possible (everywhere but HTTP
77
redirects and feed IDs). (Michael Hudson, Matt Nordhoff)
79
- Fix bad redirect when visiting "/download" or "/download/".
80
(Matt Nordhoff, #247992)
86
- Add bug links in revision informations (Alexandre Garnier, #314052)
88
- Make sure that binary files aren't annotated. (Martin Albisetti,
91
- Loggerhead now serves bzr branches over HTTP and exposes the URL
92
to branch them. Addresses bug #240577. (Jonathan Lange)
94
- Leading blank lines in commit messages no longer result in an
95
empty summary. (Colin Watson)
97
- Added optional syntax highlighting to annotate view using
98
python-pygments. Partially addresses bug #306631. (Peter Bui)
100
- Convert newlines in commit messages to HTML line breaks for
101
annotate and changelog views. Addresses bug #273688. (Peter
104
- serve-branches now errors if run behind a proxy without
105
paste.deploy installed. (Michael Hudson)
107
- Loggerhead should now handle file and directory names that need
108
URL escaping without crashing.
110
- The start-loggerhead script properly sets the wsgi.url_scheme
111
from the server.webpath option. (neror, #260547)
113
- The revision page defaults to unified style again, and can
114
convert to a side-by-side view using JavaScript. (Michael Hudson)
116
- Clean up and improve performance of the annotate view. (Michael
119
- Finish converting JavaScript from MooTools to YUI 3. (Michael
122
- Improve compatibility with IE 6. (Michael Hudson)
124
- Leading blank lines in commit messages no longer result in an
125
empty summary. (Colin Watson)
127
- Clip long lines in side-by-side diff view. (Michael Hudson,
130
- The user-confusing "next" and "previous" links now read "older"
131
and "newer" respectively. (Michael Hudson, #297930)
133
- The annotate view now contains line number anchors. (Michael
136
- Fix inventory pages using "//" in links. (Michael Hudson, #329668)
138
- Fix problems viewing files and directories containing spaces and
139
other funny characters. (Peter Bui)
141
- Changelog messages are now displayed with newlines preserved.
144
- Offer a link to see the full file diffs for a file path. (Michael
147
- Fix annotate error caused by Pygments stripping trailing
148
whitespace. (Michael Hudson, #338762)
150
- Loggerhead can be installed as a Bazaar plugin and run by
151
'bzr serve --http'. (Martin Pool)
153
- Load parts of the changelog and revision pages via XMLHttpRequest
154
to improve performance. This adds a dependency on simplejson or
155
json. Partially addresses bug #253950. (Michael Hudson)
157
- Various improvements to the animation JavaScript. (Michael Hudson)
159
- Fix HTML content of source files being displayed unescaped when
160
Pygments was unavailable. (Michael Hudson, #344970)
162
- Fix serve-branches's path argument. (Michael Hudson, #353230)
164
- serve-branches now has an option, --use-cdn, to load YUI from
165
Yahoo!'s CDN. (Matt Nordhoff)
167
- Fix certain race conditions for loading bzr-search. (Robert
170
- Fix errors when using serve-branches --log-folder or --user-dirs.
171
(It was calling config.get_option() incorrectly.) (Matt Nordhoff,
174
- Move some caching from RAM to the disk, and other caching and
175
memory usage improvements. (Michael Hudson)
177
- Add a --cache-dir option to serve-branches to choose where to
178
place the SQL cache, and only create one temporary SQL dir per
179
process. (Matt Nordhoff, #358322)
181
- Replace homebrew memory profiling code with Dozer. (Paul Hummer)
183
- Use the branch's public_branch as the default suggested URL to
184
branch from (Matt Nordhoff, #369767)
186
- Fix a file descriptor leak (Matt Nordhoff, #370845)
188
- Use transport API internally, so it is possible to specify a remote
189
URL to serve-branches. (Jelmer Vernooij, #371787)
191
- Fix internal server errors when using start-loggerhead. (Matt
194
- Fix annotating non-UTF-8 files when Pygments is disabled. (Matt
197
- Fix 'bzr serve --http' errors. (Matt Nordhoff, #377551)
199
- Added the option to hide branches by setting http_serve = False
200
in locations.conf (Martin Albisetti)
202
- Fix serving branches over HTTP. (Matt Nordhoff, Jelmer Vernooij,
205
- Install loggerhead as a bzr plugin by default (Jelmer Vernooij)
207
- Fix logging 404 Not Found responses (Matt Nordhoff, #381029)
209
- Bumped minimunm bzrlib version to 1.13 (Martin Albisetti)
211
- Make sure the Atom feeds (nearly) validate. (Matt Nordhoff, #247162)
213
- Support serving branches over HTTP using the smart server protocol.
214
(Jelmer Vernooij, #306853)
216
- Serving branch data was broken when --allow-writes was *not*
217
passed. (Michael Hudson, #388730)
219
- http_serve config values are interpreted more forgivingly.
222
- When specifying a remote url to serve-branches, do not share
223
connections between threads. (Michael Hudson, #390972)
225
- http_serve values from locations.conf are now applied to
226
non-branch .bzr data (e.g shared repositories). (Michael Hudson)
228
- tags are now displayed. (Cris Boylan, Alexandre Garnier, Michael
231
- Display Loggerhead's version number at the bottom of the page, and
232
add a <meta> generator tag also including the version numbers of
233
its dependencies. (Matt Nordhoff, #370155)
239
- Add startup deamon script for Linux (Marius Kruger)
241
- Switch navigation from file_ids to paths. Fixes bugs #260363,
242
#269365 and #128926. (Martin Albisetti)
244
- Fix bug #258710 ("the /files page explodes in an empty branch").
245
Also minor improvements to the /files and /changes pages.
248
- Added --port, --host and --prefix options to serve-branches
249
script. (Martin Albisetti)
251
- Fixed broken template for project browsing with start-loggerhead
254
- Added --reload options to restart the application when a python
255
file change. (Guillermo Gonzalez)
257
- Added error handling middleware. (Guillermo Gonzalez)
259
- Fix bug #243415 ("Tracebacks go to console but not log
260
file"). Also minor improvements to logging in serve-branches and
261
start-loggerhead. (Guillermo Gonzalez)
266
- Download a diffs between revisions. (Martin Albisetti)
268
- Modified templates to make loggerhead's theme easier to
269
change. (Paul Hummer)
271
- Default sqlite interface is now sqlite3. (Robert Collins)
273
- New ninja theme sponsored by Canonical (Martin Albisetti)
275
- Added COPYING file and clarified copyright headers (John Arbash Meinel)
277
- Remove the .py extension requiered by the Debian Policy.
280
- New startup script serve-branches will serve Loggerhead without
281
the need of configuration, and allow you to browse through directories
282
and branches. (Michael Hudson)
284
- Loggerhead is no longer a TurboGears application, but rather a
285
WSGI application built using Paste (see http://wsgi.org/ and
286
http://pythonpaste.org/ for more about WSGI and Paste).
288
- URLs now use revision numbers instead of revision ids (Martin Albisetti)
290
- The scripts no longer insist on Python 2.4 -- loggerhead works
293
- Bazaar as of version 1.5 has improved in performance enough that
294
the revision cache no longer gave any noticeable benefit, so it
295
was removed (the files-changed cache is still useful).
297
- The templates were rewritten in Zope's TAL markup, powered by
298
the simpleTAL library -- improving both the performance and
299
memory consumption of rendering by a factor of around 3 for
300
large pages over the old Kid templates.
302
- Loggerhead's poorly performing text index was disabled. bzr-search
303
is now used if the plugin is installed and a text index is present
304
on the branch being viewed. (Martin Albisetti, Robert Collins).
306
- Loggerhead no longer depends on bzrlib functions deprecated in
307
Bazaar 1.5 and removed in 1.6 (Martin Albisetti).
309
- The daemonization code was made more regular, fixing bugs
310
#139161 ("Starting loggerhead process may not close its stdin
311
and stdout properly") and #211526 ("Codebrowse log directory has
312
unnecessarily permissive permissions")
314
- Some confusion about what the 'file_id' query argument means was
315
cleared up: filter_file_id now means "filter revisions to those
316
that affect this file" in all views and file_id means "examine
317
this file/directory" in the annotate and inventory views.
319
- Dates are present more compactly.
321
- The loggerhead.conf file can specify which network interface to
322
bind to (Mattias Eriksson)
327
- The changelog view was out of order when not using the revision
332
- Michael Hudson <michael.hudson@canonical.com> has mostly taken
333
over the maintenance of loggerhead.
335
- loggerhead now has a simple test suite -- use 'nosetests' in the
336
loggerhead directory to run it.
338
- The rendering performance of pages that display large amounts of
339
text was improved by a factor of 4 or so.
341
- loggerhead no longer caches the text of the diffs between
342
revisions. It rarely helped and wasted a lot of disk space.
344
- The layout of most pages was made more "tight" to waste less
345
screen real estate, and some other UI improvements (Kent
348
- Much dead code was removed.
350
- Loggerhead now computes the files changed between revisions only
351
when it needs to know this. This is a fairly expensive
352
operation in Bazaar, and doing it less massively improves
353
performance and memory usage in some situations.
355
- Loggerhead now takes a read lock on the branch being viewed for
356
the duration of each request, which improves performance
359
- Loggerhead no longer uses the corruption-prone Berkely DB-backed
360
shelve module for its caches, and rather (ab)uses a sqlite
363
- The creation of History objects is much faster for large
364
branches (Aaron Bentley).
366
- Allow the construction of URLs using revnos and file paths as
367
well as revids and fileids (bug #98826):
369
- For changes pages, append the newest revno to display to the
370
URL, like http://.../changes/<revno>
372
- For annotate pages, append the revno to display to the URL,
373
followed by the path, like http://.../annotate/<revno>/<path>
375
- For file listing and revision pages append the revno to
376
display to the URL, like http://.../files/<revno>
378
Loggerhead still generates URLs using revision and file ids for
381
- Many bugs were fixed:
383
- Loggerhead does not escape special characters when embedding a
384
revision ID in a URL (bug #88286)
386
- Improved robustness in the face of ghosts.
388
- Don't crash on displaying a commit with an empty message (bug
391
- codebrowse fails with infinite redirections (James Henstridge,
394
- Loggerhead fails to browse revisions that change binary files
395
(James Henstridge, bug #91686)
397
- Loggerhead atom feeds expose internal hostname (James
398
Henstridge, bug #93585)
400
- loggerhead don't like page break character (0x0C) in text
403
- codebrowse source listings don't contain line number anchors
406
- only serve up unescaped user content with "Content-Disposition:
409
- viewing the file listing consumes a lot memory (bug #116869)
411
- loggerhead can't handle empty branches (bug #119228)
413
- upgrading the format of a branch behind loggerhead could make
414
it fail for that branch (bug #118673)
416
- Error parsing non-ascii content (bug #117799)
418
- Loggerhead failed on whitespace-only commit messages.
420
- Links to diffs from within a revision do not work (bug
423
- UTF-8 patches served as ISO-8859-1, fixed by served bundles as
424
application/octet-stream (bug #121336)
426
- TurboGears was turning query arguments into unicode, and bzr
427
stopped accepting unicode revids (bug #175228)
8
433
- fix broken inventory page (oops!)
10
435
- fix a few rendering problems with kid and safari