Repository navigation
Merged
Conversation
geectl commit and geectl changelog validate refuse a .changes that ends in blank lines, and many packages carry them from old entries. The insertion-only rule refused the only repair, removing them, so such a package could be neither committed as it was nor repaired. Empty lines removed at the very end of the committed file now pass and are reported; a whitespace-only line, a blank line anywhere else and the last line's own newline are still content. --amend-top and --squash-mine see the same trimmed baseline and loosen nothing else. After the trim, validate against the target reports the last entry as differing from the target's. gate.sh does not judge that finding once it has compared the target's copy, read and md5-checked for the base, and found those blank lines the only difference below the new entries. A base left half-built by a failed read is removed, so it excuses nothing.
…its meta --remote read the scratch package's meta with geectl remote package-meta and wrote one with set-package-meta. That write changes an existing package only, so a package not yet there was never created. The read made it worse: its route keeps answering 404 for minutes once it has for a package, also after the package exists. Whether the package exists now comes from geectl remote list-packages. An absent one is created with create-package and its scmsync URL, and the build flag is then written as before. An existing one's meta is taken from what a set-package-meta of its title prints, so package-meta is never asked. A write that exits 0 is no proof: the run is refused unless the meta the write prints names the package, the scmsync asked for and the flag.
A red build is PRE-EXISTING when the link origin, or else the stamp's target, has it too. A home branch whose _link was removed has no origin, and when its stamp names no other package there was nothing to compare with: a red the devel project has identically stayed RED, and --target was refused on an --obs-build call. --obs-build now accepts --target PRJ[/PKG] and compares with it when neither a link nor a stamp target gives a reference. It must be another project than the checkout's; the matching rules are unchanged and a failed read still excuses nothing. With a link or a stamp target the option is named as not consulted.
geectl remote update-package-meta-from-spec reads the spec OBS holds, not the working copy. Run before the commit, as the commit steps had it, it synced the meta from the old spec. The call now follows the commit, and is limited to an update that changed URL, Summary or %description in a package whose meta is the user's to write.
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.
geectl commitrefuses a.changesthat ends in blank lines and the validator refuses the trim, so changes-guard now allows trimming them and the gate accepts that trim when it is the only difference from the target (geckonia/geectl#813).target-gate.sh --remotecreates its scratch package from the package listing instead of a meta read that keeps answering 404 (geckonia/geectl#812). Also lets--obs-buildtake--targetas the reference for a branch without a link, and moves the meta sync after the commit. The two workarounds go away with the geectl release that fixes them.