Skip to content

alarixnia/pkg-version-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pkg-version-tools

Tools for identifying when stuff in pkgsrc needs updating.

Current data sources: Wikidata, Freshcode, GitHub

Please be cautious of excessively querying these APIs. GitHub is especially likely to rate limit, so Wikidata is preferred when possible.

Requirements

  • textproc/lua-cjson
  • www/lua-curl

For gen_todo:

  • pkgtools/pkgsrc-todo

For gen_html:

  • textproc/lua-lustache

Usage

If your pkgsrc is outside /usr/pkgsrc, set PKGSRCDIR in the environment.

Commands take a list of packages in the form of category/name. Comments begin with #.

Add new packages with their data sources to packages.lua.

GitHub

You will need a personal access token: https://github.com/settings/tokens

Set the environment variable GITHUB_TOKEN to your token.

Examples

lua gen_todo.lua < package_list.txt
lua gen_html.lua < package_list.txt

About

tools for identifying when stuff in pkgsrc needs updating

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages