Skip to content

Conversation

@mattmoor
Copy link
Member

This fixes an issue with ruby3.2-validate_url where the git clone {url} . was failing at HEAD because the directory isn't empty (it has lost+found).

To address this, I played around with a few options, but ended up adapting a forked version of our current git-checkout pipeline.

This also moves 1.0.15 one commit ahead to let us drop the sed command, since they updated the upstream repo with a superset of this change.

@mattmoor mattmoor requested a review from a team as a code owner July 24, 2023 18:27
@mattmoor mattmoor requested review from denhamparry and kaniini July 24, 2023 18:27
@mattmoor mattmoor enabled auto-merge July 24, 2023 18:30
@mattmoor mattmoor disabled auto-merge July 24, 2023 18:33
rawlingsj
rawlingsj previously approved these changes Jul 24, 2023
@rawlingsj rawlingsj added this pull request to the merge queue Jul 24, 2023
@mattmoor mattmoor removed this pull request from the merge queue due to a manual request Jul 24, 2023
@mattmoor
Copy link
Member Author

Removing from merge queue because I just had an idea that might clean this up a little bit.

I want to see if it works, and if not let's go with this, but if it does work then I'll be 💯 happier 🤞

This fixes an issue with `ruby3.2-validate_url` where the `git clone {url} .` was failing at HEAD because the directory isn't empty (it has `lost+found`).

To address this, I played around with a few options, but ended up adapting a forked version of our current `git-checkout` pipeline.

This also moves 1.0.15 one commit ahead to let us drop the `sed` command, since they updated the upstream repo with a superset of this change.

Signed-off-by: Matt Moore <[email protected]>
@mattmoor
Copy link
Member Author

Ok, I switched to fetch and I think it is muuuuuch cleaner.

@mattmoor mattmoor requested a review from rawlingsj July 24, 2023 18:46
@mattmoor mattmoor enabled auto-merge July 24, 2023 18:50
@mattmoor mattmoor added this pull request to the merge queue Jul 24, 2023
Merged via the queue into wolfi-dev:main with commit 88a708c Jul 24, 2023
@mattmoor mattmoor deleted the fix-ruby-validate-url branch July 24, 2023 19:44
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