# Generate automatically. Do not edit.

commit 576bce486f12a24528ab7eb28074e4b525139bf3
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2014-01-14

    It's now 2014, I know!

 oscap-anaconda-addon.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit fea5fefadda2d5c47ccb419e553ed89ce8cdff9d
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2014-01-14

    New version - 0.4

 Makefile                  |  2 +-
 oscap-anaconda-addon.spec | 23 ++++++++++++++++++++++-
 2 files changed, 23 insertions(+), 2 deletions(-)

commit ae58d78e818526273ea9d158396f50a33abfca1c
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2014-01-14

    Beware of running Gtk actions from a non-main thread
    
    Otherwise weird things may happen.

 org_fedora_oscap/gui/spokes/oscap.py | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

commit bf7d82f4088ece4d53ac36dc7793587a6dbfad65
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2014-01-14

    Fix path to the tailoring file when getting rules

 org_fedora_oscap/gui/spokes/oscap.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 1afc030a046bed87a6c003c865d21716e9ed77a4
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2014-01-14

    A git hook for running tests when pushing
    
    We don't want to push changes that break tests.

 tools/pre-push | 10 ++++++++++
 1 file changed, 10 insertions(+)

commit 369257c73e278d0a864d4cf2902cfb87a562088d
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2014-01-14

    Inform user if no profile is selected
    
    It's not at all obvious, otherwise.

 org_fedora_oscap/gui/spokes/oscap.py | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

commit 1a2db56a03b6216655610f9c0d89ae19838d053f
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2014-01-14

    Visually mark the selected profile
    
    This simple thing improves UX.

 org_fedora_oscap/gui/spokes/oscap.glade | 13 ++++++++++++-
 org_fedora_oscap/gui/spokes/oscap.py    | 23 ++++++++++++++++++++++-
 2 files changed, 34 insertions(+), 2 deletions(-)

commit 4ff25267621942130ea68a51aa207dcbb885d590
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2014-01-14

    Better UX with content URL entry and progress label
    
    If there is an error with fetching or processing content, the info should be
    shown in a visible way. Also the focus should go to the entry with its text
    selected because it is about to be changed.

 org_fedora_oscap/gui/spokes/oscap.py | 24 ++++++++++++++++++------
 1 file changed, 18 insertions(+), 6 deletions(-)

commit 4f0be4614aded2c775c9bc929e1d20a661e62958
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2014-01-13

    React on invalid content properly (#1032846)
    
    If we are given an invalid content, it's not fatal, we can simply let user enter
    another URL.

 org_fedora_oscap/gui/spokes/oscap.py | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

commit 8fbc81e0d03fd6038a282ca2ff0dc76d9c6c0049
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2014-01-13

    Stop spinner when data fetching is finished

 org_fedora_oscap/gui/spokes/oscap.py | 3 +++
 1 file changed, 3 insertions(+)

commit 3f896b8439108ad97d7974865ed70936f8a36a4d
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2014-01-13

    Make the data fetching thread non-fatal (#1049989)
    
    Failed data fetching is a non-fatal state we can easily recover from.

 org_fedora_oscap/common.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit b4122ca2c7340caadfa41e222d25df3edc9ee7fe
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2014-01-13

    Exit code 2 from the oscap tool is not an error for us (#1050913)
    
    'man oscap' says:
    Normally, the exit status is 0 when operation finished successfully and 1
    otherwise. In cases  when oscap  performs  evaluation  of  the system it may
    return 2 indicating success of the operation but incompliance of the assessed
    system.
    
    Only the success of the operation is important for us in that phase.

 org_fedora_oscap/common.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 2412dab84855ec2c38bbcff74819ae629f4829f1
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2014-01-13

    Be ready to work with archives/RPMs containing data streams
    
    If e.g. a tailoring file or CPE dictionary is used together with a data stream
    file the whole content provided to the addon will likely be an archive or an
    RPM.
    
    We need to explore the extracted content files a bit more, decide which
    content handling class to use and remember that for further decisions.

 org_fedora_oscap/content_handling.py | 32 +++++++++++++++++++++++++-------
 org_fedora_oscap/gui/spokes/oscap.py | 32 +++++++++++++++++---------------
 2 files changed, 42 insertions(+), 22 deletions(-)

commit ba6b3ffcfb9fa19665fb784ee56558d0b3672a4a
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2014-01-13

    Add unit tests for the keep_type_map function
    
    Heavy-duty non-trivial function, definitely deserves testing.

 tests/utils_test.py | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 63 insertions(+)

commit 2e855214c85bb0ca35fb103a6873aed7b30686c1
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2014-01-13

    Add support for namedtuples to keep_type_map
    
    Namedtuples are quite popular in modern Python coding style, we should support
    them in such generic function.

 org_fedora_oscap/utils.py | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

commit 12cec4cbed4526f25bf74b2e26281964864cf5c0
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2014-01-13

    Add target for running pylint check
    
    Sometimes there's no need to run unit tests and it's only pylint's error check
    that is important.

 Makefile | 3 +++
 1 file changed, 3 insertions(+)

commit 8e49c976dad64d76617b1be77d70006dc3516cad
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2014-01-13

    Add target for running just unittests
    
    pylint is fine, but so slow. We need a way to run just unittests.

 Makefile | 3 +++
 1 file changed, 3 insertions(+)

commit 3bfc3fee630cb7a2eb078599f4c984f2fb310eb5
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-12-12

    On the way to tailoring

 org_fedora_oscap/common.py           | 17 +++++++++++----
 org_fedora_oscap/content_handling.py | 40 +++++++++++++++++++++++++++++-------
 org_fedora_oscap/gui/spokes/oscap.py | 13 ++++++++----
 org_fedora_oscap/ks/oscap.py         |  2 +-
 testing_files/tailoring.xml          | 13 ++++++++++++
 5 files changed, 69 insertions(+), 16 deletions(-)

commit 64bf3986fcfe2c0d5ff17900f611317d1162d977
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-12-11

    Tests for kickstart XCCDF tailoring handling

 tests/ks_oscap_test.py | 38 +++++++++++++++++++++++++++++++++++---
 1 file changed, 35 insertions(+), 3 deletions(-)

commit f279b9fdafcd5f1b9a690b1936152bc7336106e6
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-12-11

    Kickstart support for XCCDF tailoring
    
    In order to make XCCDF tailoring work we first need to parse, store and use the
    values provided by user.

 org_fedora_oscap/ks/oscap.py | 34 +++++++++++++++++++++++++++++++++-
 1 file changed, 33 insertions(+), 1 deletion(-)

commit 378d9f1c65cd7b8e784078a2ae391de0d8bc5f53
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-12-11

    Check session validity also when using XCCDF benchmark
    
    This check is needed for data stream collection as well as for standalone
    benchmarks.

 org_fedora_oscap/content_handling.py | 4 ++++
 1 file changed, 4 insertions(+)

commit 1cff01577b68409a0a5962b56a973783be0f32a4
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-12-10

    New version - 0.3

 Makefile                  |  2 +-
 oscap-anaconda-addon.spec | 35 ++++++++++++++++++++++++++++++++++-
 2 files changed, 35 insertions(+), 2 deletions(-)

commit 6935776172186f2b03db00a04c83f88ef82fb087
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-12-10

    Implement and use our own better function for joining paths
    
    The standard os.path.join function has weird behaviour in many cases.

 org_fedora_oscap/common.py   |  6 +++---
 org_fedora_oscap/ks/oscap.py | 29 ++++++++++++++---------------
 org_fedora_oscap/utils.py    | 22 +++++++++++++++++++++-
 tests/utils_test.py          | 19 +++++++++++++++++++
 4 files changed, 57 insertions(+), 19 deletions(-)

commit c5d66ed27826b07d484a6df99f1858250ff164bf
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-12-10

    The content entry should have focus if there is no content
    
    User is going to enter the content URL, so we may save them one predictable
    click.

 org_fedora_oscap/gui/spokes/oscap.py | 3 +++
 1 file changed, 3 insertions(+)

commit e14b1101419f12d78cab3316148ccc8a694a281a
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-12-10

    RPM is just a weird archive in the pre-installation phase
    
    Instead of doing some magic around RPMs, we can simply treat them as archives in
    the pre-installation phase.

 org_fedora_oscap/gui/spokes/oscap.py | 12 ++----------
 org_fedora_oscap/ks/oscap.py         |  3 ---
 2 files changed, 2 insertions(+), 13 deletions(-)

commit b04f50412ee6f7ab33d8a27c3f23c235a702271a
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-12-10

    Ignore RPM files as well
    
    They shouldn't appear in the repository unless they are temporary files used for
    testing.

 .gitignore | 1 +
 1 file changed, 1 insertion(+)

commit bfbfc13fda3b93a31a6c204c1e5c99898ab10efd
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-12-10

    Adapt tests to dir constants now ending with "/"

 tests/ks_oscap_test.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit 716898ce956eb29a8993575a59497f30058299d8
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-12-10

    CpioArchive cannot be created from a piped output
    
    It does seeks which don't work on pipes. Use temporary file instead.

 org_fedora_oscap/common.py | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

commit f0632f4fd8eec799a7d1bc70e1f99374a65018f4
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-12-04

    Fix namespace definitions in the testing XCCDF file
    
    libxml2 is more strict now so we should drop unused namespaces to prevent
    issues.

 testing_files/testing_xccdf.xml | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

commit d597248f4e53f6c8c9c529287c45ca10c4960f1d
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-12-04

    Prevent putting None into xccdf_session_is_sds
    
    Putting None (null) into xccdf_session_is_sds causes segmentation fault, so we
    should instead check the session validity in advance.

 org_fedora_oscap/content_handling.py | 3 +++
 1 file changed, 3 insertions(+)

commit 4aabeb38836272f2c19cec7e102d68d4b933421f
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-12-04

    Fix the __all__ variable in the common module
    
    There are more functions that should be exported now.

 org_fedora_oscap/common.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 1c621ba95a33032295cff4eed158b86b008c4993
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-12-04

    Strip content dir prefix when setting xccdf/cpe paths

 org_fedora_oscap/common.py           | 26 ++++++++++++++++++++++++--
 org_fedora_oscap/gui/spokes/oscap.py |  6 ++++--
 org_fedora_oscap/utils.py            | 32 ++++++++++++++++++++++++++++++++
 3 files changed, 60 insertions(+), 4 deletions(-)

commit e021966c286f7827541fcbdcd2e6658d5a93bf14
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-12-04

    Inform user we now support archive URLs as well

 org_fedora_oscap/gui/spokes/oscap.glade | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

commit c4b7e5808bb5dba46a2d4346927217ba7d8c7f3e
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-12-04

    Ignore various file types in the git repository
    
    Ignore files that are typically just temporary files used for testing, editting,
    etc.

 .gitignore | 4 ++++
 1 file changed, 4 insertions(+)

commit 9d501deec4e9c949da9f3b30d3383cbd416ffcc3
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-12-04

    Try to find content files in the fetched archive or RPM

 org_fedora_oscap/content_handling.py | 31 +++++++++++++++++++++++++++++++
 org_fedora_oscap/gui/spokes/oscap.py | 21 ++++++++++++++-------
 2 files changed, 45 insertions(+), 7 deletions(-)

commit 62dde23a49488de240d6c40d026cc46cb89cc29a
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-12-04

    Run pylint -E as part of the test target

 Makefile                             | 2 ++
 org_fedora_oscap/gui/spokes/oscap.py | 1 +
 2 files changed, 3 insertions(+)

commit 7ef1c2f7db52eee104d93f3eb7f0efc909ae5b7e
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-12-04

    Return list of extracted files/directories when extracting archive
    
    This information is needed for further processing to pick up the right content
    files.

 org_fedora_oscap/common.py | 20 +++++++++++++++-----
 1 file changed, 15 insertions(+), 5 deletions(-)

commit 32430e52a0c8818180a8d70bd75f7672e0ba5f0b
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-12-04

    Do not try to search for empty file paths in archives

 org_fedora_oscap/common.py | 3 +++
 1 file changed, 3 insertions(+)

commit 014327b06899cd763cda3b2f26f79e85a8f722a9
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-12-04

    Properly set the content type based on the URL's suffix
    
    This is the first step to supporting interactive content fetching with anything
    else than data streams.

 org_fedora_oscap/gui/spokes/oscap.py | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

commit f2345f810e492925b93c80572fa7743b562d0385
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-12-03

    Switch profiles on double-click
    
    If a profile is double-clicked, we should switch to it.

 org_fedora_oscap/gui/spokes/oscap.glade |  4 +++-
 org_fedora_oscap/gui/spokes/oscap.py    | 15 +++++++++++++++
 2 files changed, 18 insertions(+), 1 deletion(-)

commit 60a4261e97d5ba8ee22460d01eca8ee64448f298
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-12-03

    Hook urlEntry's activate signal to fetchButton click
    
    This makes hitting ENTER in the entry work the same way as clicking the fetch
    button which simplifies keyboard navigation and speeds up work with the screen.

 org_fedora_oscap/gui/spokes/oscap.glade | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 6952e933a69ece236fd24eca056d1af6fbac75af
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-12-03

    Save the spoke's glade file with a new Glade

 org_fedora_oscap/gui/spokes/oscap.glade | 59 +++++++++++++++++----------------
 1 file changed, 30 insertions(+), 29 deletions(-)

commit b360f125c24b9017e43ccecf629d6c1a51000964
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-12-02

    The addon now requires the python-cpio package

 oscap-anaconda-addon.spec | 2 ++
 1 file changed, 2 insertions(+)

commit a5f562ed457b5d4798a9a72cc679867cef34f060
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-12-02

    Use really_hide for the UI elements for datastream-id and xccdf-id

 org_fedora_oscap/gui/spokes/oscap.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

commit 5ffffbdc57ba7d892a59e50a4c2105dc5289e04c
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-12-02

    Support for RPM content in the GUI spoke

 org_fedora_oscap/gui/spokes/oscap.py | 4 ++++
 1 file changed, 4 insertions(+)

commit a83cd9d11f77a76fa2e74cc726b284839c82f0d1
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-12-02

    RPM content support for kickstart processing

 org_fedora_oscap/ks/oscap.py | 18 ++++++++++++++++++
 tests/ks_oscap_test.py       | 19 +++++++++++++++++++
 2 files changed, 37 insertions(+)

commit 7ec1d71933ca97c3efca1617f2c2855725a5ce10
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-12-02

    Add property for the raw post-installation content path
    
    It is needed for RPM content processing.

 org_fedora_oscap/gui/spokes/oscap.py |  8 ++++----
 org_fedora_oscap/ks/oscap.py         | 11 +++++++++--
 tests/ks_oscap_test.py               | 19 ++++++++++++-------
 3 files changed, 25 insertions(+), 13 deletions(-)

commit c01295c9db4cf53450a033b9cb01309480d048c7
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-12-02

    Make content type case insensitive

 org_fedora_oscap/ks/oscap.py | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

commit f467cf62a5d988cb67123f2c53e6f4dca6dae08d
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-12-02

    Rest of the code needed for RPM extraction
    
    Plus a few pylint-suggested tweaks.

 org_fedora_oscap/common.py | 38 +++++++++++++++++++++++++++++---------
 1 file changed, 29 insertions(+), 9 deletions(-)

commit 9dfe8c318508a7d73735c5cf5597767023ca7ac0
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-11-21

    Actually look for the file path in entry names

 org_fedora_oscap/common.py | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

commit b01bb043fccda2f4d04b0ca5812db5bab9dc8766
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-11-21

    Basic stuff needed for the RPM content support

 org_fedora_oscap/common.py           | 66 +++++++++++++++++++++++++-----------
 org_fedora_oscap/gui/spokes/oscap.py |  2 +-
 2 files changed, 48 insertions(+), 20 deletions(-)

commit e11e6b74de459a1bc23ac238307e240295eaec4c
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-11-14

    Run tests in paralel

 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 917aca4db553f05040b8b5e4e037e47ccfc8ea26
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-10-22

    Specify files in a better way in spec

 oscap-anaconda-addon.spec | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

commit 98f686b81a6a8ad494f2d0b274a1a0816f466658
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-10-21

    First version to be built

 Makefile                  | 2 +-
 oscap-anaconda-addon.spec | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

commit beabcd08b279f31d12d80d014b35bdd72a5f8dcc
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-10-21

    Add some more build requires

 oscap-anaconda-addon.spec | 2 ++
 1 file changed, 2 insertions(+)

commit 5b4142f6cef304322257cd663ec7478ee51fd715
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-10-21

    Fix few things in the tarball

 oscap-anaconda-addon.spec | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

commit cd381a64dd987924f88b1c5a5ee47195901537c5
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-10-21

    Include unit tests in the dist tarball

 Makefile | 2 ++
 1 file changed, 2 insertions(+)

commit e6435a92d65faf55e58c8160d4ad6b6e35d6f90b
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-10-10

    Very first version of the spec file

 oscap-anaconda-addon.spec | 45 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

commit e4796bbfb18378c52d35f47d6b71721e00336bfa
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-10-10

    Add Makefile targets for installation and uninstallation

 Makefile | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 55 insertions(+)

commit 5ac620b27b94e4bb6a9c5cec25f614530e0b6f82
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-10-10

    Add common files a good project should have

 COPYING | 339 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 README  |   3 +
 2 files changed, 342 insertions(+)

commit 7abfa5be20069e54479b29df6817767a12e955f4
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-06-22

    Basic support for entering content URL in the GUI
    
    So far only valid data stream content is supported, anything else would cause
    tracebacks.

 org_fedora_oscap/gui/spokes/oscap.glade | 404 ++++++++++++++++++++++----------
 org_fedora_oscap/gui/spokes/oscap.py    | 100 +++++++-
 2 files changed, 363 insertions(+), 141 deletions(-)

commit dac96cfa2d912326edf581fb9f6b85a015e88755
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-06-22

    Make content_name a property
    
    Statically assigned value may cause problems when changing content_url outside
    of parsing kickstart values.

 org_fedora_oscap/ks/oscap.py | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

commit b89ea6842305c12687588d18aa01cb9f2eb645da
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-06-22

    Add a function telling if we can fetch data from given URL

 org_fedora_oscap/data_fetch.py | 16 +++++++++++++++-
 tests/data_fetch_test.py       | 10 +++++++++-
 2 files changed, 24 insertions(+), 2 deletions(-)

commit 74bb031b1ca10a3d3dce7ff3160e134e75881a7b
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-06-22

    Simple Makefile with a target for running tests

 Makefile | 2 ++
 1 file changed, 2 insertions(+)

commit 7fcd42ebff473522d209e9d6a47808f5b8c5873d
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-05-13

    Inform user if no pre-installation rules have been found
    
    If no pre-installation rules are found in the chosen profile, add a message
    informing about that instead of leaving the store empty.

 org_fedora_oscap/gui/spokes/oscap.py | 9 +++++++++
 1 file changed, 9 insertions(+)

commit 8ef1e9489f432661328169388018fdd584c3b184
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-05-11

    Testing files for non-datastream content

 testing_files/scap-mycheck-oval.xml | 33 +++++++++++++++++++++++++
 testing_files/xccdf.xml             | 48 +++++++++++++++++++++++++++++++++++++
 2 files changed, 81 insertions(+)

commit 41dcdad9ce973d8a65f21906b4dbf8737bcd8264
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-05-11

    Make GUI work with data streams or a plain benchmark

 org_fedora_oscap/gui/spokes/oscap.glade |   4 +-
 org_fedora_oscap/gui/spokes/oscap.py    | 113 ++++++++++++++++++++++----------
 2 files changed, 82 insertions(+), 35 deletions(-)

commit 4c1dd1408258d67d20208479440f4b8288444c59
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-05-11

    Return True/False from the set_treeview_selection
    
    This may come handy for debugging.

 org_fedora_oscap/gui/spokes/oscap.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

commit deae874c5d692572f407eb23d73a8a8235560c73
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-05-11

    Don't use the busied_cursor content manager
    
    It doesn't work.

 org_fedora_oscap/gui/spokes/oscap.py | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

commit 59e47e1ed757b71bd3c07ede3af687490fb298ac
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-05-10

    Add property for the raw downloaded content data
    
    Also document the other properties of the OSCAPdata class.

 org_fedora_oscap/ks/oscap.py | 11 +++++++++++
 tests/ks_oscap_test.py       | 35 +++++++++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+)

commit adca762bbecc54576667c6a0037c225b25882ed5
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-05-10

    Pass datastream and xccdf IDs to run_oscap_remediate

 org_fedora_oscap/ks/oscap.py | 1 +
 1 file changed, 1 insertion(+)

commit 1a93692a095afca9dd4c7a4bee378e264986c708
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-05-10

    Define and use a property for the post-installation content path

 org_fedora_oscap/ks/oscap.py | 21 ++++++++++++---------
 tests/ks_oscap_test.py       |  4 ++++
 2 files changed, 16 insertions(+), 9 deletions(-)

commit 5aa40af53961d4bba6c2ebd84b1370bb5a5ec3e5
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-05-10

    Copy all content even if not using data stream

 org_fedora_oscap/ks/oscap.py | 20 ++++++++++++++------
 1 file changed, 14 insertions(+), 6 deletions(-)

commit cc015929c6108977006728c3ece7d759dfe026de
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-05-10

    Add universal function for copying files and directories

 org_fedora_oscap/utils.py | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

commit 8f88f0c586e932483d6bf48c60dff4031f92f907
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-05-10

    preinst_content_path's value depends on the content type
    
    For a data stream it should return the path to the data stream file, for the
    other types it should return the path to the XCCDF file.

 org_fedora_oscap/ks/oscap.py | 10 +++++++---
 tests/ks_oscap_test.py       | 37 +++++++++++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+), 3 deletions(-)

commit 5aea543cfc71e77d5bb134f05892641f526bea94
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-05-10

    Allow content type to be "archive"
    
    Changes needed only for correct parsing and checking.

 org_fedora_oscap/common.py   |  2 ++
 org_fedora_oscap/ks/oscap.py | 16 ++++++++++++----
 tests/ks_oscap_test.py       | 31 +++++++++++++++++++++++++++++++
 3 files changed, 45 insertions(+), 4 deletions(-)

commit 53fa6a31e08d016c00a89a0c6b5d8ec6de267bf2
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-05-10

    Check if the relative path exists in the archive
    
    Testing just for filename is not reliable.

 org_fedora_oscap/common.py | 18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

commit a874b03008bfc82f7b58898aa7010f5000bd9457
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-05-10

    Support for plain, gzipped and bzipped tarballs

 org_fedora_oscap/common.py | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

commit 43d102171887e4103d8cad63b4a483d8d951741f
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-05-10

    Rename the zf variable to zfile
    
    The new name follows the variable naming conventions.

 org_fedora_oscap/common.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

commit 75af0bd0783db918571a1ad66a4d0f6d717c2344
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-05-09

    Add function for data extraction
    
    Only with the ZIP support for now, more archive types should follow later.

 org_fedora_oscap/common.py | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

commit 8a03c695e55e9f29d550ba30686aa034579dd28e
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-05-09

    Move constants and RuleData definition to the beginning

 org_fedora_oscap/common.py | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

commit ed9201bfbc9293afe6cb846df6aff449a08fdd32
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-05-09

    Use XCCDF session instead of importing benchmark directly
    
    This should work better with CPE dictionaries and some other stuff.

 org_fedora_oscap/content_handling.py | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

commit 297d0a950666408de7df7b6bd78498b2807ebb3b
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-05-08

    Remove no longer used constant

 org_fedora_oscap/data_fetch.py | 2 --
 1 file changed, 2 deletions(-)

commit 4dd5ef1196714f9752916605e6eaf46b473450dc
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-05-08

    BenchmarkHandler for standalone XCCDF benchmarks
    
    First step to work with a content not bundled in a data stream.

 org_fedora_oscap/content_handling.py | 55 ++++++++++++++++++++++++++++++++++++
 1 file changed, 55 insertions(+)

commit aa02110462d3b71475f39a0ed10376f40f5fb594
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-05-08

    Test if the file exists before trying to load it

 org_fedora_oscap/content_handling.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit 186d989bcb2a9f56d6b55823069febbd0cc756f5
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-05-04

    Add some more data to the testing data stream XML
    
    This is useful for GUI testing.

 testing_files/testing_ds.xml | 11 +++++++++++
 1 file changed, 11 insertions(+)

commit 9af0501e331404c3630f74cece4a42a901c24035
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-05-04

    Enhance and better hook up the GUI

 org_fedora_oscap/gui/spokes/oscap.glade |  25 ++++-
 org_fedora_oscap/gui/spokes/oscap.py    | 160 ++++++++++++++++++++++++++++----
 2 files changed, 163 insertions(+), 22 deletions(-)

commit 0afaad773180cee854ace2d04459c182803a6f2d
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-05-04

    Locally disable pylint in some places
    
    Also fix the comment above the OSCAPspoke's methods

 org_fedora_oscap/gui/spokes/oscap.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

commit c6a21f1b4f2d0c5928f44782f59934e1ae8c2ba1
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-05-04

    Do nothing if reverting changes on a nonexisting mount point

 org_fedora_oscap/rule_handling.py |  4 ++++
 tests/rule_handling_test.py       | 14 ++++++++++++++
 2 files changed, 18 insertions(+)

commit 06a187817889af43ed954320e217d5b00c46e71d
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-05-03

    Basic hooking up of the UI elements

 org_fedora_oscap/gui/spokes/oscap.glade |   6 +-
 org_fedora_oscap/gui/spokes/oscap.py    | 157 +++++++++++++++++++++++++++++++-
 2 files changed, 159 insertions(+), 4 deletions(-)

commit cd7c9860696333d0742241e874417582b5a87e96
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-05-03

    Return dict instead of list of pairs
    
    get_data_streams_checklists should return a dict instead of a list of pairs,
    because a dict can be used more easily.

 org_fedora_oscap/content_handling.py | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

commit 0d8787a2242137339667d797cc2e91cda3335332
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-05-03

    Minor tweaks of the gui.spokes.oscap module
    
    Mainly pylint suggestions and a better docstring for the OSCAPspoke class.

 org_fedora_oscap/gui/spokes/oscap.py | 23 ++++++++++++-----------
 1 file changed, 12 insertions(+), 11 deletions(-)

commit eeb298842218bf46f0e19ccbaca9f5aa0adc44ac
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-05-03

    Use OrderedDict for the data stream IDs and checklist IDs
    
    People expect the ordering of the IDs be the same as in their documents.

 org_fedora_oscap/content_handling.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 9945ab027f237b68c60955406a4b3ff20838ed54
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-05-02

    Add comboboxes for data streams and checklists
    
    Also add column for the profile ID.

 org_fedora_oscap/gui/spokes/oscap.glade | 129 ++++++++++++++++++++++++++++++--
 1 file changed, 124 insertions(+), 5 deletions(-)

commit 5aecf55f6285f6f95ccfe263a0315fc456bfdbc3
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-05-01

    Add code for gathering items from the SCAP content
    
    For now only for datastreams, support for standalone benchmarks will be added
    later.
    
    This will be needed by the GUI to allow users choose data stream, checklist and
    profile interactively.

 org_fedora_oscap/content_handling.py | 220 +++++++++++++++++++++++++++++++++++
 1 file changed, 220 insertions(+)

commit 1ea8fe849d7bda538afdc89bd451e1c836fe5987
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-28

    Add method for reverting changes to the RuleHandlers
    
    This is needed for switching from one profile to another one. All changes done
    by the evaluation of the old profile's rules need to be reverted before the
    rules from the new one can be evaluated.

 org_fedora_oscap/rule_handling.py | 163 +++++++++++++++++++++++++++++++++-----
 tests/rule_handling_test.py       | 143 +++++++++++++++++++++++++++++++--
 2 files changed, 279 insertions(+), 27 deletions(-)

commit f9ab31d0c64458a36ec7a5b0fd379ce6f5d487ed
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-28

    Fix the number of arguments in PasswdRules.eval_rules

 org_fedora_oscap/rule_handling.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 93f8c9368a559649cc2f8d371a94665acf02dd36
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-22

    Add comma to the warning and don't confuse Anaconda
    
    We need to clear the seen flag for the root password.

 org_fedora_oscap/rule_handling.py | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

commit 2d8d1398ce87e713539e5eaf3eeebd7cc51cb574
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-21

    ensure_dir_exists shouldn't raise exception on empty string

 org_fedora_oscap/utils.py | 4 ++++
 tests/utils_test.py       | 4 ++++
 2 files changed, 8 insertions(+)

commit d6b89b975e30661345e7d3c39ef71f7d732b646b
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-21

    Replace the custom magic code by pycurl
    
    There's no need to use our own buggy code when there is a working, tested and
    fast library for that.

 org_fedora_oscap/data_fetch.py | 94 +++++++++++-------------------------------
 tests/data_fetch_test.py       | 23 +----------
 2 files changed, 26 insertions(+), 91 deletions(-)

commit 67217aa58e4cb1537c9a3bc14527ae2f5a19631c
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-20

    Evaluate boot loader rules (password requirement)

 org_fedora_oscap/rule_handling.py | 14 +++++++++++---
 tests/rule_handling_test.py       | 21 +++++++++++++++++++++
 2 files changed, 32 insertions(+), 3 deletions(-)

commit 4266e479e423f6a907aaa6da123c4317069e206f
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-20

    Cover various cases that can happen with root password
    
    The warning should reflect whether the password was set but too short or whether
    it was set but as already crypted or whether it is missing at all.

 org_fedora_oscap/rule_handling.py | 26 ++++++++++++--
 tests/rule_handling_test.py       | 72 ++++++++++++++++++++++++++++++++++++++-
 2 files changed, 94 insertions(+), 4 deletions(-)

commit aba27f758f54ac7d9502aff2daaa137f05934fc3
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-20

    Report all mount points mentioned in the rules for now
    
    Until the revert_changes is implemented on all RuleHandlers, let's just report
    all mount options mentioned in the rules. But still there should be no
    duplicates added.

 org_fedora_oscap/rule_handling.py | 18 +++++++------
 tests/rule_handling_test.py       | 56 ++++++++++++++++++++++++++++++++++-----
 2 files changed, 60 insertions(+), 14 deletions(-)

commit f8598a585d0b0ea5ae9e58194a6a2fd10ea1e990
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-20

    Add even more testing fixes for pre-installation phase

 testing_files/testing_ds.xml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

commit a32b79b4dca1a940f522c3cdc7ccad489f299963
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-20

    Add apostrophes around the mount options and packages
    
    This makes them more visible in the UI.

 org_fedora_oscap/rule_handling.py |  6 +++---
 tests/rule_handling_test.py       | 24 ++++++++++++------------
 2 files changed, 15 insertions(+), 15 deletions(-)

commit debd5b7e927d3b77441c87355b43b5aeea8ece25
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-20

    Use shlex to split rules into args
    
    Rule lines are based on the shell syntax so they should be parsed that way.

 org_fedora_oscap/rule_handling.py | 9 +++++----
 tests/rule_handling_test.py       | 7 +++++++
 2 files changed, 12 insertions(+), 4 deletions(-)

commit eaf8667326fbc50cf49c6c55cfa1826c46b898f1
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-20

    Move bootloader kickstart command up
    
    This leaves storage configuration trailing in the end of the section which makes
    it easily distinguishable and modifiable.

 testing_files/testing_ks.cfg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit d6e3db483fc3d5ada37fee132fbf529604a3e042
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-20

    Test more features of the rule handling

 testing_files/testing_ds.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit f70173485540e7c955cbae5bfd461a708ea03f55
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-19

    Add rule for testing rule pre-installation rule evaluation

 testing_files/testing_ds.xml | 6 ++++++
 1 file changed, 6 insertions(+)

commit b3a5f8f41de841c327a756a5e84c8663f4217f74
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-19

    Hook up the rule evaluation with GUI and kickstart
    
    GUI needs to evaluate rules to show errors, warnings and info messages and to
    update the spoke's status and completion. kickstart needs to make sure there are
    no errors remaining.

 org_fedora_oscap/gui/spokes/oscap.glade |  2 +-
 org_fedora_oscap/gui/spokes/oscap.py    | 59 +++++++++++++++++++++++++++++----
 org_fedora_oscap/ks/oscap.py            | 22 +++++++++---
 3 files changed, 71 insertions(+), 12 deletions(-)

commit 8b81d37f1cd50c5ec887f8dd5d771e72e030c2ea
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-19

    Export the OSCAPaddonError from the common module

 org_fedora_oscap/common.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit fc45d461ae7f65978edfa9ef411cc82524ee8952
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-19

    Test no changes to mount options are made when just reporting

 tests/rule_handling_test.py | 6 ++++++
 1 file changed, 6 insertions(+)

commit 401fa33d933dc31870829512f2a933f7e2b974e6
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-19

    Add code for rules evaluation

 org_fedora_oscap/rule_handling.py | 114 +++++++++++++++-
 tests/rule_handling_test.py       | 275 +++++++++++++++++++++++++++++++++++++-
 2 files changed, 381 insertions(+), 8 deletions(-)

commit 73b5788492a55f9275ae508b261d4a50bafb8c2b
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-19

    Base class for rule handlers
    
    Abstract class for the rule handling classes that are expected to override the
    method for rules evaluation.

 org_fedora_oscap/rule_handling.py | 35 ++++++++++++++++++++++++++++++-----
 1 file changed, 30 insertions(+), 5 deletions(-)

commit 8b3992b01802f57f581f55210c152f62df3c9970
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-19

    Define class for messages used in rule evaluation
    
    Also move message type contants to the common module.

 org_fedora_oscap/common.py           | 12 ++++++++++++
 org_fedora_oscap/gui/spokes/oscap.py |  9 ++++-----
 2 files changed, 16 insertions(+), 5 deletions(-)

commit bb3c793d3bf6c7539505567a75aa3b28b88e1a41
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-18

    Add code for handling bootloader password rule
    
    A common rule in SCAP profiles is that boot loader should be password protected.

 org_fedora_oscap/rule_handling.py | 36 ++++++++++++++++++++++++++++++++++++
 tests/rule_handling_test.py       |  5 +++++
 2 files changed, 41 insertions(+)

commit 49e3a766e35addad4464de479f54314019233739
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-13

    Add some more lines to the testing kickstart
    
    This saves a lot of clicking in the GUI and fully automates the installation.

 testing_files/testing_ks.cfg | 7 +++++++
 1 file changed, 7 insertions(+)

commit 4b89603dd324274ef2230519e96c505fbdca5101
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-13

    Fix two places with self._data_subtree left over

 org_fedora_oscap/gui/spokes/oscap.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 8250928bb7cc088f632eec5804ede7993ea934e7
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-13

    Add code for handling package rules
    
    Such rules appear in the SCAP content and dealing with them pre-install may
    shorten the installation and remediation time.

 org_fedora_oscap/rule_handling.py | 67 +++++++++++++++++++++++++++++++++++++++
 tests/rule_handling_test.py       |  9 ++++++
 2 files changed, 76 insertions(+)

commit 32d3ebe45c64128c52bd4f0a4cbc7311dee1d072
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-13

    First steps of the pre-installation fixes hooking

 org_fedora_oscap/gui/spokes/oscap.py | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

commit fd239cd5a16ff0f5c1e9f5e90cf21cf66dbf0e8c
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-13

    Make code ready for non-network data fetching
    
    Also document the waiting function in a better way.

 org_fedora_oscap/gui/spokes/oscap.py | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

commit 8b42628e894ca064b1543cb94761501cd737499e
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-13

    Define a property for the pre-installation content path
    
    Also rename self._data_subtree to shorter and better self._addon_data and fix
    typo in tests.

 org_fedora_oscap/gui/spokes/oscap.py |  9 +++------
 org_fedora_oscap/ks/oscap.py         | 10 ++++++----
 tests/ks_oscap_test.py               |  8 +++++++-
 3 files changed, 16 insertions(+), 11 deletions(-)

commit 43f3ffeffa9bb7dd5ee0ec5d9d195e05e92dc60d
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-12

    Document the thread_name parameter
    
    Also remove one leftover line.

 org_fedora_oscap/gui/spokes/oscap.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit ae427830fa06a2651c3dcc06b881e3435976c49e
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-09

    Testing kickstart file

 testing_files/testing_ks.cfg | 13 +++++++++++++
 1 file changed, 13 insertions(+)

commit 6d1b9a956f5017795fe9c22cab2fa45b48fab49d
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-09

    Tests for the utils module

 tests/utils_test.py | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 55 insertions(+)

commit 5d886c513a2dce402b93f6b2d4690805aebc477d
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-08

    Copy content to the target system and run remediation
    
    The content needs to be copied to the target system so that it can be used for
    evaluation and remediation in chroot.

 org_fedora_oscap/common.py   |  4 ++--
 org_fedora_oscap/ks/oscap.py | 23 +++++++++++++++++++++--
 2 files changed, 23 insertions(+), 4 deletions(-)

commit 58dca7ce68e009da69901625640c74a27d476158
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-08

    Call os.chdir("/") after os.chroot
    
    This is what the chroot utility does and without it the oscap tool fails to
    run in chroot.

 org_fedora_oscap/common.py | 1 +
 1 file changed, 1 insertion(+)

commit 2b4105f327c41fa4a5713cc39150c22724bc1161
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-07

    Parse, store and use the filename of the content

 org_fedora_oscap/gui/spokes/oscap.py |  3 +--
 org_fedora_oscap/ks/oscap.py         | 12 ++++++++++++
 tests/ks_oscap_test.py               |  1 +
 3 files changed, 14 insertions(+), 2 deletions(-)

commit 85ee10f007e20a743014d035327ea172f2bfa54a
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-07

    Create ensure_dir_exists function in the utils module
    
    It is a code that is repeated in multiple places again and again.

 org_fedora_oscap/common.py     |  4 ++--
 org_fedora_oscap/data_fetch.py |  5 +++--
 org_fedora_oscap/utils.py      | 38 ++++++++++++++++++++++++++++++++++++++
 tests/common_test.py           | 30 ++++++------------------------
 4 files changed, 49 insertions(+), 28 deletions(-)

commit 7928c795baff1b655af2fc33709ee14e977111e4
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-07

    Use recv and sendall instead of read and write on a socket
    
    read and write are only methods of the SSL-wrapped socket.

 org_fedora_oscap/data_fetch.py | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

commit 85238f9bdc53cf42df60cbdac7202d8ed49c4a0f
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-07

    Allow enclosing values in quotes

 org_fedora_oscap/ks/oscap.py | 5 ++++-
 tests/ks_oscap_test.py       | 4 ++--
 2 files changed, 6 insertions(+), 3 deletions(-)

commit 7f7febb5420fbc986c17f66932e379280e543ec4
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-06

    Change status when waiting for data fetching
    
    Also fix bug with spoke not being ready if no kickstart data is given and rename
    the waiting function to have a more mnemonic name.

 org_fedora_oscap/gui/spokes/oscap.py | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

commit 7a80809dc752b2e01f54608163ab967d5edda91b
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-06

    Start data fetching when the spoke is initialized
    
    And stay unready until data fetching finishes.

 org_fedora_oscap/common.py           |  2 ++
 org_fedora_oscap/data_fetch.py       |  3 ++
 org_fedora_oscap/gui/spokes/oscap.py | 62 +++++++++++++++++++++++++++++++++++-
 3 files changed, 66 insertions(+), 1 deletion(-)

commit 9dfd7387f5fd81cc6eab3e390f5f52b738a1d362
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-06

    Add function that waits for network connection and schedules data fetching

 org_fedora_oscap/common.py | 43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

commit 521743a1d4d2bd569324b4e9c5be822bdd6a9f3e
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-06

    Create directory for the out_file in data_fetch
    
    If the directory doesn't exist it needs to be created.
    
    Also fix bug with nondefined exception class.

 org_fedora_oscap/data_fetch.py | 12 ++++++++++++
 1 file changed, 12 insertions(+)

commit 464ee10e0585113f45c29ed30f5757fded1751ff
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-06

    Change 'certificate' item to 'certificates' and parse it
    
    It should be a path to a file containing the whole CA certificates chain,
    so not only one certificate.

 org_fedora_oscap/ks/oscap.py | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

commit 4a7a1f3f3872aeb7e1c1eb96a9e0746194619357
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-06

    Move rule handling to a separate module

 org_fedora_oscap/common.py        | 192 +--------------------------------
 org_fedora_oscap/rule_handling.py | 219 ++++++++++++++++++++++++++++++++++++++
 tests/common_test.py              |  66 ------------
 tests/rule_handling_test.py       |  91 ++++++++++++++++
 4 files changed, 311 insertions(+), 257 deletions(-)

commit 29ad977bbe2ef6b69bd3c5683a3b04d78eb249d3
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-06

    Remove placeholder data

 org_fedora_oscap/gui/spokes/oscap.glade | 36 ---------------------------------
 1 file changed, 36 deletions(-)

commit ad006a186d4ca06d638d1d27ac58fab4f42cf57a
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-04

    Add and export general fetch_data function
    
    Everything else should be private and used according to the protocol used
    (begining of the URL).

 org_fedora_oscap/data_fetch.py | 31 ++++++++++++++++++++++++++++++-
 1 file changed, 30 insertions(+), 1 deletion(-)

commit 2d6c56e33de2bb668d59c734ee32b055eaf3bdde
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-04

    Add tests for directory creation in run_oscap_remediate

 tests/common_test.py | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

commit b188155f286a80c4bb7dc20dc3d4821b15c5b688
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-04

    Add tests for the run_oscap_remediate function

 tests/common_test.py | 110 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 110 insertions(+)

commit 0b8d2097ce309f87208e103ed97a960448d9f9a1
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-04

    Use docstring format the Sphinx tool requires

 org_fedora_oscap/common.py           | 56 ++++++++++++++++++------------------
 org_fedora_oscap/data_fetch.py       | 26 ++++++++---------
 org_fedora_oscap/gui/spokes/oscap.py | 32 ++++++++++-----------
 org_fedora_oscap/ks/oscap.py         | 28 +++++++++---------
 4 files changed, 71 insertions(+), 71 deletions(-)

commit 1e07d233b657dc0daf46a94b429bb5eceec679f5
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-03

    Add function to get fix rules for the pre-install phase
    
    These are needed to inform user if his/her current configuration is
    complying with the chosen profile.

 org_fedora_oscap/common.py | 62 +++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 61 insertions(+), 1 deletion(-)

commit 38a792082aa70999bcfa4979beeac2e47c0bb3f0
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-03

    Return oscap's stdout when running remediation
    
    It may be useful and the caller can always ignore it.

 org_fedora_oscap/common.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

commit 9500bf8fb28dd9891d66214512e63ce044e9c2ae
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-02

    Add a simple script simplifying the oscap tool invocation
    
    It's painful to write all the arguments again and again.

 testing_files/run_oscap_test.sh | 5 +++++
 1 file changed, 5 insertions(+)

commit 372e9f1043b761c503fc6098f1444ce4d817e91a
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-02

    Add testing XCCDF using an SCE check

 testing_files/check.sh          |  7 +++++++
 testing_files/testing_xccdf.xml | 17 +++++++++++++++++
 2 files changed, 24 insertions(+)

commit 9781f5dfa9bb8780577b4be98259de3e9c9d8f87
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-02

    Add a function for running the oscap tool

 org_fedora_oscap/common.py | 73 ++++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 71 insertions(+), 2 deletions(-)

commit 8c26da8c3f2419e849d91f49e2f82967fb98e341
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-02

    Add a docstring to the finalize method

 org_fedora_oscap/ks/oscap.py | 6 ++++++
 1 file changed, 6 insertions(+)

commit 946cc3535fed512cf9e4e94cc2ebabf73119f823
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-02

    Remove old tests at the ends of sources

 org_fedora_oscap/common.py   | 21 ---------------------
 org_fedora_oscap/ks/oscap.py | 29 -----------------------------
 2 files changed, 50 deletions(-)

commit 3305dd6e0cf197ea80cc338dff6c76d71f83090d
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-02

    Change 'rpm' to 'RPM' as content type and tests for it
    
    Also add some checks if the RPM content is used.

 org_fedora_oscap/ks/oscap.py | 18 ++++++----
 tests/ks_oscap_test.py       | 82 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 93 insertions(+), 7 deletions(-)

commit 65b90223c2507a61b6216c2d4a8ad047cd56b40b
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-02

    Add support for the xccdf-path and cpe-path kickstart lines

 org_fedora_oscap/ks/oscap.py | 16 ++++++++++++++++
 tests/ks_oscap_test.py       |  6 ++++++
 2 files changed, 22 insertions(+)

commit daa0743cf9017ee757830fe6332cf59e601c3cea
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-02

    Use indent not ident for parameter affecting indentation

 org_fedora_oscap/ks/oscap.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit fefb81b7bf14311b91a6c539a561e40dfb0613eb
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-04-01

    First version of the module for data fetching
    
    Supports server certificate validation if HTTPS is used. Needs to cover more
    URL formats (hda:, LABEL=XXXX:, etc.).

 org_fedora_oscap/data_fetch.py | 139 +++++++++++++++++++++++++++++++++++++++++
 tests/data_fetch_test.py       |  47 ++++++++++++++
 2 files changed, 186 insertions(+)

commit 85c0c011b5d3e5d215e7a3e063aba1cfd923c9c8
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-03-31

    Add test for the OSCAPdata's __str__ method
    
    Also check if the output is correctly parsed by another instance.

 tests/ks_oscap_test.py | 23 +++++++++++++++++++++--
 1 file changed, 21 insertions(+), 2 deletions(-)

commit ebb786d709940871ab9b68f6f1be2fbb2e6245f4
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-03-30

    File for testing oscap feature to return fixes for the addon
    
    Also move testing files to a separate directory.

 testing_ds.xml                                     | 84 ----------------------
 testing_files/test_report_anaconda_fixes.xccdf.xml | 59 +++++++++++++++
 testing_files/testing_ds.xml                       | 84 ++++++++++++++++++++++
 3 files changed, 143 insertions(+), 84 deletions(-)

commit 4af00cc2740d6448965a5f3d67abb0cb7113ea15
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-03-30

    XML with a SCAP datastream for testing purposes
    
    An XML file with a datastream collection containing one datastream with two
    checklists, one check and a profile with a rule using the check and having a fix
    element for testing remediation.

 testing_ds.xml | 84 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 84 insertions(+)

commit 509aa99808e60d40cef752275cf556a662779bc0
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-03-29

    Fix the names of the packages and move them to a better place
    
    OpenSCAP packages use 'openscap' prefix not 'oscap'. Also their should
    live in a better place than in the middle of the code.

 org_fedora_oscap/ks/oscap.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit 78597534bedd8a061e36c976bf2611477546d04e
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-03-29

    Add a unittest for the basic kickstart parsing

 tests/ks_oscap_test.py | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

commit ed34f303e6ab80443c36e55d928e4079f4fc734e
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-03-29

    Return the whole %addon section in the __str__ method
    
    Anaconda won't add the begining nor the end of the section.
    
    Also be more clever with the newlines.

 org_fedora_oscap/ks/oscap.py | 21 ++++++++++-----------
 1 file changed, 10 insertions(+), 11 deletions(-)

commit efdcc55eef6acf55f6fd10f6d177ea7235f9d400
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-03-29

    Mark required packages for installation
    
    Some packages need to be installed to the target system
    to allow remediation in chroot at the end of the installation
    and also checks during first boot.

 org_fedora_oscap/ks/oscap.py | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

commit b677c203379f827521a644dae7fc99fb634332fc
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-03-29

    Add a set of unit tests and a target to run them

 tests/common_test.py | 93 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 93 insertions(+)

commit 2a34f4afd37db166735ef017995b90380ced1f77
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-03-28

    Fix the way how new items in PartRules are created
    
    Creating an item in the __getitem__ really is not a good idea.

 org_fedora_oscap/common.py | 18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

commit 88b45803cca08d084ce26159c101a0d6e331a215
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-03-28

    Include only the key that was searched to the exception
    
    This way it can be checked whether the first word was correctly parsed.

 org_fedora_oscap/common.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 06075bea1013b4985cb7ca8382374531818736e7
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-03-27

    Add 'xccdf-id' item that is required in case of datastream

 org_fedora_oscap/ks/oscap.py | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)

commit 1720e5616f06c3c245b8b5493022d5bdbf1192b2
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-03-27

    Simple test for the kickstart parsing code and few fixes

 org_fedora_oscap/ks/oscap.py | 47 +++++++++++++++++++++++++++++++++++++++-----
 1 file changed, 42 insertions(+), 5 deletions(-)

commit 0fe183c877e3bfc5dce12d9f8b4b5f0b2dfeab2e
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-03-27

    Add classes for parsing rules from XCCDF
    
    XCCDFs may contain <fix> tags with rules for the pre-installation phase
    that need to be parsed and then enforced.

 org_fedora_oscap/common.py | 239 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 239 insertions(+)

commit 9dcceceabfa11cbe5992de3ef72efd5417bd4b47
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-03-26

    Add finalize method that checks we have all required data

 org_fedora_oscap/ks/oscap.py | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

commit 0c7d284873ca053f183c42ed508b463815bec435
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-03-24

    Basics of the kickstart support
    
    Parsing data from the kickstart %addon section.

 org_fedora_oscap/ks/__init__.py |   0
 org_fedora_oscap/ks/oscap.py    | 160 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 160 insertions(+)

commit a71061f5fc9ddfcaa3e37b64799fe08fa4c1e625
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2013-02-22

    Basics for the OpenSCAP Anaconda addon

 org_fedora_oscap/__init__.py                |   0
 org_fedora_oscap/gui/__init__.py            |   0
 org_fedora_oscap/gui/categories/__init__.py |   0
 org_fedora_oscap/gui/categories/security.py |  39 +++++
 org_fedora_oscap/gui/spokes/__init__.py     |   0
 org_fedora_oscap/gui/spokes/oscap.glade     | 220 ++++++++++++++++++++++++++++
 org_fedora_oscap/gui/spokes/oscap.py        | 172 ++++++++++++++++++++++
 7 files changed, 431 insertions(+)

commit c1f45957f7838f72f24e7e9167e5bc25007f27ac
Author: Vratislav Podzimek <vpodzime@redhat.com>
Date:   2012-10-31

    Initial commit.
