Closed Bug 1479679 Opened 7 years ago Closed 7 years ago

touch a user's hgAccessDate when they land via autoland-transplant

Categories

(Developer Services :: Mercurial: hg.mozilla.org, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: glob, Assigned: glob)

Details

(Keywords: conduit-story, conduit-triaged)

Attachments

(1 file)

i swear there was a bug on file for this already, but i can't find it. currently pash updates a user's hgAccessDate ldap attribute when the ssh to hg.mozilla.org. this doesn't happen for commits that are landed via autoland-transplant (ie. mozreview or lando). for autoland-transplant driven requests, both the autoland bind user and the request originator's hgAccessDate attribute should be touched.
when the autoland user logs in, touch hgAccessDate for user specified in AUTOLAND_REQUEST_USER to ensure they don't lose their hg access due to inactivity. also removes dead code, and fixes pep8 issues.
Comment on attachment 8996312 [details] pash: touch a user's hgAccessDate when they land via autoland-transplant (Bug 1479679) r=gps Gregory Szorc [:gps] has approved the revision. https://phabricator.services.mozilla.com/D2567
Attachment #8996312 - Flags: review+
Pushed by gszorc@mozilla.com: https://hg.mozilla.org/hgcustom/version-control-tools/rev/ab51d337c952 pash: touch a user's hgAccessDate when they land via autoland-transplant r=gps
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: