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 support for displaying foreign revision ids.
43
(Jelmer Vernooij, #736026)
45
- Add hook 'controller' to BranchWSGIApp, allowing other bzr plugins
46
to provide custom branch-specific controllers. (Jelmer Vernooij, #585822)
48
- Add privacy notification code to loggerhead, allowing branches to be
49
marked as private and a notification ribbon to be displayed via
50
javascript on the view pages. (JC Sackett, #823471)
56
- Fix escaping of filenames in revision views.
57
(William Grant, #740142)
59
- Add missing import to loggerhead.trace, allowing start-loggerhead
60
to run when a log.roll config option is set.
61
(Max Kanat-Alexander, #673999)
67
- Syntax highlighting is no longer applied for files greater than 512K,
68
reducing codebrowse.launchpad.net overloading.
69
(Max Kanat-Alexander, #513044)
71
- Documentation added in the docs directory. README simplified
72
accordingly. (Tres Seaver).
74
- Show svn/git/hg revision ids in loggerhead revision view.
77
- Fix .bzr/smart access to branches in shared repos. (You also need
78
a version of bzr with bug #348308 fixed.) (Andrew Bennetts)
80
- Support FastCGI, SCGI and AJP using flup. (Denis Martinez)
82
- Repository.get_revision_inventory() was removed in bzr 2.2; use
83
Repository.get_inventory() instead. (Matt Nordhoff, #528194)
85
- Ignore readonly+ prefix when checking if Loggerhead is serving a
86
local location. (Reported by Tres Seaver.) (Matt Nordhoff)
88
- Set Cache-Control and Expires headers on static pages.
91
- Generate relative links where possible (everywhere but HTTP
92
redirects and feed IDs). (Michael Hudson, Matt Nordhoff)
94
- Fix bad redirect when visiting "/download" or "/download/".
95
(Matt Nordhoff, #247992)
101
- Add bug links in revision informations (Alexandre Garnier, #314052)
103
- Make sure that binary files aren't annotated. (Martin Albisetti,
106
- Loggerhead now serves bzr branches over HTTP and exposes the URL
107
to branch them. Addresses bug #240577. (Jonathan Lange)
109
- Leading blank lines in commit messages no longer result in an
110
empty summary. (Colin Watson)
112
- Added optional syntax highlighting to annotate view using
113
python-pygments. Partially addresses bug #306631. (Peter Bui)
115
- Convert newlines in commit messages to HTML line breaks for
116
annotate and changelog views. Addresses bug #273688. (Peter
119
- serve-branches now errors if run behind a proxy without
120
paste.deploy installed. (Michael Hudson)
122
- Loggerhead should now handle file and directory names that need
123
URL escaping without crashing.
125
- The start-loggerhead script properly sets the wsgi.url_scheme
126
from the server.webpath option. (neror, #260547)
128
- The revision page defaults to unified style again, and can
129
convert to a side-by-side view using JavaScript. (Michael Hudson)
131
- Clean up and improve performance of the annotate view. (Michael
134
- Finish converting JavaScript from MooTools to YUI 3. (Michael
137
- Improve compatibility with IE 6. (Michael Hudson)
139
- Leading blank lines in commit messages no longer result in an
140
empty summary. (Colin Watson)
142
- Clip long lines in side-by-side diff view. (Michael Hudson,
145
- The user-confusing "next" and "previous" links now read "older"
146
and "newer" respectively. (Michael Hudson, #297930)
148
- The annotate view now contains line number anchors. (Michael
151
- Fix inventory pages using "//" in links. (Michael Hudson, #329668)
153
- Fix problems viewing files and directories containing spaces and
154
other funny characters. (Peter Bui)
156
- Changelog messages are now displayed with newlines preserved.
159
- Offer a link to see the full file diffs for a file path. (Michael
162
- Fix annotate error caused by Pygments stripping trailing
163
whitespace. (Michael Hudson, #338762)
165
- Loggerhead can be installed as a Bazaar plugin and run by
166
'bzr serve --http'. (Martin Pool)
168
- Load parts of the changelog and revision pages via XMLHttpRequest
169
to improve performance. This adds a dependency on simplejson or
170
json. Partially addresses bug #253950. (Michael Hudson)
172
- Various improvements to the animation JavaScript. (Michael Hudson)
174
- Fix HTML content of source files being displayed unescaped when
175
Pygments was unavailable. (Michael Hudson, #344970)
177
- Fix serve-branches's path argument. (Michael Hudson, #353230)
179
- serve-branches now has an option, --use-cdn, to load YUI from
180
Yahoo!'s CDN. (Matt Nordhoff)
182
- Fix certain race conditions for loading bzr-search. (Robert
185
- Fix errors when using serve-branches --log-folder or --user-dirs.
186
(It was calling config.get_option() incorrectly.) (Matt Nordhoff,
189
- Move some caching from RAM to the disk, and other caching and
190
memory usage improvements. (Michael Hudson)
192
- Add a --cache-dir option to serve-branches to choose where to
193
place the SQL cache, and only create one temporary SQL dir per
194
process. (Matt Nordhoff, #358322)
196
- Replace homebrew memory profiling code with Dozer. (Paul Hummer)
198
- Use the branch's public_branch as the default suggested URL to
199
branch from (Matt Nordhoff, #369767)
201
- Fix a file descriptor leak (Matt Nordhoff, #370845)
203
- Use transport API internally, so it is possible to specify a remote
204
URL to serve-branches. (Jelmer Vernooij, #371787)
206
- Fix internal server errors when using start-loggerhead. (Matt
209
- Fix annotating non-UTF-8 files when Pygments is disabled. (Matt
212
- Fix 'bzr serve --http' errors. (Matt Nordhoff, #377551)
214
- Added the option to hide branches by setting http_serve = False
215
in locations.conf (Martin Albisetti)
217
- Fix serving branches over HTTP. (Matt Nordhoff, Jelmer Vernooij,
220
- Install loggerhead as a bzr plugin by default (Jelmer Vernooij)
222
- Fix logging 404 Not Found responses (Matt Nordhoff, #381029)
224
- Bumped minimunm bzrlib version to 1.13 (Martin Albisetti)
226
- Make sure the Atom feeds (nearly) validate. (Matt Nordhoff, #247162)
228
- Support serving branches over HTTP using the smart server protocol.
229
(Jelmer Vernooij, #306853)
231
- Serving branch data was broken when --allow-writes was *not*
232
passed. (Michael Hudson, #388730)
234
- http_serve config values are interpreted more forgivingly.
237
- When specifying a remote url to serve-branches, do not share
238
connections between threads. (Michael Hudson, #390972)
240
- http_serve values from locations.conf are now applied to
241
non-branch .bzr data (e.g shared repositories). (Michael Hudson)
243
- tags are now displayed. (Cris Boylan, Alexandre Garnier, Michael
246
- Display Loggerhead's version number at the bottom of the page, and
247
add a <meta> generator tag also including the version numbers of
248
its dependencies. (Matt Nordhoff, #370155)
254
- Add startup deamon script for Linux (Marius Kruger)
256
- Switch navigation from file_ids to paths. Fixes bugs #260363,
257
#269365 and #128926. (Martin Albisetti)
259
- Fix bug #258710 ("the /files page explodes in an empty branch").
260
Also minor improvements to the /files and /changes pages.
263
- Added --port, --host and --prefix options to serve-branches
264
script. (Martin Albisetti)
266
- Fixed broken template for project browsing with start-loggerhead
269
- Added --reload options to restart the application when a python
270
file change. (Guillermo Gonzalez)
272
- Added error handling middleware. (Guillermo Gonzalez)
274
- Fix bug #243415 ("Tracebacks go to console but not log
275
file"). Also minor improvements to logging in serve-branches and
276
start-loggerhead. (Guillermo Gonzalez)
281
- Download a diffs between revisions. (Martin Albisetti)
283
- Modified templates to make loggerhead's theme easier to
284
change. (Paul Hummer)
286
- Default sqlite interface is now sqlite3. (Robert Collins)
288
- New ninja theme sponsored by Canonical (Martin Albisetti)
290
- Added COPYING file and clarified copyright headers (John Arbash Meinel)
292
- Remove the .py extension requiered by the Debian Policy.
295
- New startup script serve-branches will serve Loggerhead without
296
the need of configuration, and allow you to browse through directories
297
and branches. (Michael Hudson)
299
- Loggerhead is no longer a TurboGears application, but rather a
300
WSGI application built using Paste (see http://wsgi.org/ and
301
http://pythonpaste.org/ for more about WSGI and Paste).
303
- URLs now use revision numbers instead of revision ids (Martin Albisetti)
305
- The scripts no longer insist on Python 2.4 -- loggerhead works
308
- Bazaar as of version 1.5 has improved in performance enough that
309
the revision cache no longer gave any noticeable benefit, so it
310
was removed (the files-changed cache is still useful).
312
- The templates were rewritten in Zope's TAL markup, powered by
313
the simpleTAL library -- improving both the performance and
314
memory consumption of rendering by a factor of around 3 for
315
large pages over the old Kid templates.
317
- Loggerhead's poorly performing text index was disabled. bzr-search
318
is now used if the plugin is installed and a text index is present
319
on the branch being viewed. (Martin Albisetti, Robert Collins).
321
- Loggerhead no longer depends on bzrlib functions deprecated in
322
Bazaar 1.5 and removed in 1.6 (Martin Albisetti).
324
- The daemonization code was made more regular, fixing bugs
325
#139161 ("Starting loggerhead process may not close its stdin
326
and stdout properly") and #211526 ("Codebrowse log directory has
327
unnecessarily permissive permissions")
329
- Some confusion about what the 'file_id' query argument means was
330
cleared up: filter_file_id now means "filter revisions to those
331
that affect this file" in all views and file_id means "examine
332
this file/directory" in the annotate and inventory views.
334
- Dates are present more compactly.
336
- The loggerhead.conf file can specify which network interface to
337
bind to (Mattias Eriksson)
342
- The changelog view was out of order when not using the revision
347
- Michael Hudson <michael.hudson@canonical.com> has mostly taken
348
over the maintenance of loggerhead.
350
- loggerhead now has a simple test suite -- use 'nosetests' in the
351
loggerhead directory to run it.
353
- The rendering performance of pages that display large amounts of
354
text was improved by a factor of 4 or so.
356
- loggerhead no longer caches the text of the diffs between
357
revisions. It rarely helped and wasted a lot of disk space.
359
- The layout of most pages was made more "tight" to waste less
360
screen real estate, and some other UI improvements (Kent
363
- Much dead code was removed.
365
- Loggerhead now computes the files changed between revisions only
366
when it needs to know this. This is a fairly expensive
367
operation in Bazaar, and doing it less massively improves
368
performance and memory usage in some situations.
370
- Loggerhead now takes a read lock on the branch being viewed for
371
the duration of each request, which improves performance
374
- Loggerhead no longer uses the corruption-prone Berkely DB-backed
375
shelve module for its caches, and rather (ab)uses a sqlite
378
- The creation of History objects is much faster for large
379
branches (Aaron Bentley).
381
- Allow the construction of URLs using revnos and file paths as
382
well as revids and fileids (bug #98826):
384
- For changes pages, append the newest revno to display to the
385
URL, like http://.../changes/<revno>
387
- For annotate pages, append the revno to display to the URL,
388
followed by the path, like http://.../annotate/<revno>/<path>
390
- For file listing and revision pages append the revno to
391
display to the URL, like http://.../files/<revno>
393
Loggerhead still generates URLs using revision and file ids for
396
- Many bugs were fixed:
398
- Loggerhead does not escape special characters when embedding a
399
revision ID in a URL (bug #88286)
401
- Improved robustness in the face of ghosts.
403
- Don't crash on displaying a commit with an empty message (bug
406
- codebrowse fails with infinite redirections (James Henstridge,
409
- Loggerhead fails to browse revisions that change binary files
410
(James Henstridge, bug #91686)
412
- Loggerhead atom feeds expose internal hostname (James
413
Henstridge, bug #93585)
415
- loggerhead don't like page break character (0x0C) in text
418
- codebrowse source listings don't contain line number anchors
421
- only serve up unescaped user content with "Content-Disposition:
424
- viewing the file listing consumes a lot memory (bug #116869)
426
- loggerhead can't handle empty branches (bug #119228)
428
- upgrading the format of a branch behind loggerhead could make
429
it fail for that branch (bug #118673)
431
- Error parsing non-ascii content (bug #117799)
433
- Loggerhead failed on whitespace-only commit messages.
435
- Links to diffs from within a revision do not work (bug
438
- UTF-8 patches served as ISO-8859-1, fixed by served bundles as
439
application/octet-stream (bug #121336)
441
- TurboGears was turning query arguments into unicode, and bzr
442
stopped accepting unicode revids (bug #175228)
8
448
- fix broken inventory page (oops!)
10
450
- fix a few rendering problems with kid and safari