bulker
bulker copied to clipboard
Auto-refresh imports
One challenge I have is when I update a crate, it doesn't automatically update all the crates that import the updated crate.
For example, databio/nsheff imports databio/sciquill. If I do bulker load databio/sciquill to upgrade it, then it will not also update the versions of the images for databio/nsheff; I would have to do, also, bulker load databio/nsheff --recurse -- with the extra recurse parameter to re-load the crates under it.
This works and everything but it's inconvenient.
Some ways to solve could be:
- loading a crate automatically finds any importing crates and updates those shims?
- maybe
bulker updateshould be likebulker loadbut just for updating, and would also handle imports? - could imported shims be symlinked instead of duplicated?
- could imported shims be imported via PATH update instead of duplicated?
You can use bulker reload, but this is overkill since it does it to everything.