Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-10-02 | pkg_add -u does updates. | Marc Espie | |
noticed by brad@ | |||
2005-09-24 | Add some code to just build the packing-list even if the package won't | Marc Espie | |
happen. Use -q and -Q for now, may change. | |||
2005-09-24 | pass actual items to prepare_long and check_name so that we can also | Marc Espie | |
verify that modes/groups/owners are correct (code to come) | |||
2005-09-24 | move uname/gname existence check into ArcCheck: Ustar archives deal with | Marc Espie | |
this differently. Namely, use specific variables that default to the numeric value if the uid/gid don't exist in mkheader. Since the entry fields are not filled, ArcCheck gets all it needs for the package check. | |||
2005-09-24 | Allows FETCH_CMD to replace ftp. | Marc Espie | |
Note that, for simplicity, FETCH_CMD must be a single command with a full path. Use a script if you must. | |||
2005-09-20 | refuse building archive if we don't have user names for the uids. | Marc Espie | |
2005-09-19 | use $handle->plist() | Marc Espie | |
2005-09-19 | simplify pkg_info a great deal, by relying on the lazy properties of | Marc Espie | |
pkghandles to avoid creating directories. Use PackageRepository::Installed to make code symetric. | |||
2005-09-19 | fix PackageRepository::Installed(). | Marc Espie | |
let grabPlist finish closing what it opened. | |||
2005-09-19 | OpenBSD::PackingList is in section 3p. | Bernd Ahlers | |
ok espie@ | |||
2005-09-19 | let pkg_info -e see @pkgpath annotations. | Marc Espie | |
Solves update issues where the pkgpath changed | |||
2005-09-19 | Let ExtraInfoOnly grab pkgpath as well. | Marc Espie | |
2005-09-19 | make package opening more efficient (and maybe more intuitive) by | Marc Espie | |
delaying reading the full info directory to a temporary directory. When we open a package, we just scan for the CONTENTS. If it's the first file, we stash it into memory and STOP there, delaying grabbing the rest of the special files to the first call to info(). Make sure the next() proxy shows only real file, by grabbing info files if necessary. Introduce handle->plist() method that can retrieve the plist from either the version stored in memory, or in a file in the temp directory. | |||
2005-09-19 | reading a packing-list from a scalar in memory does work. | Marc Espie | |
2005-09-18 | unbreak tree. please build before commiting espie | Theo de Raadt | |
2005-09-18 | document the package(5) format. | Marc Espie | |
Some tweaks by jmc@ | |||
2005-09-17 | kill trailing space; | Jason McIntyre | |
uppercase some abbreviations; | |||
2005-09-17 | allows grabbing the packing-list directly from a PackageLocation, | Marc Espie | |
in order to make further code more symetric and efficient. | |||
2005-09-17 | special-case when we only need the packing-list. | Marc Espie | |
2005-09-17 | beginning to a source path repository infrastructure, very likely to change | Marc Espie | |
a lot yet. | |||
2005-09-17 | Document the process for pkg_add -u. | Marc Espie | |
2005-09-17 | document quickie $o->contents() method | Marc Espie | |
2005-09-17 | write down explicitly that directory names in PKG_PATH should end with a /, | Marc Espie | |
since pkg_add will have trouble splitting the path correctly in the presence of weird url schemes otherwise. | |||
2005-09-17 | slightly simpler install. | Marc Espie | |
2005-09-17 | minor nit | Marc Espie | |
2005-09-17 | Document PKG_CACHE. | Marc Espie | |
Document a few more -F toggles. Explain in more details what happens during pkg_add -r. | |||
2005-09-16 | more clean-up: | Marc Espie | |
- kill multiple inheritance; - replace pipename() with open_pipe, and use explicit exec. - add intermediate PackageRepository::Distant class. - if PKG_CACHE is set, use an intermediate wedge that stores the retrieved package in that directory. - handle signals correctly in that case. | |||
2005-09-16 | oops | Marc Espie | |
2005-09-16 | move .tgz addition down to PackageRepositoryList. | Marc Espie | |
re-add list, which returns a \@, whereas available returns a @. | |||
2005-09-14 | document @pkgpath | Marc Espie | |
2005-09-14 | typo, let @pkgpath work. | Marc Espie | |
2005-09-14 | filter names out first, as it's slightly faster | Marc Espie | |
2005-09-13 | more Package/FatPackage common code: separate the proxy 'next' into two | Marc Espie | |
parts: the one that gets (and renames) files from the archive (getNext) that depends on Package/FatPackage, and the one that handles opening/ reopening/caching archives (true next); | |||
2005-09-13 | typo, fix fat packages reading. | Marc Espie | |
2005-09-13 | use wipe_info() instead of hand-killing directories. | Marc Espie | |
2005-09-13 | use grabPlist, avoid getting anything else. | Marc Espie | |
2005-09-13 | grabPlist shall behave like find. | Marc Espie | |
2005-09-13 | Repository::Installed class, to provide uniform access to installed | Marc Espie | |
packages compared to other `repositories'. | |||
2005-09-13 | yet more uniform names. | Marc Espie | |
2005-09-13 | don't actively avoid the Composite Pattern. | Marc Espie | |
PackageRepositoryList can handle very close to PackageRepository | |||
2005-09-13 | new class: PackageRepositoryList, of which pkgpath is one instance. | Marc Espie | |
new method: wipe(), that removes the info directory, redirected to the PackageRepository object which `knows' how to wipe stuff out. (this allows us to eliminate special cases for installed/not installed packages in the near future). | |||
2005-09-13 | make grabPlist slightly smarter so that we can still open the package | Marc Espie | |
afterwards. | |||
2005-09-13 | allows grabbing a packing-list directly, without needing to go through | Marc Espie | |
a temporary file, by using perl's new-fangled open my $fh, '<', \$scalar | |||
2005-09-13 | some long-delayed clean-up of this code. | Marc Espie | |
- rename PackageLocation to PackageRepository. - new class `PackageLocation' which symbolizes an actually opened package. - rename quite a few things and reorg stuff to make lots more sense. - put fat packages into a derived FatPackageLocation class. - fix a bug that made sure fat packages could not be opened on stdin. ways cleaner and easier to extend... | |||
2005-09-11 | downgrade @pkgdep from deprecated to actual error. | Marc Espie | |
2005-09-09 | zap dup. From Bernd Ahlers | Marc Espie | |
2005-09-08 | - make SYNOPSIS match usage() and tweak DESCRIPTION accordingly | Jason McIntyre | |
- tweak -o description a little ok espie@ | |||
2005-09-08 | typo, from Bernd Ahlers | Marc Espie | |
2005-09-07 | use `pkg-name' rather than `pkgname' here, for consistency with other | Jason McIntyre | |
pkg_* bits; ok espie@ | |||
2005-09-07 | copy new annotations over. | Marc Espie | |