1. 22 Oct, 2019 4 commits
  2. 04 Mar, 2019 1 commit
  3. 28 Feb, 2019 1 commit
  4. 13 Feb, 2019 1 commit
  5. 04 Jan, 2019 1 commit
  6. 03 Jan, 2019 1 commit
  7. 02 Jan, 2019 1 commit
  8. 07 Dec, 2018 1 commit
    • Arkadiusz Hiler's avatar
      API: Add endpoint for finding patches via msg-ids · dd89ff2e
      Arkadiusz Hiler authored
      
      
      the endpoint is: /api/1.0/msgids/$MSG_ID/
      msg-id works both with and without <>
      
      output:
      [{'patch_id': 112223,
        'project_id': 9,
        'series_id': 12938,
        'revisions': [1,2]},
       {'patch_id': 112224,
        'project_id': 18,
        'series_id': 12937,
        'revisions': [1]}]
      
      The implementation is not using django-rest-framework because the
      generated routes disallow dots in the identifiers and requires adding
      much more boilerplate to have it working.
      Signed-off-by: default avatarArkadiusz Hiler <arkadiusz.hiler@intel.com>
      dd89ff2e
  9. 27 Nov, 2018 1 commit
    • Arkadiusz Hiler's avatar
      api: Make /newrevision/ copy a revision and mark it as rerun · a159dcdc
      Arkadiusz Hiler authored
      
      
      Up until this patch, rerunning was just creating a 'newrevision' event
      for the existing revision, effectively queuing it again. Any incoming
      results would overwrite the existing ones.
      
      Now, whenever rerun is hit, the last revision will be duplicated (no
      results overwriting!), bumping "Last Update" time for the series. We
      also mark such series as a rerun so we will be able to display it for
      the users / expose it in the API.
      Signed-off-by: default avatarArkadiusz Hiler <arkadiusz.hiler@intel.com>
      a159dcdc
  10. 01 Jun, 2018 1 commit
  11. 30 May, 2018 1 commit
  12. 27 Feb, 2018 1 commit
  13. 16 Jan, 2018 3 commits
  14. 15 Jan, 2018 1 commit
    • Arkadiusz Hiler's avatar
      django-rest-framework: Update to 3.3 · f63f424e
      Arkadiusz Hiler authored
      
      
       * QUERY_PARAMS and DATA are now lower case
      
       * we set date format to ISO8601 in the ModelSerializer itself now, no
         need for subclassing
      
       * there is no WritableField anymore, just use Field
      
       * to_native and from_native got renamed to to_representation and
         to_internal_value respectively
      
       * dropped the field names from the field serializer instantiation if
         the data field is named the same as the python field
      
       * allow_none is now split into allow_blank and allow_null, so use both
      
       * serialized/validated data is now split into sub-dictionaries on dot,
         so use the new notation (e.g. f['a.b'] becomes f['a']['b'])
      
       * some error messages got changed, updated the tests to expect the new
         values
      
       * is_valid_field() is now invoked on raw names, so we do not have to
         accommodate for the mapping introduced by the get_ordering()
      
       * dropped our own implementation of UpdateModelMixin in favor of the
         one provided by the framework, which additionally allowed us to get
         rid of a deprecated save hook
      
       * pagination configuration happens now by subclassing the page handling
         class
      Signed-off-by: default avatarArkadiusz Hiler <arkadiusz.hiler@intel.com>
      f63f424e
  15. 29 Oct, 2017 2 commits
    • Arkadiusz Hiler's avatar
      patch: Implement log events for pull requests · 8d3953ef
      Arkadiusz Hiler authored
      
      
      Add new event type, pull-request-new, for logging incoming pull
      requests.
      
      This will allow CI systems to track PRs just as easily as regular
      series.
      
      The change also loosens up constraints imposed on EventLog model - it
      used to assume always having an associated series, which is not true for
      the pull requests. PRs are standalone patches.
      Signed-off-by: default avatarArkadiusz Hiler <arkadiusz.hiler@intel.com>
      8d3953ef
    • Arkadiusz Hiler's avatar
      pep8: Fix compatiblity with the newest revision · 1450948c
      Arkadiusz Hiler authored
      
      
      Rather crude attempt to make things silent again.
      
      patchwork/lock.py:232:13: E741 ambiguous variable name 'l'
      patchwork/filters.py:105:9: E722 do not use bare except'
      patchwork/filters.py:170:9: E722 do not use bare except'
      patchwork/filters.py:352:9: E722 do not use bare except'
      patchwork/models.py:344:9: E722 do not use bare except'
      patchwork/tests/browser.py:26:1: E722 do not use bare except'
      patchwork/tests/test_lock.py:68:9: E741 ambiguous variable name 'l'
      patchwork/bin/parsemail.py:852:5: E741 ambiguous variable name 'l'
      patchwork/bin/parsemail.py:857:5: E741 ambiguous variable name 'l'
      patchwork/bin/parsemail.py:884:5: E722 do not use bare except'
      patchwork/views/api.py:25:1: E722 do not use bare except'
      patchwork/views/bundle.py:76:17: E722 do not use bare except'
      patchwork/views/xmlrpc.py:95:9: E722 do not use bare except'
      patchwork/views/xmlrpc.py:127:9: E722 do not use bare except'
      patchwork/bin/pwclient:271:5: E722 do not use bare except'
      patchwork/bin/pwclient:279:5: E722 do not use bare except'
      patchwork/bin/pwclient:357:5: E722 do not use bare except'
      patchwork/bin/pwclient:549:9: E722 do not use bare except'
      patchwork/bin/pwclient:555:9: E722 do not use bare except'
      patchwork/bin/pwclient:600:9: E722 do not use bare except'
      patchwork/bin/pwclient:650:5: E722 do not use bare except'
      git-pw/git-pw:540:9: E722 do not use bare except'
      git-pw/git-pw:555:9: E722 do not use bare except'
      git-pw/git-pw:567:9: E722 do not use bare except'
      git-pw/git-pw:586:9: E722 do not use bare except'
      
      "except Exception" should be chosen more carefully.
      Signed-off-by: default avatarArkadiusz Hiler <arkadiusz.hiler@intel.com>
      1450948c
  16. 20 Aug, 2017 1 commit
  17. 16 May, 2016 2 commits
  18. 05 May, 2016 3 commits
  19. 03 May, 2016 1 commit
  20. 28 Apr, 2016 1 commit
  21. 05 Apr, 2016 3 commits
  22. 17 Mar, 2016 1 commit
  23. 11 Mar, 2016 2 commits
  24. 03 Mar, 2016 1 commit
  25. 29 Feb, 2016 1 commit
  26. 25 Feb, 2016 3 commits