Let's do some Debian Packaging (Workshop)
Submitted by Sruthi Chandran (@srud) on Monday, 25 December 2017
Technical level: Intermediate
This will be a hands-on session on Debian Packaging.
Initially, a demo of packaging process will be given including the tools used and steps involved.
In the second stage, hands-on packaging of a common module by all attendees.
Interested attendees can continue packaging in the https://fossmeet-nitc.talkfunnel.com/2018/15-debian-packaging-hackathon
- Packaging a Node.js module
Must attend: https://fossmeet-nitc.talkfunnel.com/2018/19-introduction-to-debian-packaging as this will be a continuation of that session.
Detailed pre-requisites are mentioned at https://www.loomio.org/d/LTpSdMuX/debian-packaging-pre-requisites
You MUST have a debian unstable system (physical, virtual machine or a container)
Install packaging tools inside the container # apt-get install npm2deb as required
Understand how a basic command line program is created and installed using a simple Makefile See https://git.fosscommunity.in/praveen/hello for an example
Get a basic overview of packaging from Debian New Maintainer’s Guide https://www.debian.org/doc/manuals/maint-guide/
Understand basic git usage (add, commit, clone, push, pull, branch, tag)
- Pick any book from http://sixrevisions.com/resources/git-tutorials-beginners/
- Create an account at https://git.fosscommunity.in and add your ssh public key to your account https://git-scm.com/book/en/v2/Git-on-the-Server-Generating-Your-SSH-Public-Key
Run a hello world program with NodeJs. Follow http://nodeguide.com/beginner.html You can apt-get install nodejs
Recommended: Attend https://fossmeet-nitc.talkfunnel.com/2018/17-lxc-for-lightweight-virtualization
Debian Maintainer maintaining around 160 packages including Ruby, Node.js and a couple of font packages.
Freelancer focusing on Debian packaging
Conducts sessions and workshops on Debian packaging
Librarian turned FOSS enthusiast