Homec4science

Provide a new "hint" table for weird commits (rewritten, unreadable)

Authored by epriestley <git@epriestley.com> on Aug 24 2016, 13:58.

Description

Provide a new "hint" table for weird commits (rewritten, unreadable)

Summary:
Ref T11522. This provides storage for tracking rewritten commits (new feature) and unreadable commits (existing feature, but really hacky).

This doesn't do anything yet, just adds a table and a CLI tool for updating it. I'll document the tool once it works. You just pipe in some JSON, but I need to document the format.

Test Plan:

  • Piped JSON for "none", "rewritten" and "unreadable" hints into bin/repository hint.
  • Examined the database to see that the table was written properly.
  • Tried to pipe bad JSON in, invalid hint types, etc. Got reasonable human-readable error messages.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T11522

Differential Revision: https://secure.phabricator.com/D16434

Details

Committed
epriestley <git@epriestley.com>Aug 24 2016, 18:31
Pushed
aubortJan 31 2017, 17:16
Parents
rPH2201c65eb73f: Removed unused buildApplicationPage method from PhabricatorController
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH8a4fbcd8c015: Provide a new "hint" table for weird commits (rewritten, unreadable) (authored by epriestley <git@epriestley.com>).Aug 24 2016, 18:31