]> gitweb.fluxo.info Git - debian.git/commitdiff
On ruby/leap_cli packaging
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 17 Oct 2014 21:41:48 +0000 (18:41 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 17 Oct 2014 21:41:48 +0000 (18:41 -0300)
TODO.md
ruby.md

diff --git a/TODO.md b/TODO.md
index b57df04a676aa6a6889d8ebac7bc7ca62a6e3e59..29421e048478d66641b56dc6ee480861ff21f91c 100644 (file)
--- a/TODO.md
+++ b/TODO.md
@@ -30,7 +30,7 @@ Port
 ----
 
 * pond.
-* leap-cli (check http://deb.leap.se).
+* [leap-cli](https://leap.se) (check http://deb.leap.se).
 * [Blingbling](http://awesome.naquadah.org/wiki/Blingbling).
 * [x2go-server](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=465821).
 * [Terminology](https://www.enlightenment.org/p.php?p=about/terminology).
diff --git a/ruby.md b/ruby.md
index 541532b0f9fcd60697680999577ebc263f7effbb..3ad574d7699bef05e4f7be28bad80705685b0a61 100644 (file)
--- a/ruby.md
+++ b/ruby.md
@@ -2,3 +2,21 @@ Ruby packaging
 ==============
 
 See [this](https://wiki.debian.org/Teams/Ruby/Packaging).
+
+Example: packaging leap_cli and dependencies
+--------------------------------------------
+
+First, in a *fresh* vagrant box:
+
+    sudo gem install leap_cli
+
+Then we get the dependencies and build all packages:
+
+    gem list | cut -d '(' -f 1 | while read gem; do gem2deb $gem; done
+
+Additional steps:
+
+* Fix `debian/control` and other FIXME's on each package.
+* Put `debian/` folder in a `debian` branch on each source.
+* [Review the code](https://manual.sarava.org/specs/code/).
+* Upstream pull requests.