[Bug 729140] New: osc vc breaks hardlinked changelog files
https://bugzilla.novell.com/show_bug.cgi?id=729140 https://bugzilla.novell.com/show_bug.cgi?id=729140#c0 Summary: osc vc breaks hardlinked changelog files Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: Other OS/Version: SuSE Other Status: NEW Severity: Normal Priority: P5 - None Component: BuildService AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: puzel@suse.com QAContact: adrian@suse.com CC: mvyskocil@suse.com Found By: L3 Blocker: --- If there are multiple hardlinked *.changes files, running osc vc pkg.changes breaks the hardlink. Expected result: preserve the hardlink ~ update all changelogs. -- 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=729140 https://bugzilla.novell.com/show_bug.cgi?id=729140#c2 --- Comment #2 from Adrian Schröter <adrian@suse.com> 2011-11-09 09:14:47 UTC --- while we could support this in osc, the hardlinks would go anyway when storing and re-checkout the files in OBS. There is no way to keep the hardlinks via a REST api... -- 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=729140 https://bugzilla.novell.com/show_bug.cgi?id=729140#c Adrian Schröter <adrian@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|BuildService |osc AssignedTo|bnc-team-screening@forge.pr |adrian@suse.com |ovo.novell.com | Product|openSUSE.org |openSUSE Build Service -- 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=729140 https://bugzilla.novell.com/show_bug.cgi?id=729140#c3 --- Comment #3 from Petr Uzel <puzel@suse.com> 2011-11-09 09:23:33 UTC --- I see; but since PTF utilities recreate the hardlinks on each checkout (if there are multiple changelogs with same content), it would be nice to have this fixed. -- 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=729140 https://bugzilla.novell.com/show_bug.cgi?id=729140#c4 Michal Vyskocil <mvyskocil@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lnussel@suse.com --- Comment #4 from Michal Vyskocil <mvyskocil@suse.com> 2011-11-11 10:58:03 UTC --- osc vc calls /usr/bin/buildvc written by Ludwig, so that support must be there -- 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=729140 https://bugzilla.novell.com/show_bug.cgi?id=729140#c5 Ludwig Nussel <lnussel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |puzel@suse.com --- Comment #5 from Ludwig Nussel <lnussel@suse.com> 2011-11-11 12:06:51 CET --- Well, if you artifically create the hardlinks why don't you recreate them after osc vc? buildvc just does the usual "blah > foo.new && mv foo.new foo" atomic file replacement. -- 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=729140 https://bugzilla.novell.com/show_bug.cgi?id=729140#c6 Petr Uzel <puzel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|puzel@suse.com | --- Comment #6 from Petr Uzel <puzel@suse.com> 2011-11-15 12:36:23 UTC --- (In reply to comment #5)
Well, if you artifically create the hardlinks why don't you recreate them after osc vc?
Because in our PTF-building workflow, there is no 'natural' point where this could be hooked.
buildvc just does the usual "blah > foo.new && mv foo.new foo" atomic file replacement.
/work/src/bin/vc preserves the hardlinks (I didn't check how it works). -- 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=729140 https://bugzilla.novell.com/show_bug.cgi?id=729140#c7 Adrian Schröter <adrian@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX --- Comment #7 from Adrian Schröter <adrian@suse.com> 2012-04-04 13:08:18 UTC --- we will not proved hard links via REST api. You may want to write a source service which allows to clone files. -- 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