You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would rather the feature be off by default and be an opt-in with something like paket update --redirects. With future .NET Core 5, binding redirects will not be needed.
I have no clue regarding .NET core :-) But yes some way to turn off binding redirects - with the default being "off", whilst I actually think that's not necessarily a bad idea given how nascent the work on the redirects was, this does mean: -
We're differing from what NuGet does in terms of behaviour (not necessarily a problem).
This can (and probably will) lead to runtime errors, some of which might not happen until that specific DLL is referenced by the calling application. This can be painful.
OK I think we will use the --redirects option for now. This will give us the chance to make things more stable and maybe later we change that again. OK?
From: Steffen Forkmann [mailto:[email protected]]
Sent: 07 December 2014 17:29
To: fsprojects/Paket
Cc: Isaac Abraham
Subject: Re: [Paket] opt out of BindingRedirects (#415)
OK I think we will use the --redirects option for now. This will give us the chance to make things more stable and maybe later we change that again. OK?
I know it's pretty late, but is it really clever to provide this as command line option?
For people wanting the binding redirects it would be tedious and error-prone to use.
Do we want to control the behavior on package and project basis or as an option for all projects and references?
For the first option, we should put the flag into the references file on the package level.
In other case into dependencies file. As @forki already said, config file can be extracted later.
@mexx How about both? Pull from environment (or however global settings would be implemented) for all projects and then override with project specific settings.
Activity
forki commentedon Dec 3, 2014
I agree. How do you want this to look like?
On Dec 3, 2014 9:25 PM, "Cameron Taggart" [email protected] wrote:
agross commentedon Dec 3, 2014
Probably like our
content noneoption:binding_redirects off.ctaggart commentedon Dec 3, 2014
I would rather the feature be off by default and be an opt-in with something like
paket update --redirects. With future .NET Core 5, binding redirects will not be needed.forki commentedon Dec 4, 2014
@isaacabraham what do you think about this?
isaacabraham commentedon Dec 4, 2014
I have no clue regarding .NET core :-) But yes some way to turn off binding redirects - with the default being "off", whilst I actually think that's not necessarily a bad idea given how nascent the work on the redirects was, this does mean: -
forki commentedon Dec 4, 2014
so we add an
--redirectsoption toinstallandupdatecommands?isaacabraham commentedon Dec 4, 2014
Or
--noredirects:-)ctaggart commentedon Dec 4, 2014
Yes, my preference is for
--redirectsadded to theinstallandupdatecommands.forki commentedon Dec 7, 2014
OK I think we will use the
--redirectsoption for now. This will give us the chance to make things more stable and maybe later we change that again. OK?isaacabraham commentedon Dec 7, 2014
Sounds good to me.
From: Steffen Forkmann [mailto:[email protected]]
Sent: 07 December 2014 17:29
To: fsprojects/Paket
Cc: Isaac Abraham
Subject: Re: [Paket] opt out of BindingRedirects (#415)
OK I think we will use the --redirects option for now. This will give us the chance to make things more stable and maybe later we change that again. OK?
—
Reply to this email directly or view it on GitHub #415 (comment) . https://github.com/notifications/beacon/ABswNVFGZtQWcCmLF24X2NxmLSAiQENBks5nVIXAgaJpZM4DD63M.gif
Allow to opt in to BindingRedirects - references #415
mexx commentedon Dec 7, 2014
I know it's pretty late, but is it really clever to provide this as command line option?
For people wanting the binding redirects it would be tedious and error-prone to use.
forki commentedon Dec 7, 2014
we could also add the option in the dependencies file (as a second option)
isaacabraham commentedon Dec 7, 2014
Hmmm dependencies file isn't about options / configuration really..
agross commentedon Dec 7, 2014
How would you make this a remembered option without a file?
Bundler uses a temporary file at .bundle/config to, for example, store custom gem download directories.
However we decide,
content noneshould be stored in the same place.Alex
Alexander Groß
Tiny phone, tiny mail
On Sun, Dec 7, 2014 at 10:48 PM, Isaac Abraham [email protected]
wrote:
forki commentedon Dec 8, 2014
I think storing it in the dependencies file would be ok. (We can still create a config file later)
mexx commentedon Dec 8, 2014
Do we want to control the behavior on package and project basis or as an option for all projects and references?
For the first option, we should put the flag into the references file on the package level.
In other case into dependencies file. As @forki already said, config file can be extracted later.
TWith2Sugars commentedon Dec 8, 2014
@mexx How about both? Pull from environment (or however global settings would be implemented) for all projects and then override with project specific settings.
forki commentedon Dec 9, 2014
As a first step I put the the option as
--redirectsas command line param and asredirects onin paket.dependencies.Please review #436