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

Re-organizing templates #1793

Merged
merged 21 commits into from
Feb 20, 2025
Merged

Re-organizing templates #1793

merged 21 commits into from
Feb 20, 2025

Conversation

Erwinvandervalk
Copy link
Contributor

What issue does this PR address?
Reorganizes how we handle templates.

  1. Split up templates to separate templates for BFF and Identity Server
  2. Modernized build / release infrastructure to use dotnet commands (dotnet pack, sign, etc)

Breaking changes

This PR deprecates the Duende.IdentityServer.Templates in favor of Duende.Templates.IdentityServer and Duende.Templates.BFF.

Important: Any code or remarks in your Pull Request are under the following terms:

If You provide us with any comments, bug reports, feedback, enhancements, or modifications proposed or suggested by You for the Software, such Feedback is provided on a non-confidential basis (notwithstanding any notice to the contrary You may include in any accompanying communication), and Licensor shall have the right to use such Feedback at its discretion, including, but not limited to the incorporation of such suggested changes into the Software. You hereby grant Licensor a perpetual, irrevocable, transferable, sublicensable, nonexclusive license under all rights necessary to incorporate and use your Feedback for any purpose, including to make and sell any products and services.

(see our license, section 7)

@Erwinvandervalk Erwinvandervalk added impact/breaking The fix or change will be a breaking one area/all Related to all components labels Feb 12, 2025
@Erwinvandervalk Erwinvandervalk self-assigned this Feb 12, 2025
@Erwinvandervalk Erwinvandervalk force-pushed the ev/templates/revamp branch 2 times, most recently from bb83972 to 071edfa Compare February 13, 2025 08:11
@Erwinvandervalk Erwinvandervalk marked this pull request as ready for review February 13, 2025 08:21
Copy link
Member

@damianh damianh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good modern and arrangement wise. Few things

  • The template readmes need updating. The IS one shouldn't mention BFF and vice versa. Title, and instructuctions with the new package names.
  • the build.ps1, nuget.config and global.json could probably be removed?

@Erwinvandervalk Erwinvandervalk force-pushed the ev/templates/revamp branch 4 times, most recently from 3e66ceb to 2f13a57 Compare February 13, 2025 14:03
Copy link
Member

@josephdecock josephdecock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall, looks awesome. My minor preference would be to not have a templates directory inside the templates directory. Can we move the files up a level and still have things neat and tidy?

@josephdecock
Copy link
Member

We should also look into creating a meta package that depends on all the product specific template packages. We could have that be the next version of the existing package. The goal is to

  • have one package to install to get all of our stuff
  • have existing users get our updates by just doing "dotnet new update"
  • not have the old and new templates installed side by side

@Erwinvandervalk Erwinvandervalk force-pushed the ev/templates/revamp branch 2 times, most recently from 13af0f2 to 766533e Compare February 20, 2025 11:00
@Erwinvandervalk
Copy link
Contributor Author

The codeql build failures are not caused by this PR, so i'm merging it despite these being 'red'. This PR is getting too big to keep rebasing.

@Erwinvandervalk Erwinvandervalk merged commit edc52a1 into main Feb 20, 2025
6 of 8 checks passed
@Erwinvandervalk Erwinvandervalk deleted the ev/templates/revamp branch February 20, 2025 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/all Related to all components impact/breaking The fix or change will be a breaking one
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants