[Bug 534709] New: openSUSE Build Service -- have a mistake in buildservice/dist/obs_mirror_project
http://bugzilla.novell.com/show_bug.cgi?id=534709 Summary: openSUSE Build Service -- have a mistake in buildservice/dist/obs_mirror_project Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: 3rd party software AssignedTo: froh@novell.com ReportedBy: lijian.gnu@gmail.com QAContact: opensuse-communityscreening@forge.provo.novell.com Found By: --- Hi, I've found following error: -------------------------------- # ruby /dist/osc/buildservice/dist/obs_mirror_project openSUSE:10.2 standard i586 Server returned an error: HTTP Error 404: Not Found Unknown project 'openSUSE:10.2' Server returned an error: HTTP Error 404: Not Found Unknown project openSUSE:10.2 osc req: no such option: -m Try 'osc help req' for info. .. ================================= There a tow errors : 1. Unknown project 'openSUSE:10.2' but the given help also have a mistake info : ------------------------------------------ # ruby /dist/osc/buildservice/dist/obs_mirror_project Call this script with <project> <repository> <architecture> [-v] arguments. To mirror openSUSE 10.2 as base distro, please call: obs_mirror_project openSUSE:10.2 standard i586 ================================================= 2. Try 'osc help req' for info. When i search req on obs_mirror_project file : -------------------------------------------- # grep ' req ' /dist/osc/buildservice/dist/obs_mirror_project puts "Downloading: osc req -m GET https://api.opensuse.org/build/#{project}/#{repository}/#{architecture}/_repository\n" if verbose process = File::popen("osc req -m GET https://api.opensuse.org/build/#{project}/#{repository}/#{architecture}/_repository", "r") puts "Downloading: osc req -m GET https://api.opensuse.org/build/#{project}/#{repository}/#{architecture}/_repository/#{fname}" unless system("osc req -m GET https://api.opensuse.org/build/#{project}/#{repository}/#{architecture}/_repository/#{fname}
#{destinationdir}/#{fname}") =====================================
then i run ------------------ # osc req Command req is obsolete. Please use 'osc api' ============================================= my osb-server version is update from svn. maybe someone should modified thie errors. thanks, -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=534709 http://bugzilla.novell.com/show_bug.cgi?id=534709#c1 Thomas Schmidt <tschmidt@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |tschmidt@novell.com Info Provider| |adrian@novell.com --- Comment #1 from Thomas Schmidt <tschmidt@novell.com> 2010-01-19 20:52:18 CET --- adrian: is this fixed for the 1.7 package? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=534709 http://bugzilla.novell.com/show_bug.cgi?id=534709#c2 --- Comment #2 from Jian Lee <lijian.gnu@gmail.com> 2010-01-20 01:25:04 UTC --- (In reply to comment #1)
adrian: is this fixed for the 1.7 package?
Yes, it is fixed in 1.7 -------------------- # grep api build-service/dist/obs_mirror_project puts "Downloading: osc api -m GET https://api.opensuse.org/build/#{project}/#{repository}/#{architecture}/_repository\n" if verbose process = File::popen("osc api -m GET https://api.opensuse.org/build/#{project}/#{repository}/#{architecture}/_repository", "r") puts "Downloading: osc api -m GET https://api.opensuse.org/build/#{project}/#{repository}/#{architecture}/_repository/#{fname}" # fallback to api download # print "failed, try via api for #{fname} \n" unless system("osc api -m GET https://api.opensuse.org/build/#{project}/#{repository}/#{architecture}/_repository/#{fname}
#{destinationdir}/#{fname}") print "Unable to download #{fname} from mirror AND api\n" ======================================================
-- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=534709 http://bugzilla.novell.com/show_bug.cgi?id=534709#c3 Thomas Schmidt <tschmidt@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Info Provider|adrian@novell.com | Resolution| |FIXED --- Comment #3 from Thomas Schmidt <tschmidt@novell.com> 2010-01-20 10:14:56 CET --- ok, thanks for checking. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com