Closed Bug 1359184 Opened 4 years ago Closed 4 years ago

Use automation user instead of nobody for movecomponent.pl

Categories

(bugzilla.mozilla.org :: General, enhancement)

Production
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: dylan, Assigned: dylan)

References

Details

Attachments

(1 file)

Attached patch auto-user.patchSplinter Review
Small tweak I realized needed to be made for bug 1359112.
I'd ask glob, but it's a holiday (ANZAC day).
Attachment #8861143 - Flags: review?(dkl)
Comment on attachment 8861143 [details] [diff] [review]
auto-user.patch

Review of attachment 8861143 [details] [diff] [review]:
-----------------------------------------------------------------

r=dkl

::: scripts/movecomponent.pl
@@ +122,5 @@
>            WHERE component_id = ?", undef, $component->id);
>  
>  # Update bugs_activity
> +my $auto_user = Bugzilla::User->check({ name => 'automation@bmo.tld' });
> +my $userid = $auto_user->id;

Also (in case extensions make any changes):

Bugzilla->set_user($auto_user);
Attachment #8861143 - Flags: review?(dkl) → review+
To git@github.com:mozilla-bteam/bmo.git
   0d714dc..b704104  master -> master
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.