Open melezhik opened 1 year ago
Ideally I imagine people want their OS packages installed to vendor. Technically the uninstall scenario could be avoided with --uninstall-from=site
, but that does require the user to know that... maybe if zef sees a module in module repos it should abort and suggest using that flag.
Thank, I will think about it …
Hi! This is rather a discussion, not a bug.
Sorry ahead of time if this goes to a wrong place.
I have started raku-alpine-repo as an alpine repository for community Raku modules.
An interesting case here is when one installs the same Raku module both using
zef install
andapk add
method:Installation with zef, goes to
/usr/share/rakudo/site/
by default:(
We need to install zef first, it's also shipped by the way as an alpine package:
)
Installation with alpine goes to /usr/share/rakudo/vendor/:
Please, pay attention that files paths for installed files are identical besides prefixes (
usr/share/rakudo/vendor/dist
vs/usr/share/rakudo/site/dist/
)zef uninstall
removes both from vendor and sites:So the idea is I could alter alpine installation packaging logic so that packages would be installed into
/usr/share/rakudo/site
not vendor, in that case both zef and alpine based installation methods will coexists happily and don't conflict with each other.Does it make a sense? What do you think?