Mailinglist Archive: opensuse-buildservice (206 mails)
| < Previous | Next > |
Re: [opensuse-buildservice] [PATCH] osc: add -c flag to check package out to current diretory
- From: Peter Poeml <poeml@xxxxxxx>
- Date: Tue, 3 Mar 2009 13:19:17 +0100
- Message-id: <20090303121917.GU10390@xxxxxxx>
Hi,
On Sat, Feb 28, 2009 at 11:43:36PM +0100, tcech wrote:
Great idea, it not only allows for a simple workaround of the above
mentioned colon issue, but it's also a handy alternative way to check
out sources without the need for the project directory.
In your patch, "Project" is likely a typo and should be "project".
Hm, that also sounds useful.
Peter
--
Contact: admin@xxxxxxxxxxxx (a.k.a. ftpadmin@xxxxxxxx)
#opensuse-mirrors on freenode.net
Info: http://en.opensuse.org/Mirror_Infrastructure
SUSE LINUX Products GmbH
Research & Development
On Sat, Feb 28, 2009 at 11:43:36PM +0100, tcech wrote:
Dne sobota 28 Únor 2009 21:38:51 Brandon Philips napsal(a):
A simple solution to the colons in project names messing up
LD_LIBRARY_PATH:
http://lists.opensuse.org/archive/opensuse-buildservice/2008-12/msg00166.ht
ml
Example use:
$ osc co -c openSUSE:Factory osc
A $PWD/osc/debian.changelog
A $PWD/osc/debian.tar.gz
A $PWD/osc/osc-0.113.tar.gz
A $PWD/osc/osc.changes
A $PWD/osc/osc.dsc
A $PWD/osc/osc.spec
A $PWD/osc/ready
Versus without -c
$ osc co openSUSE:Factory osc
A $PWD/openSUSE:Factory/osc/debian.changelog
A $PWD/openSUSE:Factory/osc/debian.tar.gz
A $PWD/openSUSE:Factory/osc/osc-0.113.tar.gz
A $PWD/openSUSE:Factory/osc/osc.changes
A $PWD/openSUSE:Factory/osc/osc.dsc
A $PWD/openSUSE:Factory/osc/osc.spec
A $PWD/openSUSE:Factory/osc/ready
Great idea, it not only allows for a simple workaround of the above
mentioned colon issue, but it's also a handy alternative way to check
out sources without the need for the project directory.
In your patch, "Project" is likely a typo and should be "project".
Wouldn't be better to autodetect this behaviour through existence and
contents
of $PWD/.osc dir?
If $PWD/.osc/_project contains openSUSE:Factory, behave like with -c
if not - behave like without -c option.
Hm, that also sounds useful.
Peter
--
Contact: admin@xxxxxxxxxxxx (a.k.a. ftpadmin@xxxxxxxx)
#opensuse-mirrors on freenode.net
Info: http://en.opensuse.org/Mirror_Infrastructure
SUSE LINUX Products GmbH
Research & Development
| < Previous | Next > |