Re: [MacRuby-devel] Any volunteers to help maintain http://www.macruby.org?
On Thu, Aug 20, 2009 at 1:01 AM, Matt Aimonetti wrote: > Alright, things are now setup and contribution should be easier (patches > against svn are also accepted). > > How to contribute content for the website using github: > > * fork the website repo on github: > http://github.com/mattetti/macruby_website/ > * clone and pull your branch locally > * create a new topic branch, work on the post, git rebase > interactive/squash commits > * push your branch/commit to your branch and email the list/me to let us > know that the article is ready > * I'll cherry pick your commit and push it to the svn repo > * after verification, Laurent will redeploy the site. > > Advice: > > * try to communicate with other contributors so we don't end up with 2 > people working on the same post. > * if you want to cover something that isn't a status update or major > change, please get in touch with one of us or post to the mailing list. > * I might be on a trip or not available so don't hesitate to send me a > reminder or contact the mailing list if I don't get back to you. > > Technical details about the blog engine: > > The website is developed using webby http://webby.rubyforge.org/ > You obviously need to have webby installed on your machine. ($ sudo gem > install webby) > Using $ webby autobuild will let you preview the site in your browser.(it > should run and open http://localhost:4331/) > To create a new blog post template, simply do: $ webby blog:post > > Mike, if that's ok with you, could you write a tutorial ($ webby > create:tutorial ) on how to write and submit a blog post? > That's just fine with me. I forked your repo and am fiddling with the blog task a bit before going to bed. It appears to be looking for defaults missing from the Sitefile. Is anyone else having this problem? (MRI 1.8.7, Webby 0.9.4) I'll let everyone know how it goes tomorrow. Mike ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Re: [MacRuby-devel] Any volunteers to help maintain http://www.macruby.org?
Here's a smaller/simpler example of creating a gist, although it uses RubyCocoa (it's written for LimeChat), it would be easy to port that MacRuby: http://github.com/alloy/CocoaGist/tree/master Cheers, Eloy On 20 aug 2009, at 08:57, Matt Aimonetti wrote: Haha, let's add that to the todo list. Writing a GUI for webby shouldn't be that hard using MacRuby + webkit. Integration with git can easily be done using grit http://grit.rubyforge.org/ (we don't even need to fork or push to the repo, we can save the blog posts as gists http://gisthub.com/ check Greg's macruby project to see how he did it: http://github.com/atduskgreg/drift/tree/master ) Anyone feels like hacking on a cool little project? (it would be a nice demo project to ship with MacRuby ;) ) - Matt p.s: Jordan, why do Apple people always want others to do things in a easier/more intuitive way? ;) On Wed, Aug 19, 2009 at 11:46 PM, Jordan K. Hubbard wrote: Gosh, if only there were some way of writing some sort of graphical application which could make composing, previewing and submitting blog posts like this a one or two button click operation rather than having to do all those tedious manual steps! It would have to have a nice looking UI, of course, and some widgets for previewing HTML/ other content. If it could also be written in some sort of high- level language which let one do this in the fewest lines of code, well that would be just icing on the cake! Man, it's just too bad we don't have anything that fancy and have to send people to the command-line all the time instead! ;-) - Jordan On Aug 19, 2009, at 10:01 PM, Matt Aimonetti wrote: Alright, things are now setup and contribution should be easier (patches against svn are also accepted). How to contribute content for the website using github: * fork the website repo on github: http://github.com/mattetti/macruby_website/ * clone and pull your branch locally * create a new topic branch, work on the post, git rebase interactive/squash commits * push your branch/commit to your branch and email the list/me to let us know that the article is ready * I'll cherry pick your commit and push it to the svn repo * after verification, Laurent will redeploy the site. Advice: * try to communicate with other contributors so we don't end up with 2 people working on the same post. * if you want to cover something that isn't a status update or major change, please get in touch with one of us or post to the mailing list. * I might be on a trip or not available so don't hesitate to send me a reminder or contact the mailing list if I don't get back to you. Technical details about the blog engine: The website is developed using webby http://webby.rubyforge.org/ You obviously need to have webby installed on your machine. ($ sudo gem install webby) Using $ webby autobuild will let you preview the site in your browser.(it should run and open http://localhost:4331/) To create a new blog post template, simply do: $ webby blog:post Mike, if that's ok with you, could you write a tutorial ($ webby create:tutorial ) on how to write and submit a blog post? Thanks, - Matt On Wed, Aug 19, 2009 at 6:51 PM, Matt Aimonetti > wrote: Thanks Mike, I already wrote your name down ;) I'm working on setting up some stuff so contributing will be easier. Once everything setup, I'll write an email explaining how to contribute and maybe the first task would be to write a tutorial on how to contribute content to the website :) Thanks, - Matt On Wed, Aug 19, 2009 at 3:33 PM, Mike Sassak wrote: I'm game. Where do I sign up? Mike On Aug 19, 2009 6:22 PM, "Jordan K. Hubbard" wrote: As folks can see, there IS a blog there, but it was last updated back in March, Laurent & friends preferring to use email for communicating status. Since we have a blog, however, it also makes sense to keep it relatively current for those folks who are new to the macruby.org site and looking for signs of life. This is obviously not a highly technical task we're talking about, just transcribing the highlights of the email status reports and whatever else seems to be topical (the recent merge of the experimental branch to trunk, for example). This would also be a fine task for a more junior project member looking for an opportunity to start contributing to the project without having to grok the mysteries of MacRuby's internals first, and it's an important contribution since it will help keep folks who enjoy scanning blogs (but not subscribing to mailing lists) up to date! Any takers? - Jordan ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/mac
Re: [MacRuby-devel] zlib status
Hey Laurent, Fair enough, point taken :) Eloy On 19 aug 2009, at 00:20, Laurent Sansonetti wrote: Hi Eloy, I would also love to have a ffi-based zlib but we need zlib urgently for RubyGems and I don't think our FFI implementation will be ready soon. It is still our objective to finish FFI and maybe we can quickly rewrite the extension in pure Ruby for the release. The current extension is anyway imported from the original Ruby project, we just need to tweak it a little bit so that it works with the GC and the new ByteString class. Laurent On Aug 18, 2009, at 3:13 PM, Eloy Duran wrote: Hey Patrick, How about the getting the ffi zlib implementation to work? Seems to me that it would kill two birds with one stone, i.e. getting FFI in a more usable state and a C backed zlib implementation. Eloy On 18 aug 2009, at 23:52, Patrick Thomson wrote: Hi everyone, I'm working on porting ext/zlib to MacRuby right now. I took a look at zliby - though it's certainly nice to have a zlib implementation in pure Ruby, zliby seems to be kind of dead in the water (according to its RubyForge page, it hasn't been updated in almost a year). Additionally, zliby is orders of magnitude slower than ext/zlib (decompressing a 2MB gzipped MP3 with ext/zlib took 0.064 seconds with ext/zlib and 73.909 seconds (yes, over a minute) with zliby). Porting the library will take a little while, as for performance reasons zlib needs to use ByteStrings. So be patient, and it'll be here before you know it. :-) -- Patrick > We are almost there, Etc, Zlib and Socket are still missing. > Last I heard, Laurent had a "plan" for Zlib, knowing him, it's probably a > great and efficient idea. > Make sure to check with him before starting on that. (running some > benchmarks on zliby wouldn't hurt anyone) > > Once function_method will be working again, many more stdlibs should also > be in a better shape (Math, CMath etc..) > > There is a lot of work being done, unfortunately not much we can see yet. > > - Matt ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Re: [MacRuby-devel] Any volunteers to help maintain http://www.macruby.org?
This is from something I wrote a while ago on how to write a recipe but did not post to the site. I added stuff on how to do blog posts too. Writing a recipe/blog post for the MacRuby website is very easy. First, you need to get the MacRuby website source checked out on your computer. (This can be replaced with Matt's git instructions) svn checkout http://svn.macosforge.org/repository/ruby/MacRubyWebsite/trunk macruby_website You also need to have Webby installed. Webby is a RubyGem that builds websites from static files. The MacRuby website is built with Webby. You will also need to install CodeRay which is used to render source code. Lastly, you will need to install RedCloth for textile formatting. (sudo) gem install webby (sudo) gem install coderay (sudo) gem install RedCloth Now that we have webby, and we have the MacRuby website local, we will use webby to generate our recipe and then use webby to visualize it. *Generating your Recipe* Change your directory to the root of the website. You then will generate the recipe from the template: cd macruby_website webby create:recipe recipes/my_cool_recipe Just change *my_cool_recipe/blog_post* with a unique name for your recipe name. If you want just preface it with your name like *rich_kilmer_my_cool_recipe*. This will generate that file. Now you open the generated file and update the header information: title: rich_kilmer_my_cool_recipe created_at: 2009-04-17 15:07:10.638684 -04:00 recipe: true author: Your Name Here You will want to change that title to be more expressive. And then replace 'Your Name Here' with your name. *Generating a Blog Post* This generates a blog post: cd macruby_website webby blog:post my_cool_blog_post You will see output such as: [09:00:21] INFO: creating content/blog/2009/08/index.txt [09:00:21] INFO: creating content/blog/2009/08/20/my-cool-blog-post.txt So there you see it created a structure with today's date and your next post's template. You can then edit the template like was indicated above for the recipe...changing the title and author YAML fields. --- title: my_cool_blog_post created_at: 2009-08-20 09:00:21.829275 -04:00 blog_post: true layout: blog_entry author: Your Name Here filter: - erb - textile --- You can see here that this template can use textile format. *Webby Autobuild and Local Preview* Its helpful to put webby in 'autobuild' mode so you can write and preview your recipe or blog post. webby autobuild This compiles and builds the MacRuby website locally and starts up a local server and then opens a browser pointed at the local service. If you click on the Documentation tab you will see your new recipe listed there. Clicking on its link to your article in the browser will show you the article so far. If you then edit your recipe webby will detect that change and rebuild your recipe page. Refresh the browser and you see your updates live! Best, Rich On Aug 20, 2009, at 3:04 AM, Mike Sassak wrote: On Thu, Aug 20, 2009 at 1:01 AM, Matt Aimonetti > wrote: Alright, things are now setup and contribution should be easier (patches against svn are also accepted). How to contribute content for the website using github: * fork the website repo on github: http://github.com/mattetti/macruby_website/ * clone and pull your branch locally * create a new topic branch, work on the post, git rebase interactive/squash commits * push your branch/commit to your branch and email the list/me to let us know that the article is ready * I'll cherry pick your commit and push it to the svn repo * after verification, Laurent will redeploy the site. Advice: * try to communicate with other contributors so we don't end up with 2 people working on the same post. * if you want to cover something that isn't a status update or major change, please get in touch with one of us or post to the mailing list. * I might be on a trip or not available so don't hesitate to send me a reminder or contact the mailing list if I don't get back to you. Technical details about the blog engine: The website is developed using webby http://webby.rubyforge.org/ You obviously need to have webby installed on your machine. ($ sudo gem install webby) Using $ webby autobuild will let you preview the site in your browser.(it should run and open http://localhost:4331/) To create a new blog post template, simply do: $ webby blog:post Mike, if that's ok with you, could you write a tutorial ($ webby create:tutorial ) on how to write and submit a blog post? That's just fine with me. I forked your repo and am fiddling with the blog task a bit before going to bed. It appears to be looking for defaults missing from the Sitefile. Is anyone else having this problem? (MRI 1.8.7, Webby 0.9.4) I'll let everyone know how it goes tomorrow. Mike
Re: [MacRuby-devel] Any volunteers to help maintain http://www.macruby.org?
What version of Webby is everyone using? I'm on the latest (0.9.4) and was getting errors from the blog:post task until I replaced tasks/blog.task with the one created by 'webby-gen blog'. You can see the changes here: http://github.com/msassak/macruby_website/commit/f262f91c099186fc74f2b1e0c9e4099f0ed1ff67#diff-1. They're small, but made all the difference. :-) I'll create a tutorial out of Rich's post and let the list know when I've pushed it. Mike On Thu, Aug 20, 2009 at 9:07 AM, Richard Kilmer wrote: > This is from something I wrote a while ago on how to write a recipe but did > not post to the site. I added stuff on how to do blog posts too. > Writing a recipe/blog post for the MacRuby website is very easy. First, > you need to get the MacRuby website source checked out on your computer. > > (This can be replaced with Matt's git instructions) > svn checkout > http://svn.macosforge.org/repository/ruby/MacRubyWebsite/trunkmacruby_website > > You also need to have Webby installed. Webby is a RubyGem that builds > websites from static files. The MacRuby website is built with Webby. You > will also need to install CodeRay which is used to render source code. > Lastly, you will need to install RedCloth for textile formatting. > > (sudo) gem install webby > (sudo) gem install coderay > (sudo) gem install RedCloth > > Now that we have webby, and we have the MacRuby website local, we will use > webby to generate our recipe and then use webby to visualize it. > > *Generating your Recipe* > > Change your directory to the root of the website. You then will generate > the recipe from the template: > > cd macruby_website > webby create:recipe recipes/my_cool_recipe > > Just change *my_cool_recipe/blog_post* with a unique name for your recipe > name. If you want just preface it with your name like > *rich_kilmer_my_cool_recipe*. This will generate that file. Now you open > the generated file and update the header information: > > title: rich_kilmer_my_cool_recipe > created_at: 2009-04-17 15:07:10.638684 -04:00 > recipe: true > author: Your Name Here > > You will want to change that title to be more expressive. And then replace > 'Your Name Here' with your name. > > *Generating a Blog Post* > > This generates a blog post: > > cd macruby_website > webby blog:post my_cool_blog_post > > You will see output such as: > > [09:00:21] INFO: creating content/blog/2009/08/index.txt > [09:00:21] INFO: creating content/blog/2009/08/20/my-cool-blog-post.txt > > So there you see it created a structure with today's date and your next > post's template. You can then edit the template like was indicated above > for the recipe...changing the title and author YAML fields. > > --- > title: my_cool_blog_post > created_at: 2009-08-20 09:00:21.829275 -04:00 > blog_post: true > layout: blog_entry > author: Your Name Here > filter: > - erb > - textile > --- > > You can see here that this template can use textile format. > > *Webby Autobuild and Local Preview* > > Its helpful to put webby in 'autobuild' mode so you can write and preview > your recipe or blog post. > > webby autobuild > > This compiles and builds the MacRuby website locally and starts up a local > server and then opens a browser pointed at the local service. If you click > on the Documentation tab you will see your new recipe listed there. > Clicking on its link to your article in the browser will show you the > article so far. If you then edit your recipe webby will detect that change > and rebuild your recipe page. Refresh the browser and you see your updates > live! > > Best, > > Rich > > > On Aug 20, 2009, at 3:04 AM, Mike Sassak wrote: > > On Thu, Aug 20, 2009 at 1:01 AM, Matt Aimonetti > wrote: > >> Alright, things are now setup and contribution should be easier (patches >> against svn are also accepted). >> >> How to contribute content for the website using github: >> >> * fork the website repo on github: >> http://github.com/mattetti/macruby_website/ >> * clone and pull your branch locally >> * create a new topic branch, work on the post, git rebase >> interactive/squash commits >> * push your branch/commit to your branch and email the list/me to let us >> know that the article is ready >> * I'll cherry pick your commit and push it to the svn repo >> * after verification, Laurent will redeploy the site. >> >> Advice: >> >> * try to communicate with other contributors so we don't end up with 2 >> people working on the same post. >> * if you want to cover something that isn't a status update or major >> change, please get in touch with one of us or post to the mailing list. >> * I might be on a trip or not available so don't hesitate to send me a >> reminder or contact the mailing list if I don't get back to you. >> >> Technical details about the blog engine: >> >> The website is developed using webby http://webby.rubyforge.org/ >> You obviously need to have webby installed on your machin
[MacRuby-devel] Git Mirrors
Hi, We now have git mirrors of our SVN repositories: git://git.macruby.org/macruby/MacRuby.git git://git.macruby.org/macruby/MacRubyWebsite.git They mirror during post-commit, so the mirror should never be more than a few seconds behind subversion. Feel free to use them. The following page includes some information about Git and the SVN integration: http://trac.webkit.org/wiki/UsingGitWithWebKit Thanks to William Siegrist of Mac OS Forge fame for making this possible! Laurent ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
