Mailinglist Archive: opensuse-bugs (6406 mails)

< Previous Next >
[Bug 259711] New: "osc co" of a non-existing package creates (nearly) empty directory
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Sun, 1 Apr 2007 08:40:28 -0600 (MDT)
  • Message-id: <bug-259711-21960@xxxxxxxxxxxxxxxxxxxxxxxxx/>
https://bugzilla.novell.com/show_bug.cgi?id=259711

           Summary: "osc co" of a non-existing package creates (nearly)
                    empty directory
           Product: openSUSE.org
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: BuildService
        AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
        ReportedBy: suse-beta@xxxxxxxxx
         QAContact: adrian@xxxxxxxxxx


osc co of a non-existing package (in an existing or non-existing project)
creates a nearly empty directory:

# osc co home:cboltz doesnotexist
A    home:cboltz
A    home:cboltz/doesnotexist
Error: can't get 'https://api.opensuse.org/source/home:cboltz/doesnotexist'
HTTP Error 404: Not Found
# echo $?
1
# find home\:cboltz/
home:cboltz/
home:cboltz/.osc
home:cboltz/.osc/_project
home:cboltz/doesnotexist
home:cboltz/doesnotexist/.osc
home:cboltz/doesnotexist/.osc/_project
home:cboltz/doesnotexist/.osc/_package
home:cboltz/doesnotexist/.osc/_files
# head home\:cboltz/doesnotexist/.osc/*
==> home:cboltz/doesnotexist/.osc/_files <==

==> home:cboltz/doesnotexist/.osc/_package <==
doesnotexist

==> home:cboltz/doesnotexist/.osc/_project <==
home:cboltz


The same thing happens with a non-existing project:
# osc co doesnotexist doesnotexist
A    doesnotexist
A    doesnotexist/doesnotexist
Error: can't get 'https://api.opensuse.org/source/doesnotexist/doesnotexist'
HTTP Error 404: Not Found


Expected result: checkout of a non-existing package should not create the local
directory.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

< Previous Next >
Follow Ups