Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upYubiKit Bootstrap has no versioning scheme #1981
Closed
Comments
|
I added |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description:
When checking out older versions of the code, YubiKit is ALWAYS using the latest bleeding edge master release as dictated by the code in
bootstrap.sh(clones the latest repo, builds it manually, manually copies it to the Carthage directories):This means that there is no Carthage cache for YubiKit since it's built manually and the folder is deleted every single time we run
bootstrap.shso it will reclone again.Currently, if we attempt to compile an older version such as
1.12.1(current version is 1.13.x), we'd get errors saying:Value of type 'YubiKitManagerProtocol' has no member 'keySession'Due to YubiKit removing that in the latest version. Every third-party library we use has versioning and it's kept in the Carthage.resolve as a hash/commit-sha.. EXCEPT YubiKit.
To compile older versions, we must then go to YubiKit's repository and find which version is compatible with the older source code.
Steps to Reproduce
Actual result:
Value of type 'YubiKitManagerProtocol' has no member 'keySession'Expected result:
Compile successfully.
Reproduces how often: [Easily reproduced, Intermittent Issue]
Easily Reproduced
Brave Version:
Device details:
Website problems only:
Additional Information