aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Hide the traceback on InvalidURL errors.W. Trevor King2012-02-251-0/+5
| | | | | | | | | In response to https://bugzilla.redhat.com/show_bug.cgi?id=733945 in which Neal Becker was bummed at the long traceback, which may initially look like a programming issue.
* Remove util.subproc.Pipe, as we no longer use it in BE.W. Trevor King2012-02-251-139/+0
| | | | | | | | | | This was at one point used by `update_copyright.py`. Now that that is an external package (and doesn't use `Pipe` anymore either), we can safely remove this code. As a side benifit, the Pipe doctests will no longer be there to fail on OS X and other systems sufficiently different from my development box.
* Add CherryPy dependency and minimal install info to doc/install.txt.W. Trevor King2012-02-252-21/+69
| | | | | | | | | | | | | | | | I seem to have left CherryPy out of the earlier list. The extra handholding for minimal installations is an attempt to address problems people have had installing BE on non-Linux systems, where the standard build tools are less common. I also mention my Gentoo overlay and Michel Alexandre Salim's Fedora package, so people running Gentoo and Fedora don't have to bother figuring any of this out ;). Finally, I moved the package information up to the top of the install page, so people on supported systems realize they have an easy out before reading through the install procedure.
* Cherrypick a better version string for setup.py from Niall Douglas.Niall Douglas (a [underscors] sourceforge {at} nedprod [dot] com)2012-02-241-2/+2
| | | | | | | | | | | | | | | WTK: This is a small part of Niall's commit 7f7a7738bcbcfd06a026f2985c1823a4ba5eb55b Author: Niall Douglas ... Date: Tue Feb 21 20:35:28 2012 +0000 Several hacks to make BE compatible with bbfreeze and therefore compilable into a self contained directory I cleaned up his string construction, which was originally version.version()+" ("+rev_date+")"
* Avoid generating another StringIO instance in StringInputOutput.get_stdout().W. Trevor King2012-02-241-2/+1
|
* Shuffle doc/conf.py to get the Git revision into the Sphinx documentation.W. Trevor King2012-02-171-10/+12
|
* Update update-copyright to version 0.3.W. Trevor King2012-02-161-0/+0
|
* Add update-copyright as a submodule and update release.py accordingly.W. Trevor King2012-02-164-4/+15
| | | | Also add `**kwargs` to `invoke` so we can specify the environment.
* Fix release.py to allow uncommented initial _VERSION.W. Trevor King2012-02-161-1/+1
| | | | | | | | | | | | | | I was in favor of always leaving _VERSION commented in the trunk, since released branches should fork off the trunk: trunkA -> trunkB -> trunkC -> trunkD `-> 1.0.0 `-> 1.1.0 `-> 1.0.1 `-> 1.1.1 But that doesn't seem to have been how things have worked out in BE. In any case, you will need to release on top of a previous release (e.g. 1.0.1 on top of 1.0.0 in my above example), so we cannot depend on an initial comment character before _VERSION.
* Modify release.py for external update-copyright.py.W. Trevor King2012-02-161-4/+1
|
* Ran update-copyright.py.W. Trevor King2012-02-1673-720/+723
|
* Transition to my external update-copyright package.W. Trevor King2012-02-162-662/+18
| | | | http://pypi.python.org/pypi/update-copyright/
* Add .mailmap, mapping Git committers and authors to canonical names.W. Trevor King2012-02-161-0/+13
|
* Generated libbe/_version.py was not UTF-8 aware.Matěj Cepl2012-01-024-1/+40
| | | | | | So make failed for me (Matěj Cepl). Signed-off-by: Matěj Cepl <mcepl@redhat.com>
* Fix .gitignoreMatěj Cepl2012-01-022-3/+20
| | | | | | | | | | | Per gitignore(5) it seems to me that directories in the root of the repository should be ignored without leading ./ files. E.g. build/ is correct for ignoring build/ directory and its content. Signed-off-by: Matěj Cepl <mcepl@redhat.com>
* Merge http://www.physics.drexel.edu/~wking/code/git/beChris Ball2012-01-0222-80/+249
|\
| * Fix my busted 1512c0e2a64e patch to libbe/util/encoding.py.W. Trevor King2011-11-136-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Some temporary changes to encoding.py seem to have been added to commit 1512c0e2a64e19c8d4e5697257a4df5ddd8bc727 Author: W. Trevor King <wking@drexel.edu> Date: Tue Nov 8 07:14:43 2011 -0500 by accident. The initial change came from discussions with Niall Douglas, during which I realized that "filesystem encoding" ususally means the encoding for the *path*, not the *contents*. To avoid further confusion I'd renamed `get_filesystem_encoding` to the less ambiguous `get_text_file_encoding`. This commit should complete the transition.
| * Ran update_copyright.py.W. Trevor King2011-11-095-0/+8
| |
| * Mention `~/.local/bin/` when using default `--user` install.W. Trevor King2011-11-081-1/+3
| |
| * Correct doc/install.txt to refer to INSTALL_OPTIONS instead of PREFIX.W. Trevor King2011-11-082-8/+4
| | | | | | | | | | | | | | This catches the docs up with the changes made in: commit a7ad89a6ad7da55089e6f9a4cdd645b7079ee04e Author: W. Trevor King <wking@drexel.edu> Date: Sat Apr 16 21:26:02 2011 -0400
| * Add the BE_ENCODING environmental variable to override the default encoding.W. Trevor King2011-09-081-1/+3
| |
| * Adjust encoding detection (using sys.getfilesystemencoding for file contents).W. Trevor King2011-09-081-5/+8
| |
| * Won't fix #/03d07e61# (bad permission crash).W. Trevor King2011-09-073-1/+16
| |
| * Fixed #/bc1e6ff4# (extra argument crash).W. Trevor King2011-09-072-3/+4
| |
| * Oops, that forgot the equals part of Mercurial 1.9 or greater.W. Trevor King2011-09-071-1/+1
| |
| * Merge remote branch 'tanguy/master'W. Trevor King2011-09-076-0/+96
| |\
| | * Report bug: crash on permission problemsTanguy LE CARROUR2011-06-063-0/+56
| | |
| | * Report bug in arguments processingTanguy LE CARROUR2011-06-063-0/+40
| | |
| * | Adjust Mercurial execution so it works with version 1.9 and earlier.W. Trevor King2011-09-071-3/+9
| | | | | | | | | | | | | | | | | | | | | This makes the changes for 1.9 brought in by bb645f8e489b9f50cd0aec7237ec9adb721797a8 optional. If the Mercurial version is 1.9 or greater, the new code is used. Otherwise, the old code is used.
| * | Move Bzr.version_cmp to VCS.version_cmp.W. Trevor King2011-09-072-92/+91
| | | | | | | | | | | | The version comparison code will be useful for all VCSs.
| * | Merge remote branch 'pschumms/master'W. Trevor King2011-09-071-6/+4
| |\ \
| | * | Minor fix to doctest for command.base.get_command(); failure introduced by ↵Phil Schumm2011-07-301-0/+1
| | | | | | | | | | | | | | | | change to command.base.UnknownCommand in commit 0d5c9c68e947617c9d073d5f19351bdd8f3866db
| | * | Fixed problem with Hg support under version 1.9 ↵Phil Schumm2011-07-281-6/+4
| | | | | | | | | | | | | | | | (mercurial.dispatch.dispatch() now takes a single request object with option for capturing output stream)
| * | | Add Jinja to the dependency documentation.W. Trevor King2011-09-071-0/+2
| | | |
| * | | Remove redundant re import from previous bzr version_cmp patch.W. Trevor King2011-09-071-1/+0
| | | |
| * | | Enhance Bzr.version_cmp to handle non-numeric versionsMichel Alexandre Salim2011-09-071-9/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bzr uses non-numeric tags to indicate prereleases; previously, this triggers an exception in be's Bzr module as version comparison is only supported between version strings that only contain numbers and dots. This patch extends version_cmp to support a single non-numeric pre-release string of arbitrary length (e.g. 'a', 'b', 'pre', 'rc'), and extends the docstring tests to cover this extension. Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
| * | | Add ImportError to UnknownCommand output in get_command doctest.W. Trevor King2011-07-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This catches the test result up after: Commit: 0d5c9c68e947617c9d073d5f19351bdd8f3866db Author: W. Trevor King <wking@drexel.edu> Date: Wed May 25 10:30:19 2011 -0400 Attach ImportError message to UnknownCommand to aid debugging.
| * | | bugseverywhere.org has changed URL handling, so use different URLs for HTTP ↵W. Trevor King2011-07-301-3/+3
| |/ / | | | | | | | | | testing.
* / / Fix up broken merge commit.Chris Ball2012-01-021-8/+0
|/ /
* | Raise UserError if summary is not given to `be commit`.W. Trevor King2011-05-251-0/+3
| | | | | | | | | | | | | | | | | | If the user doesn't provide the summary on the command line, through stdin, or through editor_string, raise an error. This will generally happen with $ be commit (user doesn't enter any text in the editory)
* | Attach ImportError message to UnknownCommand to aid debugging.W. Trevor King2011-05-251-3/+8
| |
* | Add 'Power features' page to the docs.W. Trevor King2011-05-252-0/+28
| |
* | Rework summary handling in `be commit`.W. Trevor King2011-05-251-6/+18
| | | | | | | | | | | | Now you can run `be commit` with no options and have the summary split off the body automatically. This should be more familiar to most VCS users.
* | Run update_copyright.py.W. Trevor King2011-05-2570-44/+128
| |
* | Move Tim Guirgies' help for status/severity overrides to .W. Trevor King2011-05-253-35/+54
| |
* | Remove "be set" reference in favour of actual helpTim Guirgies2011-05-252-2/+32
| | | | | | | | | | | | | | | | Because "be set severity blah" does not actually work, referring users there to set custom severity levels is just cruel (I spent a half hour trying to figure out what I was doing wrong). Thus, it is much easier to, at least for now, state in the help message what they must do in order to get custom severities and statuses.
* | Teach be status --help to load per tree configTim Guirgies2011-05-251-0/+4
| | | | | | | | | | | | Again, there is discrepancy between severity.py and status.py. I thought this feature was extremely useful in severity.py and it should be put into status.py too.
* | Restructure severity help function to match statusTim Guirgies2011-05-251-11/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The code structure was vastly different in severity.py to status.py, so I mostly copied the structure from there and adjusted it to suit severity. The structure in status.py looked (to me) cleaner, more organised, and easier to work with. Also, users are now referred by "be severity --help" to "be set --help", in a manner similar to "be status --help". For those that don't know that severity can be adjusted on a per repository basis, this seems extremely helpful. A similar message appears for status, but not here.
* | Use open() instead of file() in CachedPathID doctests (2to3 compatability).W. Trevor King2011-05-121-3/+3
| |
* | Remove form feeds (for compatibility with 2to3).W. Trevor King2011-05-128-10/+10
| |