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

treefile: Return . instead of "" for parent directory #4278

Merged
merged 1 commit into from
Jan 24, 2023

Conversation

cgwalters
Copy link
Member

This addresses the root cause of
#4029

Basically we were calling set_repos_dir("") on the libdnf side and it simply did not handle that, failing to open the directory.

(Though I'm not saying "Closes" since we should still fix the
file monitoring stuff)

I don't yet know why this seemed to work in some cases but not others though.

This addresses the root cause of
coreos#4029

Basically we were calling `set_repos_dir("")` on the libdnf side
and it simply did not handle that, failing to open the directory.

(Though I'm not saying "Closes" since we should still fix the
 file monitoring stuff)

I don't yet know why this seemed to work in some cases but not
others though.
@cgwalters
Copy link
Member Author

openshift/os#1115 works around this successfully

Copy link
Member

@jlebon jlebon left a comment

Choose a reason for hiding this comment

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

Ahh yup, the classic "parent() returns a slice issue".

@jlebon jlebon enabled auto-merge January 24, 2023 18:48
@jlebon jlebon merged commit 034df99 into coreos:main Jan 24, 2023
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