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 | Part 2: Merge "Optimised" and "Additional" software menus #4270

Merged
merged 6 commits into from
Apr 14, 2021

Conversation

MichaIng
Copy link
Owner

@MichaIng MichaIng commented Apr 13, 2021

Status: Review

The separation between "additional" software and "optimised" software did never follow any consistent rule:

  • Partly the aim was to put non-end-user software there, which is usually pulled as dependency. But that does not apply to e.g. network tools and editors, which are clearly end-user software, never pulled as dependency.
  • The other idea, probably the very initial one, was to put software titles there which are installed via APT only, without any "optimisation" done our side. But again there are many software titles in the "optimised" list, which are installed only via APT as well, sometimes simply because the APT package became better, newer of such.
  • The meaning of this separation is hence not clear and may be confusing to users.

The problem with the separation is that especially development environments are degraded in a way, while we want to have programming languages, runtime environments, their packaging tools in case and such more prominent, to better target developers as well. The list becomes longer, but the "optimised" list was very long already, while the "additional" list was quite short, so merging them does not increase the list significantly, and of course to cover this, we added the search option.

The software titles from the additional list mostly have no description and no docs URLs, hence this would need to be added. Also we can think about restructuring the categories, but for now at least nothing really conflicts, so no urgent change required IMO.

Commit list/description:

  • DietPi-Software | Part 2: Merge "Optimised" and "Additional" software menus

+ DietPi-Software | Part 2: Merge "Optimised" and "Additional" software menus
+ DietPi-Software | Remove obsolete variable declaration
+ CHANGELOG | DietPi-Software | The "optimised" and "additional" software menus have been merged
+ DietPi-Software | Fix category looping
+ DietPi-Software | Fix arithmetic syntax error when showing regular software list, use "search" argument for the function
@MichaIng
Copy link
Owner Author

I'm not yet sure how to show it best in the menu. We have the "Select Software" separator, so "Software selection" somehow seems doubled. "Search" and "List", "Select from List", or "Search Software" and "Select Software" and adjusting the separator a bit? Of course the right-sided text can also contain info about it, but IMO the word(s) at the left side should be as clear as possible.

'' '●─ Select Software '
'Search' ': Find a software title for installation'
'Software selection' ': Select software for installation'

+ DietPi-Software | Rename "Software selection" menu entry to "Browse", and adjust description
+ DietPi-Software | Move systemd-logind umask into Run_Installations() function, where pending install states (=1) are still present, else checking for Kodi install is done wrong.
+ DietPi-Software | Print "Installation completed" message before uploading survey, as a failure in DietPi-Survey has no effect on the completed install.
+ DietPi-Software | Update No-IP docs link
+ DietPi-Software | Minor code reordering and code comment updates
@MichaIng
Copy link
Owner Author

Went with:

'Browse' ': Select software to install from the full list'

Feedback and suggestions are still welcome, but I'll merge this now to go on with "part 3".

@MichaIng MichaIng merged commit 1d42bac into dev Apr 14, 2021
@MichaIng MichaIng deleted the software branch April 14, 2021 11:12
@Joulinar
Copy link
Collaborator

what about

Search Software
Browse Software

@MichaIng
Copy link
Owner Author

I like that, adding it to the Go PR.

MichaIng added a commit that referenced this pull request Apr 15, 2021
+ DietPi-Software | Main menu entry renaming: #4270 (comment)
MichaIng added a commit that referenced this pull request Apr 16, 2021
+ DietPi-Software | Make Go an own install option (ID=188)
+ DietPi-Patches | Mark now dedicated 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
+ 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
+ DietPi-Software | Main menu entry renaming: #4270 (comment)
+ 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: 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.
+ 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants