com/pylog.git
4 years agoMove python sources to a subdir 79/1379/4
Roni Riska [Wed, 6 Nov 2019 13:37:27 +0000 (15:37 +0200)]
Move python sources to a subdir

To better support CI process, all python code
including tox.ini and setup.py are moved to
mdclogpy subdir.

Now changes to release dir and mdclogpy dir will
trigger different ci jobs.

Change-Id: I15d2414a68dcca51d01a4187050b4140ff872abf
Signed-off-by: Roni Riska <roni.riska@nokia.com>
4 years agoAdd releases yaml file 64/1364/3 1.1.1
Roni Riska [Tue, 5 Nov 2019 14:20:46 +0000 (16:20 +0200)]
Add releases yaml file

The yaml file for automatic package releasing to Pypi.

Change-Id: I103e17694cc701192018323d94640cabc07026b6
Signed-off-by: Roni Riska <roni.riska@nokia.com>
4 years agoAdd CI support 98/1298/4
Roni Riska [Thu, 31 Oct 2019 13:45:07 +0000 (15:45 +0200)]
Add CI support

Add tox.ini which runs the unit tests and coverage for
the Python code.

Change-Id: I3e851fe09119257beae93cc8c9b7d4d73545993b
Signed-off-by: Roni Riska <roni.riska@nokia.com>
4 years agoBump module version 29/629/1
Roni Riska [Mon, 5 Aug 2019 07:46:40 +0000 (10:46 +0300)]
Bump module version

Update the version from 1.0 to 1.1

Change-Id: I16ecdbc367dbba41c2856a905fe8cf721ddeff13
Signed-off-by: Roni Riska <roni.riska@nokia.com>
4 years agoFix level enum checking 01/601/1
Roni Riska [Wed, 31 Jul 2019 11:10:16 +0000 (14:10 +0300)]
Fix level enum checking

In Python 3.8 checks with non-Enum causes TypeError exception.
https://docs.python.org/3/whatsnew/3.7.html#enum

So, if the library user would call mdclog.set_level(123)
it would crash the process with Python 3.8. With 3.7 it would
just cause an error print and with older nothing would happen.

Now we try to convert the set_level argument to a Level object
and if it does not succeed then ignore the setting, like
it has worked with older Python versions.

Change-Id: Ib99d5feb8eea919ffc9cd12405aac6da892f6d14
Signed-off-by: Roni Riska <roni.riska@nokia.com>
4 years agoFirst release version 65/465/2
Roni Riska [Thu, 4 Jul 2019 09:28:47 +0000 (12:28 +0300)]
First release version

Change-Id: I1c868f6927754884cae2d2280580b84452a5cb65
Signed-off-by: Roni Riska <roni.riska@nokia.com>
5 years agoInitial empty repository
Jessica Wagantall [Tue, 14 May 2019 17:56:23 +0000 (17:56 +0000)]
Initial empty repository