How can I change / add to an existing patchset?

Hi, how can I change / add to an existing patchset from game on Haikuporter.

as Example Pipepanic in games/puzzle.

Is there a better tutorial as in the wiki at haikuports.

regards lorglas

  • First run haikuporter to extract the sources, possibly with the --nobuild option
  • Go in the work directory of the recipe, where the source is extracted (ports/games-*/pipepanic/work-*/sources)
  • Make changes to the code in that directory
  • Commit your changes in that directory using “git commit .” for example (all git commands are allowed)
  • Run haikuporter with the --extract-patchset option. The commits are extracted into a patch.

Hi pulkomandy, thanks for your answer. I will test it and hope i get it to work.

What I do, first run the build, make the needed changes, if things are ok …
Clean the build (if you have made the profile for haikuporter): hp -c
Extract the source (without building): hp -b
Make your changes in the sources dir
Check with: git status
Add your changed file(s): git commit -a (depending on how many changes you need you can separate several commits)
Write a commit message in the opening editor, close and save
Then create your patchset with: hp -e