-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 away from shared project #8376
Conversation
This looks great ❤️ Thanks a lot for creating this PR. I will need some time to review in detail, but already have one comment regarding the locked restore: Would keeping the package lock have any other noticable drawback? I usually like that approach as it e.g. allows for easy package caching in CI (based on a hash of all elasticsearch-net/.github/workflows/release.yml Lines 63 to 67 in 5cde969
To mitigate some of the "developer experience issues" like having to use <RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
<RestoreLockedMode Condition="'$(ContinuousIntegrationBuild)' == 'true'" /> The CI passes that argument whenever the project must be built or packaged:
What do you think? |
We simply cache by |
No super strong opinion here, but given that the Hashing just
|
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-serverless serverless
# Navigate to the new working tree
cd .worktrees/backport-serverless
# Create a new branch
git switch --create backport-8376-to-serverless
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick --mainline 1 8a074efe45e91cf6db83cbc1780b70081b3e5494
# Push it to GitHub
git push --set-upstream origin backport-8376-to-serverless
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-serverless Then, create a pull request where the |
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-8.x 8.x
# Navigate to the new working tree
cd .worktrees/backport-8.x
# Create a new branch
git switch --create backport-8376-to-8.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick --mainline 1 8a074efe45e91cf6db83cbc1780b70081b3e5494
# Push it to GitHub
git push --set-upstream origin backport-8376-to-8.x
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-8.x Then, create a pull request where the |
This is an alternative approach to share code between the two clients. This is a tad more inline with the
dotnet
CLI as we no longer depend on legacy projects.The impetus for this change was to improve cold compilation times.
My local jetBrains Rider kept locking up trying to do the initial compile.
<ArtifactsPath>
(set to$root\.artifacts
like other .NET projects)<OutputPath>
for certain projects (this was tripping up deps.json resolving HARD).