Skip to content
This repository was archived by the owner on Dec 19, 2020. It is now read-only.
This repository was archived by the owner on Dec 19, 2020. It is now read-only.

Make it easier to switch between wit and git #205

@mwachs5

Description

@mwachs5

This is just one item: #199

Other items:

  • make it easy to git submodule deinit / init cleanly
  • make it easy to push from a wit manifest.json back to equivalent of doing this fun painful recursive process:

cd <subrepo_with_submodules>
git submodule update --init
cd <some_submodule>
git checkout
cd ..
git checkout -b bump_submodules
git add <some_submodule>
git commit -m "bump submodule to match wit-manifest.json"
git push origin bump_submodules
cd ..
wit -C <top_module> update-dep subrepo_with_submodules
cd top_module
git checkout -b bump_submodules
git add -u wit-manifest.json
git commit -m "Bump wit-manifest.json to pick up some_submodule change"
git push origin bump_submodules
cd some_submodule
git submodule -deinit
wit update-pkg top_module
wit update

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions