Skip to content

Releases: nao1215/gup

v0.20.1

21 Mar 14:17
1817b8c
Compare
Choose a tag to compare

Fix issue #81: [BUG Report] Ignore .DS_Store files on macOS

Changelog

  • 040a24b Delete internal file package. use gorky/file pacakage instead
  • bc0670a Fix issue #81: [BUG Report] Ignore .DS_Store files on macOS
  • 8420743 Fix: badCall: suspicious Join on 1 argument (gocritic)
  • fb1e11f Merge pull request #82 from nao1215/ignore_hidden_file
  • 1817b8c Merge pull request #83 from nao1215/delete-intenal-file-package
  • c423919 delete unnecessary "**"

v0.20.0

14 Mar 13:52
0ce1d28
Compare
Choose a tag to compare

Added bug-report subcommand and man subcommand.

These commands were added in reference to "Building Modern CLI Applications in Go: Develop next-level CLIs to improve user experience, increase platform usage, and maximize production".

Changelog

  • aadd8eb Add //#nosec
  • be244ab Add description for man subcommand
  • d4a551b Add file.Close() error check
  • 2ea0d00 Add reviewdog rule
  • 6defd20 Add unit test
  • 41abbde Add unit test
  • fe9c39a Add unit test for man subcommand
  • 40fa7ec Bump github.com/fatih/color from 1.14.1 to 1.15.0
  • 3a33475 Delete magic number
  • 6400164 Fix gosec: G304: Potential file inclusion via variable (gosec)
  • b36de8f Fix linter
  • 272a1a5 Fix linter
  • 38c0e11 Fix: G304 (CWE-22): Potential file inclusion via variable (Confidence: HIGH, Severity: MEDIUM
  • 336cfb2 Merge pull request #78 from nao1215/fix-gosec
  • 0ce1d28 Merge pull request #79 from nao1215/dependabot/go_modules/github.com/fatih/color-1.15.0
  • b2d277c Merge pull request #80 from nao1215/add-bug-report-cmd
  • 40335ed Set line feed code to LF for Windows environment
  • 7cda79d Set line feed code to LF for Windows environment
  • f2c450b Strict file permissions.
  • 1216058 add bug-report command
  • 7fcfa3d add man subcommand
  • d42fbf0 downgrade go version
  • 10129ce not use errors.Join
  • d251ab6 update go version to 1.20

v0.19.0

05 Mar 00:22
301eef4
Compare
Choose a tag to compare

The gup command was designed to create as many goroutines as the number of binaries existing in $GOBIN. However, in an environment with a large number of binaries, the CPU load was extremly high.

Therefore, from Ver. 0.19.0, the upper limit of the number of goroutines created is set to the number of CPU cores.
The upper limit for the number of CPU cores used can be changed with the "--jobs" option. The default is the maximum number of CPU cores.

Changelog

  • cb54aa4 Add --jobs option
  • dfe4707 Delete unused code
  • 301eef4 Merge pull request #77 from nao1215/controll-goroutine-num
  • 5a77386 Reduced global variables and removed init()

v0.18.0

26 Feb 13:13
a66e985
Compare
Choose a tag to compare

Changelog

  • 304c6a8 Add description for deleting update-go subcommand
  • 1daef6f Delete update-go
  • d494d88 Merge pull request #74 from jlec/bash_completions
  • a66e985 Merge pull request #75 from nao1215/delete-update-go
  • a482456 Silence usage and errors when error occurred
  • acd9d04 fix: Use canonical name for bash_completion.d

v0.17.1

23 Feb 14:31
60484c4
Compare
Choose a tag to compare

Summary

  • The path where the bash completion file is stored has changed: ~/.bash_completion to ~/.bash_completions.d/gup
  • Changed update-go subcommand to show progress bar while downloading golang tarball.

Changelog

  • 9eb4f6d Add download progress bar
  • dc08afc Delete redundant return statement
  • 0a081f4 Fix completion subcommand test
  • 42aac83 Issue #72: Change bash completion file path
  • 360e9b8 Merge pull request #70 from nao1215/add-progress-bar
  • 60484c4 Merge pull request #73 from nao1215/change-bash-completion-file-path

v0.17.0

19 Feb 16:05
7a89e15
Compare
Choose a tag to compare

Add experimental feature (only support *NIX/Mac)

update-go subcommand update golang if golang installed in /usr/local/go is not up-to-date. If golang is not on the system, gup will not install the latest version of golang in /usr/local/go.

update-go subcommand is an experimental feature. In the future, update-go may be removed or become a another command.

$ sudo gup update-go
gup:INFO : current=1.19.6, latest=1.20.1
gup:INFO : download go1.20.1.linux-amd64.tar.gz at current directory
gup:INFO : [compare sha256 checksum]
gup:INFO :  expect: 000a5b1fca4f75895f78befeb2eecf10bfff3c428597f3f1e69133b63b911b02
gup:INFO :  got   : 000a5b1fca4f75895f78befeb2eecf10bfff3c428597f3f1e69133b63b911b02
gup:INFO : backup original /usr/local/go as /usr/local/go.backup
gup:INFO : start extract go1.20.1.linux-amd64.tar.gz at /usr/local/go
gup:INFO : delete backup (/usr/local/go.backup)
gup:INFO : delete go1.20.1.linux-amd64.tar.gz
gup:INFO : success to update golang (version 1.20.1)

Changelog

  • 9754b88 Add description for update-go subcommand
  • c2b46b2 Add install method for homebrew (mac user)
  • bf830b1 Add unit test code
  • 094373e Add update-go subcommand. this is experimental feature.
  • 04a1d8c Delete unnecessary code
  • 7a89e15 Merge pull request #69 from nao1215/add-update-go-subcommand
  • be55066 isWindows --> IsWindows

v0.16.0

13 Feb 11:52
19b620d
Compare
Choose a tag to compare

Changelog

  • 13f9133 Add description of XDG Base Directory Specification
  • 751bb63 Bump github.com/fatih/color from 1.13.0 to 1.14.1
  • 57bc6f7 Bump github.com/spf13/cobra from 1.6.0 to 1.6.1
  • 763171a Merge pull request #63 from nao1215/dependabot/go_modules/github.com/spf13/cobra-1.6.1
  • ce661c5 Merge pull request #65 from nao1215/dependabot/go_modules/github.com/fatih/color-1.14.1
  • 19b620d Merge pull request #68 from nao1215/feat-xdg
  • 0801834 The location of the configuration directory follows the XDG Base Directory Specification.

v0.15.1

22 Oct 05:28
c516e51
Compare
Choose a tag to compare

Changelog

  • db0eec6 Add description for --notify option
  • 5a89b25 Merge pull request #58 from nao1215/update-readme-for-notify-option
  • c516e51 Merge pull request #61 from nao1215/update-dbus-version
  • 3757e5a Update dbus version

v0.15.0

18 Oct 12:14
ec0dcb8
Compare
Choose a tag to compare

By default, gup does not notify on your desktop after the update was finished. If you want to use desktop notification, you use --notify option.

Changelog

  • 002adcd Add --notify option
  • 984a90e Add awesome go budge
  • 8d09dbf Add unit test for "gup update --dry-run --notify"
  • bbd923e Add unit test for --notify
  • 9a4b528 Add unit test for desktopNotifyIfNeeded().
  • 5c87bde Bump github.com/spf13/cobra from 1.5.0 to 1.6.0
  • 2450d84 Change os.Exit to OsExit
  • b6d224b Change os.Setenv
  • 89d5aa6 Fixed a bug that caused rece condition
  • 052035a Fixed to return instead of os.Exit after signal catch
  • 3b0b4b6 Merge pull request #54 from nao1215/awesome-go
  • ec0dcb8 Merge pull request #55 from nao1215/dependabot/go_modules/github.com/spf13/cobra-1.6.0
  • 4480549 Merge pull request #57 from nao1215/disable-notification-by-default

v0.14.0

02 Oct 14:28
061f337
Compare
Choose a tag to compare

Description

gup will not automatically generate shell completion files from this release. To create a shell completion file, use "gup completion".

Changelog

  • d64a3e4 Add unit test for completion subcommnad
  • c95637e Added new completion subcommand to create shell completion files
  • 2a6e6a4 Added test to confirm that shell completion files are not generated on Windows
  • 061f337 Merge pull request #53 from nao1215/add-completion-cmd
  • c496ddf Removed shell completion file deletion process included in test code
  • b172074 Update description for completion subcommand