Skip to content

Instantly share code, notes, and snippets.

@lucs
Last active March 28, 2023 14:15
Show Gist options
  • Save lucs/49e797ac936b3d7bf0ff08904878f22d to your computer and use it in GitHub Desktop.
Save lucs/49e797ac936b3d7bf0ff08904878f22d to your computer and use it in GitHub Desktop.
A problem with 'fez'
I managed to upload version 0.1.0 of Data::RandomKeep, but I didn't
notice if the fez generated archive contained .precomp/ stuff.
Not long after that, I noticed a problem with my module and prepared a
0.1.1 version.
Here is where I am right now, and these are the steps I do which will
show the problem:
- I remove the sdist/ and all .precomp/ directories and their
content.
- I do a 'fez login' as 'lucs': okay.
- I do a 'fez checkbuild': almost okay:
>>= Inspecting ./META6.json
>>= meta<provides> looks OK
>>= meta<resources> looks OK
>>= Data::RandomKeep:ver<0.1.1>:auth<zef:lucs> looks OK
But that created a lib/.precomp/ directory and contents.
- I remove lib/.precomp and its contents.
- I do a 'fez upload': not okay:
=<< Null regex not allowed
=<< ERROR: All bundlers exhausted, unable to make .tar.gz
Again, a lib/.precomp was created, and also a
sdist/q18yImGD.tar.gz whose contents are:
Data-RandomKeep/examples/eg.raku
Data-RandomKeep/.github/workflows/test.yml
Data-RandomKeep/lib/.precomp/CACHEDIR.TAG
Data-RandomKeep/lib/.precomp/A294FA…/5D/5D38D….repo-id
Data-RandomKeep/lib/.precomp/A294FA…/5D/5D38D….lock
Data-RandomKeep/lib/Data/RandomKeep.rakumod
Data-RandomKeep/.gitignore
Data-RandomKeep/dist.ini
Data-RandomKeep/LICENSE
Data-RandomKeep/t/01-basic.rakutest
Data-RandomKeep/META6.json
Data-RandomKeep/Changes
Data-RandomKeep/README.md
My .gitignore file has a single line: ".precomp/".
I know that if I do, like the last time, 'fez upload
--file=sdist/q18yImGD.tar.gz' it will work, but I don't want to upload
something containing .precomp/ (maybe it doesn't matter, but I don't
feel it's right).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment