10 Commits

Author SHA1 Message Date
Guillermo Ponce eb1cdc4a33 Merge pull request #2 from clearlinux/memo
Adding python-swupd.license file
0.1
2016-08-02 11:22:01 -05:00
Guillermo Adrian Ponce 1744b67020 Adding python-swupd.license file
Signed-off-by: Guillermo Adrian Ponce <guillermo.a.ponce.castaneda@intel.com>
2016-08-02 11:21:27 -05:00
Guillermo Ponce 393499bfc9 Merge pull request #1 from ikeydoherty/tweaks
Tweaks
2016-07-27 11:30:27 -05:00
Ikey Doherty 841c711ba6 gitignore: Also add assets emitted during setup.py build
Signed-off-by: Ikey Doherty <michael.i.doherty@intel.com>
2016-07-27 17:19:10 +01:00
Ikey Doherty d188416a2c Add new .gitignore to ignore any compiled python assets
Signed-off-by: Ikey Doherty <michael.i.doherty@intel.com>
2016-07-27 17:18:43 +01:00
Ikey Doherty 62da42dac6 swupd: Ensure we use sudo only when necessary
It may happen that python-swupd is used in an EUID 0 root process, as such
running sudo is not appropriate. With this change, we introduce a command
builder that will insert sudo as appropriate, depending on the current
EUID.

Signed-off-by: Ikey Doherty <michael.i.doherty@intel.com>
2016-07-27 17:17:32 +01:00
Ikey Doherty 202fa4a020 swupd: Add missing license header to the Pythonic code
This will ensure that everyone is aware of the project licensing conditions
immediately without having to dig around for the LICENSE file

Signed-off-by: Ikey Doherty <michael.i.doherty@intel.com>
2016-07-27 17:10:23 +01:00
Ikey Doherty 4a8316bd99 Ensure the codebase is now PEP8 compliant
This change also fixed a broken shebang

Signed-off-by: Ikey Doherty <michael.i.doherty@intel.com>
2016-07-27 17:06:40 +01:00
Ikey Doherty 9044b59a77 Add a test script to ensure continual compliance of the codebase
This script will run pep8 and flake8 to ensure the codebase meets the PEP8
requirements, and has no stylistic or code issues prior to deployment and
running of python-swupd.

Signed-off-by: Ikey Doherty <michael.i.doherty@intel.com>
2016-07-27 17:05:04 +01:00
Guillermo Adrian Ponce 627f561a76 Initial commit
Signed-off-by: Guillermo Adrian Ponce <guillermo.a.ponce.castaneda@intel.com>
2016-07-27 10:56:56 -05:00