Skip to content

Defaulting to xdg directory for history files #217

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

Merged
merged 3 commits into from
Jul 10, 2023
Merged

Conversation

mamazu
Copy link
Contributor

@mamazu mamazu commented Jul 9, 2023

Implement the xdg standard since I was cleaning my home directory.

This makes the history file less accessible, but I think that for a history file this is okay.

Copy link
Member

@dbu dbu left a comment

Choose a reason for hiding this comment

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

interesting. yeah this makes sense to me and your PR only changes behaviour if XDB_DATA_HOME is set.

can you please add a changelog entry, mentioning to move the history folder to the XDB file if the home directory is not the same? people might be confused what happened to their history otherwise...

i suggest to make a new minor version.

@mamazu
Copy link
Contributor Author

mamazu commented Jul 10, 2023

Sure, I have added a changelog entry with the 1.5.0 version if that's correct.

@dbu dbu merged commit 8131524 into phpcr:master Jul 10, 2023
@dbu
Copy link
Member

dbu commented Jul 10, 2023

thanks! https://github.com/phpcr/phpcr-shell/releases/tag/1.5.0

@mamazu mamazu deleted the xdg_dir branch July 10, 2023 13:17
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