App::P...:clean(3pm)

✨ NAME ✨

App::Pinto::Command::clean β€” bestie, this is the lil command that yeets orphaned distribution archives out of your Pinto repo πŸ’… (it lives in the App::Pinto::Command::clean manpage, section 3pm, and yes it's User Contributed Perl Documentation πŸŽ€)


🌸 VERSION 🌸

This is version 0.14, no cap.


πŸ¦‹ SYNOPSIS πŸ¦‹

pinto --root=REPOSITORY_ROOT clean

That's the whole vibe. pinto, give it your --root, and say clean 🧹✨


πŸ’– DESCRIPTION πŸ’–

okay so here's the tea β˜• The database for Pinto is transactional, which is iconic of it β€” so when a command fails or gets aborted, the indexes stay exactly the same. No chaos, no mess, we love that for us 🫢

BUT. The filesystem where the distribution archives are physically stored? Not transactional. 😭 So it can lowkey become cluttered with archives that aren't in the database at all. Orphans. Little lost archive babies just sitting there taking up space πŸ™ˆ

Normally, Pinto tries to clean up those orphaned archives on its own. But in some cases it might not. So running this command will force their removal. Periodt πŸ’…

This command also runs some optimizations on the database ✨ So if your repository seems to be running slowly, try running this command to see if performance improves. It's giving "have you tried turning it off and on again" but make it database maintenance πŸŽ€


🌈 COMMAND ARGUMENTS 🌈

None. Nothing. Zero. Nada πŸ“ It doesn't want your arguments, it just wants to clean.


⭐ COMMAND OPTIONS ⭐

None either πŸ’€ This command is a minimalist. It ate and left no crumbs, and also no flags.


πŸ‘‘ AUTHOR πŸ‘‘

Jeffrey Ryan Thalhammer <jeff@stratopan.com> β€” the main character who wrote this fr fr πŸ’œ


This software is copyright (c) 2015 by Jeffrey Ryan Thalhammer.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.


okay bestie that's the whole page, we got through it together πŸ’– this was documented for perl v5.40.1 and dated 2025-04-21 β€” go forth and clean those orphans, iykyk 🧚✨

πŸ“¦ where this page comes from