in reply to Re: What is ignore.txt
in thread What is ignore.txt

Thanks you hippo - that's got me much further :)

ignore.txt is a generic version control ignore list. This is detailed in the POD for Module::Starter

Well...it only seems to say it creates it by default.

That doesn't help with the error I'm getting

# The following files are not named in the MANIFEST file: C:\Users\use +r\Perl\AI-Embedding\AI-Embedding\ignore.txt
As I'm not using any kind of version control (I don't think I am), should I get rid of the file or do I need to add it to the manifest file?

Replies are listed 'Best First'.
Re^3: What is ignore.txt
by GrandFather (Saint) on Jun 08, 2023 at 21:28 UTC

    I strongly second hippo's recommendation that you version control your code. It seems a bit over the top for a lone shark developer to do that, but if you commit frequently it can save you from brain farts, cats, dogs and small children interacting with your keyboard in unfortunate ways, acts of nature, hard drive failures, ...

    Really, spin up a git repo somewhere in the cloud and git committing. Not tomorrow, or the day after -today is the day to do it! (Says he who has been bitten more than once!)

    Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond

      I agree with that, too. Decentralized version control (mercurial in my case) has saved me countless times. I run a setup where commits are automatically synced to multiple systems in different locations. Even a fire or bankruptcy of a cloud service leaves enough intact copies to continue "business as usual".

      PerlMonks XP is useless? Not anymore: XPD - Do more with your PerlMonks XP

        Well done! In days gone by I'd have recommended Mercurial and TortoiseHg, but unfortunately Git has won the video format wars. :-(

        Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond
Re^3: What is ignore.txt
by Corion (Patriarch) on Jun 08, 2023 at 19:07 UTC

    You can also add the file to MANIFEST.SKIP, which is the ignore list. Every file or directory in your development directory should be either in MANIFEST (and be shipped) or in MANIFEST.SKIP.

Re^3: What is ignore.txt
by hippo (Archbishop) on Jun 08, 2023 at 21:00 UTC

    If you are not using it, just get rid of it. I would never ship any file relating to version control in the dist so would not add it to the MANIFEST. The only files needed in the dist are those which a user requires in order to build, test and install the dist.

    That said, it will be worth your while to look into using version control sooner or later. You've started using git for other tasks so maybe you could think about putting this code into a git repo also?


    🦛