[opensuse-buildservice] link_pac
I wrote a plugin (attached) that compares two repos using the nice rdiff command and if the packages are identical creates a link in the destination repo (useful for doing your work in a repo, submitting to autobuild and cleaning up later). What I'm not sure though is how to guarantee the link is used instead of the files in the project. Should I remove those files from the package before creating the link? Could link_pac take an argument that removes any existing files? -JP -- JP Rosevear <jpr@novell.com> Novell, Inc.
JP Rosevear wrote:
What I'm not sure though is how to guarantee the link is used instead of the files in the project. Should I remove those files from the package before creating the link?
Files in the package override files in the package linked to, so yes, you should remove them if you want to only have the link. Michal --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On 2008-01-30 16:32:09 -0500, JP Rosevear wrote:
I wrote a plugin (attached) that compares two repos using the nice rdiff command and if the packages are identical creates a link in the destination repo (useful for doing your work in a repo, submitting to autobuild and cleaning up later).
What I'm not sure though is how to guarantee the link is used instead of the files in the project. Should I remove those files from the package before creating the link? Could link_pac take an argument that removes any existing files?
At the moment there isn't an argument for such a task. By the way wouldn't it be better to use an aggregate instead of a link? If the sources are equal this would save some build power. Marcus --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On 2008-01-31 14:29:14 +0100, Marcus Hüwe wrote:
On 2008-01-30 16:32:09 -0500, JP Rosevear wrote:
I wrote a plugin (attached) that compares two repos using the nice rdiff command and if the packages are identical creates a link in the destination repo (useful for doing your work in a repo, submitting to autobuild and cleaning up later).
What I'm not sure though is how to guarantee the link is used instead of the files in the project. Should I remove those files from the package before creating the link? Could link_pac take an argument that removes any existing files?
At the moment there isn't an argument for such a task. By the way wouldn't it be better to use an aggregate instead of a link? If the sources are equal this would save some build power.
think openSUSE:Factory and GNOME:STABLE and how to keep them in sync. aggregating wont work there. darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On 1/31/2008 at 14:23, Marcus Rueckert <darix@opensu.se> wrote: think openSUSE:Factory and GNOME:STABLE and how to keep them in sync. aggregating wont work there.
Somehow I fail to see why somebody wants to keep a :STABLE in sync with a :FACTORY, which is definitive everything else than stable. Dominique --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Thu, 2008-01-31 at 14:31 +0100, Dominique Leuenberger wrote:
On 1/31/2008 at 14:23, Marcus Rueckert <darix@opensu.se> wrote: think openSUSE:Factory and GNOME:STABLE and how to keep them in sync. aggregating wont work there.
Somehow I fail to see why somebody wants to keep a :STABLE in sync with a :FACTORY, which is definitive everything else than stable.
Its factory and GNOME:UNSTABLE actually. -JP -- JP Rosevear <jpr@novell.com> Novell, Inc. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Thu, 2008-01-31 at 14:29 +0100, Marcus Hüwe wrote:
On 2008-01-30 16:32:09 -0500, JP Rosevear wrote:
I wrote a plugin (attached) that compares two repos using the nice rdiff command and if the packages are identical creates a link in the destination repo (useful for doing your work in a repo, submitting to autobuild and cleaning up later).
What I'm not sure though is how to guarantee the link is used instead of the files in the project. Should I remove those files from the package before creating the link? Could link_pac take an argument that removes any existing files?
At the moment there isn't an argument for such a task. By the way wouldn't it be better to use an aggregate instead of a link? If the sources are equal this would save some build power.
The argument is that simply doing "osc linkpac ..." may not do exactly what the user expects if the destination package already exists. -JP -- JP Rosevear <jpr@novell.com> Novell, Inc. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (5)
-
Dominique Leuenberger
-
JP Rosevear
-
Marcus Hüwe
-
Marcus Rueckert
-
Michal Marek