[Libreoffice] Migration of build repository patches
Bjoern Michaelsen
bjoern.michaelsen at canonical.com
Mon Mar 7 07:10:06 PST 2011
Hi all,
I commited an initial proposal of an awk script that creates a shell
script to create a annotated commit on master. It is here:
http://cgit.freedesktop.org/libreoffice/build/tree/patches/dev300/extractapplyinfo.awk?id=4345b801c95cbff319bd69be844a98488bef3bfd
To use it you would (usually in batches of multiple patches):
- cd build/patches/dev300
- awk -f extractapplyinfo.awk -v PATCHNAME=foo.diff > migrate-foo.sh
- fixup migrate-foo.sh
- run bash migrate-foo.sh with an set environment
(having $SOLARSRC set is enough)
Open points:
- it currently uses --no-verify, because of whitespace in the git logs
included in the commit message
- we should fixup the authors in the apply file to all conform to the
A U Thor <author at example.com> format beofre migration
- the script (unlike the one I had before and accidentally deleted
before commiting) ignores "SectionIssue" syntax. We should just add
those issue numbers behind the patch on the line.
- Before we start migrating, we should decide if the generated commit
message is not totally disgusting to anyone involved. As such
discussions generally can take longer that the usual editor
flamewar, I would like to set a deadline on this right here right
now: We should use whatever is current state this Friday at noon UTC.
Comments welcome!
Best Regards,
Bjoern
--
https://launchpad.net/~bjoern-michaelsen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110307/2e3554a8/attachment.pgp>
More information about the LibreOffice
mailing list