Repository navigation
Compare projects: promote from another project into a new branch (R2) - #170
Merged
Merged
Conversation
…anch (R2) A project per environment: this project and another, both from their base branch as the repository has it, compared through the core's ProjectCompare; each difference by driver and bucket, each file side by side with line-level merge; the ticked files and values promoted into promote/<source>-<time>, validated, committed with the record and the Promoted-from trailer, pushed, and opened. docs/compare-projects.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Phase R2 of project-per-environment.md. User reference:
docs/compare-projects.md.Needs DirXMLDev 0.54.0 (PointBlueTechnology/DirXMLDev#96:
Promote.preview). The pom pins it, so CI fails until that release is out.What's in it
data.dir/promotion/<project>/is fetched for each request, so what's reviewed is what's applied, whatever the person's own copies hold.POST /api/promote/apply, editors):promote/<source>-<yyyyMMdd-HHmmss>from the base, applies, and commits as the person: files, values, then thePromoted-from: <source>@<commit>trailer, with the record in the same commit. It pushes and moves the session to the branch. The page lands on Changes, vs main, where the bar offers the pull request or Merge into main….promote, with the source, its commit, the objects, values and branch.GET /api/promote/projects,GET /api/promote/compare?from=,POST /api/promote/apply(fields in the doc).Git.mustis package-visible.promoteroute is handled inroute.ts.Not in R2 (R3)
Pair with… on the page (
bin/idm promote.pairfor now), accepting known differences on the page, cases moving with their driver, and MCPcompare_projects/promote_changes.Testing
PromotionServiceTest: two bare repositories as QA and production on one server.promote/acme-qa-…, holding QA's policy, production's value and the record. The commit is Alice's, with the trailer naming QA's head. Production's main is untouched.mvn -o clean packagepasses (112 tests, 1 skipped); vitest passes (54, including thepromoteroute);bin/smoke.shandbin/smoke-hosted.shpass. All of these ran against a local 0.54.0-SNAPSHOT of Vault view: engine strip and per-driver manage panel (#68, #69) #96.promote/acme-qa-…. Its vs main showed the policy andpromotions/acme-qa.json.🤖 Generated with Claude Code