__package: inconsistent support for --upgrade #29
Labels
No Label
bugfix
cleanup
discussion
documentation
doing
done
feature
improvement
packaging
Stale
testing
TODO
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: ungleich-public/cdist#29
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This is more of a general issue with the
__package*
types, in reality__package
does:__package_$type "$@"
., which would imply that it is expected that all such types support the same interface (with__package_$type
supporting a superset, but never a proper subset (a.k.a. missing features from__package
)).This because:
__package
supports a--upgrade
parameter, which is not documented and also not supported by all__package*
types.Same goes for
--version
, ...From a quick look, this is already quite confusing even just considering
apt
,apk
,opkg
andpkgng_freebsd
.What could be a reasonable way forward?