Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | doc:Makefile: use Python 2.7 for generate-libbe-txt.py | W. Trevor King | 2012-11-12 | 1 | -1/+1 |
| | |||||
* | storage:base: convert to Python 3.3 compatibility | W. Trevor King | 2012-11-12 | 1 | -6/+8 |
| | |||||
* | storage: convert to Python 3 compatibility | W. Trevor King | 2012-11-12 | 1 | -9/+9 |
| | |||||
* | version: convert to Python 3 compatibility | W. Trevor King | 2012-11-12 | 1 | -10/+12 |
| | |||||
* | test: convert to Python 3 compatibility | W. Trevor King | 2012-11-12 | 1 | -3/+3 |
| | |||||
* | release.py: build HTML docs when cutting releases | W. Trevor King | 2012-11-12 | 1 | -0/+7 |
| | |||||
* | util:wsgi: handle all dispatch() exceptions in BEExceptionApp | W. Trevor King | 2012-10-28 | 1 | -9/+15 |
| | | | | | | This brings BEExceptionApp into closer agreement with libbe.ui.command_line.dispatch(), and avoids having the server go down when a user submits a silly command. | ||||
* | util:http: special handling for HTTP_USER_ERROR in get_post_url(). | W. Trevor King | 2012-10-28 | 1 | -4/+5 |
| | |||||
* | Use libbe.util.http.HTTP_USER_ERROR everywhere instead of hardcoding 418 | W. Trevor King | 2012-10-28 | 4 | -9/+7 |
| | |||||
* | util:wsgi: catch NoIDMatches in BEExceptionApp | W. Trevor King | 2012-10-28 | 1 | -0/+4 |
| | |||||
* | util:wsgi: add --daemon, --pidfile, and --logfile | W. Trevor King | 2012-10-28 | 1 | -25/+151 |
| | | | | | | | | | | | | | | | | | | | | This allows you to manage BE servers from inetd scripts, etc. Shortcomings of the current implementation: * ServerCommand._daemonize() currently only sets a SIGTERM handler and double forks. If you want to do this right, see PEP 3143. Unfortunately, the PEP seems to have stalled, python-daemon appears unmaintained, and I don't care enough at the moment to do this right. * ServerCommand._get_pidfile() races between checking for an existing PID file and claiming the file itself. It is possible that two processes would check around the same time, and both see no existing file. Then they would both open the PID file and write their pid, without noticing that the other process was contending for the file. Solving this requires file locking, which is difficult to do portably. This shouldn't be an issue in normal operation, where each server will be using its own PID file path. | ||||
* | util:wsgi: fix From -> from typo in pyOpenSSL comment | W. Trevor King | 2012-10-27 | 1 | -1/+1 |
| | |||||
* | util:wsgi: fix get_cert_filenames -> _get_cert_filenames typo | W. Trevor King | 2012-10-27 | 1 | -1/+1 |
| | | | | | | | | | | | This was broken in the creation of libbe.util.wsgi from libbe.command.serve: commit 0fa17f6bf6a809df14ae1930542059a9e62066b0 Author: W. Trevor King <wking@tremily.us> Date: Mon Aug 27 13:37:58 2012 -0400 libbe:util:wsgi: extract WSGI utilities into a separate module. | ||||
* | util:wsgi: import os.path for _get_cert_filenames() | W. Trevor King | 2012-10-27 | 1 | -0/+1 |
| | | | | | | | | | | | This was lost in the creation of libbe.util.wsgi from libbe.command.serve: commit 0fa17f6bf6a809df14ae1930542059a9e62066b0 Author: W. Trevor King <wking@tremily.us> Date: Mon Aug 27 13:37:58 2012 -0400 libbe:util:wsgi: extract WSGI utilities into a separate module. | ||||
* | doc:install: CherryPy is *not* used for HTTP, only for HTTPS. | W. Trevor King | 2012-10-27 | 1 | -3/+4 |
| | | | | | | For plain HTTP, we use wsgiref.simple_server from the stdlib. Also include the `html` command as a WSGI-based command. | ||||
* | util:wsgi: fix Clossing -> Closing typo. | W. Trevor King | 2012-10-27 | 1 | -1/+1 |
| | |||||
* | util:wsgi: remove %default from option help strings | W. Trevor King | 2012-10-27 | 1 | -2/+2 |
| | |||||
* | command:html: remove %default from option help strings | W. Trevor King | 2012-10-27 | 1 | -6/+5 |
| | |||||
* | README: Update NumPy/SciPy doc link | W. Trevor King | 2012-10-27 | 1 | -1/+1 |
| | |||||
* | README: wrap doc/index.txt reference in backticks | W. Trevor King | 2012-10-27 | 1 | -2/+2 |
| | | | | | File names, code, etc., should have special markup so they aren't confused with regular text. | ||||
* | storage:util:upgrade: use YAML parser to get BE Tree 1 0 settings | W. Trevor King | 2012-10-27 | 1 | -1/+1 |
| | | | | | | | | | | | This fixes the "Bugs Everywhere Tree 1 0" -> "Bugs Everywhere Directory v1.1" upgrade broken by the switch to JSON in: commit a95915c6c7d6a4e29c1e5547580e0c1fed2467e1 Author: W. Trevor King <wking@tremily.us> Date: Mon Sep 17 08:14:21 2012 -0400 storage:util:mapfile: convert YAML settings to JSON. | ||||
* | misc:completion:be.zsh: update import-xml --comment-root -> --root | W. Trevor King | 2012-10-27 | 1 | -2/+2 |
| | | | | | | | | | | This catches the script up with: commit 4db1a045a0606bead191a563abc54dfa8352efe0 Author: W. Trevor King <wking@tremily.us> Date: Wed Aug 29 23:26:17 2012 -0400 Rewrite commands to use bugdirs instead of a single bugdir. | ||||
* | test_usage.sh: update import-xml --comment-root -> --root | W. Trevor King | 2012-10-27 | 1 | -1/+1 |
| | | | | | | | | | | This catches the tests up with: commit 4db1a045a0606bead191a563abc54dfa8352efe0 Author: W. Trevor King <wking@tremily.us> Date: Wed Aug 29 23:26:17 2012 -0400 Rewrite commands to use bugdirs instead of a single bugdir. | ||||
* | storage:vcs:git: don't accept pygit2 version 0.17.3. | W. Trevor King | 2012-10-27 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | My Repository.revparse_single() series was merged into pygit2 with: Merge: 3e9daa4 0238fb7 Author: J. David Ibáñez <jdavid.ibp@gmail.com> Date: Tue Sep 25 15:10:55 2012 +0200 Merge remote-tracking branch 'wking/revparse' But this happened after the 0.17.3 release. The next pygit2 release should contain the .revparse_single() code. The getattr() hackery works because versions of pygit2 before 0.17.3 lacked a __version__ attribute. | ||||
* | doc:power: add Zsh completion location and update Bash install location | W. Trevor King | 2012-10-27 | 1 | -1/+3 |
| | | | | | This puts both scripts in the right spot on Gentoo, and shows the suggested installed filename (not just the suggested directory). | ||||
* | command:serve_*: remove wordy "with, for example" from help message | W. Trevor King | 2012-10-27 | 2 | -4/+2 |
| | |||||
* | command:serve_commands: fix --repo -> --server in help message | W. Trevor King | 2012-10-27 | 1 | -1/+1 |
| | |||||
* | doc:tutorial: use a Git tag for the `be diff` example | W. Trevor King | 2012-10-26 | 1 | -2/+8 |
| | | | | | | I haven't tagged 1.1.0 yet, but earlier tags do not use Bugs Everywhere Directory v1.5, and we don't have on-the-fly storage updates yet. | ||||
* | doc:tutorial: fix ReST formatting for `be show --xml` example | W. Trevor King | 2012-10-26 | 1 | -1/+1 |
| | |||||
* | doc:tutorial: move "you think" before quote in initialization section | W. Trevor King | 2012-10-26 | 1 | -1/+1 |
| | |||||
* | doc:tutorial: fix ReST formatting for first `be comment` example | W. Trevor King | 2012-10-26 | 1 | -1/+1 |
| | |||||
* | doc:install: mention that we *do* post releases now | W. Trevor King | 2012-10-26 | 1 | -3/+2 |
| | |||||
* | doc:install: mention that PyYAML is now optional | W. Trevor King | 2012-10-26 | 1 | -3/+6 |
| | |||||
* | storage:util:upgrade: make yaml import optional (unless it isn't) | W. Trevor King | 2012-10-26 | 1 | -1/+9 |
| | | | | | | Importing `yaml` may fail (if the user doesn't have PyYAML installed), but don't die until we need to use it. This way users without the old YAML formats on disk can run BE without installing PyYAML. | ||||
* | command: use mapfiles (JSON) instead of YAML for the command server | W. Trevor King | 2012-10-26 | 2 | -8/+7 |
| | |||||
* | storage:util:mapfile: add `context` argument to generate() | W. Trevor King | 2012-10-26 | 1 | -23/+19 |
| | |||||
* | doc/install: fix paragraph indentation in man page installation discussion | W. Trevor King | 2012-10-26 | 1 | -1/+1 |
| | |||||
* | doc/install: point out relevant Debian bugs in a comment | W. Trevor King | 2012-10-26 | 1 | -0/+3 |
| | |||||
* | doc:install: fix dependency table ReST formatting | W. Trevor King | 2012-10-26 | 1 | -2/+2 |
| | | | | | | | | | | The header had been broken by commit f174d8943c2edea25306ab522c27f69bbebd0be3 Author: W. Trevor King <wking@tremily.us> Date: Thu May 10 08:56:02 2012 -0400 Update CherryPy dependency package to python-cherrypy3 on Debian. | ||||
* | doc:index: mention that in-branch-bugs are not the only way | W. Trevor King | 2012-10-26 | 1 | -1/+3 |
| | |||||
* | doc: clean up top level module docstrings | W. Trevor King | 2012-10-26 | 5 | -10/+11 |
| | |||||
* | libbe:bugdir: avoid SimpleBugDir is not a item name | W. Trevor King | 2012-10-26 | 1 | -1/+1 |
| | | | | | This happens because SimpleBugDir is not defined if libbe.TESTING is not set before importing libbe.bugdir. | ||||
* | doc: update :attr: to :py:attr: for modern Sphinx. | W. Trevor King | 2012-10-26 | 1 | -1/+1 |
| | |||||
* | doc: update :data: to :py:data: for modern Sphinx. | W. Trevor King | 2012-10-26 | 3 | -10/+10 |
| | |||||
* | doc: update :meth: to :py:meth: for modern Sphinx. | W. Trevor King | 2012-10-26 | 5 | -11/+11 |
| | |||||
* | doc:config: use :file: to markup filenames. | W. Trevor King | 2012-10-26 | 1 | -1/+1 |
| | |||||
* | doc: update :class: to :py:class: for modern Sphinx. | W. Trevor King | 2012-10-26 | 22 | -59/+59 |
| | |||||
* | storage:vcs:base: avoid `is not a item name` Sphinx error. | W. Trevor King | 2012-10-26 | 1 | -1/+1 |
| | |||||
* | doc:conf: use `version (date)` in Sphinx docs | W. Trevor King | 2012-10-26 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | Since commit bed7587fe4910f8e4b892a09675279c5a4ab5484 Author: W. Trevor King <wking@tremily.us> Date: Thu Oct 25 19:07:09 2012 -0400 version: use abbreviated SHA instead of explicit _VERSION in master branch the version SHA will either be explicit in version(), or version() will return a release tag. This makes the long SHA in the Sphinx docs unnecessary, so we can replace it with the more interesting commit date. | ||||
* | doc: update :mod: to :py:mod: for modern Sphinx. | W. Trevor King | 2012-10-26 | 14 | -35/+35 |
| |