gyro icon indicating copy to clipboard operation
gyro copied to clipboard

2 digit semver number causes crashes when fetching package

Open devins2518 opened this issue 1 year ago • 1 comments

Here's the output when trying to fetch my zheets library version 0.1.10:

❯ gyro build
git github.com/beho/zig-csv                                                                                 f9bff064 [##################################################################################] 100%
git github.com/devins2518/requestz                                                                          da32d03a [##################################################################################] 100%
pkg astrolabe.pm/devins2518/zheets                                                                          0.1.10   [##################################################################################] 100% ERROR
error: http status code: 404
???:?:?: 0x10081905b in _Engine.fetch (???)
???:?:?: 0x10081a2e7 in _Engine.fetch (???)
???:?:?: 0x1008112cf in _commands.build (???)
???:?:?: 0x1007dd353 in _main.0 (???)
???:?:?: 0x1007dd35b in _main.0 (???)
???:?:?: 0x1007de507 in _main.0 (???)

Works fine when I bumped the version to 0.2.0

devins2518 avatar Jul 17 '22 15:07 devins2518

omg thank you, it's been on my radar but I wasn't able to sit down and root cause it, I'll be taking a look at it this weekend when I have some time

mattnite avatar Jul 22 '22 01:07 mattnite