Skip to content

hif: Initial comps group support. - #49

Closed
kkofler wants to merge 2 commits into
masterfrom
hif-comps
Closed

kkofler wants to merge 2 commits into
masterfrom
hif-comps

Conversation

@kkofler

@kkofler kkofler commented Mar 14, 2015

Copy link
Copy Markdown
Collaborator

This is a squashed version of @heliocastro's patch set that adds comps support to the hif backend:

Initial support for comps XML parsing. Enable the hif backend to search categories and do a simple mapping of comps categories/groups to PackageKit's static groups.

TODO: support for PackageKit dynamic categories.

Supersedes pull request #20.

commit d52967c
Author: Helio Chissini de Castro <[email protected]>
Date:   Wed Feb 18 12:59:15 2015 -0200

    - Fix proper return call.

commit 2804bee
Author: Helio Chissini de Castro <[email protected]>
Date:   Mon Jan 12 18:52:46 2015 -0200

    - Identation fixes

    Signed-off-by: Helio Chissini de Castro <[email protected]>

commit 9c1e7cb
Author: Helio Chissini de Castro <[email protected]>
Date:   Mon Jan 12 18:43:04 2015 -0200

    - Return directly the array

    Signed-off-by: Helio Chissini de Castro <[email protected]>

commit bfae846
Author: Helio Chissini de Castro <[email protected]>
Date:   Mon Jan 12 17:23:20 2015 -0200

    - Fix void return. Now it addresses failt or not on parsing.
    - More identation fixes

    Signed-off-by: Helio Chissini de Castro <[email protected]>

commit ee0d1d8
Author: Helio Chissini de Castro <[email protected]>
Date:   Thu Dec 11 11:07:29 2014 -0200

    - Use pk_package_id_build instead of older build method based on
      template sample
    - More identation fixing

    Signed-off-by: Helio Chissini de Castro [email protected]

commit 4ad973b
Author: Helio Chissini de Castro <[email protected]>
Date:   Tue Dec 9 16:41:12 2014 -0200

    - Move static for structure PkCompsData
    - Use user_data on GMarkup parser functions
    - Fix more identation from original code

    Signed-off-by: Helio Chissini de Castro [email protected]

commit 3adb3d3
Author: Helio Chissini de Castro <[email protected]>
Date:   Tue Dec 2 18:43:41 2014 -0200

    - Fixed identation issues as reported

    Signed-off-by: Helio Chissini de Castro <[email protected]>

commit 30d19e4
Author: Helio Chissini de Castro <[email protected]>
Date:   Tue Dec 2 17:49:27 2014 -0200

    - Initial support to comps xml parsing. Enable hif backend to search
      categories and do a simple category mapping.
    TODO:
    - Add dynamic categories
    - Replace package query function to a proper libhif function

    Signed-off-by: Helio Chissini de Castro <[email protected]>
Comment thread backends/hif/pk-backend-hif.c Outdated

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No newline for g_debug required.

* no \n needed after g_debug
* break 2 too long lines after &&
* change 4 occurrences of == FALSE to !
@kkofler

kkofler commented Mar 16, 2015

Copy link
Copy Markdown
Collaborator Author

Fixed all of the above and 2 more occurrences of == FALSE (for a total of 4).

@kkofler

kkofler commented Mar 29, 2015

Copy link
Copy Markdown
Collaborator Author

Ping? I addressed all your comments, can this be merged now?

@hughsie

hughsie commented Mar 8, 2019

Copy link
Copy Markdown
Collaborator

This needs rebasing and further work. Please reopen if you still want to do this work.

@hughsie hughsie closed this Mar 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants