Menu

#3796 /images/yui never created for Ajax plugin

Slash 2.5/3.0
open
5
2006-11-04
2006-10-25
shane
No

Using T_2_5_0_130

Using a bare machine with fresh 'make install' of the above tag, if you
install a slashsite and either include the Ajax plugin at the install-
slashsite time or let that run and then use install-plugin, everything in

/images/yui

is not installed, thereby giving Slash::Ajax and Slash::Firehose fits.

The "yui" directory underneath htdocs/images is just never created.

Running symlink-tool shows it, too:

Symlink at '/usr/local/slash/site/nuclear.ohiobar.org/htdocs/images/
comments.js' missing, successfully added link to '/usr/local/slash/
themes/slashcode/htdocs/images/comments.js'
Symlink at '/usr/local/slash/site/nuclear.ohiobar.org/htdocs/images/
comments2.js' missing, successfully added link to '/usr/local/slash/
themes/slashcode/htdocs/images/comments2.js'
Symlink at '/usr/local/slash/site/nuclear.ohiobar.org/htdocs/images/
dumper.js' missing, successfully added link to '/usr/local/slash/
themes/slashcode/htdocs/images/dumper.js'
Symlink at '/usr/local/slash/site/nuclear.ohiobar.org/htdocs/images/
admin.js' missing, successfully added link to '/usr/local/slash/plugins/
Ajax/htdocs/images/admin.js'
Symlink at '/usr/local/slash/site/nuclear.ohiobar.org/htdocs/images/
common.js' missing, successfully added link to '/usr/local/slash/
plugins/Ajax/htdocs/images/common.js'
Symlink at '/usr/local/slash/site/nuclear.ohiobar.org/htdocs/images/
prototype.js' missing, successfully added link to '/usr/local/slash/
plugins/Ajax/htdocs/images/prototype.js'
Symlink at '/usr/local/slash/site/nuclear.ohiobar.org/htdocs/images/
sd_autocomplete.js' missing, successfully added link to '/usr/local/
slash/plugins/Ajax/htdocs/images/sd_autocomplete.js'
Symlink at '/usr/local/slash/site/nuclear.ohiobar.org/htdocs/images/
sectionprefs.js' missing, successfully added link to '/usr/local/slash/
plugins/Ajax/htdocs/images/sectionprefs.js'
Symlink at '/usr/local/slash/site/nuclear.ohiobar.org/htdocs/images/
yui/autocomplete.js' missing, attempt to create FAILED: No such file or
directory
Symlink at '/usr/local/slash/site/nuclear.ohiobar.org/htdocs/images/
yui/connection.js' missing, attempt to create FAILED: No such file or
directory
Symlink at '/usr/local/slash/site/nuclear.ohiobar.org/htdocs/images/
yui/dom.js' missing, attempt to create FAILED: No such file or directory
Symlink at '/usr/local/slash/site/nuclear.ohiobar.org/htdocs/images/
yui/event.js' missing, attempt to create FAILED: No such file or
directory
Symlink at '/usr/local/slash/site/nuclear.ohiobar.org/htdocs/images/
yui/yahoo.js' missing, attempt to create FAILED: No such file or
directory

There's 2 solutions that I see to fixing this. One easy, and one not-so-
much. Easy is to patch Install.pm such that %stuff knows about
images/yui. The more difficult thing to do would be to have the
installer look at every htdoc= line, break it for paths, and if each step
doesn't exist mkdir it.

I chose the 'easy' path. See attached patch ;)

patch also addresses incomplete/missing 'MANIFEST' file in plugins/
Ajax.

Discussion

  • shane

    shane - 2006-10-25

    SlashInstallImagesYUIFix.patch.txt patch file

     
  • Rob Malda

    Rob Malda - 2006-11-04
    • assigned_to: nobody --> pudge
     
  • Jamie McCarthy

    Jamie McCarthy - 2006-11-04
    • assigned_to: pudge --> jamiemccarthy
     

Log in to post a comment.