2025-04-02 06:25:13 +03:00
|
|
|
# sfdk scrape
|
|
|
|
|
|
|
|
> Converts source code modifications to patches.
|
2025-04-12 19:46:41 +03:00
|
|
|
> More information: <https://github.com/sailfishos/sailfish-qtcreator/tree/master/src/tools/sfdk>.
|
2025-04-02 06:25:13 +03:00
|
|
|
|
|
|
|
- Save source modifications as patches:
|
|
|
|
|
|
|
|
`sfdk scrape`
|
|
|
|
|
|
|
|
- Preview the list of commits to be scrapped:
|
|
|
|
|
2025-04-12 19:46:41 +03:00
|
|
|
`sfdk scrape {{[-n|--dry-run]}}`
|
2025-04-02 06:25:13 +03:00
|
|
|
|
|
|
|
- Scrape while preserving the original patches file names:
|
|
|
|
|
|
|
|
`sfdk scrape --stable`
|
|
|
|
|
|
|
|
- Scrape while saving patches to a specified [o]utput directory:
|
|
|
|
|
2025-04-12 19:46:41 +03:00
|
|
|
`sfdk scrape {{[-o|--output-dir]}} {{directory}}`
|
2025-04-02 06:25:13 +03:00
|
|
|
|
|
|
|
- Scrape without removing commits from submodules after creating patches:
|
|
|
|
|
|
|
|
`sfdk scrape --keep`
|