soypak/soypak/cli
TheOnePath 851e37538c
Updated install.py
Now uses transaction module.

Conditional statement changed for checking if an argv is a bottle file:
	- Initially check for file suffix. Inform if file detected.
	- Then check if bottle file exists on the system. Report
	  accordingly.
	- Attempt to load the bottle file as a package. Fail if otherwise
	  unable to do this. Otherwise inform that it was loaded okay.

Check if we have anything to install. Inform and exit if we have
nothing.

Start a new transaction:
	- This is to give greater control and ensure the goal is met. A
	  transaction is initialised with a goal, and `.apply()` will
	  perform this goal.
	- Compute the system dependencies with `.compute()`. Any
	  dependencies which soypak can install (recognised in the packages
	  database), will not be included here. Report if we have
	  dependencies.
	- Apply the transaction to the system with `.apply()`. This will be
	  dependent on the goal set.
	- Check for problems when applying the transaction with `.problems()`.
	- Finally commit the transaction to record.
2023-08-11 23:35:59 +01:00
..
commands Updated install.py 2023-08-11 23:35:59 +01:00
command.py Updated logging in command.py 2023-08-07 14:42:59 +01:00
parser.py Updated parser.py 2023-07-05 19:05:25 +01:00
soypakcli.py Updated soypakcli.py 2023-08-09 14:05:40 +01:00