summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add
AgeCommit message (Collapse)Author
2023-06-16belated move to OOMarc Espie
2023-06-16no extra params there, to be revisitedMarc Espie
2023-06-16fix default parm, noticed by aja@ on clean-old-distfilesMarc Espie
2023-06-14GC remnants of pipe support, long gone.Marc Espie
Display an error message for non found packages, in addition to setting the exit code.
2023-06-13move to use v5.36;Marc Espie
tested by me over the last few weeks, and tb@ also fixed a "manual install" bug properly reported by tb@ aside that there should be *no functional change*. If you see any message like "hey, the number of params is wrong" it is a fringe case I didn't run into and should be easy to fix.
2023-06-07do not pass @_ to code snippets, prepare for 5.36Marc Espie
found out by aja@
2023-05-29use v5.36, this one is somewhat trivialMarc Espie
2023-05-27the solver needs some love for laterMarc Espie
2023-05-27remove the extra local variable (blessing a ref to self DOES work)Marc Espie
accordingly zap the extra blocks that are no longer needed making this look less funky
2023-05-27comment/cosmeticMarc Espie
2023-05-27more commentMarc Espie
2023-05-27yeah, yeah, those names are horribleMarc Espie
2023-05-27finish making this a singleton class (which I don't always likeMarc Espie
and is definitely worthy of a comment)
2023-05-27more descriptive commentMarc Espie
2023-05-27indicate that not having hashes already is just legacy neededMarc Espie
until all old packages are gone
2023-05-27point people towards relevant commentsMarc Espie
2023-05-27a few commentsMarc Espie
explicitly return undef from check, which will prevent casual me from 'fixing' it later
2023-05-27prepare for 5.36: pass $code as @code so that we don't haveMarc Espie
to decide a default right away (I should apply this everywhere I go to read a plist actually)
2023-05-27commentsMarc Espie
2023-05-27document base methodMarc Espie
2023-05-27try/catch to be revisitedMarc Espie
2023-05-27comments/cosmeticsMarc Espie
2023-05-27restore documentation: explain what ArcCheck doesMarc Espie
2023-05-27cosmetic/comments improvementMarc Espie
2023-05-27- make the handling of interactive more regular byMarc Espie
delegating the choice of the class to a separate method - zap/improve meaningless comments - mark ntogo as a focus for improvements
2023-05-27prepare for 5.36, document methods in base classMarc Espie
2023-05-23don't pass state, we get them from the progressmeterMarc Espie
2023-05-22gc unused/old codeMarc Espie
2023-05-21missed oneMarc Espie
2023-05-21move the interface to SharedLibs to be somewhat object orientedMarc Espie
accordingly, load it "just in time" in State. Most calls get simplified, and we can save more state for later.
2023-05-21document how this is used... There's nothing that actually uses theMarc Espie
export part, and be explicit about how we call code refs.
2023-05-21"fix" for 5.36: pass the possible option value as an extra paramMarc Espie
instead of defined/undefined, so that the code sub is called with the right number of parameters.
2023-05-21v5.36, trivial moveMarc Espie
2023-05-20Don't bother setting the effective group, it doesn't affect file creationMarc Espie
on a BSD system anyhow (duh moment, thx semarie@)
2023-05-19make Paths fully OO, as it makes some things simplerMarc Espie
2023-05-19this parameter does not existMarc Espie
2023-05-19remove indirect callsMarc Espie
2023-05-18adjust style to post v5.36 worldMarc Espie
2023-05-17fix -nMarc Espie
2023-05-17stop using old-style prototypes except where strictly necessaryMarc Espie
(for try/catch) signatures will be much more powerful once I move to 5.36
2023-05-17actually fix caching for release/stableMarc Espie
$r2 computation was wrong, led to an undef, which autovivification promptly masked
2023-05-16explicitly rename internal methods with an _Marc Espie
2023-05-16clean visible interface a bit: Ustar does not use errsay (but ArcCheck does)Marc Espie
and having a forwarder for system for ONE use is a bit much !
2023-05-16cleaner documentation of what's going onMarc Espie
2023-05-16start un-exposing some internal methodsMarc Espie
2023-05-16ditch subclasses for PackingList: I ended up never using this anywhereMarc Espie
2023-05-16use the new set_destdir interfaceMarc Espie
2023-05-16avoid the "indirect object" call, as it won't work with v5.36Marc Espie
document a few useful details introduce a less confusing set_destdir inteface for later
2023-05-16explain why there is a hierarchy with one single subclass, becauseMarc Espie
we never know when we may need to change crypto-hashes!
2023-05-16document a few small details, some of them non-obvious likeMarc Espie
the inheritance hierarchy or the exact interface for ->add