You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe this part is correct, because it's doing what
it was written to do: perform a build test on each package ...
The head of the branch (the git branch) for a PR is
normally the correct state to test. For a non-kernel PR,
testing the most recent commit in a PR is enough.
branch_list = new object_collection[] // key-value err... python dictionary?
commit_list = this.bot(input_data).commits
for each commit in commit_list
{
if !contains_ebuild(commit) then
continue // no ebuild, check next iteration
chk_vers = ebuild_getbranch(commit) // which branch is this?
if branch_list.has_key(chk_vers) then
branch_list(chk_vers) = commit // not testing obsolete revision anyway (overwrite)
else
branch_list(chk_vers) = commit // is this how python adds a NEW key/value pair?
}
.
Then update the iterator itself to check for branches:
Pull request should be checked/ build-tested on each branch.
This code grabs a list of packages to test:
https://github.com/gentoo/Gentoo_kernelCI/blob/376010acdd4188debb1f9338d987608a1f4e6636/files/stabilize-packages.py#L10-L13
Then later, the kernel CI bot checks to see that the
most recent commit for each package is working:
https://github.com/gentoo/Gentoo_kernelCI/blob/376010acdd4188debb1f9338d987608a1f4e6636/files/stabilize-packages.py#L29
I believe this part is correct, because it's doing what
it was written to do: perform a build test on each package ...
The head of the branch (the git branch) for a PR is
normally the correct state to test. For a non-kernel PR,
testing the most recent commit in a PR is enough.
hypothetical failure test case / example:
The current state of the kernel CI bot treats these commits
the same package, and performs one test of the package.
both of these are part of sys-kernel/foo-sources package,
but each ebuild is on a different branch, and needs tested.
I don't understand how to change this buildbot code:
https://github.com/gentoo/Gentoo_kernelCI/blob/376010acdd4188debb1f9338d987608a1f4e6636/files/stabilize-packages.py#L10-L13
.
this is not python code:
.
.
pseudocode / algorithm:
.
Then update the iterator itself to check for branches:
https://github.com/gentoo/Gentoo_kernelCI/blob/376010acdd4188debb1f9338d987608a1f4e6636/files/stabilize-packages.py#L29
should now be something like:
At this time, requiring one PR per bumped branch would be a workaround.
I don't write python.
The text was updated successfully, but these errors were encountered: