in reply to Re^2: testing/release advice [was: Stopping tests]
in thread Stopping tests
I looked into the META files issue a bit more.
I couldn't find the old post that your "META" comment reminded me of, exactly. (It may have been Re^3: What to test in a new module, but that was you calling it "META files" when it was actually talking about the META_MERGE parameter to MakeMaker, which defines some of the info that goes into the META.json/yml files. I thought maybe you had mentioned that copy back-and-forth before, but I cannot find it when I search your recent posts with "META". or it could just be that when you made the comment in this discussion, my mind invented a vague memory of some previous comment by you about having to do weird copy of META files. Sorry if my last post had a reply to a figment of my imagination.)
So I actually downloaded your repo, and went through the standard incantation:
... I ran that with RELEASE_TESTING not set and with set RELEASE_TESTING=1 -- both passed° the disttest, and the distro .tar.gz that was created by gmake dist correctly included the META.json/yml files.perl Makefile.PL gmake disttest gmake dist
I then looked at the Re: What do I use to release a module to CPAN for the first time? post you linked to, and saw that step13 claimed you needed to copy the META.json/yml files to your main directory and manually adding those two files to the MANIFEST before doing the gmake dist : all of my experience and my experiments today say that is unnecessary. If I just follow the incantation above, then look in the .tar.gz, the META.json/yml are properly there -- I did't have to copy those files. Follow the standard incantation yourself, and see if you can see those files were properly created: if they do get created, then you can skip step 13 in your future releases, saving you time and effort. If not, please show the output from your sequence that you follow, and show the contents of the .tar.gz that is created.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: testing/release advice [was: Stopping tests]
by Bod (Parson) on Sep 13, 2023 at 21:46 UTC | |
by pryrt (Abbot) on Sep 13, 2023 at 22:01 UTC | |
by etj (Priest) on Feb 22, 2025 at 13:15 UTC |