-----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)
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
-----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)
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
-----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)
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
buildservice@lists.opensuse.org