Currently I see the developers of charm fetch the required libraries from charmhub and make the source code of libraries as part of charm repo.
Is it possible to specify the libraries as part of charmcraft yaml so that charmcraft pack command can fetch the libraries as part of build/pack process?
The reasons for asking this question:
- a change in library requires to submit patches for all the charms that use the library.
- Looking at source code, there is no way to distinguish the libraries that are fetched and that are published by charm (need to check via charmhub).
- tox in charm should instruct pep8/flake to discard fetched libs since the original libraries might have verified with different pep8/flake rules. (this is not a big deal though, just mentioning)