Skip to content

Commit 126eaeb

Browse files
authored
chore: remove internal zephyr core index (#28)
1 parent 37f6f9d commit 126eaeb

File tree

2 files changed

+0
-17
lines changed

2 files changed

+0
-17
lines changed

internal/update/arduino/arduino.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,6 @@ func NewArduinoPlatformUpdater() *ArduinoPlatformUpdater {
4141
}
4242

4343
func setConfig(ctx context.Context, srv rpc.ArduinoCoreServiceServer) error {
44-
if _, err := srv.SettingsSetValue(ctx, &rpc.SettingsSetValueRequest{
45-
Key: "board_manager.additional_urls",
46-
EncodedValue: "https://arduino:aptexperiment@apt-repo.oniudra.cc/zephyr-core-imola.json",
47-
ValueFormat: "cli",
48-
}); err != nil {
49-
return err
50-
}
5144
if _, err := srv.SettingsSetValue(ctx, &rpc.SettingsSetValueRequest{
5245
Key: "network.connection_timeout",
5346
EncodedValue: "600s",

pkg/board/board.go

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -438,16 +438,6 @@ func EnsurePlatformInstalled(ctx context.Context, rawFQBN string) error {
438438
_, _ = srv.Destroy(ctx, &rpc.DestroyRequest{Instance: inst})
439439
}()
440440

441-
// TODO: after embargo remove this
442-
_, err = srv.SettingsSetValue(ctx, &rpc.SettingsSetValueRequest{
443-
Key: "board_manager.additional_urls",
444-
EncodedValue: "https://arduino:aptexperiment@apt-repo.oniudra.cc/zephyr-core-imola.json",
445-
ValueFormat: "cli",
446-
})
447-
if err != nil {
448-
return err
449-
}
450-
451441
stream, _ := commands.UpdateIndexStreamResponseToCallbackFunction(ctx, func(curr *rpc.DownloadProgress) {
452442
slog.Debug("Update index progress", slog.String("download_progress", curr.String()))
453443
})

0 commit comments

Comments
 (0)