Hi Grant, This is an attempt to augment the current functionality of Org mode so that we can use documentes authored with Org mode in Emacs and execute then in other environments with Ruby as the only dependency. I was mostly motivated because in the Ruby world there are tools like Chef or Puppet used to define idempotent runs of the setup from a server. For example the Chef execute resource: http://docs.opscode.com/resource_execute.html execute 'bundle install' do cwd '/myapp' not_if 'bundle check'end As you can see we are defining two commands, the command to run and one more command to check whether the first command should be run. What I have implemented so far is that you could for example express this in Org mode using literate programming as well: #+name: bundle-check #+begin_src sh :dir /myapp bundle check #+end_src #+name: bundle-install #+begin_src sh :dir /myapp :unless bundle-check bundle install #+end_src Here the second code block will only run if the first code block has a non-zero exit status, meaning that the action has not been done yet, because the exit status of each code block is being tracked. You can take a look at some of the examples here for some of the other use cases where I was thinking that this would be useful: https://github.com/wallyqs/org-converge/tree/master/spec/converge_examples Here is a more complex example of what is possible to do: https://github.com/wallyqs/org-converge/blob/master/spec/converge_examples/multi_proc/run.org Thanks, - Wally On Sun, Jun 8, 2014 at 3:50 AM, Grant Rettke wrote: > Hi Waldemar, > > Would this be used in parallel with org-mode? Would it replace it or > complement it? > > I'm not very familiar with what you are trying to replace or augment. > > Kind regards, > > gcr > Grant Rettke | AAAS, ACM, ASA, FSF, IEEE, SIAM, Sigma Xi > gcr@wisdomandwonder.com | http://www.wisdomandwonder.com/ > “Wisdom begins in wonder.” --Socrates > ((λ (x) (x x)) (λ (x) (x x))) > “Life has become immeasurably better since I have been forced to stop > taking it seriously.” --Thompson > > > On Sat, Jun 7, 2014 at 5:48 AM, Waldemar Quevedo > wrote: > > > > Hello Org mode users, > > > > I've had the idea for some time of using Org babel functionality > > as a method to provide configuration management > > features and the result is the following: > > > > https://github.com/wallyqs/org-converge > > > > Note that this uses the Ruby implementation of the Org mode parser > > that I've been maintaining to interop with some useful gems from Ruby, > like > > rake and foreman. > > > > The idea here is to a able to use Org Babel not only > > for reproducible research, but also for reproducible runs entirely. > > This way a local development environment could be considered to be > > a run where the processes run in parallel, or in the case > > of the configuration of a server, we rely on the tangling > > syntax from Org Babel as well defined idempotency checks > > to make sure that the configuration from a server converges. > > > > In case you have some feedback, please let me know! > > Feel free to create any issues in the tracker in case > > you think that the idea has potential :) > > > > Thanks, > > > > - Waldemar > > >