Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove stale sections approveRepos & preferredRepos #5401

Merged
merged 1 commit into from
Nov 9, 2023

Conversation

abchatra
Copy link
Collaborator

@abchatra abchatra commented Nov 8, 2023

We have new section approvedRepoLib which handles this.

This will break extensions in old editors such as v4/v3 etc. We don't care about it at this point of time as they have workaround of adding extensions manually.

Copy link
Member

@jwunderl jwunderl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I don't think this will actually break old editors though cause we append version info to targetconfig request and I think it grabs based of major version? e.g.
https://makecode.microbit.org/api/config/microbit/targetconfig/v2.0.18 is the request made for /v2

@abchatra abchatra merged commit 5bef054 into master Nov 9, 2023
7 checks passed
@abchatra abchatra deleted the cleanupTargetConfig branch November 9, 2023 17:16
@ramseyball
Copy link

ramseyball commented Nov 14, 2023

@abchatra and @pelikhan - I noted that this commit removed pxt-jacdac (and other pxt-jacdac extensions). We should discuss - any chance it affects forwardedu extension?

@pelikhan
Copy link
Member

pxt-jacdac is still marked as an approved extension -->

"microsoft/pxt-jacdac": {

@abchatra
Copy link
Collaborator Author

Those are old sections and not read by the client. New sections should have all pxt-jacdac.

THEb0nny added a commit to THEb0nny/pxt-ev3 that referenced this pull request Feb 10, 2024
We have new section approvedRepoLib which handles this.
microsoft/pxt-microbit#5401
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants