micropython-lib icon indicating copy to clipboard operation
micropython-lib copied to clipboard

micropython/mip/mip/__init__.py: Implement install from gitlab.

Open OlivierLenoir opened this issue 1 year ago • 2 comments

Modify _rewrite_url() to allow mip install from gitlab: repository.

Signed-off-by: Olivier Lenoir [email protected]

OlivierLenoir avatar Mar 01 '24 11:03 OlivierLenoir

Both pull requests are link to the same implementation of mip install from GitLab.

  • https://github.com/micropython/micropython-lib/pull/816
  • https://github.com/micropython/micropython/pull/13791

Signed-off-by: Olivier Lenoir [email protected]


https://github.com/micropython/micropython-lib/pull/816

Modify _rewrite_url() to allow mip install from gitlab: repository.

Signed-off-by: Olivier Lenoir [email protected]


https://github.com/micropython/micropython/pull/13791

mpremote: Implement mip install from GitLab.

tools/mpremote/README.md: Add mip install gitlab:org/repo@branch. Add example mpremote mip install gitlab:org/repo@branch.

tools/mpremote/mpremote/mip.py: Implement install from GitLab. Modify _rewrite_url() to allow mip install from gitlab: repository.

mpremote/mpremote/main.py: Add gitlab:org/repo, gitlab:org/repo@branch. Modify argparse_mip() for gitlab:org/repo, gitlab:org/repo@branch.

docs/reference/packages.rst: Mip install from GitLab. Describe how to mip install from GitLab.

docs/reference/mpremote.rst: Install package from GitLab. Install the package from the specified branch at org/repo on GitLab.

Signed-off-by: Olivier Lenoir [email protected]

OlivierLenoir avatar Mar 01 '24 20:03 OlivierLenoir

@jimmo I think this PR is right. What's the next step, if any?

OlivierLenoir avatar Mar 14 '24 07:03 OlivierLenoir

Thanks for the contribution! This looks good, and is now merged.

dpgeorge avatar May 15 '24 03:05 dpgeorge

Rebased and merged in 57cbc3484060f646deb0f4f652abcca4732b3458

dpgeorge avatar May 15 '24 03:05 dpgeorge