1
What's changed in loggerhead?
2
=============================
7
- Make RevInfoDiskCache use a marshal version supported by Python 2, to
8
ease migration. (Colin Watson)
10
- Drop support for Python < 3 and Breezy < 3.1. (Jelmer Vernooij)
12
- Add a ``/health`` target, convenient for health checking in e.g.
13
Kubernetes. (Jelmer Vernooij)
15
- Fix highlighting for large files. (Jürgen Gmach, #1966702)
17
- Avoid use of file ids - use paths instead. (Jelmer Vernooij)
19
- Port from SimpleTAL to Chameleon. (Colin Watson)
21
- Modernize packaging. There are new dependencies on
22
``importlib_metadata`` (for Python < 3.8) and ``packaging``, in order
23
to avoid a self-import in ``setup.py``. People proxying Loggerhead
24
through Apache should install the ``loggerhead[proxied]`` extra;
25
people running it via FastCGI, SCGI, or AJP should install the
26
``loggerhead[flup]`` extra. (Colin Watson, #1831661)
31
- Port to Breezy (https://www.breezy-vcs.org/). (Jelmer Vernooij)
33
- Port to Python 3. (Jelmer Vernooij)
35
- Serve-branches has been renamed to 'loggerhead-serve'. (Jelmer Vernooij)
37
- Fixed weird icon in file lists (e.g. revision summaries) when a file or
38
directory with a blank name was listed. (Cruz Bishop, #387337).
40
- Add directory icons for directories in file lists (e.g. revision
41
summaries). Previously they were using the file icon.
42
(Cruz Bishop, #1053340).
44
- Format files under one kilobyte as "x bytes". (Cruz Bishop, #990217)
46
- Make the number of lines of context in embedded diffs on revision
47
pages configurable via a ``context`` query argument. (Paul Nixon)
49
- Add ``loggerhead/middleware`` and a few other files to the sdist.
52
- Widen the line number boxes just a little bit. (Cruz Bishop, #310255)
54
- Use breaking word-wrap on the entire information box. (Cruz Bishop,
57
- Add some more minor UI changes to do with rounded corners. (Cruz
60
- Set line-height on <pre> elements in file views, fixing misaligned
61
line numbers in some browsers. (Colin Watson)
63
- Drop dependency on simplejson in favour of the standard library's json
64
module in Python >= 2.6. (Colin Watson)
69
- Add ``bzr load-test-loggerhead`` as a way to make sure loggerhead can
70
handle concurrent requests, etc. Scripts can be written that spawn
71
multiple threads, and issue concurrent requests.
74
- HEAD requests should not return body content. This is done by adding
75
another wsgi middleware that strips the body when the REQUEST_METHOD is
76
HEAD. Note that you have to add the middleware into your pipeline, and
77
it does not decrease the actual work done.
78
(John Arbash Meinel, #716201)
80
- If we get a HEAD request, there is no reason to expand the template, we
81
shouldn't be returning body content anyway.
82
(John Arbash Meinel, #716201, #716217)
84
- Merge the pqm changes back into trunk, after trunk was reverted to an old
85
revision. (John Arbash Meinel, #716152)
87
- Redirect ``/files/file.txt`` to ``/view/file.txt`` and ``/view/dir`` to
88
``/files/dir``. (Jasper St. Pierre, #569358)
90
- Remove ``start-loggerhead`` and ``stop-loggerhead`` which were already
91
deprecated. (John Arbash Meinel)
93
- Show "Author(s)" as separate from "Committer". And label them
94
correctly. (John Arbash Meinel, #733015)
96
- The json module is no longer claimed to be supported as alternative for
97
simplejson. (Jelmer Vernooij, #586611)
99
- Viewing the ``/changes`` page only iterates enough of the history to show
100
the actual revisions displayed, rather than walking the whole mainline.
101
Improves performance on projects with long histories like emacs.
104
- Fix support for displaying foreign revision ids.
105
(Jelmer Vernooij, #736026)
107
- Add hook 'controller' to BranchWSGIApp, allowing other bzr plugins
108
to provide custom branch-specific controllers. (Jelmer Vernooij, #585822)
110
- Add privacy notification code to loggerhead, allowing branches to be
111
marked as private and a notification ribbon to be displayed via
112
javascript on the view pages. (JC Sackett, #823471)
114
- Add a script and documentation for running under mod_wsgi.
115
(Stuart Colville, Toshio Kuratomi)
117
- Make tz calculations consistent and use UTC in the UI everywhere we show
118
a precise timestamp. (Robert Collins, #594591)
120
- Avoid crashing when viewing, annotating or downloading a
121
non-existent file or revision.
122
(William Grant, #728209, #929275)
124
- Fix diff and view page styling to be more compact and more easily
125
copyable. (William Grant, #743295)
127
- Some small UI changes; extra border at the bottom of file diffs and
128
rounded corners in UI. (Cruz Bishop)
130
- Updated the Free Software Foundation address in headers. (Toshio
133
- Updated css to handle wrapping of long comments.
134
(Francesco Del Degan, #276768)
136
- Updated formatting of file sizes in file listings. (Cruz Bishop)
138
- Added revision number with release info in the page footer, when
139
available. (Cruz Bishop, #392668).
145
- Fix escaping of filenames in revision views.
146
(William Grant, #740142)
148
- Add missing import to loggerhead.trace, allowing start-loggerhead
149
to run when a log.roll config option is set.
150
(Max Kanat-Alexander, #673999)
156
- Syntax highlighting is no longer applied for files greater than 512K,
157
reducing codebrowse.launchpad.net overloading.
158
(Max Kanat-Alexander, #513044)
160
- Documentation added in the docs directory. README simplified
161
accordingly. (Tres Seaver).
163
- Show svn/git/hg revision ids in loggerhead revision view.
166
- Fix .bzr/smart access to branches in shared repos. (You also need
167
a version of bzr with bug #348308 fixed.) (Andrew Bennetts)
169
- Support FastCGI, SCGI and AJP using flup. (Denis Martinez)
171
- Repository.get_revision_inventory() was removed in bzr 2.2; use
172
Repository.get_inventory() instead. (Matt Nordhoff, #528194)
174
- Ignore readonly+ prefix when checking if Loggerhead is serving a
175
local location. (Reported by Tres Seaver.) (Matt Nordhoff)
177
- Set Cache-Control and Expires headers on static pages.
180
- Generate relative links where possible (everywhere but HTTP
181
redirects and feed IDs). (Michael Hudson, Matt Nordhoff)
183
- Fix bad redirect when visiting "/download" or "/download/".
184
(Matt Nordhoff, #247992)
189
- Add bug links in revision informations (Alexandre Garnier, #314052)
191
- Make sure that binary files aren't annotated. (Martin Albisetti,
194
- Loggerhead now serves bzr branches over HTTP and exposes the URL
195
to branch them. Addresses bug #240577. (Jonathan Lange)
197
- Leading blank lines in commit messages no longer result in an
198
empty summary. (Colin Watson)
200
- Added optional syntax highlighting to annotate view using
201
python-pygments. Partially addresses bug #306631. (Peter Bui)
203
- Convert newlines in commit messages to HTML line breaks for
204
annotate and changelog views. Addresses bug #273688. (Peter
207
- serve-branches now errors if run behind a proxy without
208
paste.deploy installed. (Michael Hudson)
210
- Loggerhead should now handle file and directory names that need
211
URL escaping without crashing.
213
- The start-loggerhead script properly sets the wsgi.url_scheme
214
from the server.webpath option. (neror, #260547)
216
- The revision page defaults to unified style again, and can
217
convert to a side-by-side view using JavaScript. (Michael Hudson)
219
- Clean up and improve performance of the annotate view. (Michael
222
- Finish converting JavaScript from MooTools to YUI 3. (Michael
225
- Improve compatibility with IE 6. (Michael Hudson)
227
- Leading blank lines in commit messages no longer result in an
228
empty summary. (Colin Watson)
230
- Clip long lines in side-by-side diff view. (Michael Hudson,
233
- The user-confusing "next" and "previous" links now read "older"
234
and "newer" respectively. (Michael Hudson, #297930)
236
- The annotate view now contains line number anchors. (Michael
239
- Fix inventory pages using "//" in links. (Michael Hudson, #329668)
241
- Fix problems viewing files and directories containing spaces and
242
other funny characters. (Peter Bui)
244
- Changelog messages are now displayed with newlines preserved.
247
- Offer a link to see the full file diffs for a file path. (Michael
250
- Fix annotate error caused by Pygments stripping trailing
251
whitespace. (Michael Hudson, #338762)
253
- Loggerhead can be installed as a Bazaar plugin and run by
254
'bzr serve --http'. (Martin Pool)
256
- Load parts of the changelog and revision pages via XMLHttpRequest
257
to improve performance. This adds a dependency on simplejson or
258
json. Partially addresses bug #253950. (Michael Hudson)
260
- Various improvements to the animation JavaScript. (Michael Hudson)
262
- Fix HTML content of source files being displayed unescaped when
263
Pygments was unavailable. (Michael Hudson, #344970)
265
- Fix serve-branches's path argument. (Michael Hudson, #353230)
267
- serve-branches now has an option, --use-cdn, to load YUI from
268
Yahoo!'s CDN. (Matt Nordhoff)
270
- Fix certain race conditions for loading bzr-search. (Robert
273
- Fix errors when using serve-branches --log-folder or --user-dirs.
274
(It was calling config.get_option() incorrectly.) (Matt Nordhoff,
277
- Move some caching from RAM to the disk, and other caching and
278
memory usage improvements. (Michael Hudson)
280
- Add a --cache-dir option to serve-branches to choose where to
281
place the SQL cache, and only create one temporary SQL dir per
282
process. (Matt Nordhoff, #358322)
284
- Replace homebrew memory profiling code with Dozer. (Paul Hummer)
286
- Use the branch's public_branch as the default suggested URL to
287
branch from (Matt Nordhoff, #369767)
289
- Fix a file descriptor leak (Matt Nordhoff, #370845)
291
- Use transport API internally, so it is possible to specify a remote
292
URL to serve-branches. (Jelmer Vernooij, #371787)
294
- Fix internal server errors when using start-loggerhead. (Matt
297
- Fix annotating non-UTF-8 files when Pygments is disabled. (Matt
300
- Fix 'bzr serve --http' errors. (Matt Nordhoff, #377551)
302
- Added the option to hide branches by setting http_serve = False
303
in locations.conf (Martin Albisetti)
305
- Fix serving branches over HTTP. (Matt Nordhoff, Jelmer Vernooij,
308
- Install loggerhead as a bzr plugin by default (Jelmer Vernooij)
310
- Fix logging 404 Not Found responses (Matt Nordhoff, #381029)
312
- Bumped minimunm bzrlib version to 1.13 (Martin Albisetti)
314
- Make sure the Atom feeds (nearly) validate. (Matt Nordhoff, #247162)
316
- Support serving branches over HTTP using the smart server protocol.
317
(Jelmer Vernooij, #306853)
319
- Serving branch data was broken when --allow-writes was *not*
320
passed. (Michael Hudson, #388730)
322
- http_serve config values are interpreted more forgivingly.
325
- When specifying a remote url to serve-branches, do not share
326
connections between threads. (Michael Hudson, #390972)
328
- http_serve values from locations.conf are now applied to
329
non-branch .bzr data (e.g shared repositories). (Michael Hudson)
331
- tags are now displayed. (Cris Boylan, Alexandre Garnier, Michael
334
- Display Loggerhead's version number at the bottom of the page, and
335
add a <meta> generator tag also including the version numbers of
336
its dependencies. (Matt Nordhoff, #370155)
342
- Add startup deamon script for Linux (Marius Kruger)
344
- Switch navigation from file_ids to paths. Fixes bugs #260363,
345
#269365 and #128926. (Martin Albisetti)
347
- Fix bug #258710 ("the /files page explodes in an empty branch").
348
Also minor improvements to the /files and /changes pages.
351
- Added --port, --host and --prefix options to serve-branches
352
script. (Martin Albisetti)
354
- Fixed broken template for project browsing with start-loggerhead
357
- Added --reload options to restart the application when a python
358
file change. (Guillermo Gonzalez)
360
- Added error handling middleware. (Guillermo Gonzalez)
362
- Fix bug #243415 ("Tracebacks go to console but not log
363
file"). Also minor improvements to logging in serve-branches and
364
start-loggerhead. (Guillermo Gonzalez)
369
- Download a diffs between revisions. (Martin Albisetti)
371
- Modified templates to make loggerhead's theme easier to
372
change. (Paul Hummer)
374
- Default sqlite interface is now sqlite3. (Robert Collins)
376
- New ninja theme sponsored by Canonical (Martin Albisetti)
378
- Added COPYING file and clarified copyright headers (John Arbash Meinel)
380
- Remove the .py extension requiered by the Debian Policy.
383
- New startup script serve-branches will serve Loggerhead without
384
the need of configuration, and allow you to browse through directories
385
and branches. (Michael Hudson)
387
- Loggerhead is no longer a TurboGears application, but rather a
388
WSGI application built using Paste (see http://wsgi.org/ and
389
http://pythonpaste.org/ for more about WSGI and Paste).
391
- URLs now use revision numbers instead of revision ids (Martin Albisetti)
393
- The scripts no longer insist on Python 2.4 -- loggerhead works
396
- Bazaar as of version 1.5 has improved in performance enough that
397
the revision cache no longer gave any noticeable benefit, so it
398
was removed (the files-changed cache is still useful).
400
- The templates were rewritten in Zope's TAL markup, powered by
401
the simpleTAL library -- improving both the performance and
402
memory consumption of rendering by a factor of around 3 for
403
large pages over the old Kid templates.
405
- Loggerhead's poorly performing text index was disabled. bzr-search
406
is now used if the plugin is installed and a text index is present
407
on the branch being viewed. (Martin Albisetti, Robert Collins).
409
- Loggerhead no longer depends on bzrlib functions deprecated in
410
Bazaar 1.5 and removed in 1.6 (Martin Albisetti).
412
- The daemonization code was made more regular, fixing bugs
413
#139161 ("Starting loggerhead process may not close its stdin
414
and stdout properly") and #211526 ("Codebrowse log directory has
415
unnecessarily permissive permissions")
417
- Some confusion about what the 'file_id' query argument means was
418
cleared up: filter_file_id now means "filter revisions to those
419
that affect this file" in all views and file_id means "examine
420
this file/directory" in the annotate and inventory views.
422
- Dates are present more compactly.
424
- The loggerhead.conf file can specify which network interface to
425
bind to (Mattias Eriksson)
430
- The changelog view was out of order when not using the revision
435
- Michael Hudson <michael.hudson@canonical.com> has mostly taken
436
over the maintenance of loggerhead.
438
- loggerhead now has a simple test suite -- use 'nosetests' in the
439
loggerhead directory to run it.
441
- The rendering performance of pages that display large amounts of
442
text was improved by a factor of 4 or so.
444
- loggerhead no longer caches the text of the diffs between
445
revisions. It rarely helped and wasted a lot of disk space.
447
- The layout of most pages was made more "tight" to waste less
448
screen real estate, and some other UI improvements (Kent
451
- Much dead code was removed.
453
- Loggerhead now computes the files changed between revisions only
454
when it needs to know this. This is a fairly expensive
455
operation in Bazaar, and doing it less massively improves
456
performance and memory usage in some situations.
458
- Loggerhead now takes a read lock on the branch being viewed for
459
the duration of each request, which improves performance
462
- Loggerhead no longer uses the corruption-prone Berkely DB-backed
463
shelve module for its caches, and rather (ab)uses a sqlite
466
- The creation of History objects is much faster for large
467
branches (Aaron Bentley).
469
- Allow the construction of URLs using revnos and file paths as
470
well as revids and fileids (bug #98826):
472
- For changes pages, append the newest revno to display to the
473
URL, like http://.../changes/<revno>
475
- For annotate pages, append the revno to display to the URL,
476
followed by the path, like http://.../annotate/<revno>/<path>
478
- For file listing and revision pages append the revno to
479
display to the URL, like http://.../files/<revno>
481
Loggerhead still generates URLs using revision and file ids for
484
- Many bugs were fixed:
486
- Loggerhead does not escape special characters when embedding a
487
revision ID in a URL (bug #88286)
489
- Improved robustness in the face of ghosts.
491
- Don't crash on displaying a commit with an empty message (bug
494
- codebrowse fails with infinite redirections (James Henstridge,
497
- Loggerhead fails to browse revisions that change binary files
498
(James Henstridge, bug #91686)
500
- Loggerhead atom feeds expose internal hostname (James
501
Henstridge, bug #93585)
503
- loggerhead don't like page break character (0x0C) in text
506
- codebrowse source listings don't contain line number anchors
509
- only serve up unescaped user content with "Content-Disposition:
512
- viewing the file listing consumes a lot memory (bug #116869)
514
- loggerhead can't handle empty branches (bug #119228)
516
- upgrading the format of a branch behind loggerhead could make
517
it fail for that branch (bug #118673)
519
- Error parsing non-ascii content (bug #117799)
521
- Loggerhead failed on whitespace-only commit messages.
523
- Links to diffs from within a revision do not work (bug
526
- UTF-8 patches served as ISO-8859-1, fixed by served bundles as
527
application/octet-stream (bug #121336)
529
- TurboGears was turning query arguments into unicode, and bzr
530
stopped accepting unicode revids (bug #175228)
536
- fix broken inventory page (oops!)
538
- fix a few rendering problems with kid and safari
544
- new feature to compare two revisions to each other
546
- inserted text in diffs is now blue instead of green
548
- fixed to start and stop as a daemon now (use "-f" to run in the
549
foreground), and all config is in loggerhead.conf (no need to mess with
552
- renamed show/hide javascript buttons to expand/collapse, and made them
555
- added an atom-feed link to each branch on the browse page [elliot
558
- auto-publish feature for multiple branches under a single folder (see
559
loggerhead.conf.example)
561
- added the ability to share cache files per-project instead of just
564
- added side-by-side diff display for the revision page (which is the
565
default), with a button to switch between side-by-side and unified diff
568
- made caching use file locking, and close cleanly on shutdown
570
- miscellaneous speed and page-size improvements