Loomio

Debian Packaging Workshop at COEP Jan 2017

Pirate PraveenPirate Praveen Wed 14 Dec 2016 7:35AMPublicSeen by 477

Coordination thread for Debian Packaging Workshop at COEP.

Pre-requisites are documented here
https://www.loomio.org/d/LTpSdMuX/debian-packaging-pre-requisites

Join our real time chat group using one of the 3 options and say hi. If you have difficulty with pre-requisites please ask here or on our chat room.

IRC: #debian-in on irc.oftc.net
XMPP: debian-in@conference.diasp.in
Matrix: #_oftc_#debian-in:matrix.org

If you are new to these technologies, I suggest you try matrix, see https://matrix.org for details.

See https://poddery.com/#xmpp for XMPP apps and use http://webchat.oftc.net/?channels=debian-in&uio=MT11bmRlZmluZWQb1 to join the IRC room

I'm hoping to divide the whole students into the following teams based on their interest, once they understand the basics of packaging (using nodejs modules, as they are easy to package for a new person. @sruthi is maintaining hundreds of nodejs modules even though she was a librarian before).

  • Those who want to focus on packaging (again split into nodejs, ruby, python, go)
  • Those who are interested in coding (we need help improving tools like npm2deb, gem2deb, lintian, dh-make. Adding glue code like grunt-browserify-lite, troubleshooting test failures, porting to new library versions etc)
  • Those who want to work on maintaining big packages like gitlab, diaspora, pagure
  • Those who want to help with system administration (maintaining poddery.com, diasp.in, git.fosscommunity.in, adding new services like matrix etc).

To set up name and email in environment variables https://wiki.debian.org/Diaspora/Packaging/gem2deb#Setup_your_environment

Please refer https://wiki.debian.org/Javascript/Nodejs/Npm2Deb for detailed steps of packaging.

For repacking instructions please refer https://wiki.debian.org/Javascript/Repacking

Software I want to package during the week
1. Ava https://wiki.debian.org/Javascript/Nodejs/Tasks/ava (has long dependency chain, we should try to package as much as possible).
2. GNUKhata, Behave (https://github.com/behave/behave/)
3. Update diaspora to 0.6.2.0 (will need new rubygems packages or existing packages updated)
4. Fix bugs of some nodejs/ruby packages

Everyone should have gitlab running on their lxc containers and it should be accessible via local network.

If your request to join pkg-javascript team is accepted, follow the steps below to import your package to alioth. Import all your packages to alioth and use it directly for all future packages (we were using git.fosscommunity.in only as a temporary option till we got access to alioth).

  1. Configure your alioth username in ~/.ssh/config and add ssh keys to alioth. See link below. https://wiki.debian.org/Alioth/SSH#How_to_handle_differing_username
  2. Remove origin from your existing repos. git remote remove origin
  3. gbp create-remote-repo --remote-url-pattern='git+ssh://git.debian.org/git/pkg-javascript/%(pkg)s.git' (You can saved this command as a shell script with js-create-repo name in your $PATH). This will create a repo in alioth and push your changes there. Make sure your directory name is same as package name (it starts with node-) and also the debian/xyz-1 tag is pointing to latest commit. (git tag -d debian/xyz-1; git push origin :debian/xyz-1; git tag debian/xyz-1). It is always better to remove debian/xyz-1 tag immediately after gbp import-dsc --pristine-tar command.

Before sending an RFS, please check you can install the package correctly using dpkg -i (you'll know if its dependencies are packaged or not). If a dependency is available from experimental, enable experimental in your sources.list and install it. If a dependency is available in NEW, gbp clone (with --pristine-tar option) the repo from alioth (all repo addresses follow the same pattern, differing only by the actual package name), build the package locally and install it. If it is not in experimental or NEW, it has to be packaged first.

Tushar Agey

Tushar AgeyWed 4 Jan 2017 10:19AM

I am packaging aproba

Ajinkya Geetanand Chavan

Ajinkya Geetanand ChavanWed 4 Jan 2017 10:20AM

I am packaging console-control-strings

Akash Sarda

Akash SardaWed 4 Jan 2017 10:21AM

hoek

Pirate Praveen

Pirate PraveenFri 20 Jan 2017 5:51PM

You have to fix the description, it was rejected by ftp masters.

Vinay Prakash Desai

Vinay Prakash DesaiWed 4 Jan 2017 10:22AM

I am packaging aws4

Pirate Praveen

Pirate PraveenFri 20 Jan 2017 5:25PM

node-aws4 was rejected by ftp masters, they have replied with a comment. Can you update your package?

Srushti Avinash Chaudhari

Srushti Avinash ChaudhariWed 4 Jan 2017 10:22AM

I am packaging aws-sign2 (0.6.0).

Pirate Praveen

Pirate PraveenFri 20 Jan 2017 5:52PM

Can you fix your package? It is missing some copyright notices. You can run licensecheck --deb-machine -l0 -r to see license statements of all files in your package.

Yogiraj Kulkarni

Yogiraj KulkarniWed 4 Jan 2017 10:23AM

I am packaging has-unicode

Akash Sarda

Akash SardaWed 4 Jan 2017 10:24AM

Amarpreet :
json-schema

Abhishek Kuvalekar

Abhishek KuvalekarWed 4 Jan 2017 10:25AM

I am packaging jsbn.

Kolhe Yashashree Vishvanath

Kolhe Yashashree VishvanathWed 4 Jan 2017 10:29AM

i am packaging tweetnacl

Saurabh Agrawal

Saurabh AgrawalWed 4 Jan 2017 10:30AM

I'm packaging assert-plus

sudhanshu allurwar

sudhanshu allurwarWed 4 Jan 2017 10:31AM

I am packaging call-signature

Pirate Praveen

Pirate PraveenFri 20 Jan 2017 5:34PM

Your package was rejected. Can you fix it?

Ranjan Milind Sarwade

Ranjan Milind SarwadeWed 4 Jan 2017 10:31AM

I'm packaging extsprintf

Aditya Neralkar

Aditya NeralkarWed 4 Jan 2017 10:31AM

asynckit

Vivek Bhave

Vivek BhaveWed 4 Jan 2017 10:32AM

I am packaging binary-extensions

Ameya Apte

Ameya ApteWed 4 Jan 2017 10:32AM

I am packaging common-path-prefix

Himanshu Chopra

Himanshu ChopraWed 4 Jan 2017 10:32AM

I'll be packaging caseless

Prathamesh Mane

Prathamesh Mane Wed 4 Jan 2017 10:32AM

I am packaging clean-yaml-object

Akshay kemekar

Akshay kemekar Wed 4 Jan 2017 10:33AM

i am packaging asn1

Roshan Nalawade

Roshan NalawadeWed 4 Jan 2017 10:34AM

tough-cookie

Pirate Praveen

Pirate PraveenFri 20 Jan 2017 5:55PM

Your package node-imurmurhash was rejected. Please fix copyright and description.

Pradnya Hulle

Pradnya HulleWed 4 Jan 2017 10:34AM

I am doing is-error

Shirish Togarla

Shirish TogarlaWed 4 Jan 2017 10:35AM

I am packaging fn-name

Gaurav Juvekar

Gaurav JuvekarWed 4 Jan 2017 10:35AM

I am packaging is-obj

Ravishankar Purne

Ravishankar PurneWed 4 Jan 2017 10:35AM

Packaging "arrify

Siddhesh Rane

Siddhesh RaneWed 4 Jan 2017 10:36AM

ci-Info under packaging....

Aarti Kashyap

Aarti KashyapWed 4 Jan 2017 10:36AM

is-generator-fn

Sumedh Pendurkar

Sumedh PendurkarWed 4 Jan 2017 10:38AM

slice-ansi

Rushikesh Eknath Bhadane

Rushikesh Eknath Bhadane Wed 4 Jan 2017 1:21PM

I am packaging stringstream(0.0.5)

Abhishek Ramchandra Lolage

Abhishek Ramchandra LolageThu 5 Jan 2017 6:30AM

I am packaging plur(2.1.2)

Nikhil Gawande

Nikhil GawandeThu 5 Jan 2017 7:00AM

I am packaging 'buf-compare'

Abhishek Kuvalekar

Abhishek KuvalekarThu 5 Jan 2017 10:21AM

I am packaging md5-hex

Nupur Malpani

Nupur Malpani Thu 5 Jan 2017 10:45AM

I am taking single-line-log

Aarti Kashyap

Aarti KashyapThu 5 Jan 2017 11:15AM

term-size

Tushar Agey

Tushar AgeyThu 5 Jan 2017 11:21AM

I am packaging throttleit

Yogiraj Kulkarni

Yogiraj KulkarniSat 7 Jan 2017 9:40AM

I am packaging caller

Yogiraj Kulkarni

Yogiraj KulkarniSat 7 Jan 2017 11:08AM

I am packaging require-inject

Pirate Praveen

Pirate PraveenSat 7 Jan 2017 4:52PM

"I've responded to a few of these ITPs and have found the responses I've
received suggest that you've chosen your recruits well, so it strikes me
as a shame that they are underselling themselves by submitting ITPs in
this state."

Philip Hands on debian-devel list,

https://lists.debian.org/debian-devel/2017/01/msg00283.html

Some good words for all of you and important advice, be careful about descriptions in ITPs too. Feel free to ask for help if you can't find a good description

Abhijit A M

Abhijit A MMon 9 Jan 2017 5:59PM

Where have the photos disappeared?

Yogiraj Kulkarni

Yogiraj KulkarniTue 10 Jan 2017 3:38AM

Sir, photos are there on the pre-requisites page.

Pirate Praveen

Pirate PraveenWed 11 Jan 2017 3:12PM

If any rfs is waiting for review/upload, please contact me. Also please contact me if you have not yet found a software to package, I will suggest some software for you to package.

Pirate Praveen

Pirate PraveenFri 13 Jan 2017 2:51PM

Next steps for those who are serious about maintaining packages:

  1. Install debian sid on your main machines (dual boot will do).
  2. Configure your mail clients for gpg. See https://emailselfdefense.fsf.org/en/ for setting up thunderbird + enigmail for your laptop and see https://k9mail.github.io/documentation/security/pgpmime_current.html for setting up K9 Mail with Open Keychain.
Pirate Praveen

Pirate PraveenThu 26 Jan 2017 10:45AM

@amarpreetsingha can you fix email address in your package's control file?

Pirate Praveen

Pirate PraveenSat 28 Jan 2017 6:13PM

Those who created their keys on your phones may import your keys to your laptops using this guide https://www.openkeychain.org/faq/#how-to-import-an-openkeychain-backup-with-gpg It will allow you to use your key on your laptop too (you'll need it when you are ready to upload your packages yourself without a sponsor). It will also serve as a backup in case you lose your keys on the phone like @abhishekkuvalekar (he had to reinstall his phone and lost his keys).

Pirate Praveen

Pirate PraveenSun 5 Feb 2017 12:41PM

If your request to join pkg-javascript team is accepted, follow the steps below to import your package to alioth. Import all your packages to alioth and use it directly for all future packages (we were using git.fosscommunity.in only as a temporary option till we got access to alioth).

  1. Configure your alioth username in ~/.ssh/config and add ssh keys to alioth. See link below. https://wiki.debian.org/Alioth/SSH#How_to_handle_differing_username
  2. Remove origin from your existing repos. git remote remove origin
  3. gbp create-remote-repo --remote-url-pattern='git+ssh://git.debian.org/git/pkg-javascript/%(pkg)s.git' (I have saved this command as js-create-repo). This will create a repo in alioth and push your changes there. Make sure your directory name is same as package name (it starts with node-) and also the debian/xyz-1 tag is pointing to latest commit. (git tag -d debian/xyz-1; git push origin :debian/xyz-1; git tag debian/xyz-1)
Pirate Praveen

Pirate PraveenSun 5 Feb 2017 3:42PM

Before sending an RFS, please check you can install the package correctly using dpkg -i (you'll know if its dependencies are packaged or not). If a dependency is available from experimental, enable experimental in your sources.list and install it. If a dependency is available in NEW, gbp clone (with --pristine-tar option) the repo from alioth (all repo addresses follow the same pattern, differing only by the actual package name), build the package locally and install it.