Skip to content

feat: Automate process for updating package.json #7

@Cyber-Syntax

Description

@Cyber-Syntax

I am frustrated to update package.json after every new app I started to use. It would be better to have a function to update the config by checking the dnf package manager current installed packages and updating the config file.

  • Basic function can be check dnf and add it the temp-packages.json and then compare the two files and add the only new apps.
  • Add a function to check the current installed packages for dnf and flatpak.
    • We can use the dnf list installed command to get the list of installed packages and then compare it with the temp-packages.json file. If there are any new packages, we can add them to the config file with new-packages: and list them in the same format as the packages.json file use.

Maybe a remove section to remove the packages that are not used anymore in the package.json file.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions