Commit graph

82 commits

Author SHA1 Message Date
Milan Kolar
99f1a95a08 fix subfolders_list 2021-02-16 18:52:48 +01:00
Milan Kolar
65c38c0bc3 move global hooks one folder up 2021-02-16 18:24:45 +01:00
iLLiCiTiT
0ad906d88e added function get_app_environments_for_context which can be used to get environments for entered context 2021-02-15 20:28:24 +01:00
iLLiCiTiT
6071f1231f moved functions to calculate environments of launched application to lib.application 2021-02-15 20:27:39 +01:00
iLLiCiTiT
8337a0b9fd added EnvironmentPrepData to store temp data during environments preparation 2021-02-15 20:27:05 +01:00
iLLiCiTiT
8c4b5b3158 added modified merge environment function 2021-02-15 20:26:35 +01:00
iLLiCiTiT
83310acbab moved should_start_last_workfile to application lib 2021-02-15 20:26:01 +01:00
iLLiCiTiT
2d6ab3a10e added get_logger function to lib/application.py 2021-02-15 20:25:24 +01:00
iLLiCiTiT
02e0de41bf prepared imports for environments preparation 2021-02-15 20:25:04 +01:00
Milan Kolar
5f98463e40 Merge branch 'develop' into feature/get_rid_of_subprocess 2021-01-08 22:44:19 +01:00
iLLiCiTiT
7a3e0b54c2 removed unused logger from applicaitons.py 2020-12-29 17:00:30 +01:00
iLLiCiTiT
d6d6fbeb98 renamed _subprocess to run_subprocess and moved to execute.py 2020-12-22 17:09:56 +01:00
iLLiCiTiT
0b31fe7526 make sure it's totally independent 2020-12-22 15:48:43 +01:00
iLLiCiTiT
c1d0870a7e removed unused import 2020-12-22 15:42:35 +01:00
iLLiCiTiT
a4de80a61e call .copy() on variable env 2020-12-22 15:41:31 +01:00
iLLiCiTiT
526f15a852 removed TODO 2020-12-22 10:51:30 +01:00
iLLiCiTiT
2cdaf321fb application launch context load modules to collect prelaunch hooks 2020-12-22 10:48:59 +01:00
iLLiCiTiT
021241de97 initialize log in lib/applications.py 2020-12-14 19:20:08 +01:00
iLLiCiTiT
0d84faa80a fix host folder parts 2020-12-14 19:19:55 +01:00
iLLiCiTiT
ef2abd1de8 fixed subfolder 2020-12-14 19:00:22 +01:00
iLLiCiTiT
84175aaa78 modified loading of hooks to look for them also in host folder 2020-12-14 19:00:10 +01:00
iLLiCiTiT
d44d63cdc0 Merge branch 'develop' into 3.0/refactoring 2020-12-07 15:46:41 +01:00
iLLiCiTiT
e215e8c4bc fix missing local variable 2020-12-04 18:25:27 +01:00
iLLiCiTiT
69b7485612 use postlaunch_hook instead of prelaunch_hook and use their classes names instead of their "representation" string 2020-12-04 17:01:09 +01:00
iLLiCiTiT
1fee2d524c fix imports in lib 2020-12-04 13:05:16 +01:00
iLLiCiTiT
443cb5c795 Merge branch 'develop' into 3.0/refactoring 2020-12-04 12:58:45 +01:00
Milan Kolar
c64fdd19dd system_settings to get_system_settings 2020-12-03 16:08:50 +01:00
Milan Kolar
c5d6a44dc5 Merge remote-tracking branch 'origin/2.x/develop' into 3.0/replace_config_with_settings 2020-12-03 15:59:35 +01:00
iLLiCiTiT
59ee582751 removed unused logger 2020-12-03 13:18:49 +01:00
iLLiCiTiT
ce8c200de1 fixed imports 2020-12-03 13:11:19 +01:00
iLLiCiTiT
6f3fe95405 application is used everywhere so removed a lot of code 2020-12-03 12:58:20 +01:00
iLLiCiTiT
a97cc086ed settings function names are with verbs now 2020-12-03 10:41:05 +01:00
Ondrej Samohel
7e6116f63c
Merge remote-tracking branch 'origin/develop' into 3.0/refactoring 2020-12-01 22:14:08 +01:00
iLLiCiTiT
103e17f7b3 fix settings loading 2020-11-30 17:51:18 +01:00
iLLiCiTiT
7ab49cdf93 fix check of executable path as it does not have to be full path 2020-11-30 13:00:42 +01:00
iLLiCiTiT
622208c015 implemented ApplicationExecutable for handlind executablesx and arguments 2020-11-30 12:54:23 +01:00
iLLiCiTiT
c8c8424cb7 hooks filtering works for app_groups and app_names 2020-11-30 10:37:52 +01:00
iLLiCiTiT
3393933e28 application manager load app_group and host_name 2020-11-30 10:35:54 +01:00
iLLiCiTiT
a40279d456 fix minor clean arguments bug 2020-11-25 11:50:45 +01:00
iLLiCiTiT
88316fe421 prelaunch and postlaunch hooks are diferentiated by inherit class 2020-11-24 17:56:58 +01:00
iLLiCiTiT
a1a48fbb7a moved ftrack logic from application context to post launch hook 2020-11-24 17:30:30 +01:00
iLLiCiTiT
e24ff6725a created global host launch hook 2020-11-24 17:07:17 +01:00
iLLiCiTiT
baa10c6eb5 LaunchHook has few wrapped attributes 2020-11-24 17:06:47 +01:00
iLLiCiTiT
9a814320ba LaunchHook is using PypeLogger 2020-11-24 17:05:46 +01:00
iLLiCiTiT
687ccf7217 env attribute directly points to kwargs 2020-11-24 17:05:20 +01:00
iLLiCiTiT
97c46f79c9 few small changes 2020-11-24 15:41:19 +01:00
iLLiCiTiT
0dc51f3d6d hooks are launch hooks are stored to launch context 2020-11-24 14:51:32 +01:00
iLLiCiTiT
e545a6798a prelaunch and post launch hooks are discovered and executed 2020-11-24 14:46:22 +01:00
iLLiCiTiT
17b0591587 added base of getting hooks dir paths 2020-11-24 14:43:28 +01:00
iLLiCiTiT
52ff856bb6 application context has method to load launch hooks 2020-11-24 14:34:30 +01:00