-
-
Notifications
You must be signed in to change notification settings - Fork 15
Description
Describe the bug
There is a remaining issue from the rename of the stand alone boards from generic to standard. What we thou see is that there is a generic and capitals full or included in the stops that is copied from the frozen stops. So in copy_and_merge_docstub() and likely in otherplaces as well this needs to be corrected, including a lookup for the correct board and variant to use.
For now, this has been corrected directly in the database.
For any new versions of MicroPython, this will need to be resolved.
Probably will need to be integrated together with the integration of defaults for boards and variants to build, because for the standalone ports there is no board specified, so we probably should be looking for the variant standard instead.
To Reproduce
# use a version for which a package is not yet in the database
stubber build --port webassembly --version v1.26.1
Expected behavior
TODO: Add exact paths for clarity
- that the GENERIC folder name is not used for new packages for the stand alone ports. perhaps need a
SAname as standin - the get-frozen command uses this ( for versions > 1.27.0 ?)
- that new packages for the SA ports no longer use the GENERIC folder , and match with what get-frozen does
- no folder GENERIC in the published stubs after building
- Expect that the frozen files are copied the SA folder . Directly into the rule of the. Publish directory without the GENERIC .
Likely related things to look at are:
- command line defaults : GENRIC is probably not a good default for the command line now that we have per port defaults.
- setting defaults: src\stubber\publish\defaults.py
- building of packages definitions / StubSources
- src\stubber\publish\package.py : combo_sources()
- the folder to freeze into
- use of variants
- New location for the Pyscrupt reference stubs (once PR merged)