Loomio

Python Packaging at Kochi Python follow up

PP Pirate Praveen Public Seen by 500

Follow up activities for the packaging workshop

Setup aliases and environment variables for packaging: https://wiki.debian.org/Diaspora/Packaging/gem2deb#Setup_your_environment

Steps for packaging Node.js modules: https://wiki.debian.org/Javascript/Nodejs/Npm2Deb

Some node modules available for packaging are listed below. Please reply with your selection.

is-fullwidth-code-point - @suhail
lcid - @renjiththankachan

DU

Deleted account Wed 12 Oct 2016 7:22AM

Done[0]. I shall try to upload the updated script soon. I have already updated the Template page.

[0] https://wiki.debian.org/Javascript/Nodejs/Tasks/Browserify

DU

Deleted account Wed 12 Oct 2016 7:27AM

Please note that I'm running Debian testing (and not sid). So the dependency pasted in the wiki may not be up to date. Please inform me if you find any errors.

Thanks

PP

Pirate Praveen Wed 12 Oct 2016 10:11AM

If you need ssh access to a debian sid box, I can share our test machine.

DU

Deleted account Wed 12 Oct 2016 7:50AM

Ranjith did not get his wiki account activated. So, I have updated the dependency creation script[0] and the template page[1]. Anyone interested may now help update the dependency wiki pages.

How to run:
1. download the script[0]
2. Install tree and npm: sudo apt install tree npm
3. run ./js_task_create.py module -o out-page
replace 'module' with the 'module' you wish. Eg: grunt
4. The file generated is saved to out-page (you can give any name for output file). Copy the complete file content. Edit the wiki page of the module, and replace the complete text.

Please note that the previous Template was dumb and listed the build dependencies under dependencies. I have fixed the template page. Please update the wiki pages.

Thanks

[0] https://wiki.debian.org/Javascript/Nodejs/Tasks?action=AttachFile&do=view&target=js_task_create.py
[1] https://wiki.debian.org/Javascript/Nodejs/Tasks/Template

PP

Pirate Praveen Sun 16 Oct 2016 6:50PM

Alignment needs manual fixing. Can you try to fix the script?

SM

Shanavas M Wed 12 Oct 2016 8:36AM

Is debian stretch or sid mandatory ?
Is jessie too old to get started ?

PP

Pirate Praveen Wed 12 Oct 2016 10:08AM

@shanavasm some tools (like npm2deb, dh-make, licensecheck) will be missing some features, but it is enough to get the concept. If you are willing to search and find workarounds for those issues go ahead. But I suggest you create an lxc container or virtual machine of sid inside jessie for packaging.

PP

Pirate Praveen Wed 12 Oct 2016 10:10AM

@suhail since we are not able to reproduce the bug you were working on, we can drop it for now. Can you try packaging string-width?

S

Suhail Wed 12 Oct 2016 3:04PM

ok. I will try

PP

Pirate Praveen Wed 12 Oct 2016 10:15AM

@renjiththankachan can you try packaging lcid?

Load More