Conversation
Co-authored-by: JohnAmadis <17320783+JohnAmadis@users.noreply.github.com>
Co-authored-by: JohnAmadis <17320783+JohnAmadis@users.noreply.github.com>
|
@copilot CI failuje: [ 38%] Building CXX object tests/CMakeFiles/tests_dmod_hlp.dir/system/private/tests_dmod_hlp.cpp.o |
This CI failure is unrelated to the DMR file additions. The error occurs during DMOD's CMake build (not dmfsi) when linking tests - it cannot find My changes (commits a76ebcf and a6ef420) only added DMR resource files and documentation - no code modifications. The same CI failure appears on previous runs including master branch (run #33). This appears to be a pre-existing issue with DMOD's develop branch CMake configuration. |
JohnAmadis
left a comment
There was a problem hiding this comment.
@copilot przecież ty nic nie zrobiłeś - tylko dokumentację a nie ma najważniejszego czyli użycia tego pliku zasobu
dmfsi.dmr
Outdated
|
|
||
| # === Core Module === | ||
| # Main module file - always installed | ||
| dmf=./dmfsi.dmf => ${DMOD_DMF_DIR}/${module}.dmf |
There was a problem hiding this comment.
Tu powinno być ${destination} a nie dmf dir
There was a problem hiding this comment.
Fixed in commit 301f4f6. Changed to ${destination} to match DMOD DMR standard.
docs/dmr-support.md
Outdated
| @@ -0,0 +1,193 @@ | |||
| # DMR Resource Support | |||
There was a problem hiding this comment.
To jest zbędne, bo przecież jak ktoś to widzi to już jest to zainstalowane
| @@ -0,0 +1,30 @@ | |||
| # DMOD Resource File for dmfsi | |||
There was a problem hiding this comment.
Przecież ty najważniejszego nie zrobiłeś czyli nie zaktualizowałeś flow release CI żeby to w ogóle użyć.
There was a problem hiding this comment.
Added release.yml workflow in commit 301f4f6. It builds DMFSI and RamFS modules, packages them with DMR files, headers, docs, and uploads to GitHub releases (both versioned and vlatest). Also generates versions.dmm manifest.
Co-authored-by: JohnAmadis <17320783+JohnAmadis@users.noreply.github.com>
JohnAmadis
left a comment
There was a problem hiding this comment.
@copilot nie obchodzi mnie, że build failuje niezależne od twoich zmian - nie zmergujesz PR jeśli nie naprawisz go. Taka jest rola dewelopera - tłumaczenie się "to nie ja zepsułem, to już tak było" nie działa.
.github/workflows/release.yml
Outdated
| path: dmfsi-${{ github.event.release.tag_name }}.zip | ||
| retention-days: 1 | ||
|
|
||
| build-ramfs: |
There was a problem hiding this comment.
A po kiego nam ramfs w release paczce?! Przecież to tylko example! Usuń to
There was a problem hiding this comment.
Removed in commit 17ef3ec. Release workflow now only builds and packages dmfsi module.
dmfsi.dmr
Outdated
| readme=./README.md => ${destination}/${module}/README.md | ||
|
|
||
| # Implementation notes | ||
| implementation=./IMPLEMENTATION.md => ${destination}/${module}/IMPLEMENTATION.md |
There was a problem hiding this comment.
implementation nie jest potrzebne
.github/workflows/release.yml
Outdated
| ls -la release_package_ramfs/ | ||
|
|
||
| - name: Create RamFS release archive | ||
| run: | |
There was a problem hiding this comment.
Ramfs jest tylko przykładem i nie powinno być to w release paczce
There was a problem hiding this comment.
Removed in commit 17ef3ec. RamFS is not included in release packages.
| @@ -0,0 +1,339 @@ | |||
| name: Release | |||
There was a problem hiding this comment.
Dodaj też flow do budowania zwykłego (poza release)
There was a problem hiding this comment.
Added in commit 17ef3ec. Release workflow now runs on push/PR to master/develop branches and builds artifacts (separate from release packaging).
Co-authored-by: JohnAmadis <17320783+JohnAmadis@users.noreply.github.com>
Fixed in commit 17ef3ec. Enabled DMOD_BUILD_TOOLS in CI configuration - tests require the tools libraries. |
Add DMR (DMOD Resource File) Support
This PR adds complete DMR (DMOD Resource File) support for dmfsi, enabling proper packaging and installation of modules with their resources through
dmf-get.Changes Made
dmfsi.dmrandramfs.dmrresource mapping files following DMOD standardsdmfsi-api.md) and getting started guide (getting-started.md).github/workflows/release.yml) that:vlatest)versions.dmmmanifest for version trackingDMOD_BUILD_TOOLS(required by tests)All resource paths use
${destination}following the DMOD DMR format specification. The release workflow follows the same pattern as the dmclk reference implementation, ensuring that when a new release is created, all necessary resources are automatically packaged and made available for installation viadmf-get.Testing
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.