History log of /openbsd/usr.sbin/pkg_add/OpenBSD/Interactive.pm (Results 1 – 23 of 23)
Revision Date Author Comments
# 039cbdaa 13-Jun-2023 espie <espie@openbsd.org>

move to use v5.36;
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

move to use v5.36;
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.

show more ...


# 39d0ad27 26-Feb-2018 espie <espie@openbsd.org>

spacing


# bfacf0cd 24-Jun-2016 espie <espie@openbsd.org>

make use of former changes. If list is higher than display go thru more.


# 5012247c 30-Jan-2015 espie <espie@openbsd.org>

Fix the default interactive level to install the "default" dependencies.
Actually testing it caused me to write correct (and simpler) code...


# df84a000 29-Dec-2014 jasper <jasper@openbsd.org>

re-add missing space in confirm prompt that got lost in -r1.18

ok espie@


# eb8b7390 29-Nov-2014 espie <espie@openbsd.org>

simplify the interactive code into its own little object with simpler
interface, so that most is it interactive tests vanish from the main
program.


# 85d1f632 24-Dec-2010 espie <espie@openbsd.org>

handle failures from ports tree with more care.
this does avoid infinite loops in case of wrong plists.
necessary since print-plist-with-depends CAN fail...


# 000ce162 27-Oct-2010 espie <espie@openbsd.org>

initial scaffolding for @rcscript: for now, acts like normal files,
but allow absolute pathnames (treat that as an implicit @cwd).


# b0dfb814 30-Jun-2010 espie <espie@openbsd.org>

allow say and errsay to work without parameters, as it's ways common.
create verbose_system up in state, because it makes sense without verbose.


# a3f853c2 30-Jun-2010 espie <espie@openbsd.org>

whitespace cleanup


# d57bb46a 10-May-2010 espie <espie@openbsd.org>

whitespace fixes


# c9e26ce6 28-Nov-2009 espie <espie@openbsd.org>

add "always" to ask_list...


# e78f16ef 17-Nov-2009 espie <espie@openbsd.org>

revamp interactive stuff: simplify (just one always for everything, per
theo suggestion. Also go through the "state" object which simplifies code
a great deal)


# 0fbefedd 10-Nov-2009 espie <espie@openbsd.org>

bad espie: use strict/warnings consistently, and fix two nits and two
actual errors !


# cc24e6f2 04-Jun-2007 espie <espie@openbsd.org>

some minor systematic changes.
- 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"

some minor systematic changes.
- 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.

show more ...


# 671495b2 15-Apr-2007 espie <espie@openbsd.org>

very minor cleanup


# 1144937f 15-Apr-2007 espie <espie@openbsd.org>

update copyright years, standardize licence.
reword the introduction to the stuff originally from FreeBSD to clarify
slightly.


# d7ff4d4d 04-Feb-2007 espie <espie@openbsd.org>

streamline messages for interactive mode, no need to repeat the same list
twice.


# b9b2024b 17-Nov-2006 espie <espie@openbsd.org>

don't return undef, use plain return.
(return undef is only false in a scalar context)
found my perlcritic, one of the few issues I agree with...


# 39100236 17-Nov-2006 bernd <bernd@openbsd.org>

Handle EOF in interactive mode. Report and initial diff from Antti Harri
via tech@. Thanks!

ok espie@


# 646f71ec 04-Mar-2006 espie <espie@openbsd.org>

reorganize code a little bit: Update.pm becomes Replace.pm (since it matches
the -r option), and the find_update code moves to Update.pm, so that it doesn't
get parsed if -u is not used.

Also make t

reorganize code a little bit: Update.pm becomes Replace.pm (since it matches
the -r option), and the find_update code moves to Update.pm, so that it doesn't
get parsed if -u is not used.

Also make the has_new_sig and uses_old_libs local methods of PackingList,
as it is their natural API.

Reorg a few more routines so that they can be found by pkg_add and by
Update.pm.

May need to split off more stuff to avoid parsing everything...

show more ...


# 6a938751 21-Feb-2006 espie <espie@openbsd.org>

add optional 3rd choice [y/N/a] for always, so that this question type
will always match.


# 9b5ce663 04-Sep-2005 espie <espie@openbsd.org>

* New -i interactive option, that can ask obnoxious questions.
* move the signature code to a packing-list method, prepend the pkgname.
* depend on distant listings, cache these systematically.
* cut

* New -i interactive option, that can ask obnoxious questions.
* move the signature code to a packing-list method, prepend the pkgname.
* depend on distant listings, cache these systematically.
* cut the PKG_PATH at :/ systematically, much simpler than parsing URLs.
People should get used to trailing /s.
* let pkg_add -u actually run the update.
* check for signature in more places, for instance, let pkg_add installed_stuff
be a void operation.
* grab enough stuff during updates to check signatures, so that pkg_add -u
can report updates that are not needed right away, instead of waiting
for the more confusing `trying to update'
* beginning of @module support.
* @pkgpath support, including updates.
* systematically expand stems when applicable.
* use visitors systematically in pkg_info.
* pkg_info -S reports signature.
* remove hardcoding of categories in PackingList, so that future modules
will be able to expand them.
* add @updateset and @incompatibility keywords.

show more ...