dCore Import Debian Packages to Mountable SCE extensions > dCore X86
sce-import -d query
nitram:
Relatively minor but a scenario that happens when user no longer wants an extension to be dependent on other SCEs. Maybe i'm missing something. I've read the goal is to have minimal manual intervention in the /sce directory, hence the query.
User that wants to re-import existing extension so it's no longer dependent on anything is presently required to either run sce-remove and reboot, but of course this requires a reboot. Otherwise user can simply delete all of the extension's files from /sce or at least delete the *.dep file, which is manual intervention.
For example, run sce-import -d nano-tiny and make dependent on xorg. User changes mind and no longer wants the dependency but running sce-import nano-tiny automatically finds and installs using the existing dependency file (despite the -d option not being used), and there is no pause and query to delete the old .dep file before proceeding. Alternatively, attempting to run sce-import -d nano-tiny does not allow for a 'no dependency' option in the 'Choose existing SCE(s) that will provide dependencies for nano-tiny' choice list.
The issue could probably be resolved if either sce-import queried using/deleting the existing *.dep file on re-import and/or if sce-import -d had a 'no dependency' option, which could then delete any existing *.dep file before re-importing.
Jason W:
Ok, a fix will be in a new RC today.
sm8ps:
--- Quote from: nitram on February 20, 2016, 11:39:36 PM ---The issue could probably be resolved if either sce-import queried using/deleting the existing *.dep file on re-import and/or if sce-import -d had a 'no dependency' option, which could then delete any existing *.dep file before re-importing.
--- End quote ---
So that could be a -D option.
Jason W:
A -D option could make sense. But right now if a dep file is found, then one has the option to use it or create a new one, or not. In noniteractive mode, the dep file is just used but that is the only way to do noninteractive.
nitram:
Tested new sce-import with and without -D option. All appeared to work well for importing SCE with/out dependency, altering dependencies or deleting the .dep file. Looks good, thanks for the enhancement. To me the -D option provides very little benefit as running simply sce-import now allows user the option to delete or modify an existing .dep file. Plus using the -D option isn't non-interactive anyway for 'non-interactive' users, as the 'select dependency menu still popped up when running sce-import -nD . To me nothing that can't be accomplished with the already existing -z and other sce-import options. Nonetheless maybe some will find it more useful, thanks again.
Navigation
[0] Message Index
[#] Next page
Go to full version