Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DietPi-Software | Make Go an own install option (ID=188) #4272

Merged
merged 15 commits into from
Apr 16, 2021
Merged

DietPi-Software | Make Go an own install option (ID=188) #4272

merged 15 commits into from
Apr 16, 2021

Commits on Apr 14, 2021

  1. v7.1

    + DietPi-Software | Make Golang Go an own install option (ID=188)
    MichaIng authored Apr 14, 2021
    Configuration menu
    Copy the full SHA
    6d692ee View commit details
    Browse the repository at this point in the history
  2. v7.1

    + CHANGELOG | Golang Go: Being previously tied into the OpenBazaar install, Golang Go has now become a dedicated install option with the software ID 188
    MichaIng authored Apr 14, 2021
    Configuration menu
    Copy the full SHA
    d2f70e7 View commit details
    Browse the repository at this point in the history
  3. v7.1

    + DietPi-Patches | Mark now dedicated Golang Go as installed if OpenBazaar is
    + DietPi-Patches | Load DietPi-Globals at the beginning of the script now and implement G_EXEC error handler where applicable
    MichaIng authored Apr 14, 2021
    Configuration menu
    Copy the full SHA
    b69d38d View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2021

  1. v7.1

    + DietPi-Patches | It's simply "Go"
    MichaIng authored Apr 15, 2021
    Configuration menu
    Copy the full SHA
    735f044 View commit details
    Browse the repository at this point in the history
  2. v7.1

    + CHANGELOG | It's simply "Go"
    MichaIng authored Apr 15, 2021
    Configuration menu
    Copy the full SHA
    f0e1fbe View commit details
    Browse the repository at this point in the history
  3. v7.1

    + DietPi-Software | Go: It's named "Go" only
    + DietPi-Software | Go: Grab latest available version automatically from JSON version of the download page
    + DietPi-Software | Go: Add a note to uninstall section about keeping GOPATH /mnt/dietpi_userdata/go
    MichaIng authored Apr 15, 2021
    Configuration menu
    Copy the full SHA
    7058239 View commit details
    Browse the repository at this point in the history
  4. v7.1

    + DietPi-Software | Main menu entry renaming: #4270 (comment)
    MichaIng authored Apr 15, 2021
    Configuration menu
    Copy the full SHA
    268f873 View commit details
    Browse the repository at this point in the history
  5. v7.1

    + DietPi-Software | Go: Omit curl error 23 as "grep -m1" terminates the pipe when found the first match. The page is too large for the curl cache to have the download fully completed, like it is for "api.github.com/.../latest" pages. This omits all curl errors, which is okay as of the G_DIETPI-NOTIFY below, which makes us verify the download already.
    MichaIng authored Apr 15, 2021
    Configuration menu
    Copy the full SHA
    535127e View commit details
    Browse the repository at this point in the history
  6. v7.1

    + DietPi-Software | Go: Since Go v1.16, GOPATH vs module mode is not auto-detected anymore by default, but module mode is forced. Since we want to install and control package instances in our defined GOPATH, revert this change via /etc/bashrc.d/go.sh for bash shell sessions, so that the presence of a go.mod file in cwd triggers module mode, while otherwise GOPATH is used: https://golang.org/ref/mod#mod-commands
    + DietPi-Software | OpenBazaar: Remove doubled install notification and force GOPATH mode
    + DietPi-Software | OpenBazaar: Add documentation URL to systemd unit and assure it starts after network is up to allow IP binding
    + DietPi-Software | OpenBazaar: Error-handle init and credentials input, as e.g. when not being able to confirm/repeat the password, there is no clean way to retry: CTRL+C terminates the attempt, but leaves the instance without credentials set and more importantly it leaves the terminal in a broken state, manipulated by OB to hide the typed password and not reset on regular termination, which is bad. Piping the output through "tee" via G_EXEC_OUTPUT=1 limits the terminal manipulation to the tee instance, so exiting or retrying can be done fine.
    MichaIng authored Apr 15, 2021
    Configuration menu
    Copy the full SHA
    10f7e0b View commit details
    Browse the repository at this point in the history
  7. v7.1

    + DietPi-Software | OpenBazaar: Make build verbose to allow following the longer taking process
    + DietPi-Software | YaCy: Detect latest version automatically, using a similar method as with OpenBazaar
    + DietPi-Software | YaCy: Start enabled service after network, to allow IP binding, and add official Wiki to systemd documentation
    MichaIng authored Apr 15, 2021
    Configuration menu
    Copy the full SHA
    3b84fc7 View commit details
    Browse the repository at this point in the history
  8. v7.1

    + CHANGELOG | YaCy: New installs and reinstalls will now have the latest version detected and downloaded automatically. This enables an easy update method by simply reinstalling YaCy via "dietpi-software reinstall 133", independent of the DietPi version.
    MichaIng authored Apr 15, 2021
    Configuration menu
    Copy the full SHA
    1a7f57a View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2021

  1. v7.1

    + README | Add newly added software titles to sources list
    MichaIng authored Apr 16, 2021
    Configuration menu
    Copy the full SHA
    5e5f400 View commit details
    Browse the repository at this point in the history
  2. v7.1

    + DietPi-Survey_report | Add Go support
    MichaIng authored Apr 16, 2021
    Configuration menu
    Copy the full SHA
    f9a001c View commit details
    Browse the repository at this point in the history
  3. v7.1

    + DietPi-Software | OpenBazaar: Little config edit tweak: Single line arrays are perfectly possible
    MichaIng authored Apr 16, 2021
    Configuration menu
    Copy the full SHA
    51353a9 View commit details
    Browse the repository at this point in the history
  4. v7.1

    + DietPi-Software | OpenBazaar: Little uninstall enhancement: Especially remove data dir as well
    MichaIng authored Apr 16, 2021
    Configuration menu
    Copy the full SHA
    febf5dc View commit details
    Browse the repository at this point in the history