Skip to content

Check upstream source version and compare it with pacman version

License

Notifications You must be signed in to change notification settings

mutoroglin/chk-upstream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

chk-upstream

chk-upstream retrieves a git repository version and compares it against a pacman package version

Prerequestits

chk-upstream uses the github cli tool to read the githib api. It requires a github user account to work!

Once gh is installed authenticate: call gh auth login and follow the prompts or use the one liner gh auth login --with-token <<<"github_token". A token can be created in your github user account under settings / Developer Settings / Personal Access Tokes.

Usage

 Usage: chk-upstream -g git_repository_name -p package_name
    or: chk-upstream --git git_repository_name --pacman package_name
    or: chk-upstream -h
    or: chk-upstream --help

Change-log

Version 1.2

  • added command line parameter '-s' & '--string': the string will be compared against the pacman package version

Version 1.1

  • renamed to chk-upstream (formally chk_pkg_upstream)
  • added command line parameter --git and --pacman

Version 1.0

All basic functions are implemented:

  • reads git repository and pacman package name from arguments
  • gets git upstream version
  • compares version and display result

About

Check upstream source version and compare it with pacman version

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages