Mailinglist Archive: opensuse-buildservice (45 mails)

< Previous Next >
Re: [opensuse-buildservice] How to find out the origins of a package
On Mon, Sep 15, 2014 at 12:48:53AM +0200, gny@xxxxxxxxx wrote:
Hi,

Is there an easy way to trace back from which sub/home project a particular
package is originated from?

$ cat find_root
#!/bin/bash

PACKAGE_NAME=$1

osc develproject openSUSE:Factory $PACKAGE_NAME 2>/dev/null
if [ $? -ne 0 ]; then
# older osc doesn't support develproject
osc meta pkg openSUSE:Factory $PACKAGE_NAME | grep "devel project" |
cut -f 2 -d '=' | cut -f 1 -d ' '
fi

--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References