r-darwish / topgrade

Upgrade everything
GNU General Public License v3.0
3.36k stars 161 forks source link

Support deb-get #925

Closed r-darwish closed 2 years ago

r-darwish commented 2 years ago

Fixes #923

Standards checklist:

If you developed a feature or a bug fix for someone else and you do not have the means to test it, please tag this person here.

r-darwish commented 2 years ago

@Zahrun please test this change

Zahrun commented 2 years ago

Thank you for the quick addition. It seems the "update" step is not required since the only difference is that it will do "apt-get update", and we already do this in a previous topgrade step . So "upgrade" alone will work for deb-get. Also we are missing this header: ―― 10:40:35 - deb-get ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――

EDIT: you corrected the title before I posted. Let me test it.

Zahrun commented 2 years ago

The separator displays correctly. We can remove the ctx.execute_elevated(&deb_get, false)?.arg("update").check_run()?; line and we are good.