]> gitweb.fluxo.info Git - debian.git/commitdiff
Index
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 6 Nov 2015 13:28:46 +0000 (11:28 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 6 Nov 2015 13:28:46 +0000 (11:28 -0200)
basics.mdwn
building.mdwn [new file with mode: 0644]
env.mdwn [new file with mode: 0644]
index.mdwn
repositories.mdwn [moved from repositories.md with 96% similarity]
ruby.mdwn
templates/page.tmpl

index 53b19c751d145d5822d7735a5ce564e0248bb4f1..0778793328218efa91d50d3d802da498ff6f61d5 100644 (file)
@@ -1,6 +1,19 @@
 Basic packaging
 ===============
 
+Configuration files
+-------------------
+
+All the commands in this guide assumes that you're using [these configuration files](https://git.fluxo.info/?p=rhatto/dotfiles/debian.git;a=summary).
+
+Starting a new package
+----------------------
+
+We use the `packages/` folder from this repo to store sources:
+
+    mkdir package/$package
+    cd package/$package
+
 Getting the debianized source
 -----------------------------
 
diff --git a/building.mdwn b/building.mdwn
new file mode 100644 (file)
index 0000000..9f6d8db
--- /dev/null
@@ -0,0 +1,40 @@
+Building
+========
+
+Standard build
+--------------
+
+    DIST=wheezy sudo -E cowbuilder --build $package*.dsc
+
+Signing
+-------
+
+To sign both the `.dsc` and the `.changes` files:
+
+    debsign $package*.changes
+
+Uploading
+---------
+
+Simply run
+
+    dupload *changes
+
+This assumes a `~/.dupload.conf` like the following:
+
+    package config;
+    $default_host = "myremote";
+
+    $cfg{'myremote'} = {
+            fqdn     => "myremote.example.org",
+            login    => "user",
+            method   => "scpb",
+            incoming => "/var/reprepro/incoming/",
+            # The dinstall on ftp-master sends emails itself
+            #dinstall_runs => 1,
+    };
+
+It's also important that:
+
+  1. The host remote port is correctly defined at your `~/.ssh/config`.
+  2. The user is in the `reprepro` group in the server.
diff --git a/env.mdwn b/env.mdwn
new file mode 100644 (file)
index 0000000..b477af6
--- /dev/null
+++ b/env.mdwn
@@ -0,0 +1,60 @@
+Environment
+===========
+
+Build environment creation
+--------------------------
+
+The following steps needs to be run just once for each arch and distro version.
+
+### Setup cowbuilder chroots
+
+This is the recommended method:
+
+    sudo mkdir -p /var/cache/pbuilder/sid-amd64
+    sudo -E cowbuilder --create
+
+    sudo mkdir -p /var/cache/pbuilder/wheezy-amd64
+    sudo -E DIST=wheezy cowbuilder --create
+
+### Setup pbuilder chroots
+
+If you want to setup directly using `pbuilder`:
+
+    git-pbuilder create
+    DIST=wheezy git-pbuilder
+
+### Compatibility with git-buildpackage
+
+This is a workaround while we don't find a cleaner way to fix
+[this issue](http://ramblingfoo.blogspot.com.br/2012/10/howto-sudo-cowbuilder-git-buildpackage.html)
+with `git-buildpackage` not getting `~/.pbuilderrc` from the local user:
+
+    ( cd /var/cache/pbuilder/ && sudo ln -s sid-amd64/base.cow )
+
+External repo integration
+-------------------------
+
+If your package storage lives elsewhere, make a symlink like this:
+
+    (
+      cd /var/cache/pbuilder/wheezy-amd64 && \
+      sudo rm -rf result                  && \
+      sudo ln -s /var/data/apps/distros/debian/packages/build-area/wheezy-amd64 result
+    )
+
+Environment maintenance
+-----------------------
+
+These steps should be run once in a while to ensure we have an up to date packaging environment.
+
+### Pbuilder
+
+    DIST=sid    git-pbuilder update
+    DIST=wheezy git-pbuilder update --override-config
+
+### Cowbuilder
+
+    DIST=sid    sudo -E cowbuilder --update
+    DIST=wheezy sudo -E cowbuilder --update --override-config
+
+
index 86f10fa43b99c0686580aee90f3f09439a374b36..e63930fd30b521ac16a20894445f621d88dc93fd 100644 (file)
@@ -11,109 +11,17 @@ Grab this repository using
 
     git clone --recursive git://git.fluxo.info/debian.git
 
-Configuration files
--------------------
-
-All the commands in this guide assumes that you're using [these configuration files](https://git.fluxo.info/?p=rhatto/dotfiles/debian.git;a=summary).
-
-Starting a new package
-----------------------
-
-We use the `packages/` folder from this repo to store sources:
-
-    mkdir package/$package
-    cd package/$package
-
-Build environment creation
---------------------------
-
-The following steps needs to be run just once for each arch and distro version.
-
-### Setup cowbuilder chroots
-
-This is the recommended method:
-
-    sudo mkdir -p /var/cache/pbuilder/sid-amd64
-    sudo -E cowbuilder --create
-
-    sudo mkdir -p /var/cache/pbuilder/wheezy-amd64
-    sudo -E DIST=wheezy cowbuilder --create
-
-### Setup pbuilder chroots
-
-If you want to setup directly using `pbuilder`:
-
-    git-pbuilder create
-    DIST=wheezy git-pbuilder
-
-### Compatibility with git-buildpackage
-
-This is a workaround while we don't find a cleaner way to fix
-[this issue](http://ramblingfoo.blogspot.com.br/2012/10/howto-sudo-cowbuilder-git-buildpackage.html)
-with `git-buildpackage` not getting `~/.pbuilderrc` from the local user:
-
-    ( cd /var/cache/pbuilder/ && sudo ln -s sid-amd64/base.cow )
-
-External repo integration
--------------------------
-
-If your package storage lives elsewhere, make a symlink like this:
-
-    (
-      cd /var/cache/pbuilder/wheezy-amd64 && \
-      sudo rm -rf result                  && \
-      sudo ln -s /var/data/apps/distros/debian/packages/build-area/wheezy-amd64 result
-    )
-
-Environment maintenance
------------------------
-
-These steps should be run once in a while to ensure we have an up to date packaging environment.
-
-### Pbuilder
-
-    DIST=sid    git-pbuilder update
-    DIST=wheezy git-pbuilder update --override-config
-
-### Cowbuilder
-
-    DIST=sid    sudo -E cowbuilder --update
-    DIST=wheezy sudo -E cowbuilder --update --override-config
-
-Building
---------
-
-    DIST=wheezy sudo -E cowbuilder --build $package*.dsc
-
-Signing
--------
-
-To sign both the `.dsc` and the `.changes` files:
-
-    debsign $package*.changes
-
-Uploading
----------
-
-Simply run
-
-    dupload *changes
-
-This assumes a `~/.dupload.conf` like the following:
-
-    package config;
-    $default_host = "myremote";
-
-    $cfg{'myremote'} = {
-            fqdn     => "myremote.example.org",
-            login    => "user",
-            method   => "scpb",
-            incoming => "/var/reprepro/incoming/",
-            # The dinstall on ftp-master sends emails itself
-            #dinstall_runs => 1,
-    };
-
-It's also important that:
-
-  1. The host remote port is correctly defined at your `~/.ssh/config`.
-  2. The user is in the `reprepro` group in the server.
+Index
+-----
+
+* [Basics](basics).
+* [Environment](env).
+* [Checking sources](checking).
+* [Building](building).
+* [Repositories](repositories).
+* [References](references).
+* [TODO](todo).
+* Custom procedures:
+  * [LEAP](leap).
+  * [Python](python).
+  * [Ruby](ruby).
similarity index 96%
rename from repositories.md
rename to repositories.mdwn
index 8f66d720c6d2a60524615aa69ea704bfa1b22885..8cb956f76485d2b4b24afb83fc6c869b7fdba77e 100644 (file)
@@ -11,7 +11,7 @@ Reprepro:
 * [puppet-reprepro](https://git.sarava.org/?p=puppet-reprepro.git;a=summary).
 Alguns links sobre como instalar e usar o reprepro:
 * [reprepro](http://mirrorer.alioth.debian.org/).
-* [HowToSetupADebianRepository](http://wiki.debian.org/HowToSetupADebianRepository?highlight=(reprepro)).
+* [HowToSetupADebianRepository](http://wiki.debian.org/HowToSetupADebianRepository).
 * [Setting up your own APT repository with upload support](http://www.debian-administration.org/article/Setting_up_your_own_APT_repository_with_upload_support).
 * [Setting up a basic Debian repository with reprepro](https://noc.sidux.com/fll/wiki/reprepro).
 * [Setting up and managing an APT repository with reprepro](http://www.jejik.com/articles/2006/09/setting_up_and_managing_an_apt_repository_with_reprepro/).
index c11a92d962004eef9e0365ba3b5236253eca0e57..d84e20a52c992b55fae05cc6575e0c39967cac8e 100644 (file)
--- a/ruby.mdwn
+++ b/ruby.mdwn
@@ -2,4 +2,4 @@ Ruby packaging
 ==============
 
 * See [this](https://wiki.debian.org/Teams/Ruby/Packaging).
-* Example: `leap.md`.
+* Example: [LEAP](/leap).
index b525d22118d5cd2a6e1367a85d80684e7e97b281..590445ce156b8173989c5f8130c91fc03480571e 100644 (file)
@@ -51,7 +51,7 @@
           <li><a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a> <span class="divider">/</span> </li>
       </TMPL_LOOP>
       <li><TMPL_VAR TITLE></li>
-      <li><span class="divider">|</span> <a href="/meta">Meta</a></li>
+      <!--<li><span class="divider">|</span> <a href="/meta">Meta</a></li>-->
       <li><span class="divider">|</span> <a href="<TMPL_VAR HISTORYURL>">History</a></li>
       <li><span class="divider">|</span> <a href="/index.rss">Feed</a></li>
       </ul>