I fear this is a rocky road to go with my skills. Anyway, if you are still holding my hand, I maybe get there where I want. As a reward, I will write you a guide with the title “updating a patch for complete noobs”, which you can use for your github docs.
Ok, what have I done:
I changed the CONFIG file in the way I think it has to be. Than I used
sailfish-patch -i CONFIG unified_diff.patch
which returned some errors and told me to try it again. I fixed the errors in the CONFIG and run it again.
Output is:
sailfish-patch -i CONFIG unified_diff.patch
warning: license text not found at COPYING
you can download it using the ‘-eL’ option
error: unrecognized source file
Any patch file, or a patch named ‘unified_diff.patch’ in the
root of a tar archive are supported.
You can safely remove ‘sfos-patch-three-finger-volume’ for cleanup.
And a folder (sfos-patch-three-finger-volume) with a new CONFIG file was created. Nothing else, just the CONFIG file.
I guessed for the license text warning and run
sailfish-patch eL unified_diff.patch
in the folder above the newly created one. Where the unified_diff.patch file lies. The command completed without any output.
Unfortunately I have no clue what
error: unrecognized source file
mean (do I have to be connected to the phone?) and what does
You can safely remove ‘sfos-patch-three-finger-volume’ for cleanup.
mean? Shall I delete the newly created folder? But then the new CONFIG file is gone as well.
Further on, for me it is not clear, when I have to make things on my Workstation and when do I have to ssh to my phone. And if I have to ssh to my phone, what is the syntax I have to use together with your commands. I usually use ssh to use Terminal more comfortably. So I usually use putty, but of course I now that i can connect via ssh -p 22 defaultuser@IP in Terminal as well, but if I just connect via ssh sailfish-patch can’t be found, because it is not on my phone. But if I read the docs correctly, for the build and deploy command I have to ssh to my phone.
And, In the docs on github you wrote:
- Run
sailfish-patch -i CONFIG my_patch_file.diff
to create a new repo and bootstrap it.
What does that mean? I don’t know what bootstrapping is and I would read this line as with that command you have created a repo and it is bootstrapped. But further above is written that the bootstrap option is
sailfish-patch -u
Questions over questions, I warned you about stupid questions
I would have attached my CONFIG file in Blockquote, but it gets misinterpreted.