Commit Graph

20 Commits

Author SHA1 Message Date
Roman Zeyde
ccdf37d371 trezor-agent: refactor identity_from_gitconfig() a bit 2015-07-05 15:10:24 +03:00
Roman Zeyde
df4f3a1b19 trezor-agent: automatic support for git identity
The agent uses local 'git config', and chooses the url marked as "trezor = true".
2015-07-05 14:52:31 +03:00
Roman Zeyde
bd22d7512b trezor: refactor label parsing and handling 2015-07-04 21:15:09 +03:00
Roman Zeyde
4562d64714 agent: small fixes 2015-07-04 12:29:49 +03:00
Roman Zeyde
ee01781ebe agent: add --shell and --connect flags
--shell: opens $SHELL as subprocess
--connect: connect via SSH to specified identity's host
2015-07-04 11:22:56 +03:00
Roman Zeyde
8273cc89f8 agent: fix argument parser 2015-07-04 10:47:32 +03:00
Roman Zeyde
dcfc88c7e1 trezor-agent: use single identity per invocation 2015-07-04 09:23:36 +03:00
Roman Zeyde
8c82480c34 trezor-agent: remove __main__ part 2015-07-04 09:07:16 +03:00
Roman Zeyde
7f0424d29a trezor-agent: require at least 1 identity 2015-07-04 09:07:16 +03:00
Roman Zeyde
d0c5421a3d trezor_agent: use list comprehension 2015-07-04 08:51:11 +03:00
Roman Zeyde
333d1e8e20 trezor-agent: fix verbosity 2015-07-04 08:48:36 +03:00
Roman Zeyde
5db8a068ef rename arguments and variable names 2015-07-04 08:42:08 +03:00
Roman Zeyde
3057a3d7a9 trezor: use identities instead of labels 2015-07-03 16:09:49 +03:00
Roman Zeyde
a60a627b8a server: serve should be a context manager 2015-06-17 16:52:11 +03:00
Roman Zeyde
bd723918ce trezor: refactor Client to use Factory design pattern 2015-06-17 16:36:45 +03:00
Roman Zeyde
7ef71df81b pylint: fix issues 2015-06-16 10:33:48 +03:00
Roman Zeyde
768ee33bf2 fix PEP8 2015-06-16 10:20:11 +03:00
Roman Zeyde
c3c875eb3e sshagent: add spaces between functions 2015-06-16 10:03:48 +03:00
Roman Zeyde
dd81478fc6 code refactoring 2015-06-15 18:25:13 +03:00
Roman Zeyde
96ad9b86f9 move everything to separate package 2015-06-15 16:52:46 +03:00