summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_add/OpenBSD/PackageRepositoryList.pm (follow)
Commit message (Collapse)AuthorAgeFilesLines
* allow search objects to say "keep_all" and make PackageRepositoryListsespie2020-02-191-3/+6
| | | | aware of that for match_locations
* Refactor locator code so it's a proper object.espie2017-05-291-2/+2
| | | | | | | | | allow fw_update to short-circuit entirely, thus the specific treatment of paths is actually less of a special case, and the code that reaches into /etc/installurl is no longer used at all in that case. problem noticed by mlarkin@
* gc old code, from Jean-Philippe Ouelletespie2015-07-091-12/+1
|
* zap scp urls from quirks update for fw_updateespie2015-02-031-1/+2
|
* handle failures from ports tree with more care.espie2010-12-241-1/+1
| | | | | this does avoid infinite loops in case of wrong plists. necessary since print-plist-with-depends CAN fail...
* initial scaffolding for @rcscript: for now, acts like normal files,espie2010-10-271-1/+1
| | | | but allow absolute pathnames (treat that as an implicit @cwd).
* pass (and save) state around in Repository-related stuff.espie2010-07-021-4/+4
|
* allow say and errsay to work without parameters, as it's ways common.espie2010-06-301-1/+1
| | | | create verbose_system up in state, because it makes sense without verbose.
* whitespace cleanupespie2010-06-301-1/+1
|
* fix "deduplicate" code.espie2010-06-251-4/+19
| | | | allow prepend as well as add
* whitespace fixesespie2010-05-101-1/+1
|
* move signal catching up, so we can clean repos and temp files at once.espie2010-01-091-9/+1
| | | | | Fix main program try/catch: signal message should use standard form so it gets caught.
* slightly more complex repolist, to allow for:espie2010-01-091-22/+22
| | | | | - caching locations - avoid readding known paths (done thx to unique repo objects)
* move pipe handling into RepositoryListespie2010-01-091-1/+8
|
* repositories no longer need matchespie2010-01-091-13/+1
|
* synch with my new style search/location changesespie2009-04-191-12/+23
| | | | | | 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.
* and I forgot this oneespie2007-05-191-1/+13
|
* don't pass srcpath around, since we don't use it.espie2007-05-191-3/+3
|
* kill "available" routine, which is no longer used.espie2007-05-141-21/+2
|
* move the retry code down at the http/ftp repository level, where it belongs.espie2007-05-141-31/+3
|
* tidyespie2007-05-141-2/+2
|
* remove some specialness of the Filtering stuff.espie2007-05-131-6/+3
|
* kill unused stuffespie2007-05-131-28/+4
|
* unify object lookup as locator->match($o) or $repo->match($o)espie2007-05-131-3/+3
|
* also create PartialStem objects, and create a genericespie2007-05-131-1/+7
| | | | PackageLocator->match($o), where $o can be a spec, a stem, a partialstem.
* tweak _first_of so it can take an extra $filter routine, so that weespie2007-05-131-8/+11
| | | | | get the first set of results that are non empty after filtering properly.
* provide match_spec, findstem, find_partialstem at the repository list level,espie2007-05-131-1/+31
| | | | | with ld -L like semantics: we stop at the first repository which has the corresponding packages..
* $o->method() becomes $o->methodespie2007-05-021-2/+2
|
* update copyright years, standardize licence.espie2007-04-151-2/+2
| | | | | reword the introduction to the stuff originally from FreeBSD to clarify slightly.
* don't return undef, use plain return.espie2006-11-171-3/+3
| | | | | (return undef is only false in a scalar context) found my perlcritic, one of the few issues I agree with...
* propagate stuff to be able to explicitly clean-up repositories.espie2006-03-081-1/+9
| | | | | (we can't use a normal destructor, since this will be called for each fork()ed subprocess).
* cut down the Locator code into maintainable chunks.espie2006-03-041-0/+104