[Bug 431804] New: Build Service: osc up produced broken checkout
https://bugzilla.novell.com/show_bug.cgi?id=431804 Summary: Build Service: osc up produced broken checkout Product: openSUSE 11.1 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: hpj@novell.com QAContact: qa@suse.de Found By: --- Updating a checked-out package broke my checkout - among other things, the tarball was removed and not replaced by a new version, and I got a bunch of project*.diff files for some reason. The below output speaks for itself. hpj [~/work/suse/bs/GNOME:Factory/gvfs] osc up D gvfs-0.99.3.tar.bz2 U _link U project.diff A project1.diff A project2.diff At revision 11. hpj [~/work/suse/bs/GNOME:Factory/gvfs] ls -la total 96 drwxr-xr-x 3 hpj users 4096 2008-10-02 17:40 . drwxr-xr-x 11 hpj users 4096 2008-09-17 17:45 .. -rw-r--r-- 1 hpj users 1270 2008-07-18 16:52 gvfs-fuse-lock-on-open.patch -rw-r--r-- 1 hpj users 552 2008-07-18 14:26 gvfs-fuse-rename-early-free.patch -rw-r--r-- 1 hpj users 436 2008-07-18 22:06 gvfs-leak-1.patch -rw-r--r-- 1 hpj users 9631 2008-07-18 22:07 gvfs.spec -rw-r--r-- 1 hpj users 186 2008-09-24 12:25 _link drwxr-xr-x 2 hpj users 4096 2008-10-02 17:40 .osc -rw-r--r-- 1 hpj users 639 2008-09-24 02:46 project1.diff -rw-r--r-- 1 hpj users 510 2008-09-24 11:38 project2.diff -rw-r--r-- 1 hpj users 48583 2008-09-24 01:54 project.diff hpj [~/work/suse/bs/GNOME:Factory/gvfs] cd .. && rm -Rf gvfs && cd .. hpj [~/work/suse/bs] osc co GNOME:Factory gvfs A GNOME:Factory/gvfs A GNOME:Factory/gvfs/gvfs-1.0.0.tar.bz2 A GNOME:Factory/gvfs/gvfs-dice-backend.patch A GNOME:Factory/gvfs/gvfs-no-shebang.patch A GNOME:Factory/gvfs/gvfs.changes A GNOME:Factory/gvfs/gvfs.spec A GNOME:Factory/gvfs/ready -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=431804 Andreas Jaeger <aj@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |poeml@novell.com -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=431804 User poeml@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=431804#c1 Peter Poeml <poeml@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME --- Comment #1 from Peter Poeml <poeml@novell.com> 2008-10-03 08:42:23 MDT --- Maybe the package was not a link before, then it turned into one? And when you updated your working copy, it became updated but not expanded? That could be an explanation. Yes, it is the case. With revision 10, someone has turned the package into a link: % osc up -r 9 U _link A gvfs-1.0.0.tar.bz2 A project.diff A project1.diff A project2.diff At revision 9. poeml@batavia510 /tmp/GNOME:Factory/gvfs % osc info Project name: GNOME:Factory Package name: gvfs Path: /tmp/GNOME:Factory/gvfs API URL: https://api.opensuse.org Source URL: https://api.opensuse.org/source/GNOME:Factory/gvfs srcmd5: 561340e99cb9733ec8e8b0e328a0ebbd Revision: 9 Link info: project openSUSE:Factory, package gvfs, xsrcmd5 5d9089e9ef1346c626493095fa2f7b90 poeml@batavia510 /tmp/GNOME:Factory/gvfs % osc up -r10 D gvfs-1.0.0.tar.bz2 D project.diff D project1.diff D project2.diff U _link At revision 10. poeml@batavia510 /tmp/GNOME:Factory/gvfs % osc up -r11 U _link A project.diff A project1.diff A project2.diff At revision 11. So the result is to be expected. The checkout needs to be expanded, which can be done with -e (-u reverses the process): poeml@batavia510 /tmp/GNOME:Factory/gvfs % osc up -e Expanding to rev 30f6ba5a64bcd81aeef86d976b282931 D _link D project.diff D project1.diff D project2.diff A gvfs-1.0.0.tar.bz2 A gvfs-dice-backend.patch A gvfs-no-shebang.patch A gvfs.changes A gvfs.spec A ready At revision 30f6ba5a64bcd81aeef86d976b282931. -- 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.
participants (1)
-
bugzilla_noreply@novell.com