logo

drewdevault.com

[mirror] blog and personal website of Drew DeVault git clone https://hacktivis.me/git/mirror/drewdevault.com.git

Sway-0.9-in-retro.md (5127B)


  1. ---
  2. date: 2016-08-02
  3. # vim: tw=80
  4. # Commands used to generate these stats:
  5. # LoC per author: git ls-tree -r -z --name-only HEAD -- */*.c | xargs -0 -n1 git blame --line-porcelain HEAD |grep "^author "|sort|uniq -c|sort -nr
  6. # Commits per author: git shortlog
  7. title: Sway 0.9 & One year of Sway
  8. layout: post
  9. tags: [sway]
  10. ---
  11. Today marks one year since the [initial
  12. commit](https://github.com/SirCmpwn/sway/commit/6a33e1e3cddac31b762e4376e29c03ccf8f92107)
  13. of Sway. Over the year since, we've written 1,823 commits by 54 authors,
  14. totalling 16,601 lines of C (and 1,866 lines of header files). This was written
  15. over the course of 515 pull requests and 300 issues. Today, most i3 features are
  16. supported. In fact, as of last week, all of the features from the i3
  17. configuration I used before I started working on Sway are now supported by Sway.
  18. Today, Sway looks like this (click to expand):
  19. [![](https://sr.ht/ICd5.png)](https://sr.ht/ICd5.png)
  20. For those who are new to the project, [Sway](http://swaywm.org) is an
  21. i3-compatible Wayland compositor. That is, your existing [i3](http://i3wm.org/)
  22. configuration file will work as-is on Sway, and your keybindings and colors and
  23. fonts and for_window rules and so on will all be the same. It's i3, but for
  24. Wayland, plus it's got some bonus features. Here's a quick rundown of what's
  25. happened since the [previous state of Sway](/2016/04/20/State-of-sway.html):
  26. * Stacked & tabbed layouts
  27. * Customizable input acceleration
  28. * Mouse support for swaybar
  29. * Experimental HiDPI support
  30. * New features for swaylock and swaybg
  31. * Support for more i3 IPC features
  32. * Tracking of the workspace new windows should arrive on
  33. * Improved compatibility with i3
  34. * Many improvements to the documentation
  35. * Hundreds of bug fixes and small improvements
  36. Since the last State of Sway, we've also seen packages land in the official
  37. repositories of Gentoo, OpenSUSE Tumbleweed, and NixOS (though the last group
  38. warn me that it's experimental). And now for some updated stats. Here's the
  39. breakdown of **lines of code per author** for the top ten authors (with the
  40. change from the previous state of Sway in parens):
  41. <table class="table">
  42. <tbody>
  43. <tr><td>4659 (+352)</td><td>Mikkel Oscar Lyderik</td></tr>
  44. <tr><td>3024 (-35)</td><td>Drew DeVault</td></tr>
  45. <tr><td>2232 (+53)</td><td>taiyu</td></tr>
  46. <tr><td>1786 (-40)</td><td>S. Christoffer Eliesen</td></tr>
  47. <tr><td>1090 (+1090)</td><td>Zandr Martin</td></tr>
  48. <tr><td>619 (-63)</td><td>Luminarys</td></tr>
  49. <tr><td>525 (-19)</td><td>Cole Mickens</td></tr>
  50. <tr><td>461 (-54)</td><td>minus</td></tr>
  51. <tr><td>365 (-20)</td><td>Christoph Gysin</td></tr>
  52. <tr><td>334 (-11)</td><td>Kevin Hamacher</td></tr>
  53. </tbody>
  54. </table>
  55. Notably, Zandr Martin has started regular contributions to Sway and brought
  56. himself right up to 5th place in a short time, and while he's still learning C to
  57. boot. Not included here are his recent forays into contributing to our
  58. dependencies as well. Thanks man! This time around, I also lost a much more
  59. respectable line count - only 35 compared to 457 from the last update.
  60. Here's the total **number of commits per author** for each of the top ten
  61. committers:
  62. <table class="table">
  63. <tbody>
  64. <tr><td>842</td><td> Drew DeVault</td></tr>
  65. <tr><td>239</td><td> Mikkel Oscar Lyderik</td></tr>
  66. <tr><td>186</td><td> taiyu</td></tr>
  67. <tr><td>97</td><td> Luminarys</td></tr>
  68. <tr><td>91</td><td> S. Christoffer Eliesen</td></tr>
  69. <tr><td>58</td><td> Christoph Gysin</td></tr>
  70. <tr><td>48</td><td> Zandr Martin</td></tr>
  71. <tr><td>30</td><td> minus</td></tr>
  72. <tr><td>25</td><td> David Eklov</td></tr>
  73. <tr><td>24</td><td> Mykyta Holubakha</td></tr>
  74. </tbody>
  75. </table>
  76. Most of what I do for Sway personally is reviewing and merging pull requests.
  77. Here's the same figures using **number of commits per author, excluding merge
  78. commits**, which changes my stats considerably:
  79. <table class="table">
  80. <tbody>
  81. <tr><td>383</td><td> Drew DeVault</td></tr>
  82. <tr><td>224</td><td> Mikkel Oscar Lyderik</td></tr>
  83. <tr><td>170</td><td> taiyu</td></tr>
  84. <tr><td>96</td><td> Luminarys</td></tr>
  85. <tr><td>91</td><td> S. Christoffer Eliesen</td></tr>
  86. <tr><td>58</td><td> Christoph Cysin</td></tr>
  87. <tr><td>38</td><td> Zandr Martin</td></tr>
  88. <tr><td>30</td><td> minus</td></tr>
  89. <tr><td>25</td><td> David Eklov</td></tr>
  90. <tr><td>24</td><td> Mykyta Holubakha</td></tr>
  91. </tbody>
  92. </table>
  93. These stats only cover the top ten in each, but there are more - check out the
  94. [full list](https://github.com/SirCmpwn/sway/graphs/contributors).
  95. Sway is still going very strong, and continues developing at a fast pace. I've
  96. updated [the roadmap](http://swaywm.org/roadmap) with our plans for Sway 1.0.
  97. You might notice a few features have been reprioritized here, which increases
  98. the scope of Sway 1.0. It'll be worth it, though, to make sure we have a solid
  99. 1.0 release. Hopefully we'll see that and more within the year ahead!