Skip to content

About

Terminal UI for [compat] section of Julia Project.toml files.

Resources

Stars

73 stars

Watchers

1 watching

Forks

Latest commit

 

History

31 Commits

Folders and files

Repository files navigation

PackageCompatUI

PackageCompatUI is a terminal text interface to the [compat] section of a Julia Project.toml file.

Installation as an App (recommended)

This installation method requires Julia 1.12 or later.

using Pkg
pkg"app add PackageCompatUI"

As is common for Julia Apps, you also need to have ~/.julia/bin in your PATH.

Installation as a Package

This installation method requires Julia 1.6 or later.

using Pkg
pkg"add PackageCompatUI"

Note: add PackageCompatUI to your default environment, not to the project you want to set compat for.

Note: As of Julia v1.8, the pkg>-REPL-mode natively supports editing of the compat section. This is very rudimentary compared to PackageCompatUI but starts faster.

App Usage

Change directory to the project you want to set compat for. Then run

compat_ui

(For now arguments are ignored.)

Package Usage

Start Julia with --project or use Pkg.activate to activate the project you want to set compat for.

using PackageCompatUI
compat_ui()

Controls

? Toggle show help
→, ENTER Enter package
←, d Leave package
ENTER, SPACE Toggle semver compatible versions
q Save and quit
Ctrl-c Quit without saving
↑ Move up
↓ Move down
PAGE UP Move page up
PAGE DOWN Move page down
HOME Move to first item
END Move to last item

Colors

  • Red: No compat information available for the package.
  • Yellow: Compat declared for some versions of the package, but not the latest.
  • Green: Compatible with the latest version of the package.
  • Gray: Package is not registered.

Tutorial

Example 1 and Example 2.

About

Terminal UI for [compat] section of Julia Project.toml files.

Resources

Stars

73 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages