[opensuse-packaging] Relative or absolute symlinks?
Hi, it's really great that we agree on if we want relative or absolute links and that we clearly don't test our scripts :( We have scripts which converts relative links to absolute links only to warn in the next step about absolute links: https://bugzilla.suse.com/show_bug.cgi?id=1166667 What's now correct? Thorsten -- Thorsten Kukuk, Distinguished Engineer, Senior Architect SLES & MicroOS SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany Managing Director: Felix Imendoerffer (HRB 36809, AG Nürnberg) -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Sat, Mar 14, 2020 at 3:49 AM Thorsten Kukuk <kukuk@suse.de> wrote:
Hi,
it's really great that we agree on if we want relative or absolute links and that we clearly don't test our scripts :(
We have scripts which converts relative links to absolute links only to warn in the next step about absolute links: https://bugzilla.suse.com/show_bug.cgi?id=1166667
What's now correct?
Relative symlinks is what you should be doing. It's too error-prone to use absolute symlinks. They're easy to generate when using "ln -sr", anyway. -- 真実はいつも一つ!/ Always, there's only one truth! -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Am 14.03.20 um 08:49 schrieb Thorsten Kukuk:
Hi,
it's really great that we agree on if we want relative or absolute links and that we clearly don't test our scripts :(
We have scripts which converts relative links to absolute links only to warn in the next step about absolute links: https://bugzilla.suse.com/show_bug.cgi?id=1166667
the warning about absolute links doesn't come from our scripts but from new rpm. It's an upstream decision that absolute links are bad (with little reasoning IMO) - colliding with our (very old and never checked) policy to use relatve links unless they cross / - so in your example coming from /usr going to /bin. Honestly, the reason for leaving some absolute links is so old that I don't know if it's true or anyone would remember - so I'm fine with just going 100% relative. Greetings, Stephan -- Lighten up, just enjoy life, smile more, laugh more, and don't get so worked up about things. Kenneth Branagh -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (3)
-
Neal Gompa
-
Stephan Kulow
-
Thorsten Kukuk