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

Move to 5.0.0-*, put all dependency packages in NuGet.Server.Common.sln #10130

Merged
merged 4 commits into from
Aug 15, 2024

Conversation

joelverhagen
Copy link
Member

Currently we have a mix of package versions and assemblies for our OSS. Also, we have a mix of release builds the produce dependency packages. This PR simplifies the situation and moves our versions forward so it's clear at a glance you're looking at "a repo merged" state.

Summary of changes:

  • Add all shared projects (projects that produce dependency packages) into NuGet.Server.Common.sln
  • Update all assembly versions to be 5.0.0 (compiles to 5.0.0.0)
  • Update all package versions to be 5.0.0-* to match.
  • Add some validations to build.ps1 so we don't shoot ourselves in the foot
    • Assembly info is not set more than once per project
    • Produce all dependency .nupkgs in the common build
  • Move some logic into build.shared.ps1 which we will reduce duplication with our internal build (build_Ev2.ps1)
  • Remove AccountDeleter job nuspec pack since this must be produced in our internal web app release, which has shims
  • Delete unused .nuspec and .ps1

joelverhagen and others added 4 commits August 14, 2024 09:44
Run simple validations on the .csproj:
- Test projects should only be in one solution (all solutions are tests in CI, reduce duplication)
- Determine whether a dependency package project common vs. gallery vs. jobs dynamically
- Verify AssemblyInfo.g.cs is only written once per project
@joelverhagen joelverhagen requested a review from a team as a code owner August 14, 2024 22:24
@joelverhagen joelverhagen merged commit 923741d into dev Aug 15, 2024
3 checks passed
@joelverhagen joelverhagen deleted the jver-package-versions branch August 15, 2024 03:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants