===================
   TODO: ranvier
===================

.. contents::
..
    1  Current
    2  Easier Installation
    3  Redirection Oddity


Current
=======

(code)

* Coverage report should render aliases gray as well.

* ranvier-static-check: 

  - Fix a bug: multiple resources on the same source line will not be found!

* It would be nice to be able to create aliases to paths with components that
  include file extensions, e.g. /photos/(number).jpg; we cannot do this at the
  moment within ranvier (but we can hack it with a rewrite rule).

  Maybe just implement this by supporting an extension for the final component,
  something a bit exceptional.

* We need to provide a way to ignore rendered resources as well, not just
  handled, e.g. @@AdwordsTracking, is never rendered and it's ok.

* We have an issue: a folder with default, that has a target resource-id, will
  never get marked as handled by the coverage analysis because it always
  forwards to its default, which ends up being the resource that is being
  served.  I'm not sure how to untangle this (not that this matters much
  anyway…).

* We could make ``add_alias()`` take some fixed arguments, for example::

    mapper.add_alias('@@PublicPhotoGallery', '@@DocumentFull', fixed_unid)


Easier Installation
===================

* Package all the default admin resources somewhat, and make some of
  the behaviour (e.g. static check) in it as well, so that less custom
  setting up is required.


(promotion)
* Send Ranvier information to twill list when the coverage analysis is done.


Redirection Oddity
==================

* Investigate this: when you just return a Location: header without a status,
  Apache goes into an infinite loop.  What is this implementation of internal
  redirect?  Look for internal redirection on Wikipedia.

