Ticket #803 (closed enhancement: fixed)

Opened 3 years ago

Last modified 3 years ago

Disable patch output in twistd.log

Reported by: maruel Owned by:
Priority: minor Milestone: 0.8.2
Version: master Keywords: web
Cc:

Description

This ticket is about changing the functionality of buildbot.process.buildstep.LoggingBuildStep?.startCommand() to not log the actual patch even if present. It will simply logs its length instead. Only relevant to buildbot try/try server.

I'm not a fan of making it optional, it just adds yet another untested code path.

See  http://codereview.chromium.org/1759006 as an implementation.

Another possible implementation would be to change the patch argument to be an object, make it act like a tuple and change its repr. I think it's overkill.

Change History

comment:1 Changed 3 years ago by dustin

  • Milestone changed from undecided to 0.8.1

Clarification from IRC conversation: This means not logging the patch in the stdio logfile - the patch is still available via the web interface.

comment:2 Changed 3 years ago by dustin

  • Keywords web added

comment:3 Changed 3 years ago by Dustin J. Mitchell

  • Status changed from new to closed
  • Resolution set to fixed

Reduce verbosity in twistd.log on the try server.

Remove the patch from the 'patch' argument when logging.

from  http://src.chromium.org/viewvc/chrome?view=rev&revision=45608 fixes #803

Changeset: 470da7404d2ce994e535f587e08a336e4633d016

comment:4 Changed 3 years ago by Dustin J. Mitchell

Revert "Reduce verbosity in twistd.log on the try server."

This reverts commit 470da7404d2ce994e535f587e08a336e4633d016. refs #803

Changeset: 72f24712992376b82068942831fa9e5e4e8bc8d5

comment:5 Changed 3 years ago by dustin

  • Status changed from closed to reopened
  • Resolution fixed deleted

Reverted.

We should still do this, but as written the patch caused problems when checking out source without a patch. Also, I'm not sure why it's in the LoggingBuildStep class and not in the Source class.

comment:6 Changed 3 years ago by Dustin J. Mitchell

  • Status changed from reopened to closed
  • Resolution set to fixed

Reduce verbosity in twistd.log on the try server.

Remove the patch from the 'patch' argument when logging.

from  http://src.chromium.org/viewvc/chrome?view=rev&revision=45608 fixes #803

Changeset: 470da7404d2ce994e535f587e08a336e4633d016

Note: See TracTickets for help on using tickets.