Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate smoothly with other pack repositories #157

Open
flit opened this issue Jan 7, 2021 · 3 comments
Open

Integrate smoothly with other pack repositories #157

flit opened this issue Jan 7, 2021 · 3 comments

Comments

@flit
Copy link
Member

flit commented Jan 7, 2021

Support integration with pack repositories from other tools:

  • Keil µVision
  • Arm CMSIS-Pack Eclipse plugin
  • IAR
  • Eclipse Embedded CDT?

Specifically, enable the features requested in this issue: ARM-software/CMSIS_5#1089.

There may be issues that prevent easy integration, but they should be identified.

@flit flit changed the title Integrate with other pack repositories Integrate smoothly with other pack repositories Jan 7, 2021
@fred-r
Copy link

fred-r commented Jan 14, 2021

Local repository support:

The idea is to be able to indicate that a pack points to a repository which is not the "CMSIS_PACK_ROOT" repository.
The folder we indicate would contain:

  • the pdsc describing the pack
  • the artefacts composing the pack directly available

So, instead of installing the pack from an archive to CMSIS_PACK_ROOT, I want the pack to point to my local development folder where I can do changes and test them without generating and re-installing a pack each time.

If a pack is already installed for this component it is superseded by my local pack.

Thanks & Regards,
Fred

@jkrech
Copy link

jkrech commented Jan 15, 2021

The way this works today is that there is a package index file in .Local pointing to the location of a pdsc file at the root point of an expanded pack.

$CMSIS_PACK_ROOT/.Local/local_repository.pidx

local_repository.pidx:

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<index schemaVersion="1.1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="PackIndex.xsd">
  <vendor>local repository</vendor>
  <url>file://localhost/C:/Users/anyuser/AppData/Local/Arm/Packs</url>
  <timestamp>2021-01-15T10:06:21</timestamp>
  <pindex>
    <pdsc name="MyTestPack" url="file://localhost/C:/mypacks/mytestpack/" vendor="MyVendor" version="0.0.1"/>
  </pindex>
</index>

@fred-r
Copy link

fred-r commented Jan 15, 2021

Hi,

indeed I update this file directly when I do not want to use the Pack Installer UI and it is working fine.

Thans & Regards,
Fred

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants