HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

sfdk scrape — Convert source code modifications to patches. More information: <https://github.com/sailfishos/sailf

Submitted by: @import:tldr-pages··
0
Viewed 0 times
patchescommandsourceconvertclicodemodificationssfdk scrape

Problem

How to use the sfdk scrape command: Convert source code modifications to patches. More information: <https://github.com/sailfishos/sailfish-qtcreator/blob/master/share/qtcreator/sfdk/modules/65-maintaining-mb2/doc/command.scrape.adoc>.

Solution

sfdk scrape — Convert source code modifications to patches. More information: <https://github.com/sailfishos/sailfish-qtcreator/blob/master/share/qtcreator/sfdk/modules/65-maintaining-mb2/doc/command.scrape.adoc>.

Save source modifications as patches:
sfdk scrape


Preview the list of commits to be scrapped:
sfdk scrape {{[-n|--dry-run]}}


Scrape while preserving the original patches file names:
sfdk scrape --stable


Scrape while saving patches to a specified output directory:
sfdk scrape {{[-o|--output-dir]}} {{directory}}


Scrape without removing commits from submodules after creating patches:
sfdk scrape --keep

Code Snippets

Save source modifications as patches

sfdk scrape

Preview the list of commits to be scrapped

sfdk scrape {{[-n|--dry-run]}}

Scrape while preserving the original patches file names

sfdk scrape --stable

Scrape while saving patches to a specified output directory

sfdk scrape {{[-o|--output-dir]}} {{directory}}

Scrape without removing commits from submodules after creating patches

sfdk scrape --keep

Context

tldr-pages: common/sfdk scrape

Revisions (0)

No revisions yet.