id774 / automaticruby Goto Github PK
View Code? Open in Web Editor NEWRuby framework for the general-purpose automatic processing
Home Page: http://blog.id774.net/post/2014/02/26/462/
Ruby framework for the general-purpose automatic processing
Home Page: http://blog.id774.net/post/2014/02/26/462/
I think lib/automatic.rb shuoldn't have option-parser.
I make option-parser move to bin/automatic.
Jenkins will tests all testcase at test/integration/*.yml
See http://zachholman.com/talk/ruby-patterns
Bundler, DB migrate, and other ready action in script/bootstrap.
Caching bootstrap results.
CI running with script/cibuild.
$ gem install automatic
$ mkdir -p ~/.automatic/plugins/
If exist ~/.automatic/plugins, Automatic Ruby should be loading both of them.
An ideal User's tutorial as follows
$ mkdir -p ~/.automatic/recipes/
Then, create your plugins.
$ automatic -c ~/.automatic/recipes/your_recipe.yml
This causes following error:
/lib/automatic/pipeline.rb:27:in `const_get': cannot load such file --
automaticruby/plugins/custom/feed_svn_log.rb (LoadError)
- module: CustomFeed::SVNLog
config:
target: scheme://url/to/repository
title: SVN Log of blah blah blah
link: http://url/to/repository/viewer
revision_from: 5
revision_to: 123
reverse: 1
fetch_items: 20
Jenkins ?
I think v12.3.1 should be released.
Because
To advertising to the foreigners.
The user who installed the gem package should be able to create own plugins.
Do you have any reason to wait until v12.4?
doc/README
doc/PLUGINS
Automatic Ruby is Not just a feed aggregator. It is should be able to use the automatic handling of all. Automatic Ruby is to automate the daily backup operations inherent to the system.
$ automatic-config scaffold
Create directory ~/.automatic/plugins/filter
Create directory ~/.automatic/plugins/subscription
Create directory ~/.automatic/plugins/publish
...
$ automatic-config opmlparser opml.xml > feed.txt
$ automatic-config autodiscovery http://id774.net/blog/
["http://id774.net/blog/feed/", "http://id774.net/blog/comments/feed/"]
Automatic::Recipe have depend on Automatic.condig_dir,
because following codes include that method.
def initialize(path = "")
path = Automatic.config_dir + '/default.yml' if path.to_s.empty?
load_recipe(path)
end
I will resolve this dependency.
Now, I have pushed this commit to master branch.
5ccc639
So, you will have to give recipe path option when you execute automatic command,
because previous automatic command execute config/default.yml when you give no option,
probably, that is unexpected behavior for almost users .
Please confirm this message and reply, if possible.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.