Workflow for modifying the Crystal UI sources:
- Finding relevant source files in original sources using ids/classes ...
- Create exact path to overrides and copy files, modify it
- Rebuild Dockerimage
# extract original sources
mv crystal-open-2.142 crystal-open-2.142-temp
tar xvfz crystal-open-2.142.tar.gz
echo "*" > crystal-open-2.142/.gitignore
mv crystal-open-2.142 crystal-open-2.142-original
mv crystal-open-2.142-temp crystal-open-2.142
# TODO: copy from original and modify
To update on source archive:
- download updated source archive
- run
noske-diff.sh
- apply changes
- for each file:
patch -p1 < .compare/<archive>-diff/<path-to-patch>.patch
, if sources folder has not been renamed, select the filename of the original (old) version - on error, do manual inspection; to be sure, copy new original source file over our overlay file and then inspect changes (to our intended changes)
- update versions