Skip to content
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

Remove/update version-specific code paths #455

Open
sophiewigmore opened this issue Oct 1, 2021 · 4 comments
Open

Remove/update version-specific code paths #455

sophiewigmore opened this issue Oct 1, 2021 · 4 comments

Comments

@sophiewigmore
Copy link
Member

sophiewigmore commented Oct 1, 2021

Background

In the process of removing .NET Core 2.1 from the buildpack, we stumbled across multiple explicit code paths that were in place for .NET Core 1.X and 2.1. We removed some of these (change 1 and change 2).

Issue

Since this wasn't our prime objective while removing 2.1, we only removed explicit version calls. We discovered less obvious code paths such as the one files in #447 that use out of date .NET Core features.

In this issue, we should do a buildpack-wide search of the different criteria we use for detection, supply, finalizing, etc and:

Depending on the difficulty of the change, you may either fix it as a part of this issue, or file a separate issue to tackle it and link to that issue in the comment section of this issue.

It may be useful to reference the official .NET Core version migration guides for this:
https://docs.microsoft.com/en-us/aspnet/core/migration/22-to-30?view=aspnetcore-5.0&tabs=visual-studio
https://docs.microsoft.com/en-us/aspnet/core/migration/30-to-31?view=aspnetcore-5.0
https://docs.microsoft.com/en-us/aspnet/core/migration/31-to-50?view=aspnetcore-5.0

Issue blocked on #446

The completion of this issue will unblock this issue. It's completion will lead to 5.0-specific code paths being added which takes care of a part of the "update" step in this issue.

Acceptance

Acceptance for this issue is tricky since there isn't a nice definitive list of features to check for. For each identified piece of logic for removal or addition, it should be fixed as a part of this issue or a new issue should be filed.

@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/179784293

The labels on this github issue will be updated when the story is started.

@sophiewigmore sophiewigmore changed the title Update version-specific code paths Remove/update version-specific code paths Oct 1, 2021
@sophiewigmore sophiewigmore added the status/blocked This issue has been triaged and resolving it is blocked on some other issue label Oct 1, 2021
@sophiewigmore sophiewigmore removed the status/blocked This issue has been triaged and resolving it is blocked on some other issue label Oct 20, 2021
@johnnyr0x
Copy link

Is this still applicable? @sophiewigmore

@johnnyr0x
Copy link

  • Is it still applicable?
  • If so
    • How important is it to do? What is the impact of not doing this?
    • How much engineering effort?

@johnnyr0x
Copy link

Per our discussion this 3rd bullet as well:

  • What context would you share with someone who hasn't seen the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Not scoped
Development

No branches or pull requests

3 participants