[opensuse-buildservice] Recent documentation on using tar_scm with git?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Good Evening everybody, is there any documentation available on how to use tar_scm to build the HEAD of a git repository on obs? I find lots of old stuff, lots of mixtures between using packages on the opensuse build server or on a private one. But none of the answer the first couple of questions I have: I was able to create a _service file, and it seems to get the sources and create a tar. I even get it to compress it, but is this step deprecated? Or not? What other options exist for the service file? I can set a versionprefix, but what else is there? Im sure there will be some more question soon, so I would appreciate if anyone knows a up-to-date tutorial or wiki or similar. I'd like to rtfm... ;-) Regards, Johannes - -- Is our children learning? (George W. Bush) -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with SeaMonkey - http://www.enigmail.net/ iEYEARECAAYFAlSEvOMACgkQzi3gQ/xETbLKJACeJhYhaXQis4S262knBMkAgZn5 cakAn3PvvSBXUN82J7WyeP5jz8adxVcR =42K6 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Sunday 07 December 2014 21:47:31 Johannes Kastl wrote: [...]
What other options exist for the service file? I can set a versionprefix, but what else is there?
Im sure there will be some more question soon, so I would appreciate if anyone knows a up-to-date tutorial or wiki or similar. I'd like to rtfm... ;-)
The FM is located at /usr/lib/obs/service/tar_scm.service , or search the web for tar_scm.service Kind regards, Stefan -- 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 08.12.2014 Stefan Bruens wrote:
The FM is located at /usr/lib/obs/service/tar_scm.service , or search the web for tar_scm.service
Nice, thanks. One question that came up during testing with local builds: How to avoid tar_scm pulling each time the package is built? If a file with the latest HEAD is already existing? And, on a similar subject, when is the package rebuilt on obs? I found some articles showing how to trigger rebuilds by commits. If I do not use them, I'd guess the package is only rebuilt when I trigger a rebuild manually. Regards, Johannes - -- Wise men don't need advice. Fools don't take it. (Benjamin Franklin) -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with SeaMonkey - http://www.enigmail.net/ iEYEARECAAYFAlSF9RwACgkQzi3gQ/xETbIkkACdHGV4wVFhfTH1msQOleqth3BB HkgAn3MbWg2isU2hm5tTag+nxB/2uOXn =juPJ -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On December 8, 2014 7:59:41 PM CET, Johannes Kastl <mail@ojkastl.de> wrote: [...]
How to avoid tar_scm pulling each time the package is built? If a file with the latest HEAD is already existing?
You can configure a cache directory. The tar_scm rpm contains a configuration file, follow the instructions therein. Kind regards, Stefan -- Sent from my Android device 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 09.12.2014 Stefan Brüns wrote:
You can configure a cache directory. The tar_scm rpm contains a configuration file, follow the instructions therein.
Thanks! If I said that such pieces of information belong somewhere on the wiki, I guess someone would tell me that it's a wiki and I should include it myself. As time does not permit that, I wont ask... ;-) Regards, Johannes - -- Lupin burst out laughing. `Sometimes you remind me a lot of James. He called it my 'furry little problem' in company. Many people were under the impression that I owned a badly behaved rabbit.´ (Remus Lupin in Harry Potter and the Half-Blood Prince) -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with SeaMonkey - http://www.enigmail.net/ iEYEARECAAYFAlSHVlAACgkQzi3gQ/xETbJGzACdEHJ3q9vP4ud2uIPj9pGEp88g PoIAmQHMN2N6hiAT5rLR+1a8ZKgHdrSH =pN2U -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Johannes Kastl <mail@ojkastl.de> Sun, 07 Dec 2014 23:47:31 +0300:
Good Evening everybody,
is there any documentation available on how to use tar_scm to build the HEAD of a git repository on obs?
I find lots of old stuff, lots of mixtures between using packages on the opensuse build server or on a private one. But none of the answer the first couple of questions I have:
I was able to create a _service file, and it seems to get the sources and create a tar. I even get it to compress it, but is this step deprecated? Or not?
What other options exist for the service file? I can set a versionprefix, but what else is there?
Im sure there will be some more question soon, so I would appreciate if anyone knows a up-to-date tutorial or wiki or similar. I'd like to rtfm... ;-)
Regards, Johannes
Hello! Read also this thread: http://lists.opensuse.org/opensuse-packaging/2014-11/msg00139.html -- Best regards, Dmitriy DA(P).DarkneSS Perlow @ Linux x64 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (4)
-
Dmitriy Perlow
-
Johannes Kastl
-
Stefan Bruens
-
Stefan Brüns