packaging the free so ware web for the end user antonio
play

packaging the free so ware web for the end user Antonio Terceiro - PowerPoint PPT Presentation

packaging the free so ware web for the end user Antonio Terceiro terceiro@debian.org thoughts on debconf15 the venue is really nice kids + families = late night hacking means no morning brie fi ngs for you packaging the free


  1. packaging the free so � ware web for the end user Antonio Terceiro terceiro@debian.org

  2. thoughts on debconf15

  3. the venue is really nice

  4. kids + families = ♥

  5. late night hacking means no morning brie fi ngs for you

  6. packaging the free so � ware web for the end user Antonio Terceiro terceiro@debian.org

  7. problem: I want the web the be more distributed and federated, and less centralized

  8. ∙ server side applications are complicated ∙ requires high/boring e ff ort from technical people ∙ end users can't do it at all

  9. the free so � ware web in Debian ∙ $ apt-cache search web returns | wc -l 3657 ∙ 92 packages ship fi les in /etc/apache2/ ∙ excluding apache itself and modules ∙ several web apps don't do it (e.g. redmine ) it seems we are quite good at packaging …

  10. but what is packaging?

  11. sometimes packages are not enough ∙ no standard ∙ cross-package con fi g ∙ databaseS ∙ DNS setup ∙ email setup

  12. my history with the topic

  13. talks that moved me ∙ Stefano Zacchiroli (debconf14) ∙ Lucas Nussbaum (fosdem'15) ∙ Nicholson/Webber (fosdem'15)

  14. an email that moved me Anthony Towns "About the recent DD retirements" ( debian-project )

  15. started hacking on a PoC on February 2015

  16. presented at MiniDebconf France in April 2015 very useful feedback

  17. got a GSoC 2015 slot and an awful lot of student submissions

  18. GSoC 2015 Thiago Ribeiro So � ware Engineering, UnB

  19. almost-unhealthy amount of hacking during debconf15 quiet hacklabs FTW

  20. stopped in the middle to upgrade jquery to the latest upstream release and sort of adopt it in the middle #730014

  21. continued hacking …

  22. … and today you will see a live demo \o/

  23. goal: automated con fi guration of packaged web applications

  24. goal (alt): allowing everyone to have their own debian server in a secure and maintainable way

  25. shak self hosting application kit https://gitlab.com/shak/shak https://anonscm.debian.org /cgit/users/terceiro/shak.git

  26. related projects ∙ Sandstorm ∙ Yunohost ∙ Bitnami (proprietary × ) good ideas, but reinvent packaging

  27. design: basics ∙ using o ffi cial debian packages ∙ A con fi g management layer on top ∙ minimal work for good out of the box experience ∙ push changes in packages

  28. design: basics ∙ new abstraction: application ∙ one layer above packages ∙ one application will typically need one or more packages

  29. design: UI ∙ a CLI for the so inclined (and for automated testing) ∙ a nice graphical UI to empower users with no technical background

  30. design: asssumptions on packages ∙ DTRT ∙ not automating web server con fi guration OK-ish ∙ handle their own upgrades ∙ dbconfig-common helps with database stu ff

  31. design: nice to have in packages ∙ support for multiple instances ∙ not being crap

  32. design: code ∙ Ruby (o ff -Rails) ∙ chef for con fi g. management ∙ automated tests

  33. current state

  34. Current status: alpha ∙ Base system implemented ∙ installation/updates work ∙ CLI + web UI ∙ removing applications not implemented yet

  35. available applications ∙ static site ∙ wordpress (Thiago/gsoc) ∙ owncloud (Thiago/gsoc) ∙ email (Thiago/gsoc)

  36. https by default ∙ also by Thiago/gsoc ∙ self-signed certs for now ∙ looking forward to let's encrypt or other viable solutions

  37. demo!

  38. the future

  39. next steps ∙ upload to Debian ∙ improve web apps policy ∙ integrate more packages

  40. next steps (2) ∙ easy bootstrapping $ apt install shak ∙ prebuilt images $ debootstrap \ --include=shak

  41. next steps (3/3) ∙ spawn new servers in the cloud ∙ prebuilt images for common low-cost, low-power hardware ∙ talk to FreedomBox people

  42. how you can help

  43. lots of work ahead! collaborators needed

  44. you can request your package to be added ∙ issues on gitlab ∙ debian bts

  45. ways to help (1/2) ∙ usability testing ∙ bug reports ∙ documentation ∙ translations

  46. ways to help (2/2) ∙ code of course ∙ code reviews ∙ ideas on dns/ssl/email handling ∙ security audits

  47. discussion ∙ #debian-webapps ∙ debian-webapps@l.d.o didn't ask folks there

  48. questions ?

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend