lp:~jml/commandant/clean-up-flakes

Created by Jonathan Lange and last modified
Get this branch:
bzr branch lp:~jml/commandant/clean-up-flakes
Only Jonathan Lange can upload to this branch. If you are Jonathan Lange please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Jonathan Lange
Project:
Commandant
Status:
Merged

Recent revisions

19. By Jonathan Lange

Clean up flakes, unused imports, unused local variables.

18. By Jamu Kakar

Merged better-first-experience.

If no command name is provided Commandant runs the builtin 'help'
command which, by default, displays the 'basic' help topic.

17. By Jamu Kakar

Merged improve-topics-command.

The 'topics' subcommand, provided as an argument to 'help', only
displays topics that don't match commands. Prior to this change the
output would incorrectly list help topics for executable commands.

16. By Jamu Kakar

Merged help-topic-support.

Help topics are now first-class objects, just like commands. The
Commandant implementation has been moved to a new
commandant.controller module and provides methods to manage help
topics. In addition, the implementation of the 'help' command has
been greatly simplified, now relying on the Commandant object to get
commands and help topics to display. Finally, a new
commandant.formatting module provides a print_columns function that
can be used to generate formatted table output.

15. By Jamu Kakar

Merged debian-package.

A setuptools-based setup script installs Commandant and Debian
packaging files are in place to create packages for Ubuntu. The new
package has successfully built in a PPA on four Ubuntu releases. In
the same spirit as Bazaar, the code has been put under the GPL. The
README and source code files have been updated to include copyright
and license text.

14. By Jamu Kakar

Merged split-commands-module.

The Commandant object, responsible for discovering and running
commands, has been moved out of the commandant.commands module into
a new commandant.controller module. All related code and tests have
been updated.

13. By Jamu Kakar

Merged commandant-path.

The command path is now set on the Commandant object, and available
to commands via the 'path' attribute, as before. This should
eventually be removed, because commands shouldn't need access to the
directory. At present, some external command implementations rely
on it, so the feature is being preserved until they can be changed.

12. By Jamu Kakar

Merged command-loading.

The create_commandant_from_path function has been removed. Its
functionality is now available via a new load_path method on the
Commandant object. The register method, used to load commands from
a Python module, has been renamed to load_module.

11. By Jamu Kakar

Merged example-program.

The README file has been updated to include examples for most
features available in Commandant. An example Commandant program,
the one described in the README file, is available in the extras
directory.

10. By Jamu Kakar

Merged stat-errors.

Files that don't exist, such as dangling symlinks, don't cause
Commandant to crash anymore. They're ignored during the command
loading process now.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar RepositoryFormatKnitPack6 (bzr 1.9)
Stacked on:
lp:commandant
This branch contains Public information 
Everyone can see this information.

Subscribers