Closed Bug 657832 Opened 13 years ago Closed 12 years ago

Create an HgPusher tool for automatically applying patch(es) to tip of $branch and pushing

Categories

(Release Engineering :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: lsblakk, Assigned: mjessome)

References

Details

This is part of a larger system for assisted/auto-landing on a branch.

Someone should be able to use the [autoland-try] whiteboard tag so that any attached patches which are not obsolete, and have nothing set for 'r' are applied to the current tip of mozilla-central, pushed to try and those results are returned to a comment in the bug, then whiteboard tag is removed

Alternately, this same tool should crawl Bugzilla for bugs where [autoland-$branchname] is in the whiteboard and grab all non-obsolete, r+ patches (check that $branchname != 'try'), push to tip of named branch, get the results, and return them to a comment in the bug (stripping out the whiteboard tag on completion)


Pushes done through this method should have autoland-$bugnumber as the reason for the build in schedulerdb so that the results can be watched for, aggregated, and reposted to the bug on completion.
This feature also needs to make sure that LDAP hg commit levels are matched to the repo being pushed to by patch author, or if required - the reviewer (so that someone can review a community patch and have it autolanded to try)
Summary: Allow for automatically pushing to $branch when [autoland-$branch] is in whiteboard tags → Create an HgPoller tool for automatically pushing to $branch (triggered by items in AutolandQueueDB)
Updating the summary to reflect the newer design decisions we've made in https://wiki.mozilla.org/BugzillaAutoLanding#API

This bug will track the creation of the HgPoller component, which pulls from that autoland queue db and takes care of:

cloning tip of the branch requested
applying the patches (using patchset->patches in autoland db)
reporting back (via BugCommenter tool) the pushID and the pushResults
Summary: Create an HgPoller tool for automatically pushing to $branch (triggered by items in AutolandQueueDB) → Create an HgPusher tool for automatically pushing to $branch (triggered by items in AutolandQueueDB)
> This bug will track the creation of the HgPoller component

That would be HgPusher, not Poller.
Summary: Create an HgPusher tool for automatically pushing to $branch (triggered by items in AutolandQueueDB) → Create an HgPusher tool for automatically applying patch(es) to tip of $branch and pushing
This tool is nearing completion, next thing that needs to be looked at is the LDAP information outlined in Bug 661629.
Depends on: 661629
This tool has landed in hg.mozilla.org/build/autoland, resolving.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.