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

Uploaded but rejected with weird error: #93

Closed bbkr closed 1 year ago

bbkr commented 1 year ago

Hi. I've tried uploading module https://github.com/bbkr/HomoGlypher/tree/898def6a3b21b953ba9bb4857f439df6dd1e949b (at exactly this commit) using latest version of fez (as of creating this issue):

$ fez upload
>>= Bundle manifest:
       example/IDN-checker.raku
       lib/HomoGlypher.rakumod
       lib/HomoGlypher/Mappings.rakumod
       LICENSE
       META6.json
       README.md
       t/00-mappings.rakutest
       t/01-unwind.rakutest
       t/02-collapse.rakutest
       t/03-tokenize.rakutest
       t/04-randomize.rakutest
>>= Build depends ok
>>= Depends ok
>>= Provides ok
>>= Resources ok
>>= Test depends ok
>>= Hey! You did it! Your dist will be indexed shortly.

And got email shortly after:

Error processing: ???
From:   no-reply@zef.pm
To: ***
Sender: no-reply@zef.pm
Date:   22.04.2023 02:07
Error reading META from your last upload

Any idea what went wrong? fez review does not complain and META looks OK to me.

bbkr commented 1 year ago
$ fez v
>>= fez version: 51
bbkr commented 1 year ago

Running it on latest Alpine Linux.

Linux toolbox 6.2.7-arch1-1 #1 SMP PREEMPT_DYNAMIC Sat, 18 Mar 2023 01:06:36 +0000 x86_64 Linux
bbkr commented 1 year ago

File produced by fez: https://bbkr.org/LeqdBeUY.tar.gz

I've noticed archive contains sdist directory (looks like error to me).

rawleyfowler commented 1 year ago

@bbkr You need to add sdist to your .gitignore, or else fez will upload it iirc.

bbkr commented 1 year ago

I've installed pax-utils because I saw that this is top prio packager for Fez. And my module got uploaded and accepted.

So probably there are some incompatibilities with Alpine version of tar/gzip.

patrickbkr commented 1 year ago

@bbkr Alpine = busybox? If yes, then there is potential for incompatibility. But AFAIK latest fez brings its own custom tar/gzip. Not sure if it's released already though. So this problem of compatibility should be gone soon.

tony-o commented 1 year ago

@bbkr we had a problem with a couple of bad dists slipping through last week and it's likely that your upload was wrongfully rejected. fez v51 has its own bundler but it's likely not an issue with your dist and you just hit the three day window where all dists were getting rejected due to the bug. The bug is still an ongoing investigation but your problem should be resolved by simply reuploading - sorry for the inconvenience

bbkr commented 1 year ago

Thanks for explanation. I'm closing the issue.