1. 14 Nov, 2019 5 commits
  2. 13 Nov, 2019 3 commits
  3. 12 Nov, 2019 6 commits
  4. 08 Nov, 2019 1 commit
  5. 05 Nov, 2019 2 commits
  6. 03 Nov, 2019 1 commit
  7. 02 Nov, 2019 1 commit
  8. 01 Nov, 2019 3 commits
  9. 31 Oct, 2019 1 commit
  10. 30 Oct, 2019 1 commit
  11. 29 Oct, 2019 3 commits
  12. 28 Oct, 2019 5 commits
  13. 21 Oct, 2019 1 commit
  14. 16 Oct, 2019 2 commits
  15. 11 Oct, 2019 1 commit
    • Paul Spooren's avatar
      openwrt: more readline fun · 03bfcb70
      Paul Spooren authored and Holger Levsen's avatar Holger Levsen committed
      
      
      The problem is that the current package parser excepts an array where
      every line ends with a "\n" to it can be combined via `+=` in the
      linebuffer. However the `urlopen().readlines()` returns an undecoded
      byte array with `\n`, whereas
      `urlopen().read().decode("utf-8").splitlines()` returns an decoded array
      without the leading `\n`.
      
      This approach now uses `map` to convert the bytes to strings and
      preserve the newline. Instead of this spagetti code I'd like to rewrite
      the parser function itself, however this would break current
      compatibility.
      
      In future I may migrate the parser function to `rblib/`.
      
      Signed-off-by: Holger Levsen's avatarHolger Levsen <holger@layer-acht.org>
      03bfcb70
  16. 08 Oct, 2019 4 commits