Skip to content

aplanas/sndiff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sndiff

sndiff is a small tool that report differences between snapshots in openSUSE Tumbleweed and MicroOS.

By default shows information about packages and files in /etc, that can return diff -u output for changelogs and modified files. See sndiff --help for all the options.

Examples

sndiff 3: Compare the snapshot 3 with the current active one, showing list of updated, downgraded, added and removed packages, and changed, added and removed files in /etc.

sndiff 3 4: Compare snapshots 3 (old) and 4 (new), showing the same information than before.

sndiff: Compare the previous snapshot (old) with the current active one (new). The previous snapshot selection depends on the kind of distribution (MicroOS or Tumbleweed).

sndiff --short 3 4: Present the information in a compact way.

sndiff --packages 3 4: Only compares packages from snapshots 3 and 4.

sndiff --etc 3 4: Only compares /etc files.

sndiff --diff 3 4: Shows diff -u (10 lines max) of changelog for updated or downgraded packages, and changed files from /etc.

sndiff --diff --json 3 4: Generate JSON output, this time includes the full differences.

sndiff --no-colors 3 4: No colorized output.

sndiff list: Print a table of current snapshots. Mark the snapshot selected as old and new.

sndiff --json list: Shows the same table in JSON format.

About

Basic diff of packages and files for snapshots

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages