This project is mirrored from http://github.com/chrysn/aiocoap.git. The repository failed to update .
Repository mirroring has been paused due to too many failed attempts, and can be resumed by a project master.
Last successful update . This branch has diverged from upstream.
  1. 27 Jun, 2018 1 commit
  2. 20 Jun, 2018 3 commits
  3. 04 May, 2018 10 commits
    • chrysn's avatar
      token generation: use to_bytes · 7469ff56
      chrysn authored
      This is just a minor readability improvement; proper token handling (ie.
      "make it as short as convenient for this remote") is still an open
      issue.
      7469ff56
    • chrysn's avatar
      flake8: fix unused local (F841) errors · ed129d7b
      chrysn authored
      ed129d7b
    • chrysn's avatar
      flake8: mark imports that are only done for side effects · 67940c05
      chrysn authored
      The `readline` case is well commented already, and for the defaults
      module, it should be obvious from the context that the imports are done
      to detect the availability of the respective modules.
      67940c05
    • chrysn's avatar
      flake8: avoid wildcard imports inside library · 51f5dced
      chrysn authored
      51f5dced
    • chrysn's avatar
      flake8: various undefined name errors · 62117f1d
      chrysn authored
      All those could have given surprising exceptions and show how little
      coverage there still, especially in exception handling.
      62117f1d
    • chrysn's avatar
    • chrysn's avatar
      flake8: Protect unusable code paths in recvmsg hack with asserts / comments · 0a70ae02
      chrysn authored
      The commented-out code would raise local name errors if ever used, and
      rightfully triggers flake8. Where there were implict assertions about
      the setup of the transport, those were made explicit and the unreachable
      code paths commented out.
      0a70ae02
    • chrysn's avatar
      flake8: Clean up unused imports · bc22798c
      chrysn authored
      This trims down F401 to a few cases of probably false positives
      bc22798c
    • chrysn's avatar
      Start using flake8 · 1a5ec5b1
      chrysn authored
      Some errors that happen very often but are "just whitespace" are ignored
      for the start (until I've acted on the more relevant information like
      missing or extraneous imports)
      
      In the first step, only the library will be checked.
      1a5ec5b1
    • chrysn's avatar
      Move default response code to render_* mechanism · 9d72b04b
      chrysn authored
      The default response code CONTENT used to be set deep in the protocol
      stack; that necessitated some duplication with OSCORE, and was generally
      considered a bad idea.
      
      This moves the setting of a default code into the fallback .render()
      method of the Resource class, which is also responsible for fanning out
      into render_get / render_post etc.
      
      In the course of this change, the default response code now depends on
      the request code; GET/FETCH default to Changed, DELETE defaults to
      Deleted and everything else to Changed.
      
      This is technically a breaking change; in practice, as most resources
      use the render_* methods, they still get default codes; the previous
      code of Content was unsuitable for DELETE, PUT and POST anyway.
      
      News-Section: Breaking changes
      9d72b04b
  4. 03 May, 2018 3 commits
    • chrysn's avatar
      CI: Drop Ubuntu 12.04 · 68396ae6
      chrysn authored
      Ubuntu 12.04's pip can not even install virtualenv any more, as that
      service since a few days ago appears to require HTTPS which the old pip
      does not use.
      
      The 16.04 setup, as it is not a copy of anything any more, can now be a
      bit simpler.
      68396ae6
    • chrysn's avatar
      (CI: YAML syntax fix) · 3e837d41
      chrysn authored
      3e837d41
    • chrysn's avatar
      CI: use cache, be more verbose in wget · c59774cb
      chrysn authored
      (previous runs failed with 403 errors which should be easier to debug
      with that output)
      c59774cb
  5. 02 May, 2018 7 commits
  6. 27 Apr, 2018 9 commits
  7. 26 Apr, 2018 3 commits
  8. 25 Apr, 2018 4 commits