The Half Bakery is an experimental repository for tcl code which isn't quite polished enough for tcllib, is too big to publish in a wiki page, but still deserves some airing. As the name implies, and common sense should dictate, code from the Half Bakery may not be entirely reliable. You should inspect it before relying upon it. It can be accessed here: [http://wiki.tcl.tk/_repo/] One can create directories for packages, upload files to directories, download individual files and whole directories as tar archives. There is a limit of 1Mb per uploaded file - subject to revision. Please keep the package directories continent - so one directory contains one package. Also, please don't upload crud, and please don't delete stuff without reason. Currently modification is not protected by authorisation, but this is subject to revision. [AMG]: What happens if a bored prankster clicks all the delete buttons? Will everything be irretrievably destroyed? [DKF]: Yes. That's why you shouldn't be putting anything there that is fully baked. [CMcC]: Don't believe the buttons! The stuff's not immediately deleted, just renamed and rendered invisible. Then I, wearily, re-rename it, and give the bored prankster something to get excited about. [AMG]: Heh, '''`rename $file ""`''' . ;^) ---- [Lars H], 2008-08-28: Would it be possible to get a link for viewing files in the browser? Right now my browser just downloads any .tcl file I click on (probably because the server is helpful and specifies the file contents as Tcl source code — Safari seems to have a hard-wired set of [mime] types that shouldn't be viewed on screen, but rather just downloaded, and application/x-tcl seems to be one of them). [CMcC] Yes, but there's a conceptual problem I have yet to solve. Perhaps you can suggest solutions. The problem is that any kind of object can be uploaded, and 'view' means just some things (such as application/x-tcl) as text/plain and others (say, image/jpeg) as they are and some things not at all. I can't think of a perfect solution to this, and that annoys me. I've gone for the simplest thing that isn't provably always wrong, and defaulted to text/plain for viewing. [Lars H]: Works fine, AFAICT. Another question: Must the directory names be equal to the wiki page names linked to for documentation? [CMcC] Yes. The ''documentation'' link is just a synthetic link back to the wiki. As the repository is just a file system, there's no other place to store the link, so we just use the directory name. I think it's nice to have a 1:1 mapping for half-bakery names and wiki pages anyway. [AMG] If the name doesn't directly link to a page, the search engine kicks in. Example: http://wiki.tcl.tk/virtualmouse/ indirectly links to [VirtualMouse Cross Platform Mouse Handling]. I have no complaint. ---- '''JR''', 2009-01-27: The half-bakery seems to be much under-utilized, with most code snippets remaining in individual pages. Should we expect it to stick around? Also, what's the preferred way to use a page name containing spaces as the doc link? ---- !!!!!! %| [Category Repository] | [Category Development] |% !!!!!!