On Fri, Oct 16, 2020 at 3:24 PM aplanas <aplanas(a)suse.de> wrote:
Today I presented obsgit in the oSLO2020, but was a very short
talk with no time for questions (and I could not stay a bit longer in
the chat room)
Maybe we can use this thread to start the discussion and share some of
the questions and ideas.
For example, yesterday I learned something about OBS and Kanku that can
potentially change the way that we can import the project from git back
to OBS (for building or testing).
I was aware that the .spec files are totally isolated from internet, but
this is not true for enabled _service files. The previous Leap release
manager (Ludwig Nussel) explained to me that this enable the possibility
that instead of importing the full project, I could create an ad-hoc
_service that fetch directly from Git and LFS all the components. OBS
could have now the chance of detecting that some of the assets are
already in the cache, and will avoid some downloads, and from the user
perspective will be very fast, as no tgz gets uploaded.
Because we create the _service, we can represent a Git branch accurately
in OBS, as all the package _services will be pointing to the correct Git
branch. Transient OBS branches will be now cheap from the user PoV, and
will enable faster testing and experimentation for big projects.
This possibility open new questions, like for example what to do if the
package already have a _service, but his kind of idea can shape the
solution at the end.
P.S I am not sure that the talk was recorded, but I think that the
slides give a clear idea about what we love to achieve: develop
something as massive as Factory in Git and building it in OBS with all
the guarantees and features that we have now.
I don't know if you saw the openSUSE Heroes talk yesterday, but
Stasiek and I described plans to bring up a Pagure instance on
openSUSE infrastructure. One of the purposes for this instance is to
support a Distribution Git (Dist-Git) system for experimenting with
a Git<->OBS workflow.
You might also want to take a look at fedpkg and rpkg, which are
the wrappers and tooling Fedora uses for orchestrating sources, build
system, and submitting updates. These might be decent inspiration/code
for how to do this in openSUSE. I also wrote a simple tool for
submitting from a Dist-Git system to OBS a while back.
I'm personally very excited about this and I'm looking forward to
helping make this a reality!
真実はいつも一つ！/ Always, there's only one truth!
To unsubscribe, e-mail: opensuse-factory+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-factory+owner(a)opensuse.org