~nacc/git-ubuntu:refactor-main-v2

Last commit made on 2017-09-11
Get this branch:
git clone -b refactor-main-v2 https://git.launchpad.net/~nacc/git-ubuntu
Only Nish Aravamudan can upload to this branch. If you are Nish Aravamudan please log in for upload directions.

Branch merges

Branch information

Name:
refactor-main-v2
Repository:
lp:~nacc/git-ubuntu

Recent commits

6f347d1... by Nish Aravamudan

remote: rework so that main is a more useful function

This will be folded up with the other changes before merging.

9cb168b... by Nish Aravamudan

lint: rework so that main is a more useful function

This will be folded up with the other changes before merging.

fc417b2... by Nish Aravamudan

clone: rework so that main is a more useful function

This will be folded up with the other changes before merging.

51ced34... by Nish Aravamudan

git ubuntu: refactor __main__ to call module parse_args

This is the final step in the refactor -- rather than using per-module
classes, just import each module in __main__ in order to call its
parse_args and func (which in the current implementation is that
module's cli_main).

Before merging with master, I think we will squash all of these
together.

At this point, all errors from pylint3 are from pygit2 imports.

LP: #1707321

a1211d3... by Nish Aravamudan

submit: refactor class

Leave only parse_args and cli_main in the class. Make cli_main nothing
more than a wrapper to the module's main function.

LP: #1707321

7c5c178... by Nish Aravamudan

submit: use lint.derive_target_branch

submit can be used for distributed development among team members by
proposing MPs against each other's repositories, via the --target-user
flag. Rather than having submit-specific code for deriving the target
branch, use the existing code from lint, after extending it to take a
namespace argument.

7c5679d... by Nish Aravamudan

tag: refactor class

Leave only parse_args and cli_main in the class. Make cli_main nothing
more than a wrapper to the module's main function.

LP: #1707321

edd6afb... by Nish Aravamudan

remote: refactor class

Leave only parse_args and cli_main in the class. Make cli_main nothing
more than a wrapper to the module's main function.

LP: #1707321

8977d24... by Nish Aravamudan

queue: refactor class

Leave only parse_args and cli_main in the class. Make cli_main nothing
more than a wrapper to the module's main function.

LP: #1707321

9896275... by Nish Aravamudan

merge: refactor class

Leave only parse_args and cli_main in the class. Make cli_main nothing
more than a wrapper to the module's main function.

LP: #1707321