[opensuse-buildservice] Some thought about source services
I'm currently trying to build a GNOME3 GIT iso image, to help GNOME
community tests GNOME 3.
To ensure users get most recent code when it is available, I'm using
source services to update source tarball with a recent git checkout
(I've based my stuff on osc unstable project).
However, while doing this, I found some stuff which could be improved :
- there is no visibility in webui when a source service is running in
the background
- git clone can be huge and to build a package, a git checkout without
history is probably enough. This can be done using "git clone --depth
1"
- it would be nice to define a macro in specfile when a tarball was
created with tar_scm. This way, in the specfile, you can do some actions
or add build requires which are not needed with using a "release"
tarball (I've used BUILD_FROM_VCS for now)
- I've currently using the version from the specfile / tarball to add
versionprefix in tar_scm, but any version bump in specfile / released
tarball will requires a manual change in the _service. Some option in
the source service to automate that would probably be helpful.
That's all for now :)
--
Frederic Crozat
Hi, and while we are at it. Recently I checked if it would be possible to provide daily builds for Firefox or Thunderbird development versions. First problem was that they are using mercurial repositories. I've implemented those in tar_scm then (that means hg repos can be used now on build.opensuse.org btw). Second unresolved issue is that in the current packages I'm cloning three different repositores and therefore I have three different revision numbers which makes set_version not working for me. I probably could extend that script as well to do what I'd need. But the last thing is actually a blocker and I have no real idea if it can be solved at all: What I wrote above is not really true. I have a variable amount of repositories I need to fetch. The first clone contains a file which defines which languages are supported and every language is living in an extra repository. So my current checkout script gets one repo first and then walks through that file and fetches clones of every language listed there and puts them together in one tarball. Does anyone have an idea how I could achieve something like this with the source service? I know it cannot work with the current implementation but w/o creating a very special service just for my usecase I don't see an abstract way to do it. Wolfgang -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (2)
-
Frederic Crozat
-
Wolfgang Rosenauer