Re: [Crowbar] RESTful Crowbar API

2013-03-20 Thread Ward Harold
Agreed, that's why I use api.github.com to render things. ... WkH On Mar 20, 2013, at 10:44 AM, James Tan wrote: > On 03/20/2013 01:01 PM, Adam Spiers wrote: >> Andreas Jaeger (a...@suse.com) wrote: Btw. to render a markdown file locally, install redcarpet as root with e.g. (or insta

Re: [Crowbar] RESTful Crowbar API

2013-03-20 Thread James Tan
On 03/20/2013 01:01 PM, Adam Spiers wrote: > Andreas Jaeger (a...@suse.com) wrote: >> >Btw. to render a markdown file locally, install redcarpet as root with >> >e.g. (or install the openSUSE rpm from the build service): >> >gem install redcarpet > Yep, there are several gems which can do this. Ot

Re: [Crowbar] RESTful Crowbar API

2013-03-20 Thread Adam Spiers
James Tan (ja...@suse.de) wrote: > Hi Ward, > > (CC-ing the list, as it might be useful to others too. Hope you don't mind!) This is great James, thanks a lot for writing it up. Glad to see that your workflow is nearly identical to mine :-) [snipped] > 6) Done with the rebase, I now force push

Re: [Crowbar] RESTful Crowbar API

2013-03-20 Thread Adam Spiers
James Tan (ja...@suse.de) wrote: > On 03/16/2013 09:23 PM, Ward Harold wrote: > >James, thanks for the note on your workflow. I'd like to stick > >with the ./dev mechanism as much as possible. > > You're welcomed, and sure whatever works best for you. :-) Indeed, although I would personally recom

Re: [Crowbar] RESTful Crowbar API

2013-03-20 Thread Adam Spiers
Andreas Jaeger (a...@suse.com) wrote: > Btw. to render a markdown file locally, install redcarpet as root with > e.g. (or install the openSUSE rpm from the build service): > gem install redcarpet Yep, there are several gems which can do this. Others include: - BlueCloth - maruku - kramdow

Re: [Crowbar] RESTful Crowbar API

2013-03-18 Thread Andreas Jaeger
Btw. to render a markdown file locally, install redcarpet as root with e.g. (or install the openSUSE rpm from the build service): gem install redcarpet and then just run redcarpet file.md > file.html Andreas -- Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi SUSE LIN

Re: [Crowbar] RESTful Crowbar API

2013-03-18 Thread James Tan
Hi Ward, (CC-ing the list, as it might be useful to others too. Hope you don't mind!) On 03/16/2013 01:11 AM, Ward Harold wrote: > James, looks like Rob beat me to merging the pull request. I liked > your edits; I learn something new about markdown every day. What do > you use to render it loca

Re: [Crowbar] RESTful Crowbar API

2013-03-18 Thread James Tan
On 03/16/2013 09:23 PM, Ward Harold wrote: James, thanks for the note on your workflow. I'd like to stick with the ./dev mechanism as much as possible. You're welcomed, and sure whatever works best for you. :-) After a little trial and error with the github.com API I came

Re: [Crowbar] RESTful Crowbar API

2013-03-18 Thread Ward Harold
James, thanks for the note on your workflow. I'd like to stick with the ./dev mechanism as much as possible. After a little trial and error with the github.com API I came up with the following curl command which renders markdown for me: curl --location --request POST --data-binary @.md --header "

Re: [Crowbar] RESTful Crowbar API

2013-03-15 Thread James Tan
On 03/15/2013 07:28 PM, Ward Harold wrote: > No problem at all! Thanks for the edits. I'll adopt them for the > remainder; which should be coming very soon ... WkH Great, I'm looking forward to seeing them land soon! Meanwhile, can you please review and merge the pull request [1]? Thanks, James

Re: [Crowbar] RESTful Crowbar API

2013-03-15 Thread James Tan
Hi Ward, On 03/12/2013 01:14 AM, ward_har...@dell.com wrote: > I've been working on a proposal for a RESTful Crowbar API for a few days. > It's starting point is the various API/routing discussions that have been > going on. I added some things I've learned over time and folded in best > pract