-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include paket.lock file? #66
Comments
Uhh, we don’t do that? Yeah, we definitely should, IMO |
It's tricky given the options of template. What could be done is restrict the dependency versions - more stable releases, but still compromising first build speed. |
Hmmmm. This is going to get worse as well now that we're adding Azure dependencies in (AppInsights soon, and then Storage as well). The install process doesn't actually take that long, especially since I suppose that the only alternative would be to not have any conditionals at all and just have a single lock file for everything - not a great solution though. |
Yep I think the advantage of fast first build doesn't outgrow the cost of having unused dependencies in the project. Closing for now |
reopening - it's getting more and more irritating, specially since stuff like AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet#965 happens and one cannot have deterministic build when creating from given version of template... |
I just came to create a new project from the template and got caught out by the above-linked error. Is there a quick workaround while the issue is being resolved? Cheers. |
You can pin System.IdentityModel.Tokens.Jwt to a previous version, IIRC 5.2.2 |
@theimowski how about a compromise here - let's either:
I demoed creating a SAFE app from scratch the other night and had to pre-generate the lock file because it simply took too long otherwise. |
Yes lock file for default seems a good solution
Isaac Abraham <notifications@github.com> schrieb am So., 24. Juni 2018,
17:36:
… @theimowski <https://github.com/theimowski> how about a compromise here -
let's either create a paket lock for when the default options only are
selected. Otherwise, it doesn't create one. OR - we create a massive lock
file that contains everything for all packages (this potentially introduces
other problems though).
I demoed creating a SAFE app from scratch the other night and had to
pre-generate the lock file because it simply took too long otherwise.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#66 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADgND9-nbbJnA1bNfh22P-7sUSzFSxyks5t_7HkgaJpZM4TmVDU>
.
|
OK - let's look to do that after #101 goes in. |
I've just tested out with a clean safe template and included a ready-made paket.lock, it definitely helps a lot. The biggest slow downs that I saw now are (I think) compilation of the javascript side and also this "linking" process of the yarn dependencies. Is there any way that we can "precompute" that as well? |
Yes if we add a paket.lock then we should add yarn's lock file as well.
Isaac Abraham <notifications@github.com> schrieb am So., 24. Juni 2018,
23:33:
… I've just tested out with a clean safe template and included a ready-made
paket.lock, it definitely helps a lot. The biggest slow downs that I saw
now are (I think) compilation of the javascript side and also this
"linking" process of the yarn dependencies. Is there any way that we can
"precompute" that as well?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#66 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADgNPWwO6-VCdjriQv0N33zxY7ruSyVks5uAAW3gaJpZM4TmVDU>
.
|
The lock file is already there. |
@forki this is what I'm referring to yarnpkg/yarn#1496 |
I don't think I have this issue.
Isaac Abraham <notifications@github.com> schrieb am Mo., 25. Juni 2018,
23:16:
… @forki <https://github.com/forki> this is what I'm referring to
yarnpkg/yarn#1496 <yarnpkg/yarn#1496>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#66 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADgNFxdltdKPpGvXIJiNHfE6RUwlouIks5uAVMlgaJpZM4TmVDU>
.
|
#109 solves the issue partially, I'll keep it open until we have a consistent solution for all possible options |
Please review #139 |
Should be resolved by #139 now |
Given that we're now including a
yarn.lock
file, shouldn't we do the same withpaket.lock
? Not only will this increase the speed for the first build (important IMHO), but will also allow us to ensure stable releases.The text was updated successfully, but these errors were encountered: