Skip to content
This repository was archived by the owner on Dec 12, 2022. It is now read-only.

Conversation

@Fuseteam
Copy link

appearently you can upgrade a specific package by apt installing it

this assumes the package name is the same as the repository name, we may need a more robust way to read the correct package name

@Fuseteam Fuseteam changed the title attempt to upgrade only the related package ubports-qa install upgrades only the package to the PR/MR Mar 6, 2022
@Fuseteam Fuseteam changed the title ubports-qa install upgrades only the package to the PR/MR ubports-qa upgrades only the package to the PR/MR repo Mar 7, 2022
@Fuseteam Fuseteam changed the title ubports-qa upgrades only the package to the PR/MR repo ubports-qa upgrades only the packages related to the PR/MR repo Mar 7, 2022
Copy link
Member

@mardy mardy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a few remarks, but I also would prefer if this were implemented in python (I'm also fine if the whole script gets rewritten in bash, but this hybrid is not very nice IMHO) :-)

@Fuseteam
Copy link
Author

Fuseteam commented Mar 8, 2022

Added a few remarks, but I also would prefer if this were implemented in python (I'm also fine if the whole script gets rewritten in bash, but this hybrid is not very nice IMHO) :-)

i don't mind reimplementing it in python fwiw, this was just the easiest way to get something working, as i don't know as much python

actually, after submitting this PR i attempted to reimplement pkgremove in python but appearently python's os.check_output quotes the list of packages breaking apt

@Fuseteam Fuseteam requested a review from mardy March 9, 2022 13:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants