Maneage - Tasks: task #16287, Remove (clean or uninstall) a...
You are not allowed to post comments on this tracker with your current authentication level.
task #16287: Remove (clean or uninstall) a specific package automatically
Submitter: | Pedram Ashofteh-Ardakani <pedram> | ||
Submitted: | Wed 07 Dec 2022 07:38:19 PM UTC | ||
Should Start On: | Wed 07 Dec 2022 12:00:00 AM UTC | Should be Finished on: | Wed 07 Dec 2022 12:00:00 AM UTC |
Category: | Discussion | Priority: | 5 - Normal |
Status: | None | Privacy: | Public |
Percent Complete: | 0% | Assigned to: | None |
Open/Closed: | Open | Effort: | 0.00 |
Wed 07 Dec 2022 11:26:29 PM UTC, comment #4: |
Mohammad Akhlaghi <makhlaghi>![]() |
Wed 07 Dec 2022 09:33:19 PM UTC, comment #3: Thanks for clarifying :).
|
Boud Roukema <boud>![]() |
Wed 07 Dec 2022 09:20:33 PM UTC, comment #2: Thanks for reaching out Boud, I should've explained better. By 'install' I mean the targets defined to 'install' certain softwares and modules. For example the 'cfitsio's installation target is written in 'reproduce/software/make/high-level.mk'.
|
Pedram Ashofteh-Ardakani <pedram>![]() |
Wed 07 Dec 2022 09:10:58 PM UTC, comment #1: I don't understand what you mean by "We already have defined 'install' instructions for specific programs and specific versions."
|
Boud Roukema <boud>![]() |
Wed 07 Dec 2022 07:38:19 PM UTC, original submission:
It would be nice to add a "clean" target in the makefiles as well. We already have defined "install" instructions for specific programs and specific versions. We could also add the "remove/clean/uninstall" option to "./project" script which removes a specific program.
|
Pedram Ashofteh-Ardakani <pedram>![]() |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Let me see if I can clarify Pedram's suggestion. Pedram, please correct me if I am wrong below:
In the first case of uninstalling, this is how I interpreted Pedram's suggestion:
Everything else would be the same as before, except that we can run 'make uninstall' instead of 'make install' within the build rule and to remove that program's 'version-info/' file.
In the case of cleaning, this is how I interpreted Pedram's suggestion: if the user just wants to "clean" the information of a software (that goes into the software acknowledgements; for example when they update a software, which will keep previous versions in 'version-info/'), the user can run this:
The clean option is pretty easy to implement and is well defined and robust. However, the uninstall option is pretty tricky! Here are some caveats off the top of my head:
So even if we do implement the first option, there will be many caveats that will annoy users for some poorly-written software (which are a lot in the high-level/other-langauge packages!).