Am Montag, 13. Februar 2012, 22:13:54 schrieb Adam Spiers:
Archie Cobbs (archie.cobbs(a)gmail.com) wrote:
> Why? First, it is worth observing that the very nature of OBS makes it
> difficult to pursue that goal. Because in OBS, for any project/package
> there is only one spec file - and therefore package version - for ALL
It is the easiest way, but there are also other ways with multiple spec files.
> In other words, it would be impossible for a
maintainer to configure a
> package to build foobar-1.2 on openSUSE 11.3 but foobar-2.1 on
> openSUSE 12.1.
> So what happens? They either try to shoehorn
foobar-2.1 onto 11.3,
> with lots of resulting build issues, or if that becomes too hard they
> just drop support for 11.3 or leave the build broken.
> Some brave projects are willing to spawn sub-projects for each
> openSUSE version, e.g. Virtualization:openSUSE11.3. But this is
> unwieldy and hard to manage, and as a result most projects don't
> bother to do this.
that makes no sense usually. You can still build against
DISCONTINUED:openSUSE:11.3 from same project. It is just that an absolute
minority wants to support that at all.
I'm very new to the OBS, but I agree - to my
it does seem like there could be a more elegant solution.
(dreaming) Why not let each project be a simple
git repo, with a
branch for each repository, defaulting to 'master' if no such branch
Right, that was also my first reaction too the first time I found
myself in a twisty maze of OBS repositories, all alike. Could it make
sense to switch the OBS backend to git?
There is a stub for that but a lot is missing like event handling and release
counter handling. And you can't use git for entire projects or even a repo for
package repo, because the size of the tar balls would kill you in default
settings. And git sub-projects are just the horror ...
Or at least build a git-obs
bridge, in a similar manner to the existing git-svn bridge?
SUSE Linux Products GmbH
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-buildservice+owner(a)opensuse.org