fusesoc icon indicating copy to clipboard operation
fusesoc copied to clipboard

Add support for specifying library version

Open GCHQDeveloper028 opened this issue 5 years ago • 4 comments

This commit adds a new option sync-version to the config file and the library subcommand for the cli tool. This option is passed through to the provider used for a library to specify a version of the library to use. This change also updates the git provider to use the sync-version to checkout a commitish on a git-provided library. This libraries to be fixed at certian points, or follow specific branches (such as nightly or stable)

GCHQDeveloper028 avatar Jun 29 '20 17:06 GCHQDeveloper028

Hi, Thank you for the contribution. It took far too long for me to get to this. I think it's good to have this functionality. At the same time I have been debating (with myself, so only half a brain) if it's worth the added complexity or if it can be easily solved outside of FuseSoC. But I think it's worth it after all. On top of the use cases you presented I'm thinking of cases where I have added some experimental feature to a branch and just want to pass someone a one-liner so they can test out the library for themselves.

Since some time has passed since you originally wrote this, it seems there are now some merge conflicts. We are also closing in on a new release and I would prefer to get that done before merging this. So once the 1.12 release is out, would you mind rebasing this to master and I'll push it right away. If you're unable to, I'll do it myself eventually

olofk avatar Jan 18 '21 12:01 olofk

Hello! No worries, once 1.12 is out I'll get on fixing the conflicts :)

GCHQDeveloper028 avatar Jan 22 '21 07:01 GCHQDeveloper028

@olofk - I've fixed the conflict and I believe this should be good to merge, let me know if there are any other changes needed :)

GCHQDeveloper028 avatar Mar 05 '21 09:03 GCHQDeveloper028

@olofk / @imphil - is this mergable? Happy to pickup any further changes as needed :)

GCHQDeveloper028 avatar Nov 11 '21 14:11 GCHQDeveloper028

This wasn't intended to be closed. It happened when I renamed the default branch. Please reopen if it's still relevant

olofk avatar Oct 31 '22 22:10 olofk

For posterity, I can mention that I managed to salvage these patches and they are now committed

olofk avatar Feb 23 '23 14:02 olofk