incubator-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: [ATTN] Incubator releases distribution area reminder!
Date Mon, 27 Feb 2012 15:29:17 GMT
On 27 February 2012 03:01, Daniel Shahaf <d.s@daniel.shahaf.name> wrote:
> sebb wrote on Mon, Feb 27, 2012 at 02:17:15 +0000:
>> On 26 February 2012 18:39, Daniel Shahaf <d.s@daniel.shahaf.name> wrote:
>> > Andy Seaborne wrote on Sun, Feb 26, 2012 at 17:37:49 +0000:
>> >> 3/
>> >>
>> >> [[
>> >> Often symbolic links are created from the root of the project
>> >> distribution directory to the latest version of each release. This
>> >> allows scripts or users to easily locate the latest release.
>>
>> AIUI, this is a bad idea, because:
>> - the links are frequently not updated
>> - they don't work for mirrors, which means the mirrors space usage increases
>> - when the file is downloaded using the link, the file name does not
>> include the version information
>>
>> Users will normally get the latest release from the download page, so
>> the only possible use is for scripts.
>>
>> >> ]]
>> >>
>> >> is at odds with
>> >>
>> >> http://www.apache.org/dev/mirror-step-by-step.html
>> >> [[
>> >> 9. Do not use symbolic links in mirrored directories!
>> >> ]]
>> >> although that does say "Note: This file contains out-of-date information."
>> >>
>> >
>> > That refers to the suggestion to ssh www.  But yeah, I can assure you
>> > that until a few weeks ago no one (PMC or podling) used symlinks in that
>> > matter, and even today there exists only one such link in the entire
>> > dist/ tree.
>>
>> Huh?
>>
>> The use of symlinks under /www/www.apache.org/dist is unfortunately
>> still quite common.
>>
>> pwd dist : pwd
>> /www/www.apache.org/dist
>> pwd dist : find . -type l -name "*current*.asc" -ls | wc -l
>>       77
>
> deltacloud/stable is only symlink that cron complain about.  (Feel free
> to compare it between archive and dist.)  It's on root@'s todo list,
> somewhere, to make those complaints stop.

deltacloud/stable is a softlink to a directory; there are several
other such links, e.g.

zookeeper/current
zookeeper/stable

I've no idea why deltacloud is the only such one that cron does not like.

But this is straying away from the question about the use of symlinks.

Why does the incubator document disagee with the dev/ document?

Are symlinks disallowed/deprecated/allowed?

Or perhaps only some types of links are allowed - e.g. README.html,
KEYS, i.e. files that are not release-specific.

The policy ought to be determined and documented properly, including
the assumptions/reasoning behind the policy.

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@incubator.apache.org
For additional commands, e-mail: general-help@incubator.apache.org


Mime
View raw message