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

luci-app-opkg: made 'force-overwrite' user-driven/optional plus bugfix #2775

Closed
wants to merge 1 commit into from

Conversation

dibdot
Copy link
Contributor

@dibdot dibdot commented Jun 17, 2019

  • made 'force-overwrite' flag optional, the user could set this
    like 'autoremove' today (see screenshots)
  • fix erroneously as 'installed' reported packages (happens whenever
    a package installation runs into an error)
  • add three dots to the first level 'Remove' button, cause it
    leads to a modal dialogue

Signed-off-by: Dirk Brenken dev@brenken.org

* made 'force-overwrite' flag optional, the user could set this
  like 'autoremove' today (see screenshots)
* fix erroneously as 'installed' reported packages (happens whenever
  a package installation runs into an error)
* add three dots to the first level 'Remove' button, cause it
  leads to a modal dialogue

Signed-off-by: Dirk Brenken <dev@brenken.org>
@dibdot
Copy link
Contributor Author

dibdot commented Jun 17, 2019

New (default) workflow/result without force:
opkg1
opkg2

New workflow with force:
opkg3
opkg4

Maybe that's useful ... at least the 'installed' bug should be fixed.

@dibdot
Copy link
Contributor Author

dibdot commented Jun 17, 2019

@jow- @BKPepe

@jow-
Copy link
Contributor

jow- commented Jun 17, 2019

I think if a package is not installed it should not be part of the installed dictionary. The tests look like they paper over an underlying issue.

@BKPepe
Copy link
Member

BKPepe commented Jun 17, 2019

I like this! :) Thank you.

jow- added a commit that referenced this pull request Jun 19, 2019
Do not consider half-installed packages (which happens after an
installation failure) to be installed.

Ref: #2775
Signed-off-by: Dirk Brenken <dev@brenken.org>
[split into multiple commits, refactored code, use local variables]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
jow- added a commit that referenced this pull request Jun 19, 2019
Add three dots to the first level 'Remove' button caption, because it
leads to a modal dialogue.

Ref: #2775
Signed-off-by: Dirk Brenken <dev@brenken.org>
[split into multiple commits, sync translations]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
jow- added a commit that referenced this pull request Jun 19, 2019
Ref: #2775
Signed-off-by: Dirk Brenken <dev@brenken.org>
[split into multiple commits, sync translations]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
@jow-
Copy link
Contributor

jow- commented Jun 19, 2019

Merged with some changes. Thanks @dibdot

@jow- jow- closed this Jun 19, 2019
@BKPepe
Copy link
Member

BKPepe commented Jun 19, 2019

Would it be possible to include it also in OpenWrt 19.07?

jow- added a commit that referenced this pull request Jun 24, 2019
Do not consider half-installed packages (which happens after an
installation failure) to be installed.

Ref: #2775
Signed-off-by: Dirk Brenken <dev@brenken.org>
[split into multiple commits, refactored code, use local variables]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>

(cherry picked from commit 88282c1)
@dibdot dibdot deleted the opkg branch June 25, 2019 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants