
On Wed, Nov 6, 2019 at 10:46 AM Bernhard M. Wiedemann <bernhardout@lsmod.de> wrote:
Hi,
our experimental git mirror of openSUSE:Factory got a new feature: It now makes single commits from most individual updates with some useful info in the commit message.
This makes the whole history much nicer to read: https://github.com/bmwiedemann/openSUSE/commits/master
In the usual case of SRs it links back to the SR on OBS, because that is where most of the discussion might have happened:
https://github.com/bmwiedemann/openSUSE/commit/d1afc9699
but sometimes direct commits happen and they are shown with the commit message and a link to the OBS change
https://github.com/bmwiedemann/openSUSE/commit/b2786e5c8
Ideas for future work:
In theory we could also track these packages' devel projects on a 'devel' branch
In a similar fashion we could also track openSUSE:Leap:15.* on stable/leap15_N branches to allow offline diff
We could try to enable osc build to work from such git dirs. Either this uses the OBS server-side logic to resolve dependencies to get the usual .osc/_buildinfo* and .osc/_buildconfig* files or we re-implement or re-use OBS server logic to allow builds when offline.
And then (in the foggy far future) it would be possible to make a gateway back from github pull-requests or gitlab merge-requests to submitting SRs in OBS. Or we re-think how OBS handles its source files until then. See https://www.youtube.com/watch?v=iY_ADUQiiQI&t=787
This is very cool! Perhaps, if we could stand up a Pagure instance (with dist-git[1][2] maybe?), could we have it so that it creates per-package Git repos with this data? That would make it equivalent to how other distributions managing packaging in Git (Fedora, OpenMandriva, ALT, PLD, etc.) represent it. We could do interesting things like having branches mapping to Fedora, CentOS/RHEL, openSUSE, SLE, etc. so that packaging contents can be trivially compared, cherry-picked, etc. This is something that Fedora and CentOS will be doing soon leveraging the repoSpanner backend for Pagure[3][4]. I think it would be possible to also integrate Fedora/CentOS into an openSUSE Pagure and openSUSE in the Fedora Pagure instance. [1]: https://github.com/release-engineering/dist-git [2]: https://pagure.io/pagure-dist-git [3]: https://github.com/repoSpanner/repoSpanner [4]: https://lists.centos.org/pipermail/centos-devel/2019-April/017308.html -- 真実はいつも一つ!/ Always, there's only one truth! -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org