nanoframework / Home

:house: The landing page for .NET nanoFramework repositories.
https://www.nanoframework.net
MIT License
858 stars 78 forks source link

`nanoff --listtargets` does not display available targets #1262

Closed networkfusion closed 1 year ago

networkfusion commented 1 year ago

Tool

nanoff

Description

When the tool nanoff (version 2.4.31) is run with the command nanoff --listtargets it does not display the available firmware images available for reference boards, although it does show the community targets.

How to reproduce

Install the latest version of nanoff run nanoff --listtargets

Expected behaviour

Shows the reference targets available.

Screenshots

image

Aditional context

No response

stefanomerotta commented 1 year ago

Maybe I could be wrong but the list seems a merge from the two repositories. I checked the two repos:

The reference targets are all available in the list, while community targets are not all returned, maybe because some are too old and deprecated. This is the returned list of nanoff --listtargets command where I have highlighted the community targets that can be viewed from the repo. Some of targets that are referred as community target on site are instead retrieved from the reference target repo.

networkfusion commented 1 year ago

It is most likely to do with a check regarding something here: https://github.com/nanoframework/nanoFirmwareFlasher/blob/e50e46eac3ddec03303e1bd2a0d1d0e735d48eed/nanoFirmwareFlasher.Library/FirmwarePackage.cs#L143

But perhaps there is a change in the cloudsmith API...

josesimoes commented 1 year ago

@networkfusion I can see the reference targets on the list... 🤔 here's what I'm getting on a run just now:

  M5StickC<<<<<<<<<<<<<<<<
    1.8.1.114
    1.8.1.112
    1.8.1.107
  M5Core2<<<<<<<<<<<<<<<<
    1.8.1.114
    1.8.1.112
    1.8.1.107
  ESP32_REV0<<<<<<<<<<<<<<<<
    1.8.1.114
    1.8.1.112
    1.8.1.107
  M5StickCPlus<<<<<<<<<<<<<<<<
    1.8.1.114
    1.8.1.112
    1.8.1.107
  ESP32_REV3<<<<<<<<<<<<<<<<
    1.8.1.114
    1.8.1.112
    1.8.1.107
  KALUGA_1<<<<<<<<<<<<<<<<
    1.8.1.114
    1.8.1.112
    1.8.1.107
  ESP32_PSRAM_XTAL26_REV0<<<<<<<<<<<<<<<<
    1.8.1.114
    1.8.1.112
    1.8.1.107
  M5Core<<<<<<<<<<<<<<<<
    1.8.1.114
    1.8.1.112
    1.8.1.107
  ESP32_PSRAM_BLE_GenericGraphic_REV3<<<<<<<<<<<<<<<<
    1.8.1.114
    1.8.1.112
    1.8.1.107
  ESP32_OLIMEX<<<<<<<<<<<<<<<<
    1.8.1.114
    1.8.1.112
    1.8.1.107
  ESP32_PICO<<<<<<<<<<<<<<<<
    1.8.1.114
    1.8.1.112
    1.8.1.107
  ESP32_PSRAM_REV3<<<<<<<<<<<<<<<<
    1.8.1.114
    1.8.1.112
    1.8.1.107
  ESP32_GenericDisplay_REV0<<<<<<<<<<<<<<<<
    1.8.1.114
    1.8.1.112
    1.8.1.107
  ESP32_BLE_REV3<<<<<<<<<<<<<<<<
    1.8.1.114
    1.8.1.112
    1.8.1.107
  ESP32_C3_REV3<<<<<<<<<<<<<<<<
    1.8.1.114
    1.8.1.112
    1.8.1.107
  ST_NUCLEO64_F091RC<<<<<<<<<<<<<<<<
    1.8.1.114
    1.8.1.112
    1.8.1.107
  SL_STK3701A_REVB<<<<<<<<<<<<<<<<
    1.8.1.114
    1.8.1.112
    1.8.1.107
  ORGPAL_PALTHREE<<<<<<<<<<<<<<<<
    1.8.1.114
    1.8.1.112
    1.8.1.107
  TI_CC1352R1_LAUNCHXL_868<<<<<<<<<<<<<<<<
    1.8.1.114
    1.8.1.112
    1.8.1.107
  ESP32_PSRAM_REV0<<<<<<<<<<<<<<<<
    1.8.1.110
    1.8.1.103
    1.8.1.87
  FEATHER_S2<<<<<<<<<<<<<<<<
    1.8.1.110
    1.8.1.103
    1.8.1.87
  ESP32_LILYGO<<<<<<<<<<<<<<<<
    1.8.1.110
    1.8.1.103
    1.8.1.87
  ESP32_C3<<<<<<<<<<<<<<<<
    1.8.1.110
    1.8.1.103
    1.8.1.87
  ESP32_BLE_REV0<<<<<<<<<<<<<<<<
    1.8.1.110
    1.8.1.103
    1.8.1.87
  ESP_WROVER_KIT<<<<<<<<<<<<<<<<
    1.8.1.110
    1.8.1.103
    1.8.1.87
  ST_STM32F769I_DISCOVERY<<<<<<<<<<<<<<<<
    1.8.1.110
    1.8.1.103
    1.8.1.87
  WIN_DLL_nanoCLR
    1.8.1.109
    1.8.1.102
    1.8.1.86
  ST_B_L475E_IOT01A
    1.8.1.110
    1.8.1.108
    1.8.1.103
  WIN32_nanoCLR
    1.8.1.109
    1.8.1.102
    1.8.1.86
  ST_STM32F429I_DISCOVERY<<<<<<<<<<<<<<<<
    1.8.1.110
    1.8.1.103
    1.8.1.87
  TI_CC1352R1_LAUNCHXL_915<<<<<<<<<<<<<<<<
    1.8.1.110
    1.8.1.103
    1.8.1.87
  SL_STK3701A<<<<<<<<<<<<<<<<
    1.8.1.110
    1.8.1.108
    1.8.1.103
  NXP_MIMXRT1060_EVK<<<<<<<<<<<<<<<<
    1.8.1.110
    1.8.1.103
    1.8.1.87
  NETDUINO3_WIFI
    1.8.1.58
    1.8.1.52
    1.8.1.50
  ST_NUCLEO144_F746ZG
    1.8.1.58
    1.8.1.52
    1.8.1.50
  ST_NUCLEO144_F439ZI
    1.8.1.58
    1.8.1.52
    1.8.1.50
  TI_CC1352P1_LAUNCHXL_915
    1.8.1.58
    1.8.1.52
    1.8.1.50
  TI_CC1352P1_LAUNCHXL_868
    1.8.1.58
    1.8.1.52
    1.8.1.50
  ST_STM32F411_DISCOVERY
    1.8.1.58
    1.8.1.52
    1.8.1.50
  PybStick2x
    1.8.1.58
    1.8.1.52
    1.8.1.50
  ST_STM32F4_DISCOVERY
    1.8.1.58
    1.8.1.52
    1.8.1.50
  WEACT_F411CE
    1.8.1.58
    1.8.1.52
    1.8.1.50
  LilygoTWatch2020
    1.8.1.58
    1.8.1.52
    1.8.1.50
  LilygoTWatch2021
    1.8.1.58
    1.8.1.52
    1.8.1.50
  ST_NUCLEO144_F412ZG_NF
    1.8.1.58
    1.8.1.52
    1.8.1.50
  GHI_FEZ_CERB40_NF
    1.8.1.58
    1.8.1.52
    1.8.1.50
  BrainPad2
    1.8.1.58
    1.8.1.52
    1.8.1.50
  ST_NUCLEO64_F411RE_NF
    1.8.1.58
    1.8.1.52
    1.8.1.50
  I2M_ELECTRON_NF
    1.8.1.58
    1.8.1.52
    1.8.1.50
  MBN_QUAIL
    1.8.1.58
    1.8.1.52
    1.8.1.50
  ST_NUCLEO64_F401RE_NF
    1.8.1.58
    1.8.1.52
    1.8.1.50
  I2M_OXYGEN_NF
    1.8.1.58
    1.8.1.52
    1.8.1.50
Ellerbach commented 1 year ago

@networkfusion I've checked and you get all the 50 something targets, both from community and normal repos. If you are using the --preview flag, you indeed get less targets (only the community ones) because we don't have anymore the targets.

I vote for a glitch in the CloudSmith API with a timeout or something like this which prevented you to get the target list.

Shall we close this one?

networkfusion commented 1 year ago

Yes, let's close. It must have been a glitch.