summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD
AgeCommit message (Collapse)Author
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-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
2023-05-16document extra parameter that's used by pkg_checkMarc Espie
2023-05-16typoMarc Espie
2023-05-16the old "indirect method call" was deprecated recently (apart fromMarc Espie
mimicing perl base syntax on fh objects and the likes), so use the more consistent class->method calling method in examples (and in code)
2023-05-16State -> BaseState, for lightweight requirementsMarc Espie
2023-05-16reflect reality better: document set_description and friendsMarc Espie
2023-05-04fix stupid thinko, as noticed while converting to v5.36 (later)Marc Espie
2023-04-19Force a standard umask before adding/deleting packages. If not done andStuart Henderson
the user has a restrictive mask, various items (new directories, @sample'd files, /var/db/pkg entries, mandoc databases) end up not readable. feedback/ok espie@
2023-01-25change naming convention for the lru "save history" cache, so thatMarc Espie
ports like "lang/chicken/core" do generate files like lang.chicken.core.lru instead of lang.chicken.core (which can create confusion in people's mind) do so transparently by reading the old file if need be, and removing it afterwards. Funny thing noticed by tb@ ok tb@, sthen@
2022-12-28spelling fixes; from paul tagliamonteJason McIntyre
any parts of his diff not taken are noted on tech
2022-11-04allow "=" to be "hey only the default value" for pkgspec in dependenciesMarc Espie
to be used later once it's in snaps.
2022-11-01Have -S actually behave like the other introspection options, namely onlyMarc Espie
eschew building the package is -n is mentionned. Document that -S -n is heavily optimized for speed since it's mostly used by dpb -R to figure out what to rebuild.
2022-11-01fix a logic error from 2018: be silent if any of -S, -n, -q are mentioned.Marc Espie
The actual bug reverted in 1.128 was from "make print-plist-libs" which would invoke pkg_create -n -Q and filter out the libs: but in that case, pkg_create would not be silent, thus yielding reading plist|-/usr/local/lib/libpython3.9.so.0.0 to filter, which obviously wouldn't work. So, turn on silent mode for -Q as well.
2022-07-29don't leave user guessing after latest "no need to update"Marc Espie
show a "processing" message when we're actually grabbing data (often from the net). This should be really quick in most cases, but sometimes, it might take minutes (like for texlive), so that we know what's going on.
2022-06-28if we can't open the user db, don't try to read from a closed fhMarc Espie