Add storage of UNIX file mode metadata from diffs.

Review Request #12067 — Created Feb. 20, 2022 and submitted

Information

Review Board
release-4.0.x

Reviewers

ParsedDiffFile and FileDiff now contain storage of old and new UNIX
file modes, which may be provided by the diff parser. These are
ultimately stored in FileDiff.extra_data as old_unix_mode and
new_unix_mode.

Right now, nothing consumes these within Review Board, but clients will
be able to make use of these to reflect file modes. In time, the plan is
to show these in the diff viewer.

All unit tests pass.

Summary ID
Add storage of UNIX file mode metadata from diffs.
`ParsedDiffFile` and `FileDiff` now contain storage of old and new UNIX file modes, which may be provided by the diff parser. These are ultimately stored in `FileDiff.extra_data` as `old_unix_mode` and `new_unix_mode`. Right now, nothing consumes these within Review Board, but clients will be able to make use of these to reflect file modes. In time, the plan is to show these in the diff viewer.
1db800a3284cc178539b14bfd9ea2e930bd7a241
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-4.0.x (27923e1)
Loading...