Open UncleRus opened 11 months ago
There are some ambiguities:
code_owners
field in the metadata?eil
for now. It's clear that the answer will depend on the registration in the Espressif registry. @trombik, it seems you have already applied for registration? Was it a private application or from esp-idf-lib?Sorry, I've been in a difficult situation. I cannot contribute at the moment. Hope I'll be able to help the project soon.
Updating the components in the registry, I suggest we lean towards generating manifests and uploading components individually, focusing on those that have been modified. This method, where each component and its examples are bundled in separate archives, seems to be a practical way to ensure updates are managed efficiently.
I found that the official GitHub action, upload-components-ci-action, is perfectly suited for this task. It even has a neat example on how to handle multiple components from a single repository, which could really simplify our process.
name: Push components to https://components.espressif.com
on:
push:
branches:
- main
jobs:
upload_components:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: "recursive"
- name: Upload components to the component registry
uses: espressif/upload-components-ci-action@v1
with:
directories: "components/my_component;components/another_component"
namespace: "espressif" # we should change it to esp-idf-lib
api_token: ${{ secrets.IDF_COMPONENT_API_TOKEN }}
python ./devtools/devtool.py manifest --namespace=eil