Fossologists, A critical defect was found in Release 1.0.0 of fossology dealing with uploading a directory with the upload from server functionality. The code is now fixed, tested and ready for use.
Please use the attached code to patch your system(s) using the instructions below: Patch/Install Instructions ========================== Save the attachment and get the code on the fossology system. Debian Package install: ----------------------- - If you installed fossology using the debian packages, then cp2foss will be in /usr/bin. - As root change the permissions of cp2foss.php to root:staff and make the program world executable. e.g. sudo chown root:staff cp2foss.php; sudo chmod a+x cp2foss.php - As root move (not copy!) the program into place. e.g. sudo mv cp2foss.php /usr/bin/cp2foss Tar Ball/Upstream Install ------------------------- - If you installed fossology using the sources or tar ball, then cp2foss will be in /usr/local/bin - As root change the permissions of cp2foss.php to root:staff and make the program world executable. e.g. sudo chown root:staff cp2foss.php; sudo chmod a+x cp2foss.php - As root move (not copy!) the program into place. e.g. sudo mv cp2foss.php /usr/local/bin/cp2foss Sorry for the inconvenience, thanks for installing the fixed version. --- The FOSSology Team Bob Gobeille wrote:
Looks like a bug in 1.0.Thanks for finding it. I'd be surprised if this takes more than 24 hrs to find, fix, test.In the meantime, you can work around the problem by creating a tarball of the directory and using Upload > From File.I have tried with this syntax but nothing is uploaded. I am using the version 1.0.0.You should only need the path on your server "/filepath/directory". But I'm having trouble as well. Which fossology version are you using?I would like to upload the content of a complete directory via the menu "upload" / "upload from server". I have stored the directory on the same server as the Fossology server to avoid any problem of security. Could you please let me know the syntax to use for the field no 2 "Select the directory or file(s) on the server to upload:". Is it something like " \directory\*.*" or "/directory/%" or something else?
<<attachment: cp2foss.php>>
_______________________________________________ fossology mailing list fossology@fossology.org http://fossology.org/mailman/listinfo/fossology