I have two question for the OBS-Admins: First question: Using the Download-On-Demand feature, it should be possible for every user to import a third party repository, which could also be a universe mirror. I guess, that you don't want for legal reasons? Second questions: Would you accept a global project for importing selected universe packages? If yes, where should we request it? On Thu, Apr 28, 2016 at 09:25:55AM +0200, Mathias Radtke wrote:
On 27.04.2016 19:08, Martin Koegler wrote:
The first parameter is the package name, the second the URL to the dsc file. It creates a template, which needs further adjustment of the file names. The run "osc commit". Regards, Martin Thanks for your effort. I ran this script on a missing package and got the following error
service download_url failed: Running /usr/lib/obs/service/download_url --protocol http --host archive.ubuntu.com --path /ubuntu/pool/universe/a/ant/ant_1.9.6-1ubuntu1.orig.tar.gz --outdir /lxc.tmp.18830/out No live log available: remote error: ant no logfile
As I wrote above, the _service file needs further adjustments as the simple script just create a simple template. If you look at packages.ubuntu for ant, it lists: Download Source Package ant: [ant_1.9.6-1ubuntu1.dsc] [ant_1.9.6.orig.tar.xz] [ant_1.9.6-1ubuntu1.debian.tar.xz] You need to make sure, that each file is listed in _service. You need to drop the release ["-ubuntu1" in that case] from the orig.tar filename in nearly any case. On some packages [like that] you have to change the extension of the orig.tar from gz to xz [or bz2]. Native packages miss the debian.tar.xz file - you need to drop that entry and remove the orig from the tar file. In very rare cases, you have to add more files. Regards, Martin -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org