Skip to content

Instantly share code, notes, and snippets.

@shubhamdotjain
Last active February 27, 2022 07:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shubhamdotjain/17dd9cad8b869d0b04222393d0675989 to your computer and use it in GitHub Desktop.
Save shubhamdotjain/17dd9cad8b869d0b04222393d0675989 to your computer and use it in GitHub Desktop.
Patchew: GSoC'18

Patchew REST API improvements.

Patchew is an open source CI project to automate testing of patches submitted as emails on mailing lists. Currently Patchew has a simple API, but it is complicated to use it because it is not REST-like and it exposes low-level details of the patchew database schema. The project aims at replacing it with a new REST API.

The proposal submitted: https://docs.google.com/document/d/1G7Wm7WxDP0lRVOLJflhIsdDAq6yc84snmIy8EJSc8fA/edit?usp=sharing

Each patch has commit message which explains the functionality of the commit. The main goal of converting legacy endpoint to REST was achieved during the summer. However additional features like adding OAuth and adding new parameter were not done. That is something I plan to cover post GSoC. The new APIs are hosted at http://patchew.org/api/v1/

Patches which are merged in the master:

  1. https://github.com/patchew-project/patchew/commit/647174ab6e31c72fa5c70845c3c0e87acb83d67b
  2. https://github.com/patchew-project/patchew/commit/b3e470c48bfe021c7ea9f01173aea4b1b95522b7
  3. https://github.com/patchew-project/patchew/commit/d8908ce1b893c86b24a782d11402e88feadebaab
  4. https://github.com/patchew-project/patchew/commit/fdaf1cb3d64f8a5c2c2f4a4458ebdb202da3ec01
  5. https://github.com/patchew-project/patchew/commit/beac6a90c1cd24a0d74a65fd4d9fee3ce9ee608c
  6. https://github.com/patchew-project/patchew/commit/14bb30f1a42aa5579725712c8e8934df3f8e5ebb
  7. https://github.com/patchew-project/patchew/commit/32e038ced0746e94eddea45adf50d91401bf65ee
  8. https://github.com/patchew-project/patchew/commit/0cb897dd93cd58757eb543f094dd2930db1df7c8
  9. https://github.com/patchew-project/patchew/commit/200231383ba4d4adbde1e1654aba4baf10d4ac1d
  10. https://github.com/patchew-project/patchew/commit/200231383ba4d4adbde1e1654aba4baf10d4ac1d
  11. https://github.com/patchew-project/patchew/commit/3929f45c3b2e804a3df0af0d2a3e8e463c3dafc4
  12. https://github.com/patchew-project/patchew/commit/1d07e25cb106e572b38628f2e77e476c3a5c3a47
  13. https://github.com/patchew-project/patchew/commit/2901b4aba39f04be9f9d5021a0ba1914b29f8096
  14. https://github.com/patchew-project/patchew/commit/641a58f5a3832be2872eb73586fdefc8b431e8f4
  15. https://github.com/patchew-project/patchew/commit/00ed5e9b975245fb001f3ed7b837699c4a1114f3

Patches which aren't merged yet:

  1. https://patchew.org/Patchew/20180712042120.2831-1-shubhamjain7495@gmail.com/
  2. https://github.com/shubhamdotjain/patchew/commit/547e9c30dccc451e08b0fe6a393e0d5df2349c7e
  3. https://github.com/shubhamdotjain/patchew/commit/0706a6962c5f071559fe7cf5788179d2d942f845
  4. https://github.com/shubhamdotjain/patchew/commit/aeb5f6ac99234dd2e5059c8ebf61ae9a13e4a6cc
  5. https://github.com/shubhamdotjain/patchew/commit/ab352230c1434c01ef9bb9f60b0a7caf011365cf

Things left:

  1. Adding OAuth
  2. Adding search parameters
@bonzini
Copy link

bonzini commented Feb 27, 2022

Hey Shubham, not sure if you're reading this but all the patches from your project are now merged (including patchew-cli). :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment