Closed lyoutakoduka closed 1 month ago
Divide global context file about project named "spartaproject.json".
The global context file is currently used for following modules.
1 Execute Python script: Module "execute_python"
2-1 Execute PowerShell script: Module "execute_powershell"
2-2 Create shortcut file: Module "create_shortcut"
2-3 Read shortcut file: Module "read_shortcut"
3-1 Connect server: Module "connect_server"
3-2 Upload to server: Module "upload_server"
3-3 Execute Python on server: Module "execute_server"
On this update, the global context file is divided to each local directories of above modules.
The class is named "BasePipeline", and inherit following two class.
1: Log to standard output.
https://github.com/lyoutakoduka/spartaproject/blob/e2c3bac69ffa5b2313c0d11d6c4ed5108beebec6/pyspartaproj/script/time/count/count_elapsed.py#L15
2: Import setting file by Json format..
https://github.com/lyoutakoduka/spartaproject/blob/e2c3bac69ffa5b2313c0d11d6c4ed5108beebec6/pyspartaproj/script/project/project_context.py#L23