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

common: Move functions for dealing with AppStream XML to their own file #5801

Merged
merged 5 commits into from
May 3, 2024

Conversation

smcv
Copy link
Collaborator

@smcv smcv commented May 2, 2024

Continuation of #5409, with the same goals.

  • Reduce circular dependencies #5409

  • common: Move functions for dealing with AppStream XML to their own file

    This seems like an obvious set of functionality to be grouped together
    in service of the wider goal of making flatpak-utils smaller and more
    manageable.

  • xml-utils: Don't expose symbols that don't need to be visble

smcv added 5 commits May 2, 2024 15:11
The exports module doesn't actually need these, and this removes a
circular dependency: previously, exports both depended on and was
depended on by dir.

Signed-off-by: Simon McVittie <[email protected]>
This allows us to break a circular dependency between utils and context.

Signed-off-by: Simon McVittie <[email protected]>
Each of these is only needed in one place, so move them there. This is
another step towards the utils module being the lowest-level.

Signed-off-by: Simon McVittie <[email protected]>
This seems like an obvious set of functionality to be grouped together
in service of the wider goal of making flatpak-utils smaller and more
manageable.

Signed-off-by: Simon McVittie <[email protected]>
Copy link
Member

@TingPing TingPing left a comment

Choose a reason for hiding this comment

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

Looks reasonable.

@smcv
Copy link
Collaborator Author

smcv commented May 3, 2024

Looks reasonable.

I'm assuming that's also a positive review for the remaining changes on #5409.

#5803 continues this work.

@smcv smcv merged commit 363fffc into flatpak:main May 3, 2024
9 checks passed
@smcv smcv deleted the split-utils-xml branch May 6, 2024 15:12
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.

None yet

2 participants