Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core: adds sort capabilities for ObjectsManager #37

Merged
merged 2 commits into from
Aug 30, 2017

Conversation

pablopalacios
Copy link
Contributor

No description provided.

With this modification ObjectsManager now operates on a different data
structure. Instead of using a list of installation sets, we now use a
list of objects where each objects entry has all configurations for
all installations sets.

In other words, we move from:
    [
        [a1, b1],
        [a2, b2],
    ]

To:
    [
        [a1, a2],
        [b1, b2],
    ]

This must be interpreted as a implementation detail since it does not
reflect on dot uhu file. The point here is to operate objects in a
easier and safer way.

Signed-off-by: Pablo Palácios <ppalacios992@gmail.com>
With this, we will always have a list of objects sorted by filenames.

Signed-off-by: Pablo Palácios <ppalacios992@gmail.com>
@coveralls
Copy link

coveralls commented Aug 30, 2017

Coverage Status

Coverage increased (+0.05%) to 94.929% when pulling 834ef38 on pablopalacios:objects into 80bf1f1 on UpdateHub:master.

@otavio otavio merged commit 79306d3 into UpdateHub:master Aug 30, 2017
@pablopalacios pablopalacios deleted the objects branch October 17, 2017 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants