Hi,

mysql project is using https://gitweb.gentoo.org/proj/mysql-extras.git/
(i.e. an own repository) to track patches.

What I like about it:

1) We track patches/changes due to using a VCS.

2) We can fetch directly from gitweb.gentoo.org, i.e. no need to adjust
SRC_URI when changing a patch. Just push your patch, create and push a
new tag, update the patch set variable and you are done.

Reminds me of
https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo/src/patchsets/

What I don't like about this:

Cleanup is probably not that easy, the patch tarball size will increase
over the time because tracking which patches are still in use can become
a challenge.

If you use a patch tarball the ebuild will probably don't use EAPI's
default src_prepare function. You will use code like

> eapply "${WORKDIR}"/patch/*.patch
> eapply_user

which makes it not an easy/clean task to just add *one* small/temporary
patch if you need to.


-- 
Regards,
Thomas Deutschmann / Gentoo Linux Developer
C4DD 695F A713 8F24 2AA1 5638 5849 7EE5 1D5D 74A5

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to