Update the Solution

Update the Solution

Overview

The eyeo Browser Ad-Filtering Solution includes an automated script for generating interdiffs between releases. Interdiffs show the changes made between two specific releases, and the resulting diff files are saved in the eyeo_modules/interdiffs/ directory.

This capability is available from version 115 onward and utilizes git diff functionality.

Usage

The basic command structure is:

Bash
./tools/adblock/generate_interdiffs.sh <eyeo-release-tag> <eyeo-release-tag> <options>

Release tags can be obtained from official announcements.

Available Options

The script supports multiple flags for customized diff generation:

  • --full-sdk: Creates a comprehensive diff encompassing the entire solution, including testing and CI files

  • --all-modules: Produces individual diffs for each module (base, chrome, webview, android-api, android-settings, extension-api)

  • --base: Focuses on base module changes

  • --chrome: Focuses on Chrome Integration module changes

  • --webview: Focuses on Android Webview Integration module changes

  • --android-api: Focuses on Android API module changes

  • --android-settings: Focuses on Android UI module changes

  • --extension-api: Focuses on Extension API module changes

Example Usage

Generate diffs for specific modules:

Bash
./tools/adblock/generate_interdiffs.sh eyeo-release-111.0.5563.58-6.0-v1 eyeo-release-113.0.5672.76-v1 --base --chrome --android-api

Generate comprehensive solution diff:

Bash
./tools/adblock/generate_interdiffs.sh eyeo-release-111.0.5563.58-6.0-v1 eyeo-release-113.0.5672.76-v1 --full-sdk