Hi Dany, Thnaks for this link. Actually I already read it and does not answer the issue I encounter as: 1- In the example obs-service-tar_scm « extract » param is used and reflect the right dsc filename. ( The aim is to build deb package) 2- In my case obs-service-tar_scm generate a tarball with a name having the form: <filename>-<versionprefix>.<commit_timestamp>.-<field_i_could not_identify>.obscpio 3- I upload the dsc and the <packageName>.debian.tar.xz file manually 4- For example, in my dsc file I have the tarball name file set to pi_0.8.orig.tar.gz And the « pristine » tarball generated by obs-service-tar_scm generate from the git URL the following filename: pi-0.8.orig.1553891655.af0b089.tar.gz 5- Therefore I have to possibility to resolve the problem: a. Find a way to mention modify during building the tarball filename in the dsc file. ( Replace pi_0.8.orig.tar.gz by pi-0.8.orig.1553891655.af0b089.tar.gz) b. Configure obs-service-tar_scm to generate a tarball with the name: pi_0.8.orig.tar.gz (But unfortunately I could not find it here https://github.com/openSUSE/obs-service-tar_scm/blob/master/tar_scm.service.... neither here: https://github.com/openSUSE/obs-service-tar_scm/blob/master/tar.service) I don’t know how to prevent the use of <commit_timestamp> in <filename>-<versionprefix>.<commit_timestamp>.-<field_i_could not_identify>.obscpio Thanks anyway for you help ! Anyone else have any clue on how to do that ? Also I found DEBTRANSFORM, but I could not find a suitable documentation in order to use these tags properly, it can maybe an answer to my problem ... À bientôt, -- Frederic
Le 15 août 2019 à 10:07, Dany Marcoux <dmarcoux@suse.de> a écrit :
On 19-08-14 11 h 40, Frédéric LOUI wrote:
Hi !
After playing with OBS within my « own home project » namespace using OBS web UI, I successfully:
* managed to build Debian packages for target Debian 10/Buster by reading this excellent guide: https://en.opensuse.org/openSUSE:Build_Service_Debian_builds * use the link feature to ensure dependencies between my projects and subproject * everything is perfect so far as soon as I’m using « pristine tarball »
As this is good to build « one time package », I’d like to have these build in sync with my Github repo.
I’ve seen several youtube video showing the possibility to create a « _service » from GitHub URL, but still Debian build needs a pristine tarball whose name match the name of the tarball inside the dsc file. (Same goes for the *.debian.xz file)
I’ve tried to trigger a build using simply the git URL and set the « revision » tag to « stable » but I get an « UNRESOLVED » error from OBS mentioning that « nothing provides obs-service-tar, nothing provides obs-service-recompress, nothing provides obs-service-set-version »
I tried to search the web by my GoogleFu could not lead me to a clear answer.
Apology if this is something trivial, in that case I’d gladly accept a link to the proper resource (URL, video etc. I’m still fairly new to OBS)
Thanks !
À bientôt, -- Frederic
Salut Frédéric,
The following link should be quite useful to you: https://kamarada.github.io/en/2019/03/19/integrating-the-open-build-service-...
Let me know if it helps.
Best regards
-- Dany Marcoux <dmarcoux@suse.de> Full Stack Web Developer - Open Build Service
SUSE Linux GmbH Maxfeldstrasse 5 90409 Nürnberg Germany
GF: Felix Imendörffer, Mary Higgins, Sri Rasiah HRB 21284 (AG Nürnberg)
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org