Skip to content

Commit

Permalink
Merge pull request #3506 from Pylons/linkcheck-fixes
Browse files Browse the repository at this point in the history
run linkcheck, fix redirects, change busted links to inline literals
  • Loading branch information
stevepiercy authored Aug 18, 2019
2 parents dbef47b + d98b838 commit a232b69
Show file tree
Hide file tree
Showing 16 changed files with 86 additions and 85 deletions.
58 changes: 29 additions & 29 deletions BFG_HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1004,8 +1004,8 @@ Documentation
via a group rather than via a direct username.

- Redirect requests for tutorial sources to
http://docs.repoze.org/bfgwiki-1.3 and
http://docs.repoze.org/bfgwiki2-1.3/ respectively.
https://docs.pylonsproject.org/projects/pyramid/en/latest/tutorials/wiki/index.html and
https://docs.pylonsproject.org/projects/pyramid/en/latest/tutorials/wiki2/index.html respectively.

- A section named ``Custom Route Predicates`` was added to the URL
Dispatch narrative chapter.
Expand Down Expand Up @@ -1140,8 +1140,8 @@ Features

This feature was kindly contributed by Andrey Popp.

- Use "Venusian" (`http://docs.repoze.org/venusian
<http://docs.repoze.org/venusian>`_) to perform ``bfg_view``
- Use "Venusian" (`https://docs.pylonsproject.org/projects/venusian/en/latest/
<https://docs.pylonsproject.org/projects/venusian/en/latest/>`_) to perform ``bfg_view``
decorator scanning rather than relying on a BFG-internal decorator
scanner. (Truth be told, Venusian is really just a generalization
of the BFG-internal decorator scanner).
Expand Down Expand Up @@ -1525,10 +1525,10 @@ Documentation Licensing
- Loosen the documentation licensing to allow derivative works: it is
now offered under the `Creative Commons
Attribution-Noncommercial-Share Alike 3.0 United States License
<http://creativecommons.org/licenses/by-nc-sa/3.0/us/>`_. This is
<https://creativecommons.org/licenses/by-nc-sa/3.0/us/>`_. This is
only a documentation licensing change; the ``repoze.bfg`` software
continues to be offered under the Repoze Public License at
http://repoze.org/license.html (BSD-like).
https://web.archive.org/web/20190401024809/http://repoze.org/license.html (BSD-like).

1.2a9 (2009-12-27)
==================
Expand All @@ -1540,10 +1540,10 @@ Documentation Licensing
within the ``docs`` directory) in this release is now offered under
the Creative Commons Attribution-Noncommercial-No Derivative Works
3.0 United States License as described by
http://creativecommons.org/licenses/by-nc-nd/3.0/us/ . This is only
https://creativecommons.org/licenses/by-nc-nd/3.0/us/ . This is only
a licensing change for the documentation; the ``repoze.bfg``
software continues to be offered under the Repoze Public License
at http://repoze.org/license.html (BSD-like).
at https://web.archive.org/web/20190401024809/http://repoze.org/license.html (BSD-like).

Documentation
-------------
Expand Down Expand Up @@ -1893,8 +1893,8 @@ Features
to create a simple ``repoze.bfg`` application any longer.

Imperative configuration makes ``repoze.bfg`` competitive with
"microframeworks" such as `Bottle <http://bottle.paws.de/>`_ and
`Tornado <http://www.tornadoweb.org/>`_. ``repoze.bfg`` has a good
"microframeworks" such as `Bottle <https://bottlepy.org/docs/dev/>`_ and
`Tornado <https://www.tornadoweb.org/en/stable/>`_. ``repoze.bfg`` has a good
deal of functionality that most microframeworks lack, so this is
hopefully a "best of both worlds" feature.

Expand Down Expand Up @@ -2976,7 +2976,7 @@ Documentation
``repoze.bfg`` application.

- Added a tutorial which explains how to run a ``repoze.bfg``
application under `mod_wsgi <http://code.google.com/p/modwsgi/>`_.
application under `mod_wsgi <https://modwsgi.readthedocs.io/en/develop/>`_.
See "Running a repoze.bfg Application under mod_wsgi" in the
tutorials section of the documentation.

Expand Down Expand Up @@ -3406,7 +3406,7 @@ Backwards Incompatibilities
- Added a workaround for a bug in Python 2.6, 2.6.1, and 2.6.2 having
to do with a recursion error in the mimetypes module when trying to
serve static files from Paste's FileApp:
http://bugs.python.org/issue5853. Symptom: File
https://bugs.python.org/issue5853. Symptom: File
"/usr/lib/python2.6/mimetypes.py", line 244, in guess_type return
guess_type(url, strict) RuntimeError: maximum recursion depth
exceeded. Thanks to Armin Ronacher for identifying the symptom and
Expand Down Expand Up @@ -4610,8 +4610,7 @@ Bug Fixes
To resolve this issue, the urldispatch module was fixed, and a fork
of the Routes trunk was put into the "dev" index named
``Routes-1.11dev-chrism-home``. The source for the fork exists at
`http://bitbucket.org/chrism/routes-home/
<http://bitbucket.org/chrism/routes-home/>`_ (broken link);
``http://bitbucket.org/chrism/routes-home/`` (broken link);
its contents have been merged into the Routes trunk
(what will be Routes 1.11).

Expand Down Expand Up @@ -4752,8 +4751,7 @@ Incompatibilities related to making ``repoze.bfg`` "C-free":
opposed to pure Python) and the ``repoze.bfg`` core is "C-free" as
of this release. You may get Genshi-style Chameleon support back by
installing the ``repoze.bfg.chameleon_genshi`` package availalable
from http://svn.repoze.org/repoze.bfg.chameleon_genshi (also
available in the index at http://dist.repoze.org/bfg/0.8/simple).
from https://pypi.org/project/repoze.bfg.chameleon_genshi/.
All existing code that depended on the ``chameleon_genshi`` module
prior to this release of ``repoze.bfg`` should work without change
after this addon is installed.
Expand All @@ -4763,8 +4761,10 @@ Incompatibilities related to making ``repoze.bfg`` "C-free":
which is implemented in C, and the ``repoze.bfg`` core is "C-free"
as of this release. You bay get XSL templating back by installing
the ``repoze.bfg.xslt`` package available from
http://svn.repoze.org/repoze.bfg.xslt/ (also available in the index
at http://dist.repoze.org/bfg/0.8/simple). All existing code that
``http://svn.repoze.org/repoze.bfg.xslt/`` (broken link)
(also available in the index
at ``http://dist.repoze.org/bfg/0.8/simple)`` (broken link).
All existing code that
depended upon the ``xslt`` module prior to this release of
``repoze.bfg`` should work without modification after this addon is
installed.
Expand Down Expand Up @@ -4796,10 +4796,10 @@ Index-Related
-------------

- The canonical package index location for ``repoze.bfg`` has changed.
The "old" index (http://dist.repoze.org/lemonade/dev/simple) has
been superseded by a new index location
(`http://dist.repoze.org/bfg/current/simple
<http://dist.repoze.org/bfg/current/simple>`_). The installation
The "old" index (``http://dist.repoze.org/lemonade/dev/simple``) (broken link)
has been superseded by a new index location
``http://dist.repoze.org/bfg/current/simple`` (broken link).
The installation
documentation has been updated as well as the ``setup.cfg`` file in
this package. The "lemonade" index still exists, but it is not
guaranteed to have the latest BFG software in it, nor will it be
Expand Down Expand Up @@ -4927,7 +4927,7 @@ Backwards Incompatibilities
default ``ModelGraphTraverser``. To use this feature, you will need
to install the ``repoze.bfg.traversalwrapper`` package (an add-on
package, available at
http://svn.repoze.org/repoze.bfg.traversalwrapper) Then change your
https://pypi.org/project/repoze.bfg.traversalwrapper/) Then change your
application's ``configure.zcml`` to include the following stanza:

<adapter
Expand Down Expand Up @@ -5356,7 +5356,7 @@ Features
- URL-dispatch has been overhauled: it is no longer necessary to
manually create a RoutesMapper in your application's entry point
callable in order to use URL-dispatch (aka `Routes
<http://routes.groovie.org>`_). A new ``route`` directive has been
<https://routes.readthedocs.io/en/latest/>`_). A new ``route`` directive has been
added to the available list of ZCML directives. Each ``route``
directive inserted into your application's ``configure.zcml``
establishes a Routes mapper connection. If any ``route``
Expand Down Expand Up @@ -5498,7 +5498,7 @@ Features
requests (and this is indeed the default). All requests implement
``IRequest``. The HTTP-verb-matching idea was pioneered by
`repoze.bfg.restrequest
<http://pypi.python.org/pypi/repoze.bfg.restrequest/1.0.1>`_ . That
<https://pypi.org/project/repoze.bfg.restrequest/1.0.1/>`_ . That
package is no longer required, but still functions fine.

Bug Fixes
Expand Down Expand Up @@ -5606,8 +5606,8 @@ Features
keyword argument named ``query``. The value of this argument
will be used to compose a query string, which will be attached to
the generated URL before it is returned. See the API docs (in
the docs directory or `on the web
<http://static.repoze.org/bfgdocs>`_) for more information.
the docs directory or on the web
``http://static.repoze.org/bfgdocs``) (broken URL) for more information.

0.6 (2008-12-26)
================
Expand All @@ -5618,7 +5618,7 @@ Backwards Incompatibilities
- Rather than prepare the "stock" implementations of the ZCML directives
from the ``zope.configuration`` package for use under ``repoze.bfg``,
``repoze.bfg`` now makes available the implementations of directives
from the ``repoze.zcml`` package (see http://static.repoze.org/zcmldocs).
from the ``repoze.zcml`` package (see https://pypi.org/project/repoze.zcml/).
As a result, the ``repoze.bfg`` package now depends on the
``repoze.zcml`` package, and no longer depends directly on the
``zope.component``, ``zope.configuration``, ``zope.interface``, or
Expand All @@ -5642,7 +5642,7 @@ Backwards Incompatibilities
package="zope.component" file="meta.zcml">``) and include the
``zope.security`` package as an ``install_requires`` dependency or 2)
change the ZCML in their applications to use the declarations from
`repoze.zcml <http://static.repoze.org/zcmldocs/>`_ instead of the stock
`repoze.zcml <https://pypi.org/project/repoze.zcml/>`_ instead of the stock
declarations. ``repoze.zcml`` only makes available the ``adapter``,
``subscriber`` and ``utility`` directives.

Expand Down
48 changes: 24 additions & 24 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -550,10 +550,10 @@ Features
other settings. See https://github.com/Pylons/pyramid/pull/2823

- ``pserve --reload`` now uses the
`hupper <http://docs.pylonsproject.org/projects/hupper/en/latest/>`
`hupper <https://docs.pylonsproject.org/projects/hupper/en/latest/>`_
library to monitor file changes. This comes with many improvements:

- If the `watchdog <http://pythonhosted.org/watchdog/>`_ package is
- If the `watchdog <https://pythonhosted.org/watchdog/>`_ package is
installed then monitoring will be done using inotify instead of
cpu and disk-intensive polling.

Expand Down Expand Up @@ -686,7 +686,7 @@ Documentation Changes
https://github.com/Pylons/pyramid/pull/2838

- Add `pyramid_nacl_session
<http://docs.pylonsproject.org/projects/pyramid-nacl-session/en/latest/>`_
<https://docs.pylonsproject.org/projects/pyramid-nacl-session/en/latest/>`_
to session factories. See https://github.com/Pylons/pyramid/issues/2791

- Update ``HACKING.txt`` from stale branch that was never merged to master.
Expand Down Expand Up @@ -1000,7 +1000,7 @@ Bug Fixes

- Ensure that ``IAssetDescriptor.abspath`` always returns an absolute path.
There were cases depending on the process CWD that a relative path would
be returned. See https://github.com/Pylons/pyramid/issues/2188
be returned. See https://github.com/Pylons/pyramid/pull/2188

1.6b2 (2015-10-15)
==================
Expand Down Expand Up @@ -1204,7 +1204,7 @@ Features
override_with='/abs/path/')``. The ``myapp:static`` asset spec is completely
made up and does not need to exist - it is used for generating urls
via ``request.static_url('myapp:static/foo.png')``.
See https://github.com/Pylons/pyramid/issues/1252
See https://github.com/Pylons/pyramid/pull/1252

- Added ``pyramid.config.Configurator.set_response_factory`` and the
``response_factory`` keyword argument to the ``Configurator`` for defining
Expand Down Expand Up @@ -1523,7 +1523,7 @@ Bug Fixes

- Remove unused ``renderer`` argument from ``Configurator.add_route``.

- Allow the ``BasicAuthenticationPolicy`` to work with non-ascii usernames
- Allow the ``BasicAuthenticationPolicy`` to work with non-ASCII usernames
and passwords. The charset is not passed as part of the header and different
browsers alternate between UTF-8 and Latin-1, so the policy now attempts
to decode with UTF-8 first, and will fallback to Latin-1.
Expand Down Expand Up @@ -2489,7 +2489,7 @@ Bug Fixes
it back to an asset spec. Normally occurs with inherited templates or
included components.
https://github.com/Pylons/pyramid/issues/606
https://github.com/Pylons/pyramid/issues/607
https://github.com/Pylons/pyramid/pull/607

- In Mako Templates lookup, check for absolute uri (using mako directories)
when mixing up inheritance with asset specs.
Expand Down Expand Up @@ -2980,7 +2980,7 @@ Features
argument, which can be a string, a callable, or a list consisting of
strings and/or callables. This feature allows submodules, subpackages, and
global objects from being scanned. See
http://readthedocs.org/docs/venusian/en/latest/#ignore-scan-argument for
https://venusian.readthedocs.io/en/latest/#ignore-scan-argument for
more information about how to use the ``ignore`` argument to ``scan``.

- Better error messages when a view callable returns a value that cannot be
Expand Down Expand Up @@ -3138,7 +3138,7 @@ Features

- Responses generated by Pyramid's ``static_view`` now use
a ``wsgi.file_wrapper`` (see
http://www.python.org/dev/peps/pep-0333/#optional-platform-specific-file-handling)
https://www.python.org/dev/peps/pep-0333/#optional-platform-specific-file-handling)
when one is provided by the web server.

Bug Fixes
Expand Down Expand Up @@ -3292,7 +3292,7 @@ Documentation

- Removed the "Running Pyramid on Google App Engine" tutorial from the main
docs. It survives on in the Cookbook
(http://docs.pylonsproject.org/projects/pyramid_cookbook/en/latest/deployment/gae.html).
(https://docs.pylonsproject.org/projects/pyramid_cookbook/en/latest/deployment/gae.html).
Rationale: it provides the correct info for the Python 2.5 version of GAE
only, and this version of Pyramid does not support Python 2.5.

Expand Down Expand Up @@ -3944,7 +3944,7 @@ Scaffolds
package at all; configuration in the ``production.ini`` file which used to
require its ``error_catcher`` middleware has been removed. Configuring
error catching / email sending is now the domain of the ``pyramid_exclog``
package (see http://docs.pylonsproject.org/projects/pyramid_exclog/en/latest/).
package (see https://docs.pylonsproject.org/projects/pyramid_exclog/en/latest/).

Bug Fixes
---------
Expand Down Expand Up @@ -4561,7 +4561,7 @@ Bug Fixes
``/{foo:\d{1,2}}`` would fail to match ``/1`` or ``/11``. One level of
inner squiggly brackets is now recognized so that the prior two patterns
given as examples now work. See also
https://github.com/Pylons/pyramid/issues/#issue/123.
https://github.com/Pylons/pyramid/issues/123.

- Don't send port numbers along with domain information in cookies set by
AuthTktCookieHelper (see https://github.com/Pylons/pyramid/issues/131).
Expand All @@ -4576,11 +4576,11 @@ Bug Fixes

- Don't quote ``:@&+$,`` symbols in ``*elements`` passed to
``pyramid.url.route_url`` or ``pyramid.url.resource_url`` (see
https://github.com/Pylons/pyramid/issues#issue/141).
https://github.com/Pylons/pyramid/pull/141).

- Include SCRIPT_NAME in redirects issued by
``pyramid.view.append_slash_notfound_view`` (see
https://github.com/Pylons/pyramid/issues#issue/149).
https://github.com/Pylons/pyramid/issues/149).

- Static views registered with ``config.add_static_view`` which also included
a ``permission`` keyword argument would not work as expected, because
Expand Down Expand Up @@ -4802,7 +4802,7 @@ Documentation

- Moved "Using ZODB With ZEO" and "Using repoze.catalog Within Pyramid"
tutorials out of core documentation and into the Pyramid Tutorials site
(http://docs.pylonsproject.org/projects/pyramid_tutorials/en/latest/).
(https://docs.pylonsproject.org/projects/pyramid_tutorials/en/latest/).

- Changed "Cleaning up After a Request" section in the URL Dispatch chapter
to use ``request.add_finished_callback`` instead of jamming an object with
Expand Down Expand Up @@ -4878,19 +4878,19 @@ Bug Fixes
``{{project}}`` variable, causing applications created with uppercase
letters e.g. ``paster create -t pyramid_routesalchemy Dibbus`` to fail to
start when ``paster serve development.ini`` was used against the result.
See https://github.com/Pylons/pyramid/issues/#issue/107
See https://github.com/Pylons/pyramid/issues/107

- The ``render_view`` method of ``pyramid.renderers.RendererHelper`` passed
an incorrect value into the renderer for ``renderer_info``. It now passes
an instance of ``RendererHelper`` instead of a dictionary, which is
consistent with other usages. See
https://github.com/Pylons/pyramid/issues#issue/106
https://github.com/Pylons/pyramid/issues/106

- A bug existed in the ``pyramid.authentication.AuthTktCookieHelper`` which
would break any usage of an AuthTktAuthenticationPolicy when one was
configured to reissue its tokens (``reissue_time`` < ``timeout`` /
``max_age``). Symptom: ``ValueError: ('Invalid token %r', '')``. See
https://github.com/Pylons/pyramid/issues#issue/108.
https://github.com/Pylons/pyramid/issues/108.

1.0b1 (2011-01-21)
==================
Expand All @@ -4908,7 +4908,7 @@ Features
sets a cookie with a wildcard domain will be turned off.

- Add a ``MANIFEST.in`` file to each paster template. See
https://github.com/Pylons/pyramid/issues#issue/95
https://github.com/Pylons/pyramid/issues/95

Bug Fixes
---------
Expand Down Expand Up @@ -4986,7 +4986,7 @@ Paster Templates
``repoze.tm2`` transaction manager in ``development.ini``. This prevents a
transaction from being committed when the response status code is within
the 400 or 500 ranges. See also
http://docs.repoze.org/tm2/#using-a-commit-veto.
https://repozetm2.readthedocs.io/en/latest/index.html#using-a-commit-veto.

1.0a10 (2011-01-18)
===================
Expand All @@ -5004,7 +5004,7 @@ Backwards Incompatibilities
Pyramid core. Handlers are now a feature of the ``pyramid_handlers``
package, which can be downloaded from PyPI. Documentation for the package
should be available via
http://docs.pylonsproject.org/projects/pyramid_handlers/en/latest/,
https://docs.pylonsproject.org/projects/pyramid_handlers/en/latest/,
which describes how
to add a configuration statement to your ``main`` block to reobtain this
method. You will also need to add an ``install_requires`` dependency upon
Expand All @@ -5014,7 +5014,7 @@ Backwards Incompatibilities
Pyramid core. Loading ZCML is now a feature of the ``pyramid_zcml``
package, which can be downloaded from PyPI. Documentation for the package
should be available via
http://docs.pylonsproject.org/projects/pyramid_zcml/en/latest/,
https://docs.pylonsproject.org/projects/pyramid_zcml/en/latest/,
which describes how
to add a configuration statement to your ``main`` block to reobtain this
method. You will also need to add an ``install_requires`` dependency upon
Expand Down Expand Up @@ -5212,7 +5212,7 @@ Documentation

- The "Resource Location and View Lookup" chapter has been replaced with a
variant of Rob Miller's "Much Ado About Traversal" (originally published at
http://blog.nonsequitarian.org/2010/much-ado-about-traversal/).
https://web.archive.org/web/20150321110754/http://blog.nonsequitarian.org/2010/much-ado-about-traversal/).

- Many minor wording tweaks and refactorings (merged Casey Duncan's docs
fork, in which he is working on general editing).
Expand Down Expand Up @@ -5554,7 +5554,7 @@ Features

- New boolean Mako settings variable ``mako.strict_undefined``. See `Mako
Context Variables
<http://www.makotemplates.org/docs/runtime.html#context-variables>`_ for
<https://docs.makotemplates.org/en/latest/runtime.html#context-variables>`_ for
its meaning.

Dependencies
Expand Down
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -448,4 +448,5 @@ def resig(app, what, name, obj, options, signature, return_annotation):
linkcheck_ignore = [
r'http://localhost:\d+',
r'http://localhost',
r'https://webchat.freenode.net/#pyramid', # JavaScript "anchor"
]
Loading

0 comments on commit a232b69

Please sign in to comment.