Skip to content

Diffing

Henne Vogelsang edited this page Sep 23, 2022 · 4 revisions

Code flow to get a diff in Webui

BsRequestAction::Differ::ForSource

(app/models/bs_request_action/differ/for_source.rb)

Handles superseded and accepted BsRequestActions

superseded: diff between superseded action and the current one accepted: The source might be gone, generate the diff by comparing revisions recorded in BsRequestAction.bs_request_action_accept_info

Backend::Api::Sources::Package.source_diff

Get the diff from the backend in XML

ParsePackageDiff

(app/mixins/parse_package_diff.rb) Sort the files in the XML by importance

Clone this wiki locally