Python rewrite of tar_scm

This is a rewrite of the tar_scm service in Python to improve security and
restore functionality after commit acecb041929bc8210c4165574e85bd8a6f0748b2.

Signed-off-by: Jan Blunck <jblunck@infradead.org>
Make pep8 happy (except for regex in tar_scm:299)

Addressing the feedback of pep8 tool. The regex in line 299 will stay as
it is due to readability.

Signed-off-by: Jan Blunck <jblunck@infradead.org>
Address some feedback from pylint

Signed-off-by: Jan Blunck <jblunck@infradead.org>
make Python version PEP8-compliant

Conflicts:
	tar_scm
Let Travis execute pep8

Signed-off-by: Jan Blunck <jblunck@infradead.org>
Strip newline ('\n') characters from safe_run output in detect_version()

The last commit changed the way how we process the output of safe_run()
commands. Now we need to strip newline characters where we don't need them.

Signed-off-by: Jan Blunck <jblunck@infradead.org>
Make potentially long-running tasks print output in real-time

Tasks that might run for a longer time should present their output in
real-time if being executed interactively. Otherwise the user might think
the application is stuck.

Signed-off-by: Jan Blunck <jblunck@infradead.org>
install code moves from README.md to GNUmakefile
Merge pull request #34 from roman-neuhauser/make.install

install code moves from README.md to GNUmakefile
GNUmakefile with greater flexibility

uses variables to provide the same level of flexibility
as provided by the rpm macros used in %install section
of the specfile, which is going to be reduced to using
the makefile instead.
GNUmakefile has 'check' target
Merge pull request #35 from roman-neuhauser/make.more

Make.more
Improve efficiency of stdout handling in safe_run()

Roman Neuhauser suggested this improvement in handling the stdout from the
subprocess.

Signed-off-by: Jan Blunck <jblunck@infradead.org>
Merge pull request #32 from jblunck/python

Python rewrite of tar_scm
Release obs-service-tar_scm 0.4.0

Signed-off-by: Jan Blunck <jblunck@infradead.org>