<br>Currently, users who logged in, only can upload code. Is it required to allow upload from users who did not logged in?<br><br>.zip file is allowed now.<br><br>Junk code directory which stores score low code(ccanlint) is also up.<br>
<br>Renaming to <packagename>-<author> if package name already exist is also up.<br><br>Still i am not able to delete files using "rsync --delete --force" it says permission denied and cannot delete non empty directories.<br>
<br>Thanks,<br>Dinesh.<br><br><div class="gmail_quote">On Wed, Jun 25, 2008 at 12:05 PM, Rusty Russell <<a href="mailto:rusty@rustcorp.com.au">rusty@rustcorp.com.au</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Wednesday 25 June 2008 15:02:23 dinesh g wrote:<br>
> Hi Rusty,<br>
><br>
> You can now upload any .tar/.tar.gz/tar.bz2 in the site. Any uploaded code<br>
> first will store at temprepo directory and after running ccanlint on<br>
> uploaded code, if it gets score 2/2 it will move the code to testrepo<br>
> directory. Otherwise it will be in temprepo directory. Any concerns with<br>
> this?<br>
<br>
</div>That seems correct. There are really several cases I can see, ideally. I'm<br>
assuming that we extract a package name (maybe the basename of the .tar<br>
file?)<br>
<br>
1) Is uploader logged into an account?<br>
No: put in a temporary directory, send mail to admins to check it out<br>
manually. This directory is not available on the web server.<br>
<br>
2) Did it pass ccanlint?<br>
No: Check it into junkcode/<packagename>-<author> (replacing old if<br>
exists). This "junkcode" section *is* available on the web server.<br>
<br>
3) Does ccan name clash with existing directory name?<br>
No: Check it into repo/<packagename><br>
Yes: is it the same author as the old one?<br>
Yes: replace the existing directory in the respository.<br>
No: use <packagename>-<author>? And warn uploader somehow.<br>
<div class="Ih2E3d"><br>
> What are other types of file should be allowed to upload? and should<br>
> ccanlint run on these file types also?<br>
<br>
</div>Perhaps a .zip file as well?<br>
<div class="Ih2E3d"><br>
> If any user upload a file, where to store it? Currently i storing extracted<br>
> files in to testrepo directly like in ccan repo now.<br>
<br>
</div>I'd like it directly checked into the repository. That avoids the problem<br>
that Adam was talking about with the client having to understand all the<br>
different types.<br>
<div class="Ih2E3d"><br>
> And i am not able to delete files in <a href="http://ccan.ozlabs.org/dinesh/" target="_blank">http://ccan.ozlabs.org/dinesh/</a>. I used<br>
> --delete option in rsync but it says permission denied.<br>
<br>
</div>OK, I think that's fixed. Please complain if it's not...<br>
<br>
Cheers,<br>
<font color="#888888">Rusty.<br>
</font></blockquote></div><br>