W. Trevor King [Fri, 25 Jun 2010 20:48:08 +0000 (16:48 -0400)]
Adjust update_copyright.py to handle _mailfilterrc and _procmailrc
Gour re-released _mailfilterrc under GPLv2+ following Chris'
suggestion:
Date: Fri, 25 Jun 2010 14:23:46 -0400
From: Chris Ball
Subject: Re: [Be-devel] procmail & maildrop
...
As an aside, the Public Domain license on it is mildly concerning,
but I think I'm willing to take it anyway since it's just a
standalone file. There are guidelines against using Public Domain
declarations for software, because they have different meaning in
different areas, and some areas are even thought to deny disclaiming
"moral rights" like this; I've heard that France is in this
situation.
...
Seems reasonable, so I'm doing that for my _procmailrc too.
This also means that _mailfilterrc no longer needs to be in
update_copyright.IGNORED_FILES, so I removed it. Actually,
since it lackes a '^# Copyright' line, it never had to be
there in the first place. Lazy me ;).
Chris Ball [Fri, 25 Jun 2010 19:56:29 +0000 (15:56 -0400)]
Merge branch 'master' of physics.drexel.edu/~wking/code/git/be
Chris Ball [Fri, 25 Jun 2010 19:55:14 +0000 (15:55 -0400)]
Merge commit 'refs/merge-requests/2' of git://gitorious.org/be/be
Gour [Fri, 25 Jun 2010 19:32:09 +0000 (21:32 +0200)]
Changed license for _mailfilterrc from Public Domain to GPLv2+
W. Trevor King [Fri, 25 Jun 2010 18:55:38 +0000 (14:55 -0400)]
Added _mailfilterrc to update_copyright.IGNORED_FILES
Gour released it to the Public Domain.
W. Trevor King [Fri, 25 Jun 2010 18:53:41 +0000 (14:53 -0400)]
Merge remote branch 'gour/master'
W. Trevor King [Fri, 25 Jun 2010 18:49:39 +0000 (14:49 -0400)]
Reworked `be list --extra-strings REGEXP` logic.
Previous implementation only matched if *every* regexp matched *every*
string. Current implementation matches is *any* regexp matches *any*
string.
W. Trevor King [Fri, 25 Jun 2010 18:38:41 +0000 (14:38 -0400)]
Remove 'CFBE. ' prefix from bug summaries now that we're using tags.
W. Trevor King [Fri, 25 Jun 2010 18:31:34 +0000 (14:31 -0400)]
Added --tags to `be list`.
And broke out tagging functions in libbe.command.tag, so they are
accessible to other commands.
W. Trevor King [Fri, 25 Jun 2010 17:54:41 +0000 (13:54 -0400)]
Added CFBE tags to all CFBE bugs.
Chris Ball [Fri, 25 Jun 2010 17:44:38 +0000 (13:44 -0400)]
Merge branch 'master' of physics.drexel.edu/~wking/code/git/be
W. Trevor King [Fri, 25 Jun 2010 17:27:12 +0000 (13:27 -0400)]
Configure CherryPy to use UTF-8
W. Trevor King [Fri, 25 Jun 2010 17:15:55 +0000 (13:15 -0400)]
Merged Chris' response bea/275/672
Chris Ball [Fri, 25 Jun 2010 17:02:18 +0000 (13:02 -0400)]
Reply to wking
Chris Ball [Fri, 25 Jun 2010 16:59:34 +0000 (12:59 -0400)]
Merge branch 'master' of physics.drexel.edu/~wking/code/git/be
W. Trevor King [Fri, 25 Jun 2010 16:41:35 +0000 (12:41 -0400)]
Marked bea/d99 (CFBE inclusion) as fixed
W. Trevor King [Fri, 25 Jun 2010 16:22:52 +0000 (12:22 -0400)]
Commented on Chris' bea/275/27c
Gour [Fri, 25 Jun 2010 16:09:01 +0000 (18:09 +0200)]
rc file for maildrop filter
Chris Ball [Fri, 25 Jun 2010 02:51:05 +0000 (22:51 -0400)]
Rename cfbe bug to match "CFBE. " style used elsewhere
Chris Ball [Fri, 25 Jun 2010 02:48:15 +0000 (22:48 -0400)]
Merge branch 'master' of wking.cfbe
Pull .be/ directory from cfbe.
Conflicts:
update_copyright.py
W. Trevor King [Fri, 25 Jun 2010 01:51:20 +0000 (21:51 -0400)]
Add aliases to update_copyright.py for some recent commits
W. Trevor King [Fri, 25 Jun 2010 01:47:03 +0000 (21:47 -0400)]
Merge CFBE bugs into the main BE bug repo
Chris Ball [Thu, 24 Jun 2010 23:05:30 +0000 (19:05 -0400)]
Merge branch 'master' of physics.drexel.edu/~wking/code/git/be
Chris Ball [Thu, 24 Jun 2010 22:58:03 +0000 (18:58 -0400)]
Merge branch 'cfbe'
Chris Ball [Thu, 24 Jun 2010 22:23:48 +0000 (18:23 -0400)]
Add a 1.0 target (/773) and assign a cfbe Unicode bug to it (/275)
Chris Ball [Thu, 24 Jun 2010 22:13:06 +0000 (18:13 -0400)]
cfbe: API: Report each of the targets a bug has
W. Trevor King [Thu, 24 Jun 2010 20:16:55 +0000 (16:16 -0400)]
Converted Bzr -> Git references in README and doc/*.txt
Gianluca [Thu, 24 Jun 2010 20:12:39 +0000 (16:12 -0400)]
Little fix to setup.py
I applied Gianluca's patch, but used "revision" in both the Makefile
command for _version.py and setup.py, rather than using "revision_id"
in both places. With Git, there is no longer a need to distinguish
revision IDs from revision numbers.
Chris Ball [Wed, 23 Jun 2010 02:09:12 +0000 (22:09 -0400)]
cfbe: API: More shortname -> bug.id.user()
Chris Ball [Wed, 23 Jun 2010 02:08:08 +0000 (22:08 -0400)]
cfbe: API: bd.bug_from_shortname(id) -> bug_comment_from_user_id(bd, id)
W. Trevor King [Wed, 23 Jun 2010 01:38:37 +0000 (21:38 -0400)]
Ran update_copyright.py
W. Trevor King [Wed, 23 Jun 2010 01:11:52 +0000 (21:11 -0400)]
Updated update_copyright to work with git/hg/bzr.
I'd added the extra VCS support when I took it over to Hooke.
Chris Ball [Wed, 23 Jun 2010 00:17:29 +0000 (20:17 -0400)]
cfbe: API: bugdir.root -> bug_root
Chris Ball [Wed, 23 Jun 2010 00:05:51 +0000 (20:05 -0400)]
cfbe: API: bugdir.bug_shortname(bug) -> bug.id.user()
FIXME: More instances here.
Chris Ball [Wed, 23 Jun 2010 00:00:36 +0000 (20:00 -0400)]
cfbe: API: Use bug.severity == target instead of bug.target. (FIXME)
FIXME: There are still many more instances of bug.target; I'm just going
through tracebacks one at a time at the moment.
W. Trevor King [Tue, 22 Jun 2010 23:50:31 +0000 (19:50 -0400)]
Use git log instead of git show in Makefile
W. Trevor King [Tue, 22 Jun 2010 23:22:05 +0000 (19:22 -0400)]
Moved .bzrignore -> .gitignore and updated
W. Trevor King [Tue, 22 Jun 2010 23:05:19 +0000 (19:05 -0400)]
Updated _version.py and version.py to work with Git
Chris Ball [Tue, 22 Jun 2010 22:17:40 +0000 (18:17 -0400)]
cfbe: Use new storage API
Chris Ball [Tue, 22 Jun 2010 19:57:58 +0000 (15:57 -0400)]
Merge from Trevor.
W. Trevor King [Tue, 22 Jun 2010 19:32:33 +0000 (15:32 -0400)]
Merged Chris' tutorial BE server URL update
wking [Tue, 22 Jun 2010 18:23:13 +0000 (14:23 -0400)]
Remove stub interfaces/web/.be
wking [Tue, 22 Jun 2010 18:22:36 +0000 (14:22 -0400)]
Moved CFBE bugs from interfaces/web/.be into .be/
wking [Tue, 22 Jun 2010 18:20:10 +0000 (14:20 -0400)]
Added 'CFBE' prefix to all CFBE bugs for clarity
wking [Tue, 22 Jun 2010 18:15:47 +0000 (14:15 -0400)]
Upgraded interfaces/web/.be to Bugs Everywhere Directory v1.4
be$ bzr mv .be .be-orig
be$ bzr mv interfaces/web/.be .be
be$ be list
<go through upgrade process>
be$ bzr mv .be interfaces/web/.be
be$ bzr mv .be-orig .be
W. Trevor King [Tue, 22 Jun 2010 17:41:52 +0000 (13:41 -0400)]
Merged Darcs fixes
W. Trevor King [Tue, 22 Jun 2010 17:37:49 +0000 (13:37 -0400)]
Many markup fixes in doc/
Also added subdir option to generate-libbe-txt.make_module_txt(), in
the hopes that subdir='.' would fix the missing reference errors, but
no luck (although it did reduce them). I'm sticking with
subdir='libbe' for now to avoid cluttering doc/ with autogenerated
cruft.
wking [Tue, 22 Jun 2010 17:23:07 +0000 (13:23 -0400)]
Darcs should look in ~/.darcs/author not ~/.darcs/prefs/author
From:
http://darcs.net/manual/node7.html#env:DARCS_EMAIL
wking [Tue, 22 Jun 2010 17:19:59 +0000 (13:19 -0400)]
Darcs._vcs_get_user_id() now also checks ~/.darcs/prefs/author|email.
Thanks to Gour for pointing out that it should.
wking [Tue, 22 Jun 2010 17:09:23 +0000 (13:09 -0400)]
Use 'darcs add --boring' for Darcs > 0.9.10
Chris Ball [Tue, 22 Jun 2010 16:25:02 +0000 (12:25 -0400)]
Change location of be --serve'd bugs URL to bugs.bugseverywhere.org/
Chris Ball [Tue, 22 Jun 2010 16:11:36 +0000 (12:11 -0400)]
Merge with Trevor
wking [Tue, 22 Jun 2010 15:30:26 +0000 (11:30 -0400)]
Use os.path.join in libbe.storage.util.config.path.
Versus previous hardcoded "~/.bugs_everywhere".
Also improve docstrings for
* libbe.storage.util.config.path
* libbe.ui.util.user.get_user_id
wking [Tue, 22 Jun 2010 15:10:00 +0000 (11:10 -0400)]
Added -c/--creator to `be new`
Following Gour's suggestion on the mailing list.
wking [Tue, 22 Jun 2010 13:58:38 +0000 (09:58 -0400)]
Use Sphinx autosummary (required by numpydoc)
wking [Tue, 22 Jun 2010 11:20:29 +0000 (07:20 -0400)]
Added intersphinx_mapping to doc/conf.py.
See
http://sphinx.pocoo.org/ext/intersphinx.html#confval-intersphinx_mapping
Chris Ball [Sun, 20 Jun 2010 23:36:29 +0000 (19:36 -0400)]
Set up for running from top-level be dir, i.e.:
% python interfaces/web/cfbe.py
Chris Ball [Sun, 20 Jun 2010 23:27:36 +0000 (19:27 -0400)]
Remove the .be/ copy from inside cfbe dir
Chris Ball [Sun, 20 Jun 2010 23:25:59 +0000 (19:25 -0400)]
Merge Steve Losh's cfbe tree, from:
http://bitbucket.org/sjl/cherryflavoredbugseverywhere/
Chris Ball [Sun, 20 Jun 2010 23:19:06 +0000 (19:19 -0400)]
Merge with Trevor.
W. Trevor King [Wed, 19 May 2010 11:17:36 +0000 (07:17 -0400)]
Fixed Eric Kow's _darcs/prefs/author bug.
W. Trevor King [Wed, 19 May 2010 11:04:55 +0000 (07:04 -0400)]
Use _vcs_get_file_contents (vs get_file_contents) in Darcs._vcs_get_user_id
W. Trevor King [Wed, 19 May 2010 10:48:20 +0000 (06:48 -0400)]
Merged Eric Kow's _darcs/prefs/author bug.
W. Trevor King [Wed, 19 May 2010 10:41:00 +0000 (06:41 -0400)]
Use getreader (not getwriter) for wrapping stdin
Eric Kow [Mon, 29 Mar 2010 15:53:21 +0000 (16:53 +0100)]
Created bug 592 (_darcs/prefs/author).
W. Trevor King [Fri, 19 Mar 2010 06:18:13 +0000 (02:18 -0400)]
Created a bug (wontfix) for Anton Batenev's default-EDITOR comments.
Also fixed a UserError typo in import_xml.py.
W. Trevor King [Fri, 19 Mar 2010 11:18:13 +0000 (07:18 -0400)]
Merged Anton Batenev's report of Nicolas Alvarez' unicode-in-be-new bug
Anton Batenev [Tue, 16 Mar 2010 12:54:22 +0000 (15:54 +0300)]
Reported bug with utf-8 strings
W. Trevor King [Mon, 22 Feb 2010 22:22:34 +0000 (17:22 -0500)]
Fix relative links from bug pages in `be html`.
Introduced by bugs/XXX.html -> bugs/XXX/index.html in
wking@drexel.edu-
20100220181238-j5ecst02y0k9ioo9
W. Trevor King [Mon, 22 Feb 2010 14:39:21 +0000 (09:39 -0500)]
Use truncated_id in `be html` comment <div id="">
W. Trevor King [Sat, 20 Feb 2010 18:28:34 +0000 (13:28 -0500)]
Fix len(char) assertion typo in libbe.util.utility.underlined()
W. Trevor King [Sat, 20 Feb 2010 18:21:25 +0000 (13:21 -0500)]
Added `be html --min-id-length INT` option
W. Trevor King [Sat, 20 Feb 2010 18:12:38 +0000 (13:12 -0500)]
Merged Gianluca's truncated-IDs in `be html` output patch.
Or at least merged the general idea. Changes in the implementation
listed in #bea/01e/2f9#.
Gianluca Montecchi [Thu, 11 Feb 2010 22:47:20 +0000 (23:47 +0100)]
Variable lenght of the file name in the be html command.
gian [Wed, 10 Feb 2010 13:28:49 +0000 (14:28 +0100)]
Fixed a bug in the be html command.
File "/usr/lib/python2.5/site-packages/libbe/command/html.py", line 371, in _escape
return xml.sax.saxutils.escape(char)
NameError: global name 'char' is not defined
W. Trevor King [Wed, 10 Feb 2010 09:50:20 +0000 (04:50 -0500)]
Merged Gianluca's fix of my version of Eric's patch ;)
Gianluca Montecchi [Tue, 9 Feb 2010 23:03:38 +0000 (00:03 +0100)]
Merged Trevor's tree
W. Trevor King [Tue, 9 Feb 2010 15:27:03 +0000 (10:27 -0500)]
Merged Eric Kow's HTML escaping patch
W. Trevor King [Mon, 8 Feb 2010 22:05:12 +0000 (17:05 -0500)]
Merged initial Sphinx documentation structure.
There's still a long way to go in this direction, but the basic
framework is now in place. Toss in numpydoc-style docstrings
http://projects.scipy.org/numpy/wiki/CodingStyleGuidelines
when you have time, and things will gradually improve over time.
I also punted our user ID creation/parsing in libbe.ui.util.user to
the email module. This way IDs are handled in an RFC-compliant way
(less suprising for users) and by someone else (less work for us :).
W. Trevor King [Mon, 8 Feb 2010 22:02:56 +0000 (17:02 -0500)]
Consolidated Makefile and doc/man/module.mk. Incorperated doc/Makefile.
Now
make sphinx
builds the Sphinx HTML documentation (in doc/.build/html), and
make clean
cleans up everything.
Having a separate module.mk was just making things confusing, so I
took it out ;).
W. Trevor King [Sun, 7 Feb 2010 22:53:53 +0000 (17:53 -0500)]
Fixed docstrings so only Sphinx errors are "autosummary" and "missing attribute"
W. Trevor King [Sun, 7 Feb 2010 18:37:37 +0000 (13:37 -0500)]
Use email.utils.formataddr/parseaddr to generate/parse user IDs
W. Trevor King [Sat, 6 Feb 2010 21:53:57 +0000 (16:53 -0500)]
Use numpydoc and generate-libbe-txt.py to autogenerate API documentation
W. Trevor King [Sat, 6 Feb 2010 18:44:05 +0000 (13:44 -0500)]
Added bugdir and comment modules to Sphinx docs
W. Trevor King [Sat, 6 Feb 2010 18:09:24 +0000 (13:09 -0500)]
Added libbe.bug to the Sphinx documentation
W. Trevor King [Sat, 6 Feb 2010 16:06:32 +0000 (11:06 -0500)]
Broke out install.txt + reStructuredText markup fixes
W. Trevor King [Sat, 6 Feb 2010 14:47:20 +0000 (09:47 -0500)]
Added page titles to the documentation & adjusted section levels.
W. Trevor King [Sat, 6 Feb 2010 01:09:58 +0000 (20:09 -0500)]
Sphynx now gets version string automatically.
W. Trevor King [Sat, 6 Feb 2010 01:08:22 +0000 (20:08 -0500)]
Moved manpage source doc/src to doc/man
W. Trevor King [Sat, 6 Feb 2010 01:06:02 +0000 (20:06 -0500)]
Created Sphinx framework with sphinx-quickstart and added .txt extensiosns
Eric Kow [Fri, 5 Feb 2010 14:30:21 +0000 (14:30 +0000)]
Avoid double-escaping in 'be html'.
Eric Kow [Fri, 5 Feb 2010 11:48:28 +0000 (11:48 +0000)]
Use ${HOME}/.local as default prefix.
This is apparently a new standard.
W. Trevor King [Tue, 2 Feb 2010 19:11:14 +0000 (14:11 -0500)]
Sort comments in `be html`.
W. Trevor King [Tue, 2 Feb 2010 17:37:32 +0000 (12:37 -0500)]
Fix be-xml-to-mbox handling of non-text/* content types
W. Trevor King [Tue, 2 Feb 2010 17:32:53 +0000 (12:32 -0500)]
Restore "content_type" kwarg to Comment.new_reply().
It had been removed in
revno: 473.1.43
committer: W. Trevor King <wking@drexel.edu>
branch nick: be.restructure
timestamp: Mon 2009-12-14 07:37:51 -0500
message:
Transitioned comment to Command format
when we pushed unicode encoding/decoding back to the Storage backend.
However, with the addition of libbe.util.id.short_to_long_text(),
we need it again.
Also add a Doctest showing a non-text/* comment, so utilities dealing
with them can see what they'll be working with.
W. Trevor King [Mon, 1 Feb 2010 17:31:53 +0000 (12:31 -0500)]
Made Bzr/Darcs.version_cmp() more robust in response to Chris' email.
From: Chris Ball <cjb@laptop.org>
Subject: Test suite status
...
I ran the wking@drexel.edu-
20100130162439-pmh5tg6kuq92x3l5 testsuite
on Fedora 13/Rawhide. Had to downgrade Mercurial (bzr-hg doesn't
support 1.4.2 yet) and bzr (my Fedora package contained a "b4" in the
version string, which breaks libbe/storage/vcs/bzr.py:version_cmp()).
...
W. Trevor King [Mon, 1 Feb 2010 17:02:11 +0000 (12:02 -0500)]
Fixed Chris' "zero name length for Mercurial w/o ~/.hgrc" bug.
From: Chris Ball <cjb@laptop.org>
Subject: Test suite status
Date: Mon, 01 Feb 2010 11:27:53 -0500
Message-id: <m38wbcor92.fsf@pullcord.laptop.org>
...
I hit the "assert len(name) > 0" in libbe/ui/util/libbe.py, coming from
hg.py when running with no ~/.hgrc. Fixed by the following patch:
=== modified file 'libbe/storage/vcs/hg.py'
--- libbe/storage/vcs/hg.py 2010-01-21 17:45:49 +0000
+++ libbe/storage/vcs/hg.py 2010-02-01 16:17:03 +0000
@@ -87,7 +87,14 @@
return tmp_stdout.getvalue().rstrip('\n')
def _vcs_get_user_id(self):
- return self._u_invoke_client('showconfig', 'ui.username')
+ output = self._u_invoke_client('showconfig', 'ui.username')
+ if output != "":
+ return output.rstrip('\n')
+ else:
+ # guess missing info
+ name = libbe.ui.util.user.get_fallback_username()
+ email = libbe.ui.util.user.get_fallback_email()
+ return libbe.ui.util.user.create_user_id(name, email)
def _vcs_detect(self, path):
"""Detect whether a directory is revision-controlled using Mercurial"""
W. Trevor King [Mon, 1 Feb 2010 16:36:21 +0000 (11:36 -0500)]
Fix command name output of `be --complete`.
By adding command_names option to libbe.command.commands. Previous
versions of `be --complete` printed "import_xml", not "import-xml".
Also fixed libbe.command.base's doctests, so test.py can run them.
W. Trevor King [Mon, 1 Feb 2010 15:59:52 +0000 (10:59 -0500)]
Clearer UnicodeDecodeError message in command_line.dispatch().
See #bea/e30# ("Where should the vcs-name and encoding configuration
options live?") for details.
W. Trevor King [Sat, 30 Jan 2010 16:24:39 +0000 (11:24 -0500)]
libbe.command.html.HTMLGen._long_to_linked_user() handles failed conversion.
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.