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

Debug when folder deletion fails #1426

Merged
merged 1 commit into from
Aug 24, 2023
Merged

Conversation

mosteo
Copy link
Member

@mosteo mosteo commented Aug 7, 2023

Extra output when a file/folder deletion fails, to try and debug occurrences like #1417.

@mosteo mosteo marked this pull request as ready for review August 7, 2023 21:10
Output : Vector;
Code : constant Integer :=
OS_Lib.Subprocess.Unchecked_Spawn_And_Capture
("ls", To_Vector ("-alRF"),
Copy link
Member

Choose a reason for hiding this comment

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

I don't think it's good to rely on and external ls command here. On Windows it might not be available.

@mosteo
Copy link
Member Author

mosteo commented Aug 21, 2023

I've added an alternative for Windows. Nonetheless, this is kind of a brute attempt to diagnose exactly the failures happening here... Other ideas welcome :S

@mosteo mosteo marked this pull request as draft August 21, 2023 17:13
@mosteo
Copy link
Member Author

mosteo commented Aug 22, 2023

I know what the root cause is now and can reproduce locally, working on the fix.

@mosteo
Copy link
Member Author

mosteo commented Aug 22, 2023

The CI error in this one will go away after #1427

@mosteo mosteo marked this pull request as ready for review August 22, 2023 16:21
@mosteo mosteo marked this pull request as draft August 22, 2023 16:21
@mosteo mosteo marked this pull request as ready for review August 24, 2023 12:34
@mosteo mosteo merged commit 5e8f4b5 into alire-project:master Aug 24, 2023
11 of 12 checks passed
@mosteo mosteo deleted the debug/rmtree branch August 24, 2023 12:34
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