OpenPrograms/Vexatos-Programs

Custom repos stored in _repos key in opdata.svd are not filtered from package management operations

Closed this issue · 1 comments

  1. Register a custom repo: oppm register someusername/somereponame
  2. Run oppm list -i

The package name _repos is included in the output, because that key is used in the table stored in opdata.svd to hold the list of custom registered repos. It should probably be filtered out at minimum, or perhaps better opdata.svd structured to hold the list of installed packages in a subtable.

You can also run oppm uninstall _repos, which will crash if you have any custom repos registered, or successfully “uninstall” the “package” (merely removing the empty table) if not. Additionally oppm update all will include the message Package does not exist in its output when it tries to update the _repos “package”.

Thanks for the report.