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

Handle deleted packages #28

Open
simonegaffurini opened this issue Feb 23, 2024 · 0 comments
Open

Handle deleted packages #28

simonegaffurini opened this issue Feb 23, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@simonegaffurini
Copy link
Collaborator

Steps:

  • Install hello-world in a temporary package
  • Delete its content and the package itself
  • Run trm list

The package is still shown.

Possible solution:

If the package was installed (from STMS origin same system)

  • Get the packages from ZTRM_INSTALLDEVC
  • Check that all of the packages still exist and they are part of the same hierarchy
  • Check that all the content of the TADIR transport exist and that they are contained in the root or one of its subpackages

If the package was published (trkorr inside ZTRM_SRC_TRKORR)

  • Get the transport root package
  • Check that the transport root package exists on the system, if it does, get its subpackages
  • Check that all of the content of the TADIR transport still exist in the system and that they are contained in the root or one of its subpackages
@simonegaffurini simonegaffurini converted this from a draft issue Feb 23, 2024
@simonegaffurini simonegaffurini self-assigned this Feb 23, 2024
@simonegaffurini simonegaffurini added the enhancement New feature or request label Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

1 participant