GitWeb
Get Gentoo!
gentoo.org sites
gentoo.org
Wiki
Bugs
Forums
Packages
Planet
Archives
Sources
Infra Status
Home
Gentoo Repository
Repositories
Projects
Developer Overlays
User Overlays
Data
Websites
index
:
proj/pkgcore/snakeoil.git
master
A python library that implements optimized versions of common functionality
PkgCore Project (pkgcore@gentoo.org)
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
src
/
snakeoil
/
cli
/
tool.py
Commit message (
Expand
)
Author
Age
Files
Lines
*
little modernization of snakeoil.cli
Arthur Zamarin
2022-12-30
1
-1
/
+1
*
Reformat w/ black 22.12.0 for consistency.
Brian Harring
2022-12-25
1
-25
/
+38
*
sort imports with isort
Tim Harder
2021-03-28
1
-3
/
+3
*
cli.tool: use logging exception handler when emitting records
Tim Harder
2020-12-20
1
-0
/
+2
*
contexts: drop nullcontext since we're >=py38 now
Tim Harder
2020-12-14
1
-3
/
+3
*
cli.tool: explicitly handle UserExceptions when parsing args
Tim Harder
2020-11-18
1
-23
/
+27
*
cli.tool: drop unused variable
Tim Harder
2020-11-18
1
-2
/
+1
*
drop unnecessary object class inheritance for py3
Tim Harder
2020-01-31
1
-1
/
+1
*
drop explicit demandloaded modules to straight imports
Tim Harder
2019-08-22
1
-6
/
+2
*
remove license/copyright file headers
Tim Harder
2019-08-18
1
-3
/
+0
*
convert some %s and .format() usage to f-strings
Tim Harder
2019-07-29
1
-2
/
+2
*
cli.tool: fix conditionals for setting the output stream to a sane default
Tim Harder
2019-07-20
1
-3
/
+3
*
cli.tool: suppress warning level log output and below in quiet mode
Tim Harder
2019-07-19
1
-2
/
+2
*
cli.tool: suppress warning level log output and below in regular mode
Tim Harder
2019-07-17
1
-2
/
+11
*
cli.tool: only enable line buffering if stdout hasn't been reset
Tim Harder
2019-07-16
1
-2
/
+3
*
cli.tool: handle_exec_exception(): handle exceptions that override init
Tim Harder
2019-02-25
1
-1
/
+2
*
cli.tool: handle_exec_exception(): add support for internal verbosity overrides
Tim Harder
2019-02-24
1
-3
/
+7
*
cli.tool: handle_exec_exception(): fix newline handling for verbose error output
Tim Harder
2019-02-24
1
-2
/
+2
*
cli.tool: handle_exec_exception(): output verbose error if it exists
Tim Harder
2019-02-24
1
-0
/
+6
*
cli.exceptions: rename CliException to UserException
Tim Harder
2019-02-02
1
-5
/
+5
*
cli.exceptions: add find_cli_exception() for external use
Tim Harder
2019-02-01
1
-7
/
+4
*
cli.tool: handle_exec_exception(): short circuit handling when debugging
Tim Harder
2019-01-19
1
-2
/
+4
*
tool: output ExitException strings using error formatter
Tim Harder
2019-01-19
1
-0
/
+3
*
cli: add custom exit exception
Tim Harder
2019-01-19
1
-3
/
+11
*
tool: add generic handling for cli error output
Tim Harder
2019-01-19
1
-5
/
+7
*
cli.tool: simplify traceback dumping for unhandled exceptions
Tim Harder
2019-01-18
1
-3
/
+2
*
cli.tool: add support for outputting clean cli errors
Tim Harder
2019-01-18
1
-0
/
+4
*
cli.tool: Tool: add pre_parse() and post_parse() methods
Tim Harder
2019-01-13
1
-3
/
+7
*
cli.tool: Tool: add set_options() hook for child classes to alter options
Tim Harder
2019-01-06
1
-0
/
+5
*
cli.tool: fallback to default verbosity if attr doesn't exist
Tim Harder
2019-01-05
1
-2
/
+2
*
cli.tool: add parsed verbosity attr to output formatters
Tim Harder
2019-01-05
1
-0
/
+4
*
tool: Tool.main(): flush stderr/stdout before handling custom exceptions
Tim Harder
2018-11-03
1
-0
/
+2
*
use relative imports for internal modules
Tim Harder
2018-04-11
1
-2
/
+2
*
remove unsupported py2 and deprecated py3 code and fallbacks
Tim Harder
2018-04-11
1
-15
/
+8
*
cli.tool: use line buffering if redirecting or piping stdout
Tim Harder
2017-11-24
1
-1
/
+5
*
cli.tool: Tool: extract main func in the parse_args() method
Tim Harder
2017-09-29
1
-6
/
+6
*
move snakeoil module into src subdir
Tim Harder
2017-09-23
1
-0
/
+179