edx-rest-api-client
edx-rest-api-client copied to clipboard
feat: DEPR EdxRestApiClient
Description:
As Per this DEPR: https://github.com/openedx/public-engineering/issues/218
This ticket is to clean-up some remaining usages, and ultimately to remove the deprecated EdxRestApiClient so the code no longer lives in the platform.
Move EdxRestApiClient into a location near where it is used in edx-platform and rename it to DeprecatedRestApiClient
Thanks for the pull request, @Yagnesh1998!
What's next?
Please work through the following steps to get your changes ready for engineering review:
:radio_button: Get product approval
If you haven't already, check this list to see if your contribution needs to go through the product review process.
- If it does, you'll need to submit a product proposal for your contribution, and have it reviewed by the Product Working Group.
- This process (including the steps you'll need to take) is documented here.
- If it doesn't, simply proceed with the next step.
:radio_button: Provide context
To help your reviewers and other members of the community understand the purpose and larger context of your changes, feel free to add as much of the following information to the PR description as you can:
- Dependencies
This PR must be merged before / after / at the same time as ...
- Blockers
This PR is waiting for OEP-1234 to be accepted.
- Timeline information
This PR must be merged by XX date because ...
- Partner information
This is for a course on edx.org.
- Supporting documentation
- Relevant Open edX discussion forum threads
:radio_button: Get a green build
If one or more checks are failing, continue working on your changes until this is no longer the case and your build turns green.
:radio_button: Let us know that your PR is ready for review:
Who will review my changes?
This repository is currently maintained by @openedx/openedx-unmaintained
. Tag them in a comment and let them know that your changes are ready for review.
Where can I find more information?
If you'd like to get more details on all aspects of the review process for open source pull requests (OSPRs), check out the following resources:
- Overview of Review Process for Community Contributions
- Pull Request Status Guide
- Making changes to your pull request
When can I expect my changes to be merged?
Our goal is to get community contributions seen and reviewed as efficiently as possible.
However, the amount of time that it takes to review and merge a PR can vary significantly based on factors such as:
- The size and impact of the changes that it introduces
- The need for product review
- Maintenance status of the parent repository
:bulb: As a result it may take up to several weeks or months to complete a review and merge your PR.
Another note: you will want to bump the version number for this library (in the version file) to a new major version (so 6.0.0) and add a note to the README that there is a breaking change here.
Hi @Yagnesh1998 looks like there are some CI failures, can you have a look?
@mphilbrick211 two workflows awaiting approval.
Hi @Yagnesh1998! I'm seeing that the workflows are enabled. Would you mind looking into the failing checks?
@mphilbrick211 After adding a commit on this repo it always gives me 2 workflows waiting for approval. can I approve it myself?
@Yagnesh1998 - it looks like you should be able to rebase and have the tests run again. Let me know if that doesn't work.
@mphilbrick211 doesn't work. my question is in my local system I can see the failing test but when I push commit here it always gives me 2 workflows waiting for approval. But when I worked on the commits in the edx-platform repo in the past, I did not see this type of problem, and all the tests were passed.
@mphilbrick211 can u please approve the workflow so the tests are starting to run?
@Yagnesh1998 - looks like all the tests ran and are passing.
@openedx/arch-bom - this is ready for review!
@robrap I think it's done. Any suggestions or any feedback.
~~@dianakhuang: Do we want to add a local version to edx-platform, which will also require adding slumber to edx-platform directly, or is it possible to repeat the fixes that were done in the first place to retire the client?~~
UPDATE: I moved this comment to https://github.com/openedx/edx-platform/pull/33603#issuecomment-1832334175
@dianakhuang - would you mind enabling tests on this again? Thanks!
@robrap - is this something you can review / merge?
@Yagnesh1998 could you rebase and resolve conflicts? I can re-review it once that's done.
Hi @Yagnesh1998 - checking in on this. Are you planning to pursue this pull request? If so, there's branch conflicts that need to be resolved before the pull request can be merged. Thanks!
I will do that currently I am on holiday but I will finish that soon.Thanks for reminding and commenting :) @mphilbrick211
Hi @Yagnesh1998 - friendly check in on this :)
Closing for now. Can reopen in the future if needed.
Gonna re-open and see if DEPR WG can get it over the line.
@robrap @dianakhuang this is good to go now I think, also, while doing this I noticed other maintenance that needs to be done so I made a PR for that here: https://github.com/openedx/edx-rest-api-client/pull/362
I'd love to land both before the major version bump.