[opensuse-buildservice] Help wanted with osc commands
Hello, What osc commands are needed to do the following steps: 1. osc command to change directory to home:doiggl > kernel-vanilla package created , no files in it yet. # osc ls home:doiggl kernel-vanilla # 2. osc command to add and commit the following files to home:doiggl > kernel-vanilla --Thanks Glenn 345 Apr 1 2009 README.KSYMS 16964 Feb 11 2014 README.SUSE 1065 Apr 16 16:01 _constraints 1092 Jan 29 2010 apply-patches 1525 Dec 20 2013 arch-symbols 477 Apr 16 2012 check-for-config-changes 1633 Jun 14 2011 compute-PATCHVERSION.sh 58020 Jun 4 22:24 config-options.changes.txt 130 Sep 7 2012 config.addon.tar.bz2 961 Apr 16 16:01 config.conf 291 Jun 10 04:22 config.sh 265224 Jul 30 16:02 config.tar.bz2 1351 Apr 1 2010 configtool.pl 799 Mar 8 18:00 constraints.in 413 Apr 11 2009 devel-post.sh 138 Apr 11 2009 devel-pre.sh 555 Aug 14 2009 find-provides 1756 May 23 2013 group-source-files.pl 7501 Feb 12 2014 guards 183 Sep 28 2011 host-memcpy-hack.h 2661 Dec 18 2009 kabi.pl 469 Sep 7 2012 kabi.tar.bz2 30292 Jun 6 16:01 kernel-binary.spec.in 1109 Apr 19 2013 kernel-cert-subpackage 1289906 Aug 5 16:03 kernel-debug.changes 34243 Aug 5 16:03 kernel-debug.spec 1289906 Aug 5 16:03 kernel-default.changes 35474 Aug 5 16:03 kernel-default.spec 1289906 Aug 5 16:03 kernel-desktop.changes 35608 Aug 5 16:03 kernel-desktop.spec 1289906 Aug 5 16:03 kernel-docs.changes 3195 Aug 5 16:03 kernel-docs.spec 3230 Jan 31 2014 kernel-docs.spec.in 1289906 Aug 5 16:03 kernel-ec2.changes 34147 Aug 5 16:03 kernel-ec2.spec 1289906 Aug 5 16:03 kernel-exynos.changes 34016 Aug 5 16:03 kernel-exynos.spec 1289906 Aug 5 16:03 kernel-lpae.changes 34199 Aug 5 16:03 kernel-lpae.spec 2495 Jun 6 16:01 kernel-module-subpackage 1289906 Aug 5 16:03 kernel-obs-build.changes 4317 Aug 5 16:03 kernel-obs-build.spec 4281 May 3 16:00 kernel-obs-build.spec.in 1289906 Aug 5 16:03 kernel-obs-qa-xen.changes 2244 Aug 5 16:03 kernel-obs-qa-xen.spec 1289906 Aug 5 16:03 kernel-obs-qa.changes 2296 Aug 5 16:03 kernel-obs-qa.spec 2255 Apr 29 16:00 kernel-obs-qa.spec.in 1289906 Aug 5 16:03 kernel-pae.changes 35498 Aug 5 16:03 kernel-pae.spec 35588 Aug 13 00:04 kernel-reiser4.spec 1289906 Aug 5 16:03 kernel-source.changes 595 Dec 20 2011 kernel-source.rpmlintrc 7932 Aug 5 16:03 kernel-source.spec 7664 Apr 11 16:01 kernel-source.spec.in 974 May 3 2013 kernel-spec-macros 1289906 Aug 5 16:03 kernel-syms.changes 2732 Aug 5 16:03 kernel-syms.spec 2170 Apr 3 17:00 kernel-syms.spec.in 1289906 Aug 5 16:03 kernel-vanilla.changes 35588 Aug 13 00:03 kernel-vanilla.spec 1289906 Aug 5 16:03 kernel-xen.changes 34231 Aug 5 16:03 kernel-xen.spec 79676484 Jun 10 16:00 linux-3.15.tar.xz 4032 Aug 3 2010 log.sh 2667 Feb 6 2014 macros.kernel-source 8 Aug 12 2006 minmem 9846 Jun 6 16:00 mkspec 3564 Aug 2 2011 modversions 5 Jul 24 2007 needed_space_in_mb 822 Jun 6 16:01 old-flavors 3836 Jun 6 16:01 package-descriptions 133 Sep 7 2012 patches.addon.tar.bz2 5138 Sep 25 2013 patches.apparmor.tar.bz2 155281 Apr 28 16:00 patches.arch.tar.bz2 4148 May 8 16:01 patches.drivers.tar.bz2 16994 Aug 5 16:03 patches.fixes.tar.bz2 130 Sep 7 2012 patches.kabi.tar.bz2 199942 Aug 2 16:02 patches.kernel.org.tar.bz2 * 469040 Aug 21 17:18 patches.rpmify.tar.bz2 127 Sep 7 2012 patches.rt.tar.bz2 82913 Aug 2 16:02 patches.suse.tar.bz2 131 Sep 7 2012 patches.trace.tar.bz2 2093821 Jul 11 16:02 patches.xen.tar.bz2 2907 Jun 18 2011 post.sh 1398 Jun 18 2011 postun.sh 950 Oct 15 2008 pre.sh 138 Oct 15 2008 preun.sh 25544 Aug 12 20:53 series.conf 329 Apr 11 2009 source-post.sh 100 Aug 5 16:03 source-timestamp 2684 Oct 5 2013 split-modules 103596 May 24 09:50 supported.conf 874 Jan 30 2013 sysctl.tar.bz2 2475 Nov 25 2011 try-disable-staging-driver 43 Oct 7 2010 zreiser4parameters.txt Reason: it has some customised patches in patches.rpmify.tar.bz2 - 3.15.1-reiser4-basic-discard-support.patch - reiser4-for-3.15.1.patch shown with a * next to name. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Thu, Aug 21, 2014 at 9:58 AM, <doiggl@velocitynet.com.au> wrote:
Hello, What osc commands are needed to do the following steps:
1. osc command to change directory to home:doiggl > kernel-vanilla package created , no files in it yet. # osc ls home:doiggl kernel-vanilla #
I'm not sure I understand, but you probably want cd home:doiggl/kernel-vanilla You'll notice this is not an osc command, because you're not working on the local package copy of the package (which is the job of osc) but just navigating the local filesystem.
2. osc command to add and commit the following files to home:doiggl > kernel-vanilla
--Thanks Glenn
345 Apr 1 2009 README.KSYMS [schnap] 43 Oct 7 2010 zreiser4parameters.txt
Reason: it has some customised patches in patches.rpmify.tar.bz2 - 3.15.1-reiser4-basic-discard-support.patch - reiser4-for-3.15.1.patch shown with a * next to name.
You probably need osc add * osc commit …although if you have branched the package, most should already be under osc's control, you can check with "osc status". The "osc add" will do no harm in this case, though. See also (the results of a quick google for "opensuse osc tutorial"): - the output of "osc help", - https://en.opensuse.org/openSUSE:OSC#Usage_examples, - https://en.opensuse.org/openSUSE:Build_Service_Tutorial, - http://openbuildservice.org/help/manuals/obs-best-practices/cha.obs.best-pra... - https://www.philipp-wagner.com/blog/2012/06/contribute-to-opensuse-update-a-... -- Kind regards Christopher 'm4z' Holm / 686f6c6d "We must respect the other fellow's religion, but only in the sense and to the extent that we respect his theory that his wife is beautiful and his children smart." --H. L. Mencken -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
You probably need osc add * osc commit
…although if you have branched the package, most should already be under osc's control, you can check with "osc status". The "osc add" will do no harm in this case, though.
I am a big fan of "osc ar" that is osc add/remove. It looks for differences in local and server packages and adjusts the server side accordingly. It is verbose and tells you what it is doing. You still need to do a osc commit of course so you have time to check it did the right thing. Greg -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 21.08.2014 09:58 doiggl@velocitynet.com.au wrote:
1. osc command to change directory to home:doiggl > kernel-vanilla package created , no files in it yet. 2. osc command to add and commit the following files to home:doiggl > kernel-vanilla
I would say these are the steps: Checkout the project home:doiggl somewhere on your computer: cd /path/to/the/checked/out/project/ ocs co home:doiggl Change the directory to /path/to/the/checked/out/project/home:doiggl/ Create the package: osc mkpac kernel-vanilla osc up cd kernel-vanilla Copy all files into the newly create directory osc ar osc ci -m "Your commit message here..." List the results with osc results Should work, but untested, as Im not on a machine with osc right now... Regards, Johannes - -- Men of quality are not afraid of women for equality. (unknown) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) Comment: Using GnuPG with SeaMonkey - http://www.enigmail.net/ iEYEARECAAYFAlP15pYACgkQzi3gQ/xETbK67QCgkkyCdzXZmMH3A9kB6klVm2Hz GpEAoJdY/IznLiwMIyFKcZwnWekuztIc =srwV -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Thu, 21 Aug 2014 14:31:18 +0200, Johannes Kastl <mail@ojkastl.de> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 21.08.2014 09:58 doiggl@velocitynet.com.au wrote:
1. osc command to change directory to home:doiggl > kernel-vanilla package created , no files in it yet. 2. osc command to add and commit the following files to home:doiggl > kernel-vanilla
I would say these are the steps:
Checkout the project home:doiggl somewhere on your computer:
cd /path/to/the/checked/out/project/ ocs co home:doiggl
Change the directory to /path/to/the/checked/out/project/home:doiggl/
Create the package: osc mkpac kernel-vanilla osc up cd kernel-vanilla
Copy all files into the newly create directory osc ar osc ci -m "Your commit message here..."
List the results with osc results
Should work, but untested, as Im not on a machine with osc right now...
Regards, Johannes # Hello,
Question: What is the osc command to show build status/log of home:doiggl kernel-vanilla Steps I did so far. --Glenn # cd /tmp # osc co home:doiggl kernel-vanilla A home:doiggl A home:doiggl/kernel-vanilla At revision None. # cd /tmp/home:doiggl/kernel-vanilla /tmp/home:doiggl/kernel-vanilla # ll total 0 drwxr-xr-x 2 root users 200 Aug 22 17:19 .osc # cp -v /files/* . | wc -l 96 /tmp/home:doiggl/kernel-vanilla # osc add * A README.KSYMS A README.SUSE A _constraints A apply-patches A arch-symbols A check-for-config-changes A compute-PATCHVERSION.sh A config-options.changes.txt A config.addon.tar.bz2 A config.conf A config.sh A config.tar.bz2 A configtool.pl A constraints.in A devel-post.sh A devel-pre.sh A find-provides A group-source-files.pl A guards A host-memcpy-hack.h A kabi.pl A kabi.tar.bz2 A kernel-binary.spec.in A kernel-cert-subpackage A kernel-debug.changes A kernel-debug.spec A kernel-default.changes A kernel-default.spec A kernel-desktop.changes A kernel-desktop.spec A kernel-docs.changes A kernel-docs.spec A kernel-docs.spec.in A kernel-ec2.changes A kernel-ec2.spec A kernel-exynos.changes A kernel-exynos.spec A kernel-lpae.changes A kernel-lpae.spec A kernel-module-subpackage A kernel-obs-build.changes A kernel-obs-build.spec A kernel-obs-build.spec.in A kernel-obs-qa-xen.changes A kernel-obs-qa-xen.spec A kernel-obs-qa.changes A kernel-obs-qa.spec A kernel-obs-qa.spec.in A kernel-pae.changes A kernel-pae.spec A kernel-reiser4.spec A kernel-source.changes A kernel-source.rpmlintrc A kernel-source.spec A kernel-source.spec.in A kernel-spec-macros A kernel-syms.changes A kernel-syms.spec A kernel-syms.spec.in A kernel-vanilla.changes A kernel-vanilla.spec A kernel-xen.changes A kernel-xen.spec A linux-3.15.tar.xz A log.sh A macros.kernel-source A minmem A mkspec A modversions A needed_space_in_mb A old-flavors A package-descriptions A patches.addon.tar.bz2 A patches.apparmor.tar.bz2 A patches.arch.tar.bz2 A patches.drivers.tar.bz2 A patches.fixes.tar.bz2 A patches.kabi.tar.bz2 A patches.kernel.org.tar.bz2 A patches.rpmify.tar.bz2 A patches.rt.tar.bz2 A patches.suse.tar.bz2 A patches.trace.tar.bz2 A patches.xen.tar.bz2 A post.sh A postun.sh A pre.sh A preun.sh A series.conf A source-post.sh A source-timestamp A split-modules A supported.conf A sysctl.tar.bz2 A try-disable-staging-driver A zreiser4parameters.txt Transmitting file data Committed revision 1. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 22.08.2014 10:34 doiggl@velocitynet.com.au wrote: [I snipped the fullquote, please just quote what is necessary. Thanks.]
Question: What is the osc command to show build status/log of home:doiggl kernel-vanilla
First of, maybe this might answer some of your questions. It's how I got started:
While you are in the kernel-vanilla directory, using "osc results" should give some infos. Or browsing to > https://build.opensuse.org/package/show/home:doiggl/kernel-vanilla which shows build errors, main reason being that nothing provides pesign-obs-integration... Regards, Johannes - -- The presence of those seeking the truth is infinitely to be preferred to the presence of those who think they 've found it. (Terry Pratchett, Monstrous regiment) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) Comment: Using GnuPG with SeaMonkey - http://www.enigmail.net/ iEYEARECAAYFAlP3B+EACgkQzi3gQ/xETbJUvACePWw/4uHNUHG+hj7zIqEal/Zz HpkAn1FTgUH2/w7jFK8b329s9uRXC/35 =sTWh -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 22.08.2014 10:34 doiggl@velocitynet.com.au wrote:
Steps I did so far.
Is it intentional, that you are just building for ppc on openSUSE 13.1, while you also build for 686 and x64 on 12.2? Regards, Johannes - -- If atheism is a religion, then bald is a hair colour. (Paul Quirk in alt.atheism.moderated) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) Comment: Using GnuPG with SeaMonkey - http://www.enigmail.net/ iEYEARECAAYFAlP3CE4ACgkQzi3gQ/xETbLjdACdFUxZU5ZVcbafcbj27h1Cyh43 7KkAn1h4AP9xpCUp6Wtex8m7yfU8A2/J =gtxP -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (4)
-
686f6c6d
-
doiggl@velocitynet.com.au
-
Greg Freemyer
-
Johannes Kastl