Replies: 1 comment 1 reply
-
You can inspect the cache file in Listing dependencies can be done nevertheless, but it is more difficult for the update command to just list things, because it implies a dryrun which becomes impossible once it has to resolve and fetch a dependency to display accurate information.
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I think it would be useful if the
--list
switch was added to the subcommandupdate
and it showed the data including the commit of the git-based dependencies. If they were in the format of fpm.toml statements you could easily read them back into your package manifest file (ie.fpm.toml
); helping you make sure it is reproduced properly in the future if the dependencies change. All the info seems to already be written into the build/cache.toml file so it looks like a very simple change. And at least currently I find I often wipe out the entire build/ directory or start a copy on another machine or directory, etc. ... -- so I often have multiple cache files or none at all. The --verbose switch almost does that; but is not showing the commit values.I often start out with a dependency by just using the latest version and do not always remember to add a commit number (I do not really trust version numbers).
Beta Was this translation helpful? Give feedback.
All reactions