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

Remove pyxdg dependency #727

Merged
merged 1 commit into from
Nov 14, 2023
Merged

Remove pyxdg dependency #727

merged 1 commit into from
Nov 14, 2023

Conversation

a-andre
Copy link

@a-andre a-andre commented Sep 4, 2023

No description provided.

Copy link
Member

@matthijskooijman matthijskooijman left a comment

Choose a reason for hiding this comment

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

It looks like GLib.get_user_data_dir will also return XDG_DATA_HOME (which according to XDG specs defaults to ~/.local/share just like we did), so I think this PR will produce the same behavior as before, but with one less dependency (we already depend on glib), so looks good to me.

I'm approving this based on my code review, it should probably be tested by someone else (or me later) before actually merging.

@github-actions
Copy link

github-actions bot commented Sep 4, 2023

Automatically generated build artifacts for commit b3f293e (note: these links will expire after some time):


To test this PR, download and unzip the flatpak application above and then install with:

flatpak install Hamster.flatpak

@a-andre
Copy link
Author

a-andre commented Sep 5, 2023

Small update to fix flake8 check.

@github-actions
Copy link

github-actions bot commented Sep 5, 2023

Automatically generated build artifacts for commit d7f0f74 (note: these links will expire after some time):


To test this PR, download and unzip the flatpak application above and then install with:

flatpak install Hamster.flatpak

@aquaherd aquaherd merged commit c5c6d44 into projecthamster:master Nov 14, 2023
2 of 4 checks passed
@matthijskooijman
Copy link
Member

@aquaherd, I believe you've been using "rebase and merge" for merging some recent pull requests, right? I think we should prefer regular merging (or for single-commit PRs squash-merging), since then the commit history retains a reference to the pullrequest that a commit came from. See also #585 for some (draft - we should finalize that) development guidelines. No worries for now, just something to keep in mind for the future.

@aquaherd
Copy link
Member

Ok will do.

@a-andre a-andre deleted the pyxdg branch November 20, 2023 15:39
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.

3 participants