Repository navigation
Conversation
A home branch holds a full copy of the package beside a _link with a <branch/> patch and the baserev it was made at. The gate expanded every link as the target's files with the link's own laid over by name, so a file the branch replaced or removed stayed in the listing: after an update that renamed the tarball, --obs-build answered "OBS holds other files" for the target's old one, on a tree OBS held exactly. Such a link is now merged as OBS merges it: a file the branch changed, added or removed against the target at baserev is the branch's, any other the target's as it is now, or at the link's rev. A base listing that cannot be read gives no listing, so the verdict is UNKNOWN. A link without a <branch/> patch or a baserev keeps the overlay.
…mp check For a submit the guard compares the source's expanded files with the gate's stamps. Its expanded listing of a link was the link target's files, whole, in place of the source's own. A home branch holds a full copy beside a _link with a <branch/> patch, so a request from one was compared on the target's files: a GREEN, reviewed and built tree was answered "no GREEN gate.sh run with a recorded review PASS has these files" as soon as the branch differed from its target. A link with a <branch/> patch and a baserev is now merged as OBS merges it: a file the branch changed, added or removed against the target at baserev is the branch's, any other the target's. A _link, base or target listing that cannot be read fails the lookup, which asks. Any other link is read as before.
A devel package that is a branch of Factory's holds a full copy beside a _link with a <branch/> patch. Its files were read as Factory's with its own laid over by name, so a file it replaced or removed stayed in them, and a forward that carried exactly the devel package's files read as stale. Such a link is now merged as OBS merges it, against the target at its baserev. A base listing that cannot be read is UNKNOWN, never an absent package.
…its baserev A target that is a branch link was read as its own target's files with the branch's laid over by name, so a patch the branch had removed still counted as the target's, and a change that never touched it was told to mention its removal. Such a link is now merged as OBS merges it, against the target at its baserev. A base listing that cannot be read fails the run.
The hand-back is allowed when the request's .changes adds the bug. A request from a branch link was read as the branch's files over its target's by name, so a .changes the branch had removed was still read from the target, and a fix the request does not carry could prove the hand-back. A link with a <branch/> patch and a baserev is now merged as OBS merges it, against the target at baserev. A base listing that cannot be read is an ask.
…its baserev A contributor's request mostly comes from a home branch: a full copy of the package beside a _link with a <branch/> patch. Its files were read as the target's with its own laid over by name, so a file the branch replaced or removed stayed in the source: an update that renamed the tarball showed the new one as added and never the old one as removed, and the key was taken over files the request does not carry. Such a link is now merged as OBS merges it, against the target at its baserev. A base listing that cannot be read is a failed lookup, exit 5.
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.
A home branch that replaces or removes a file (the old tarball) was expanded wrongly: the gate overlaid the branch on the target by file name, and the guard took the target's files alone, so
--obs-buildreported "OBS holds other files" and filing was refused on a stamped tree. The gate, the guard, forward-check, changes-patches, bug-guard and the incoming review now merge a<branch/>link three ways against itsbaserev, as OBS does; an unreadable base stays a refusal.