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

feature: west sync & west upload commands #577

Open
altair-albert opened this issue Apr 19, 2022 · 4 comments
Open

feature: west sync & west upload commands #577

altair-albert opened this issue Apr 19, 2022 · 4 comments

Comments

@altair-albert
Copy link

Anyone want this feature like google repo?

@marc-hb
Copy link
Collaborator

marc-hb commented Apr 19, 2022

For Github or Gerrit?

west supports extension, you could write one:
https://docs.zephyrproject.org/2.7.0/guides/west/extensions.html

BTW https://docs.zephyrproject.org/1.14.1/guides/west/why.html

Existing tools were considered during west’s initial design and development. None were found suitable for Zephyr’s requirements. In particular, these were examined in detail:
Google repo

  • Assumes Gerrit is used for code review
  • ...
  • ...

@altair-albert
Copy link
Author

altair-albert commented Apr 20, 2022 via email

@mbolivar-nordic
Copy link
Contributor

The problem with 'west upload' is that west would need to know how each individual git server accepts uploads. I think this is impossible to do in general, though I'd be interested to see a design for it if you have one.

As for 'sync', I guess that would mean pulling the latest changes from the manifest repository's remote and then running west update, all in one step? How would that work?

  • how would you configure the remote manifest repository? .west/config? the manifest repository's .git/config? somewhere else?
  • should it be possible to configure the remote manifest repository and branch to pull from on a per-local-branch basis, or just have one global thing to pull from?
  • what about workspaces initialized with west init -l?

@marc-hb marc-hb changed the title feature: west sync & west upload cmmand feature: west sync & west upload command May 13, 2022
@marc-hb marc-hb changed the title feature: west sync & west upload command feature: west sync & west upload commands May 13, 2022
@altair-albert
Copy link
Author

too many work need to do. 🐶

this my scripts. https://gist.github.com/altair-albert/16c758626afda1fb50a13cad1491c4f2

maybe have another better design. 😄

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