Code Monkey home page Code Monkey logo

h3restore's Introduction

Harmony 3 Repo restore

We often need to switch between different dependency versions of Microchip Harmony3 components. However, when we do this in bulk using the dependencies button of the content manager or using an example manifest file, it is difficult to restore all the dependencies back to the latest versions. This tool helps you do just that.

Running the tool

usage: H3restore [-h] -p PATH [-l] [-C] [-F] [-x] [-m MANIFEST | -k PACKAGE]

Tool to restore Harmony3 Git repos to the latest tag v1.6.0

optional arguments:
  -h, --help            show this help message and exit
  -l, --list            Just list the changes. do not move the tags
  -C, --noclean         Do not clean and reset the repos. Might result in failures if there are uncommitted changes
                        interfering with the tag change
  -F, --nofetch         Do not fetch latest repo versions from origin
  -x, --manifestOut     Generate a manifest file with the final configuration
  -m MANIFEST, --manifest MANIFEST
                        manifest file to be used to restore repos. Takes precedence over fetched versions
  -k PACKAGE, --package PACKAGE
                        package file to be used to restore repos. Takes precedence over fetched versions

required arguments:
  -p PATH, --path PATH  Location of Harmony3 repo

Note: Make sure that you ahve git is available in your %PATH% / $PATH

demo2

EXE release

The executable was created using pyinstaller for people who have difficulty installing python.

pyinstaller --onefile .\H3restore.py -i .\favicon.ico --clean

License

"THE BEER-WARE LICENSE" (Revision 42): [email protected] wrote this file. As long as you retain this notice you can do whatever you want with this stuff. If we meet some day, and you think this stuff is worth it, you can buy me a beer in return —Vysakh P Pillai

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.