aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/util/id.py
Commit message (Collapse)AuthorAgeFilesLines
* Ran update_copyright.pyW. Trevor King2010-06-221-11/+12
|
* 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-071-40/+263
|
* 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
|
* Updated copyright informationW. Trevor King2010-01-011-1/+1
|
* 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-151-5/+5
| | | | | | | | | | | | | | | | | | | | | 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.
* 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 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
|
* Transitioned bugdir.py to new storage format.W. Trevor King2009-12-081-11/+24
|
* Extend libbe.util.id to handle id (path) creation.W. Trevor King2009-12-081-0/+110