2014-07-22 5:35 GMT+09:00 1xx
Already I sent some pullrequests to upstream. https://github.com/joeyh/etckeeper/pull/12 (decline) https://github.com/joeyh/etckeeper/pull/14 (merged) https://github.com/joeyh/etckeeper/pull/15 (merged) https://github.com/joeyh/etckeeper/pull/16 (merged) https://github.com/joeyh/etckeeper/pull/17 (pending) https://github.com/joeyh/etckeeper/pull/18 (pending)
The upstream (Mr. Joey Hess) released etckeeper 1.13.
http://joeyh.name/code/etckeeper/
So I rebuild etckeeper 1.13.
https://build.opensuse.org/package/show/home:Mitsutoshi:branches:utilities/e...
And I added patch of
https://github.com/joeyh/etckeeper/pull/17 (pending).
When ZYpp install or remove,
etckeeper makes all package list as rpm -qa twice
for getting changed packages list in ZYpp plugin.
eg) before install: rpm -qa | sort >before_packagelist
after install: rpm -qa | sort >after_packagelist
diff -u before_packagelist after_packagelist >changed_packageslist
But these "rpm -qa" are slowly. (sometimes over 30 sec.)
Over 30 sec., ZYpp plugin gets timeout,
so sometimes etckeeper's autocommits fail.
(If I do not know the implementation, I will write a bug report).
So I wrote a patch of gh#joeyh/etckeeper#17.
This patch provide a choice of whether or not make "changed packages list"
I already built it.
Now I am testing it.
https://docs.google.com/spreadsheets/d/1kmtjqvCnqNMmuFHRLh0-xh1iBdjhxnvKoYgR...
Please review it and help with tests.
--
1xx