pyi2ncommon
9 years agomoved python files from root dir into new src subdir
Christian Herdtweck [Thu, 14 Jan 2016 16:18:11 +0000]
moved python files from root dir into new src subdir

as recommended in distutils docu

9 years agomoved old unittests into test subdir
Christian Herdtweck [Thu, 14 Jan 2016 15:54:46 +0000]
moved old unittests into test subdir

9 years agouups
Christian Herdtweck [Thu, 14 Jan 2016 15:17:03 +0000]
uups

9 years agoupdated doc
Christian Herdtweck [Thu, 14 Jan 2016 15:01:34 +0000]
updated doc

9 years agoadd license to every source file and replaced codeauthor with Intra2net
Christian Herdtweck [Thu, 14 Jan 2016 14:32:44 +0000]
add license to every source file and replaced codeauthor with Intra2net

9 years agotest completed successfully (/dev/random was too slow)
Christian Herdtweck [Thu, 14 Jan 2016 14:16:13 +0000]
test completed successfully (/dev/random was too slow)

9 years agochange unit of FilesystemFillState to bytes since that was assumed in other code
Christian Herdtweck [Thu, 14 Jan 2016 14:15:04 +0000]
change unit of FilesystemFillState to bytes since that was assumed in other code

9 years agofix a bug in text-parsing; clean up imports
Christian Herdtweck [Thu, 14 Jan 2016 14:03:28 +0000]
fix a bug in text-parsing; clean up imports

9 years agoadded comments and todos
Christian Herdtweck [Thu, 14 Jan 2016 14:02:49 +0000]
added comments and todos

9 years agocreated test that actually writes data to a filesystem to really test disc_fill_checked
Christian Herdtweck [Thu, 14 Jan 2016 14:02:08 +0000]
created test that actually writes data to a filesystem to really test disc_fill_checked

9 years agonew test, new bugs found...
Christian Herdtweck [Thu, 14 Jan 2016 14:01:39 +0000]
new test, new bugs found...

9 years agocreate iter_helpers since pairwise now used multiple times
Christian Herdtweck [Thu, 14 Jan 2016 14:00:47 +0000]
create iter_helpers since pairwise now used multiple times

9 years agodisc checker thread works now in unittests
Christian Herdtweck [Thu, 14 Jan 2016 13:05:59 +0000]
disc checker thread works now in unittests

added alternativ implementation using alarms (untested)

9 years agoadded a todo and forgotten 'self's
Christian Herdtweck [Thu, 14 Jan 2016 13:04:32 +0000]
added a todo and forgotten 'self's

9 years agosome bugfixes: ignore tmpfs in disc fill check, set daemon compatibly
Christian Herdtweck [Wed, 13 Jan 2016 17:13:42 +0000]
some bugfixes: ignore tmpfs in disc fill check, set daemon compatibly

9 years agofix typos
Christian Herdtweck [Wed, 13 Jan 2016 17:10:12 +0000]
fix typos

9 years agostart testing the DiscCheckerThread, not as easy as expected...
Christian Herdtweck [Wed, 13 Jan 2016 17:09:24 +0000]
start testing the DiscCheckerThread, not as easy as expected...

9 years agocontinue testing and correcting disc-usage checker; decision function and zero-estima...
Christian Herdtweck [Wed, 13 Jan 2016 16:14:13 +0000]
continue testing and correcting disc-usage checker; decision function and zero-estimation correct

9 years agotest creation and str-formatting of FilesystemFillState since I once stumbled over...
Christian Herdtweck [Wed, 13 Jan 2016 16:12:48 +0000]
test creation and str-formatting of FilesystemFillState since I once stumbled over this

9 years agoadd from __future__ import print_function for compatibility in templates
Christian Herdtweck [Wed, 13 Jan 2016 16:12:18 +0000]
add from __future__ import print_function for compatibility in templates

9 years agoclarified names around df-wrappers: include "fill" in function and class
Christian Herdtweck [Wed, 13 Jan 2016 16:11:17 +0000]
clarified names around df-wrappers: include "fill" in function and class

9 years agoimplemented robust estimation of time-until-disc-full
Christian Herdtweck [Wed, 13 Jan 2016 11:14:52 +0000]
implemented robust estimation of time-until-disc-full

9 years agofinished LogarithmicBuffer, tested with new unittest
Christian Herdtweck [Wed, 13 Jan 2016 09:45:54 +0000]
finished LogarithmicBuffer, tested with new unittest

9 years agofixed CircularBuffer unittest
Christian Herdtweck [Wed, 13 Jan 2016 08:24:09 +0000]
fixed CircularBuffer unittest

9 years agocreated test_helpers for simplifying quick test development; started disc usage checker
Christian Herdtweck [Tue, 12 Jan 2016 12:32:29 +0000]
created test_helpers for simplifying quick test development; started disc usage checker

9 years agomake line-splitting optional in call_and_capture
Christian Herdtweck [Tue, 12 Jan 2016 12:28:07 +0000]
make line-splitting optional in call_and_capture

9 years agoclarified test template
Christian Herdtweck [Tue, 12 Jan 2016 12:27:29 +0000]
clarified test template

9 years agocreated unittest for file_helpers
Christian Herdtweck [Tue, 12 Jan 2016 12:27:18 +0000]
created unittest for file_helpers

9 years agocreated a wrapper around "df" command in file_helpers
Christian Herdtweck [Tue, 12 Jan 2016 12:27:01 +0000]
created a wrapper around "df" command in file_helpers

9 years agocreated unittest for CircularBuffer
Christian Herdtweck [Tue, 12 Jan 2016 12:26:25 +0000]
created unittest for CircularBuffer

9 years agoimplemented LogarithmicBuffer
Christian Herdtweck [Tue, 12 Jan 2016 12:25:48 +0000]
implemented LogarithmicBuffer

9 years agomore renaming and testing to make clear CircularBuffer is not just for log text
Christian Herdtweck [Tue, 12 Jan 2016 12:25:29 +0000]
more renaming and testing to make clear CircularBuffer is not just for log text

9 years agocleaned up CircularBuffer
Christian Herdtweck [Tue, 12 Jan 2016 11:17:18 +0000]
cleaned up CircularBuffer

9 years agorenamed output_buffer.py to buffers.py
Christian Herdtweck [Tue, 12 Jan 2016 11:16:50 +0000]
renamed output_buffer.py to buffers.py

9 years agoadded file_helpers with cd context manager
Christian Herdtweck [Wed, 9 Dec 2015 13:28:07 +0000]
added file_helpers with cd context manager

9 years agocreated call_helpers with call_and_capture and corresponding unittest
Christian Herdtweck [Thu, 3 Dec 2015 16:03:12 +0000]
created call_helpers with call_and_capture and corresponding unittest

9 years agocreated unittest for type_helpers; added is_unicode
Christian Herdtweck [Thu, 3 Dec 2015 15:25:38 +0000]
created unittest for type_helpers; added is_unicode

9 years agocreated test subdir with unit test template
Christian Herdtweck [Thu, 3 Dec 2015 15:23:30 +0000]
created test subdir with unit test template

9 years agofixed and added to I2nLogger, is now in a useable state
Christian Herdtweck [Mon, 30 Nov 2015 11:59:31 +0000]
fixed and added to I2nLogger, is now in a useable state

9 years agoadded two stubs: arnied.py and output_buffer.py
Christian Herdtweck [Mon, 30 Nov 2015 09:14:34 +0000]
added two stubs: arnied.py and output_buffer.py

9 years agoadded functions is_interesting_count and n_digits to log_helpers
Christian Herdtweck [Mon, 30 Nov 2015 09:11:59 +0000]
added functions is_interesting_count and n_digits to log_helpers

9 years agohad forgotten a ':'
Christian Herdtweck [Mon, 30 Nov 2015 09:11:38 +0000]
had forgotten a ':'

9 years agolog_read.LineReader passed first test
Christian Herdtweck [Wed, 28 Oct 2015 13:24:33 +0000]
log_read.LineReader passed first test

9 years agoadded more type_helpers: is_file_obj and is_str_or_byte
Christian Herdtweck [Tue, 27 Oct 2015 12:44:08 +0000]
added more type_helpers: is_file_obj and is_str_or_byte

9 years agocreated log_read.py with functional base class IterativeReader
Christian Herdtweck [Tue, 27 Oct 2015 12:43:45 +0000]
created log_read.py with functional base class IterativeReader

this replaces follow.py because I realized that the approach there (using
select.poll) is not guaranteed to work. log_read uses stat.st_size as its
c++ exemplar does

9 years agotry to read non-line-wise in follow
Christian Herdtweck [Mon, 19 Oct 2015 07:23:31 +0000]
try to read non-line-wise in follow

9 years agoignore flags in testing of follow; added comments
Christian Herdtweck [Mon, 19 Oct 2015 07:22:56 +0000]
ignore flags in testing of follow; added comments

9 years agoupdate tests of follow.py
Christian Herdtweck [Thu, 1 Oct 2015 16:11:58 +0000]
update tests of follow.py

9 years agoreturn flags and warn if HUP/ERR instead of raising exception
Christian Herdtweck [Thu, 1 Oct 2015 16:11:46 +0000]
return flags and warn if HUP/ERR instead of raising exception

9 years agofinished argument parsing and dealing with procs and sockets in FollowContextManager
Christian Herdtweck [Thu, 1 Oct 2015 16:09:38 +0000]
finished argument parsing and dealing with procs and sockets in FollowContextManager

9 years agoadded (yet untested) I2nLogger to log_helpers
Christian Herdtweck [Thu, 10 Sep 2015 15:55:58 +0000]
added (yet untested) I2nLogger to log_helpers

9 years agorenamed short-hand variables supr and levl to parent and shortlevel
Christian Herdtweck [Thu, 10 Sep 2015 15:55:37 +0000]
renamed short-hand variables supr and levl to parent and shortlevel

9 years agoadded reference to template.py to docu
Christian Herdtweck [Thu, 10 Sep 2015 15:52:46 +0000]
added reference to template.py to docu

9 years agoadded constants to template
Christian Herdtweck [Thu, 10 Sep 2015 15:52:11 +0000]
added constants to template

9 years agoHandle filenames / dirnames with spaces
Thomas Jarosch [Wed, 2 Sep 2015 07:13:02 +0000]
Handle filenames / dirnames with spaces

9 years agoadded example for seealso, todo, warning, note boxes to template
Christian Herdtweck [Thu, 27 Aug 2015 09:04:33 +0000]
added example for seealso, todo, warning, note boxes to template

9 years agocreated log_helpers with 4-char-level formatter ShortLevelFormatter
Christian Herdtweck [Thu, 27 Aug 2015 09:04:02 +0000]
created log_helpers with 4-char-level formatter ShortLevelFormatter

9 years agoadded some examples for documentation of param and return values and links to template
Christian Herdtweck [Thu, 20 Aug 2015 14:05:50 +0000]
added some examples for documentation of param and return values and links to template

9 years agoupdated autodoc conf: allow __init__ to show but not __dict__ and others
Christian Herdtweck [Wed, 19 Aug 2015 12:39:44 +0000]
updated autodoc conf: allow __init__ to show but not __dict__ and others

9 years agoimproved docu
Christian Herdtweck [Wed, 19 Aug 2015 12:39:11 +0000]
improved docu

9 years agocreated type_helpers.py with isstr
Christian Herdtweck [Wed, 19 Aug 2015 08:30:23 +0000]
created type_helpers.py with isstr

9 years agocreated script to run pylint and pep8 on python files; ran on template and follow
Christian Herdtweck [Wed, 19 Aug 2015 08:29:59 +0000]
created script to run pylint and pep8 on python files; ran on template and follow

9 years agocreated template.py and first rough Sphinx docu
Christian Herdtweck [Fri, 24 Jul 2015 16:45:18 +0000]
created template.py and first rough Sphinx docu

9 years agoAdd our GPL + linking exception from libi2ncommon
Thomas Jarosch [Fri, 24 Jul 2015 14:09:40 +0000]
Add our GPL + linking exception from libi2ncommon

9 years agoStart pyi2ncommon repo: Add .gitignore
Thomas Jarosch [Fri, 24 Jul 2015 13:52:01 +0000]
Start pyi2ncommon repo: Add .gitignore