REBUILDRESET(1)

πŸ“¦
version 0.12.1 Β· 2 versions
, in fedora 43

πŸ’– REBUILDRESET πŸ’–

okay bestie, so this is rebuildreset, and it's the reset button for rebuild πŸ’… no cap. It lives in the User Contributed Perl Documentation corner of your manual, and it's about to be your new fave little helper, fr fr.


✨ NAME ✨

rebuildreset β€” Reset package for rebuild πŸŽ€


🌸 SYNOPIS 🌸

(and yes, that's literally how it's spelled, we don't make the rules πŸ’€)

rebuilreset [--config FILE] [--changed] < PACKAGE_LIST

πŸ¦‹ DESCRIPTION πŸ¦‹

So here's the vibe: this tool resets packages that you list on standard input, or in a file that you name in the positional arguments. Why tho? So that the next time rebuildperl(1) runs, it looks at those packages and goes "oh?? not rebuilt yet??" 😌 iconic behaviour, honestly.

This is a helper for rebuildperl(1) 🫢 and it assumes the packages have already been populated by rebuildperl. So don't come in here cold, okay? It's giving backstage crew, not main character.

Here's what it actually does, no cap:

  • It will reset the local repository.
  • It removes all stage locks except .clone. (yes, .clone stays. it's special. it's the exception. periodt.)
  • It will also edit all, done, and failed package lists (see the configuration) accordingly.
  • (It will remove changed packaged from done and failed list.)

And with other options, the set of packages to reset can be reduced more ✨ like, you can be picky about it, and honestly? valid.


πŸ”₯ OPTIONS πŸ”₯

  • --config FILE β€” read configuration from FILE, or from ~/.rebuildperlrc if you don't specify one. default behaviour, cute behaviour πŸ’–
  • --changed β€” reset only packages whose remote repository has changed (e.g. there's a newer version). It compares the local copy of the origin GIT repository with the repository on the remote server, and if it finds the HEADs are different, it will reset the package. Otherwise, the package will not be reset. lowkey a vibe check for your repos 😌

If the failedtemp configuration option is defined and there is an error while checking the remote repository, the faulting package will be logged into the failedtemp file. This is because talking to a GIT server can result into intermittent network error that can disappear on next retry. (networks are messy, bestie, we've all been there 😭)


🧚 FILES 🧚

πŸ’œ ~/.rebuildperlrc

Configuration is in Config::Tiny format. Following options are needed:

done = done
failed = failed
failedtemp = failedtemp
workdir = workdir
dist = rawhide
loadthreads = 4

🌈 reminder bestie: this whole thing is a helper for rebuildperl(1), so go read that too, iykyk.

and that's the whole page, you ate that πŸ“ this beauty comes to you from perl v5.42.0, dated 2025-07-25 β€” the source and version and date, all wrapped up in one little sign-off πŸ’– mwah, go reset some packages, you got this πŸ‘‘

πŸ“¦ where this page comes from