tony-o / raku-fez

This project is for 'fez', raku's cool new shiny dist uploader & manager. If you're a module author you should definitely be using this sweet thang. ;;;;;;;;;;;;;; This project and the underlying infrastructure is supported out of my own pocket and through donations. If you'd like to donate please check here: https://www.patreon.com/oynot
Artistic License 2.0
20 stars 12 forks source link

`fez upload` hangs when .gitignore file is present #80

Closed sdondley closed 1 year ago

sdondley commented 1 year ago

macOS 13.2 (Ventura) with fez v39. When I do fez upload on a directory with a .gitignore file present, fez hangs indefinitely.

If I change the line at https://github.com/tony-o/raku-fez/blob/641cbf5b9e4bd45d873112aa61709bf4c6922c48/lib/Fez/Util/Pax.rakumod#L13

From: rx/ <$regex> /

To: rx/ $regex /

It no longer hanges. But I'm not sure if this is the proper fix as I'm not sure what the code is trying to accomplish. Adding sdist/ to the .gitignore didn't help.

sdondley commented 1 year ago

OK, now here's where it gets weird. Everything works on 2022.07. It breaks on 2022.12. But I'm using the same version of fez.

UPDATE: This may not have been accurate. I may have been using a locally hacked version of fez I'm using to troubleshoot.

sdondley commented 1 year ago

OK, the problem is a blank line at the end of the .gitignore file. Methinks this is a bug.

tony-o commented 1 year ago

@sdondley please give ver<40> a go, it should resolve this issue

sdondley commented 1 year ago

OK, just used it. No problems with a blank line in .gitignore this time. Thanks!