Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-11-28 | add (n to go) to pkg_delete as well. | Marc Espie | |
2009-11-16 | create a pseudo vstat object inside state, so that we can modify Vstat | Marc Espie | |
interface very locally... model hints objects like Locations, to uniformize further treatment. | |||
2009-11-11 | vsystem, system, unlink can mostly go through state, and do the ->clear part | Marc Espie | |
as well. | |||
2009-11-11 | also get most STDERR messages through the same way | Marc Espie | |
2009-11-11 | progressmeter puts STDOUT in autoflush if -t, so that it can display to it ↵ | Marc Espie | |
instead of piping a lot of stuff to STDERR. Go through state->print for most messages, so they will NOT do weird things with the progressmeter. Use a ->say shortcut which does the same thing that perl 5.10 say does... | |||
2009-11-11 | remove forwarders, and provide a sensible API that says what's going on | Marc Espie | |
(e.g., we're logging information for later). | |||
2009-11-10 | bad espie: use strict/warnings consistently, and fix two nits and two | Marc Espie | |
actual errors ! | |||
2009-10-11 | overlay extract/delete/install messages, for shorter reports in normal mode | Marc Espie | |
2009-04-19 | synch with my new style search/location changes | Marc Espie | |
It's likely there will be some fallout, but it's getting a bit too large to keep around. This does kill a few very old oddities as well. | |||
2009-04-18 | don't copy DigitalSig to partial packages, it makes no sense | Marc Espie | |
2009-04-14 | initial implementation of package signatures, based on x509 certificates and | Marc Espie | |
smime detached signatures. | |||
2008-10-20 | Say goodbye to local $_ | Marc Espie | |
lexical scoping is so much neater (courtesy of perl 5.10) | |||
2008-10-06 | turn the checksums stored in packing elements into real objects, so that | Marc Espie | |
pkg_add becomes mostly independent of the type of checksum stored. separate md5 into an abstract OpenBSD::digest class and an md5 subclass with specific methods to compute checksums and serialize results, and create an sha class that does the same thing with sha256 (with a base64 serializer) | |||
2008-06-11 | defer to the packing element for computing md5 | Marc Espie | |
2008-03-11 | oops | Marc Espie | |
2008-03-08 | better -q: mention once, and it speeds up (assumes normal files haven't | Marc Espie | |
changed), but still checks config files. Use twice, and wipe your config out as well. | |||
2008-03-08 | tweak messages mentioning checksums so that they mention checksums, not | Marc Espie | |
specifics like md5, since that's likely to change. | |||
2008-03-03 | fix utterly confusing message for updates. | Marc Espie | |
okay bernd@/deraadt@ | |||
2007-06-30 | fix saving of old partial packages... problem noticed by Paul Irofti | Marc Espie | |
2007-06-25 | typo | Marc Espie | |
2007-06-18 | add tag no shadow, to allow us to specify that we do NOT want tempfiles | Marc Espie | |
into some directories. a few minor style tweaks, such as using a nice join(map()) to build some strings. | |||
2007-06-16 | Add variation on exec/unexec: | Marc Espie | |
@exec-always @unexec-always @exec-add @unexec-delete @exec-update @unexec-update with the obvious semantics that *update are only run during updates, and *add/delete are only run during `pure' additions/removals. This should solve the problem of those packages that `lose' manual configuration when you update them (e.g., all the mod_xxx apache stuff and postfix). caveat: you will need to go through one finaly broken update before the new stuff kicks in. | |||
2007-06-16 | use OpenBSD::Paths contents | Marc Espie | |
2007-06-14 | I don't know what we will do with system packages yet, but prevent | Marc Espie | |
them from getting deleted. | |||
2007-06-06 | finish moving the size computations out of validate_plist. | Marc Espie | |
2007-06-06 | separate the size computation from other operations in `prepare_for_addition' | Marc Espie | |
`prepare_for_deletion' -> move that to Vstat, as it is common code. Do the splitting of libraries through a deep copy and shallow copy, so that we keep any State information related to libraries (like special group/owners). | |||
2007-06-06 | tweak how copies happen: rename make_copy into make_shallow_copy, | Marc Espie | |
make_deep_copy. tweak keep_old_files so that we set the pkgname later, when it won't cause any error to have duplicates in there. | |||
2007-06-04 | zap dead code: we no longer use DirRm. | Marc Espie | |
stop recognizing @comment MD5: as special. | |||
2007-06-04 | some minor systematic changes. | Marc Espie | |
- mark all regexps I can with /o if they can be compiled once. - turn $o->method() into $o->method - remove unneeded prototypes - reduce split /re/ into split "string" where possible. | |||
2007-06-04 | fix keep_old_files | Marc Espie | |
2007-06-02 | move dependency registration into its own function. | Marc Espie | |
2007-06-01 | refactor ProgressMeter code to create objects, put these into state. | Marc Espie | |
Create a common state class for delete and add, put the progressmeter creation in there. neat effect: we don't have a progressmeter, we use a stub class instead and *never* pull the code in at all. | |||
2007-05-31 | move set validation earlier (in fact, it probably doesn't belong in | Marc Espie | |
really_add). move common delete_installed() code inside Delete.pm | |||
2007-05-31 | kill REQ script directly. I'm pretty sure it doesn't quite work anyways. | Marc Espie | |
Deprecate INSTALL and DEINSTALL, write out warnings in pkg_create. Clean up some more old cruft | |||
2007-05-31 | a few cosmetic changes, move realname over to PackingElement to be | Marc Espie | |
able to use it in other cases. | |||
2007-05-30 | simplify script handling a bit (they're going to disappear probably anyways). | Marc Espie | |
Remove two passes visitors, we don't use them. | |||
2007-05-30 | simplify really_add to use real visitors for extraction and installation. | Marc Espie | |
Just do one single try {} catchall {} per-method, as this is enough. New methods: extract_and_progress, install_and_progress, that catch interrupts (die) deal with fake, and handle the progress meter. One single method: mark_progress, can be used for extraction, installation and deletion. | |||
2007-05-30 | don't bother not copying the pkgname, we're going to overwrite it anyways. | Marc Espie | |
2007-05-30 | redo keep_old_files as a visitor. Copy more stuff over. | Marc Espie | |
2007-05-29 | rely on packing-lists knowing where they live, much saner. | Marc Espie | |
2007-05-28 | delay error reporting a bit more: try installing and deinstalling everything | Marc Espie | |
and report more issues. | |||
2007-05-28 | lift up more of the dev checking code into Vstat. | Marc Espie | |
un-special case SpecialFiles on deletion. Now that CONTENTS is part of the plist, it's checked as well on addition. | |||
2007-05-28 | clean up packing-list validation, call the methods `prepare_for_addition' | Marc Espie | |
and `prepare_for_deletion', that's clearer... | |||
2007-05-22 | zap references to pkgdep. Packing-Lists no longer even record it, anyways. | Marc Espie | |
2007-05-22 | introduce a SharedItemsRecorder (put it into Vstat, since that's a file | Marc Espie | |
common to Add and Delete, for now). Use it to have common code that records items to remove / items remaining. Stash it into pkg_add/pkg_delete state, and abstract the cleaning up operation into the SharedItemsRecorder (so that pkg_add and pkg_delete no longer have to know about the internals of SharedItems at all). | |||
2007-05-22 | mark `digitalsignature' as a known keyword, which helps me. | Marc Espie | |
Use autovivification on stuff to remove. | |||
2007-05-15 | do not copy pkgname, since we're going to erase it, and packing-lists | Marc Espie | |
now detect duplicate stuff. | |||
2007-05-14 | tidy | Marc Espie | |
2007-05-07 | make sure all temporary file handling goes through OpenBSD::Temp | Marc Espie | |
2007-05-07 | name code from keep_old_files, don't set pkgname directly. | Marc Espie | |