aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/util
Commit message (Collapse)AuthorAgeFilesLines
* Update libbe.util.id other_uuids documentation (may contain uuid).W. Trevor King2011-05-121-4/+4
|
* Add --notify to `be serve`.W. Trevor King2011-04-161-6/+19
|
* Import ElementTree in libbe.util.utility for InvalidXML.W. Trevor King2011-04-161-0/+4
|
* Cleanup libbe.util.subproc.Pipe docstring.W. Trevor King2011-04-151-8/+8
|
* get_output_encoding falls back to get_encoding if sys.__stdout__ is redirected.W. Trevor King2011-04-141-1/+1
|
* Fix command-line encoding processing.W. Trevor King2011-04-081-1/+4
| | | | | | | | | | | | | | | | | | | | | | | String command-line options are converted to unicode using the input encoding. We use the fact that Python sets up the original sys.stdout to determine the terminal encoding. This should fix Anders Sneckenborg's issues with Swedish characters: C:\temp\slask4>be new "Svenska tecken åäö" Created bug with ID 6be/5c3 C:\temp\slask4> C:\temp\slask4> C:\temp\slask4>be list ERROR: 'ascii' codec can't decode byte 0xe5 in position 15: ordinal not in range(128) You should set a locale that supports unicode, e.g. export LANG=en_US.utf8 See http://docs.python.org/library/locale.html for details
* Bumped to version 1.0.01.0.0Chris Ball2011-01-087-7/+7
|
* Ran update_copyright.py.W. Trevor King2010-10-211-1/+1
|
* Ran update_copyright.pyW. Trevor King2010-06-227-79/+86
|
* Fix len(char) assertion typo in libbe.util.utility.underlined()W. Trevor King2010-02-201-1/+1
|
* Added `be html --min-id-length INT` optionW. Trevor King2010-02-201-0/+2
|
* Fixed docstrings so only Sphinx errors are "autosummary" and "missing attribute"W. Trevor King2010-02-073-96/+472
|
* libbe.command.html.HTMLGen._long_to_linked_user() handles failed conversion.W. Trevor King2010-01-301-2/+7
| | | | | | | Before, anything matching libbe.util.id.REGEXP was convert-or-die. Now it's convert-or-no-op. Much safer ;). The new _long_to_linked_user doctest would have failed with the old implementation.
* `be html` links (<a href="...) #-delimited references in text/* bodies.W. Trevor King2010-01-271-4/+12
|
* Don't raise MultipleIDMatches if one of the matches is exact.W. Trevor King2010-01-211-0/+2
|
* Generate string properly in libbe.util.subproc.CommandErrorW. Trevor King2010-01-191-1/+1
|
* Updated copyright informationW. Trevor King2010-01-017-7/+21
|
* Fixed up the completion helpers in libbe.command.utilW. Trevor King2009-12-291-90/+196
| | | | | | | | | | This entailed a fairly thorough cleanup of libbe.util.id. Remaining unimplemented completion helpers: * complete_assigned() * complete_extra_strings() Since these would require scanning all (active?) bugs to compile lists, and I was feeling lazy...
* Fixed libbe.storage.util.upgradeW. Trevor King2009-12-271-1/+0
| | | | | | | | | | | | | Note that it only upgrades on-disk versions, so you can't use a non-VCS storage backend whose version isn't your command's current storage version. See #bea/110/bd1# for reasoning. To see the on-disk storage version, look at .be/version To see your command's supported storage version, look at be --full-version I added test_upgrade.sh to exercise the upgrade mechanism on BE's own repository.
* Fixed libbe.command.diff + ugly BugDir.duplicate_bugdir implementationW. Trevor King2009-12-155-14/+14
| | | | | | | | | | | | | | | | | | | | | duplicate_bugdir() works, but for the vcs backends, it could require shelling out for _every_ file read. This could, and probably will, be horribly slow. Still it works ;). I'm not sure what a better implementation would be. The old implementation checked out the entire earlier state into a temporary directory pros: single shell out, simple upgrade implementation cons: wouldn't work well for HTTP backens I think a good solution would run along the lines of the currently commented out code in duplicate_bugdir(), where a VersionedStorage.changed_since(revision) call would give you a list of changed files. diff could work off of that directly, without the need to generate a whole duplicate bugdir. I'm stuck on how to handle upgrades though... Also removed trailing whitespace from all python files.
* Transitioned html to Command-formatW. Trevor King2009-12-141-1/+1
|
* Transitioned comment to Command formatW. Trevor King2009-12-141-0/+22
|
* Added parse_user() calls to AssignW. Trevor King2009-12-141-23/+36
|
* Converted libbe.storage.vcs.base to new Storage format.W. Trevor King2009-12-131-1/+1
|
* Moved be to libbe.ui.command_line and transitioned to Command format.W. Trevor King2009-12-121-1/+1
|
* Added libbe.ui.util.user for managing user ids.W. Trevor King2009-12-121-27/+9
|
* Added libbe.command.base (with Command class) and moved list command to new ↵W. Trevor King2009-12-122-34/+35
| | | | format.
* Moved bugdir, bug, and comment over to new id implementation.W. Trevor King2009-12-101-5/+23
|
* Rethought libbe.util.id moduleW. Trevor King2009-12-091-40/+254
|
* Reworked test.py to handle deeper directory structureW. Trevor King2009-12-081-0/+75
|
* Transitioned bugdir.py to new storage format.W. Trevor King2009-12-082-12/+46
|
* Extend libbe.util.id to handle id (path) creation.W. Trevor King2009-12-081-3/+46
|
* Added libbe.storage.base and test suite.W. Trevor King2009-12-081-0/+10
|
* Initial directory restructuring to clarify dependenciesW. Trevor King2009-12-075-0/+700