You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If two bundles require the same apt (or any other) package and the respective pkg_apt items are added to the bundles, bw throws a BundleError with "duplicate definition". While this is useful to make sure no two bundles define different attributes for files or directories, I don't see the point in throwing the Error when both items' definitions are exactly the same. This will probably be the case with dependencies to packages, as they are usually just installed without any other metadata.
Am I just getting the wrong idea here and there is a better approach to such situations? Or should I create a dedicated bundle with only the apt_pkg dependency that both bundles should depend on?
The text was updated successfully, but these errors were encountered:
DasLampe
pushed a commit
to DasLampe/bundlewrap
that referenced
this issue
Oct 29, 2018
If two bundles require the same apt (or any other) package and the respective
pkg_apt
items are added to the bundles, bw throws a BundleError with "duplicate definition". While this is useful to make sure no two bundles define different attributes for files or directories, I don't see the point in throwing the Error when both items' definitions are exactly the same. This will probably be the case with dependencies to packages, as they are usually just installed without any other metadata.Am I just getting the wrong idea here and there is a better approach to such situations? Or should I create a dedicated bundle with only the
apt_pkg
dependency that both bundles should depend on?The text was updated successfully, but these errors were encountered: