Skip to main content

Provides Details for your GitRepo master manifest file

Project description

GitRepoXMLParser

Capable of processing the AOSP repo's manifest file differentiating from the supplier

GitRepoXMLParser helps you visualize your AOSP manifest files that is fed for repo tool Rich-powered visualization.

Manifest file example

<manifest >
    <remote fetch = "url" name = "pj-gerrit" review = "" / >
    <include name = "supplier.xml" / >
    <include name = "pj_apps.xml" / >
    <remove-project name = "pathto/projec" / >
    <project name = "supplier/pathto/projectrepo" path = "company/pathto/projectrepo" remote = "pj-gerrit" revision = "branch_name" / >
    <project name = "PJ/pathto/projectrepo1" path = "vendor/pathto/projectrepo1" remote = "pj-gerrit" revision = "branch_name" / >
    <project name = "PJ/pathto/projectrepo2" path = "vendor/pathto/projectrepo2" remote = "pj-gerrit" revision = "branch_name" / >
</manifest >

Features

  • Visualize your manifest.xml files visually
  • The table size depends on the screensize of the command line utility that you are running the script

Installation

gitrepoxmlparser requires Rich 12.5.1+.

pip install gitrepoxmlparser

Usage

cmd>gitrepoxmlparser -h
usage: -m [-h] -f F -c C -s S [-x]

options:
  -h, --help  show this help message and exit
  -f F        manifest xml file
  -c C        Your company name (Should match with companies folder name in the stack)
  -s S        Supplier's Company name (just contrasts with only one vendor)
  -x, --html  For html report

Building the source

To activate the virtual env

poetry shell

Installing dependencies only

poetry install --no-root

To install the dependencies and install the package (reads the poetry.lock or pyproject.toml file )

poetry install

License

MIT

Free Software, Hell Yeah!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gitrepoxmlparser-0.3.0.tar.gz (4.9 kB view hashes)

Uploaded Source

Built Distribution

gitrepoxmlparser-0.3.0-py3-none-any.whl (5.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page