Infofile

Usage: lftools infofile [OPTIONS] COMMAND [ARGS]...

  INFO.yaml TOOLS.

Options:
  --help  Show this message and exit.

Commands:
  check-votes      Check votes on an INFO.yaml change.
  get-committers   Extract Committer info from INFO.yaml or LDAP dump.
  sync-committers  Sync committer information from LDAP into INFO.yaml.

Commands

check-votes

Usage: lftools infofile check-votes [OPTIONS] INFO_FILE ENDPOINT CHANGE_NUMBER

  Check votes on an INFO.yaml change.

  Check for Majority of votes on a gerrit or github patchset which changes
  an INFO.yaml file.

  For Gerrit endpoint is the gerrit url For Github the enpoint is the
  organization name

  Examples: lftools infofile check-votes /tmp/test/INFO.yaml lfit-sandbox 18
  --github_repo test

  lftools infofile check-votes ~/lf/allrepos/onosfw/INFO.yaml
  https://gerrit.opnfv.org/gerrit/ 67302

Options:
  --tsc TEXT          path to TSC INFO file
  --github_repo TEXT  Provide github repo to Check against a Github Change
  --help              Show this message and exit.

get-committers

Usage: lftools infofile get-committers [OPTIONS] FILE

  Extract Committer info from INFO.yaml or LDAP dump.

Options:
  --full BOOLEAN  Output name email and id for all committers in an infofile
  --id TEXT       Full output for a specific LFID
  --help          Show this message and exit.

sync-committers

Usage: lftools infofile sync-committers [OPTIONS] INFO_FILE LDAP_FILE ID

  Sync committer information from LDAP into INFO.yaml.

Options:
  --repo TEXT  repo name
  --help       Show this message and exit.

API for check votes requires a [github] section in ~/.config/lftools/lftools.ini:

[github]
token = REDACTED