This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lbt@maemo-obs2-04:~/rk/ruote-kit> bundle install | |
Fetching source index for http://rubygems.org/ | |
Installing rake (0.8.7) cp: cannot create regular file `/usr/lib64/ruby/gems/1.8/bin/': Is a directory | |
Using bundler (1.0.0.rc.2) | |
Installing gemcutter (0.6.1) | |
Installing git (1.2.5) | |
Installing haml (3.0.15) cp: cannot create regular file `/usr/lib64/ruby/gems/1.8/bin/': Is a directory | |
cp: cannot create regular file `/usr/lib64/ruby/gems/1.8/bin/': Is a directory | |
cp: cannot create regular file `/usr/lib64/ruby/gems/1.8/bin/': Is a directory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lbt@maemo-obs2-04:~/rk/ruote-kit> ll /usr/lib64/ruby/gems/1.8/gems/ | |
total 176 | |
drwxr-xr-x 44 root root 4096 2010-08-07 13:47 ./ | |
drwxr-xr-x 6 root root 4096 2010-07-28 19:16 ../ | |
drwxr-xr-x 3 root root 4096 2010-07-28 19:16 activesupport-2.3.8/ | |
drwxr-xr-x 3 root root 4096 2010-07-28 19:16 air-0.2/ | |
drwxr-xr-x 8 root root 4096 2010-08-03 17:42 amqp-0.6.7/ | |
drwxr-xr-x 4 root root 4096 2010-08-07 13:04 bundler-1.0.0.rc.2/ | |
drwxr-xr-x 13 root root 4096 2010-07-28 19:17 daemon-kit-0.1.7.12/ | |
drwxr-xr-x 4 root root 4096 2010-08-07 13:46 daemons-1.1.0/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
while [[ ! -d .git ]] ; do | |
cd .. | |
if [[ "$PWD" == "/" ]] ; then | |
echo "Couldn't find git root" | |
exit | |
fi | |
done | |
git log -1 --pretty="%s" | egrep "^nb:" 2>&1 >/dev/null && exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
david@ash:/maemo/devel/grasp$ git clone git@gitorious.org:meego-infrastructure-tools/revs.git | |
Initialized empty Git repository in /maemo/devel/grasp/revs/.git/ | |
remote: Counting objects: 1848, done. | |
remote: Compressing objects: 100% (1574/1574), done. | |
remote: Total 1848 (delta 567), reused 1359 (delta 247) | |
Receiving objects: 100% (1848/1848), 1.70 MiB | 175 KiB/s, done. | |
Resolving deltas: 100% (567/567), done. | |
david@ash:/maemo/devel/grasp$ cd revs/ | |
david@ash:/maemo/devel/grasp/revs$ git checkout device-product | |
Branch device-product set up to track remote branch device-product from origin. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ruote.process_definition 'handle_sr' do | |
sequence do | |
request_handler :action => 'review' | |
# Process these checks. if check_status is set to something != SUCCESS | |
# then break out of the 'cursor' | |
cursor :break_if => '${check_status} != SUCCESS' do | |
check_process |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# Recursively pulls gems in preparation for gem2deb | |
require 'rubygems' | |
def get_spec(file) | |
code = if defined? Encoding | |
File.read file, :encoding => "UTF-8" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# Recursively pulls gems in preparation for gem2deb | |
require 'rubygems' | |
def get_spec(file) | |
code = if defined? Encoding | |
File.read file, :encoding => "UTF-8" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# irb | |
irb(main):001:0> require 'rubygems' | |
=> true | |
irb(main):002:0> | |
irb(main):003:0* require 'ruote' | |
=> true | |
irb(main):004:0> require 'ruote/storage/fs_storage' | |
=> true | |
irb(main):005:0> require 'ruote-amqp' | |
=> true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
repeat do | |
concurrence :count =>1 | |
listen :to => web_review | |
listen :to => irc_review | |
listen :to => email_review | |
_if ${vote.pkg} == ${my_pkg} do | |
sequence do | |
# increment ${v:vote} | |
over :if => "${v:vote} > 5" |