https://bugzilla.novell.com/show_bug.cgi?id=752309
https://bugzilla.novell.com/show_bug.cgi?id=752309#c4
--- Comment #4 from James Carter 2012-03-15 16:02:19 UTC ---
I agree that the repo probably should not have hard links, which can confuse
rsync. The workaround is only for an end-user who uses the downloaded copy of
the repo for configuration control.
I'm asking for (effectively) two differently named files with the same
content, not two same-named files with different content. A symbolic link
would be more efficient and rsync would be happy with it, but symlinks might
not fit in with your method of generating the files.
How does libzypp identify which is the correct index file to use, without
knowing the name in advance? It looks like I'm going to have to stat every
index file and pick the one with the latest mod date. Hiss, boo.
Hmm, are you thinking of a race condition in which the mirror site
downloads the symlink first, and the end-user downloads the symlink from them,
but the mirror doesn't get the referent until later, and the end-user never
gets it. Maybe it's better to waste the bandwidth on 2 files with the same
content. I never understood why the hash-named files were necessary, given
that the SHA-256 sum (formerly SHA-1) is in repomd.xml and the most recent file
contains all the content of the previous ones plus more.
--
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.