pilot.linkstec 0.0.5__py3-none-any.whl → 0.0.26__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pilot/config/config_reader.py +9 -3
- pilot/control/impl/base_controller.py +37 -12
- pilot/conver/commentRemover.py +100 -0
- pilot/conver/converfileEncodding.py +4 -32
- pilot/generater/vertexai.py +11 -1
- pilot/job/impl/base_job.py +21 -3
- pilot/job/job_interface.py +1 -0
- pilot/logging/__init__.py +0 -0
- pilot/logging/logger.py +57 -0
- pilot/processor/__init__.py +0 -0
- pilot/processor/code_processor.py +8 -0
- pilot/processor/code_processor_pipeline.py +14 -0
- pilot/unit/impl/base_unit.py +8 -12
- {pilot_linkstec-0.0.5.dist-info → pilot_linkstec-0.0.26.dist-info}/METADATA +1 -1
- pilot_linkstec-0.0.26.dist-info/RECORD +35 -0
- pilot_linkstec-0.0.5.dist-info/RECORD +0 -29
- {pilot_linkstec-0.0.5.dist-info → pilot_linkstec-0.0.26.dist-info}/WHEEL +0 -0
- {pilot_linkstec-0.0.5.dist-info → pilot_linkstec-0.0.26.dist-info}/licenses/LICENSE +0 -0
- {pilot_linkstec-0.0.5.dist-info → pilot_linkstec-0.0.26.dist-info}/top_level.txt +0 -0
pilot/config/config_reader.py
CHANGED
|
@@ -11,8 +11,8 @@ class ConfigDTO:
|
|
|
11
11
|
project: str
|
|
12
12
|
steps: list[str]
|
|
13
13
|
skipsteps: list[str]
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
runsteps: list[str]
|
|
15
|
+
multisteps: list[str]
|
|
16
16
|
|
|
17
17
|
class ConfigReader:
|
|
18
18
|
def __init__(self, filename = None):
|
|
@@ -79,11 +79,17 @@ class ConfigReader:
|
|
|
79
79
|
steps = [s.strip() for s in steps_str.split(',')] if steps_str else []
|
|
80
80
|
skipsteps_str = self.get('DEFAULT', 'skipsteps', fallback='')
|
|
81
81
|
skipsteps = [s.strip() for s in skipsteps_str.split(',')] if skipsteps_str else []
|
|
82
|
+
runsteps_str = self.get('DEFAULT', 'runsteps', fallback='')
|
|
83
|
+
runsteps = [s.strip() for s in runsteps_str.split(',')] if runsteps_str else []
|
|
84
|
+
multisteps_str = self.get('DEFAULT', 'multisteps', fallback='')
|
|
85
|
+
multisteps = [s.strip() for s in multisteps_str.split(',')] if multisteps_str else []
|
|
82
86
|
|
|
83
87
|
return ConfigDTO(
|
|
84
88
|
work_space=work_space,
|
|
85
89
|
threads=threads,
|
|
86
90
|
project=project,
|
|
87
91
|
steps=steps,
|
|
88
|
-
skipsteps=skipsteps
|
|
92
|
+
skipsteps=skipsteps,
|
|
93
|
+
runsteps=runsteps,
|
|
94
|
+
multisteps=multisteps
|
|
89
95
|
)
|
|
@@ -11,21 +11,46 @@ class BaseController(ControlInterface):
|
|
|
11
11
|
def __init__(self):
|
|
12
12
|
pass
|
|
13
13
|
|
|
14
|
-
|
|
15
14
|
def _init_unit(self):
|
|
16
15
|
return BaseUnit()
|
|
17
16
|
|
|
18
17
|
def run(self,configfile: str = None):
|
|
19
18
|
import time
|
|
20
19
|
config_dto = ConfigReader(configfile).get_dto()
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
20
|
+
unit = self._init_unit()
|
|
21
|
+
unit.config_dto = config_dto
|
|
22
|
+
|
|
23
|
+
steps = config_dto.steps
|
|
24
|
+
runsteps = config_dto.runsteps
|
|
25
|
+
|
|
26
|
+
def run_step(index):
|
|
27
|
+
if index >= len(steps):
|
|
28
|
+
return
|
|
29
|
+
step = steps[index]
|
|
30
|
+
if step in config_dto.skipsteps:
|
|
31
|
+
run_step(index + 1)
|
|
32
|
+
return
|
|
33
|
+
|
|
34
|
+
if len(runsteps) == 0:
|
|
35
|
+
pass
|
|
36
|
+
elif len(runsteps) != 0 and step not in runsteps:
|
|
37
|
+
run_step(index + 1)
|
|
38
|
+
return
|
|
39
|
+
|
|
40
|
+
max_workers = 1
|
|
41
|
+
if step in config_dto.multisteps:
|
|
42
|
+
max_workers = config_dto.threads
|
|
43
|
+
|
|
44
|
+
def step_worker():
|
|
45
|
+
unit.run(index)
|
|
46
|
+
|
|
47
|
+
with ThreadPoolExecutor(max_workers=max_workers) as executor:
|
|
48
|
+
futures = []
|
|
49
|
+
for _ in range(max_workers):
|
|
50
|
+
futures.append(executor.submit(step_worker))
|
|
51
|
+
time.sleep(0.5)
|
|
52
|
+
for future in futures:
|
|
53
|
+
future.result()
|
|
54
|
+
run_step(index + 1)
|
|
55
|
+
|
|
56
|
+
run_step(0)
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import re
|
|
2
|
+
from pathlib import Path
|
|
3
|
+
import sys
|
|
4
|
+
|
|
5
|
+
class CommentRemover:
|
|
6
|
+
"""
|
|
7
|
+
ColdFusion (.cfm, .cfc) と JavaScript (.js) のコメント削除クラス
|
|
8
|
+
"""
|
|
9
|
+
|
|
10
|
+
def __init__(self, file_path: str):
|
|
11
|
+
self.file_path = Path(file_path)
|
|
12
|
+
self.text = ''
|
|
13
|
+
self.cleaned_text = ''
|
|
14
|
+
|
|
15
|
+
def load(self, encoding='utf-8'):
|
|
16
|
+
try:
|
|
17
|
+
with self.file_path.open('r', encoding=encoding) as f:
|
|
18
|
+
self.text = f.read()
|
|
19
|
+
except Exception as e:
|
|
20
|
+
print(f"Failed to load file {self.file_path}: {e}", file=sys.stderr)
|
|
21
|
+
raise
|
|
22
|
+
|
|
23
|
+
def save(self, output_path: str, encoding='utf-8'):
|
|
24
|
+
try:
|
|
25
|
+
with open(output_path, 'w', encoding=encoding) as f:
|
|
26
|
+
f.write(self.cleaned_text)
|
|
27
|
+
except Exception as e:
|
|
28
|
+
print(f"Failed to save file {output_path}: {e}", file=sys.stderr)
|
|
29
|
+
raise
|
|
30
|
+
|
|
31
|
+
def remove_comments(self):
|
|
32
|
+
ext = self.file_path.suffix.lower()
|
|
33
|
+
if ext in ['.cfm', '.cfc']:
|
|
34
|
+
self.cleaned_text = self.remove_coldfusion_comments(self.text)
|
|
35
|
+
elif ext == '.js':
|
|
36
|
+
self.cleaned_text = self.remove_js_comments(self.text)
|
|
37
|
+
elif ext in ['.cbl', '.cob', '.cobol']:
|
|
38
|
+
self.cleaned_text = self.remove_cobol_comments(self.text)
|
|
39
|
+
else:
|
|
40
|
+
print(f"Unsupported file extension: {ext}, no comment removal applied.", file=sys.stderr)
|
|
41
|
+
self.cleaned_text = self.text
|
|
42
|
+
|
|
43
|
+
def remove_coldfusion_comments(self, text: str) -> str:
|
|
44
|
+
pattern_cftag = r'<!---(?:.|\n)*?--->'
|
|
45
|
+
pattern_block = r'/\*(?:.|\n)*?\*/'
|
|
46
|
+
pattern_line = r'//.*?$'
|
|
47
|
+
|
|
48
|
+
text = re.sub(pattern_cftag, '', text, flags=re.MULTILINE)
|
|
49
|
+
text = re.sub(pattern_block, '', text, flags=re.MULTILINE)
|
|
50
|
+
text = re.sub(pattern_line, '', text, flags=re.MULTILINE)
|
|
51
|
+
return text
|
|
52
|
+
|
|
53
|
+
def remove_js_comments(self, text: str) -> str:
|
|
54
|
+
pattern_block = r'/\*(?:.|\n)*?\*/'
|
|
55
|
+
pattern_line = r'//.*?$'
|
|
56
|
+
|
|
57
|
+
text = re.sub(pattern_block, '', text, flags=re.MULTILINE)
|
|
58
|
+
text = re.sub(pattern_line, '', text, flags=re.MULTILINE)
|
|
59
|
+
return text
|
|
60
|
+
|
|
61
|
+
def remove_cobol_comments(self, text: str) -> str:
|
|
62
|
+
"""
|
|
63
|
+
COBOLのコメント行、および方言の行内コメント *>以降を削除
|
|
64
|
+
|
|
65
|
+
・固定形式コメント行
|
|
66
|
+
行頭が '*'(先頭1文字目が*)の行はコメント → 削除
|
|
67
|
+
または7文字目が '*'の行もコメント → 削除
|
|
68
|
+
|
|
69
|
+
・行内コメント (方言)
|
|
70
|
+
'*> '以降はコメント → 削除
|
|
71
|
+
"""
|
|
72
|
+
|
|
73
|
+
lines = text.splitlines()
|
|
74
|
+
cleaned_lines = []
|
|
75
|
+
|
|
76
|
+
for line in lines:
|
|
77
|
+
# 固定長形式にあわせて7文字目 (index 6)を判定
|
|
78
|
+
# 行長が7未満でも対応 (存在しなければFalse)
|
|
79
|
+
is_comment_line = False
|
|
80
|
+
|
|
81
|
+
if line.startswith('*'):
|
|
82
|
+
is_comment_line = True
|
|
83
|
+
elif len(line) >= 7 and line[6] == '*':
|
|
84
|
+
is_comment_line = True
|
|
85
|
+
|
|
86
|
+
if is_comment_line:
|
|
87
|
+
# コメント行なのでスキップ
|
|
88
|
+
continue
|
|
89
|
+
|
|
90
|
+
# 行内コメント *> の扱い
|
|
91
|
+
# 行の途中に '*> ' (*>に続く空白も含む) があればその位置で切り捨てる
|
|
92
|
+
comment_pos = line.find('*>')
|
|
93
|
+
if comment_pos != -1:
|
|
94
|
+
# 行内コメント開始位置でカット(空白も含め全部削除)
|
|
95
|
+
# 例えば 'MOVE X TO Y *> このコメント' => 'MOVE X TO Y '
|
|
96
|
+
line = line[:comment_pos].rstrip()
|
|
97
|
+
|
|
98
|
+
cleaned_lines.append(line)
|
|
99
|
+
|
|
100
|
+
return '\n'.join(cleaned_lines)
|
|
@@ -10,14 +10,15 @@ def nkf_convert(file_path, nkf_args):
|
|
|
10
10
|
:param nkf_args: nkf に渡す引数のリスト(例: ['-w'])
|
|
11
11
|
"""
|
|
12
12
|
# nkfコマンドの引数にファイルパスを追加
|
|
13
|
-
|
|
13
|
+
cmd = ['nkf'] + nkf_args + [file_path]
|
|
14
14
|
|
|
15
|
-
cmd =
|
|
15
|
+
#cmd = 'nkf32' + ' ' + arg1 + ' '+ arg2 +' '+ file_path
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
try:
|
|
19
19
|
# nkfを実行し標準出力を取得
|
|
20
|
-
result = subprocess.run(
|
|
20
|
+
result = subprocess.run(
|
|
21
|
+
cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, check=True)
|
|
21
22
|
print(f"nkfの実行完了しました: {file_path}")
|
|
22
23
|
except subprocess.CalledProcessError as e:
|
|
23
24
|
print(f"nkfの実行でエラーが発生しました: {e.stderr.decode()}", file=sys.stderr)
|
|
@@ -46,32 +47,3 @@ def nkf_convert(file_path, nkf_args):
|
|
|
46
47
|
# output = nkf_convert(file_path, nkf_args)
|
|
47
48
|
|
|
48
49
|
|
|
49
|
-
if __name__ == "__main__":
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
target_dir = r'D:\work\fullsource'
|
|
53
|
-
nkf_args = ['-w', '--overwrite']
|
|
54
|
-
#extensions = (
|
|
55
|
-
# '.cfc', '.cfm', '.cob', '.cobol', '.cpy', '.csh', '.css', '.ctl',
|
|
56
|
-
# '.htm', '.html', '.js', '.sh', '.sql', '.tpl', '.txt'
|
|
57
|
-
#)
|
|
58
|
-
extensions = ('.cnd','.cng','int')
|
|
59
|
-
for root, dirs, files in os.walk(target_dir):
|
|
60
|
-
for file in files:
|
|
61
|
-
if file.lower().endswith(extensions):
|
|
62
|
-
filepath = os.path.join(root, file)
|
|
63
|
-
output = nkf_convert([filepath], nkf_args)
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
#if output is not None:
|
|
67
|
-
# 結果を標準出力にバイナリのまま書き出す場合
|
|
68
|
-
# sys.stdout.buffer.write(output)
|
|
69
|
-
|
|
70
|
-
# あるいはUTF-8等に応じてデコードして表示する場合
|
|
71
|
-
# 一旦utf-8デコードを試みる例(必要に応じて変更してください)
|
|
72
|
-
# try:
|
|
73
|
-
# decoded_output = output.decode('utf-8')
|
|
74
|
-
# print(decoded_output)
|
|
75
|
-
# except UnicodeDecodeError:
|
|
76
|
-
# print("utf-8へのデコードに失敗しました。バイナリデータとして出力します。", file=sys.stderr)
|
|
77
|
-
# sys.stdout.buffer.write(output)
|
pilot/generater/vertexai.py
CHANGED
|
@@ -7,6 +7,8 @@ import os
|
|
|
7
7
|
|
|
8
8
|
class VertexAISingleton:
|
|
9
9
|
_instance: Optional['VertexAISingleton'] = None
|
|
10
|
+
|
|
11
|
+
|
|
10
12
|
_lock = threading.Lock()
|
|
11
13
|
_tokenizer_cache = {}
|
|
12
14
|
encoding = None
|
|
@@ -33,7 +35,7 @@ class VertexAISingleton:
|
|
|
33
35
|
response = self.model.generate_content(prompt)
|
|
34
36
|
return {
|
|
35
37
|
"prompt": prompt,
|
|
36
|
-
"response": response.text,
|
|
38
|
+
"response": self._remove_code_fence(response.text),
|
|
37
39
|
"success": True,
|
|
38
40
|
"error": None
|
|
39
41
|
}
|
|
@@ -58,6 +60,14 @@ class VertexAISingleton:
|
|
|
58
60
|
print(f"トークン計算失敗: {e}")
|
|
59
61
|
return 0
|
|
60
62
|
|
|
63
|
+
def _remove_code_fence(self, text: str) -> str:
|
|
64
|
+
lines = text.splitlines()
|
|
65
|
+
if lines and lines[0].startswith("```"):
|
|
66
|
+
lines = lines[1:]
|
|
67
|
+
if lines and lines[-1].startswith("```"):
|
|
68
|
+
lines = lines[:-1]
|
|
69
|
+
return "\n".join(lines)
|
|
70
|
+
|
|
61
71
|
@classmethod
|
|
62
72
|
def get_instance(cls, model_name: str = "gemini-2.5-pro") -> 'VertexAISingleton':
|
|
63
73
|
"""インスタンスを取得"""
|
pilot/job/impl/base_job.py
CHANGED
|
@@ -2,12 +2,13 @@ import os
|
|
|
2
2
|
import shutil
|
|
3
3
|
|
|
4
4
|
from pilot.job.job_interface import JobInterface
|
|
5
|
-
from pilot.
|
|
5
|
+
from pilot.logging.logger import get_logger
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
class BaseJob(JobInterface):
|
|
9
9
|
def __init__(self):
|
|
10
|
-
self.
|
|
10
|
+
self.logger = get_logger(__name__)
|
|
11
|
+
self.config_dto = None
|
|
11
12
|
self._current_step = None
|
|
12
13
|
self._file_path = None
|
|
13
14
|
self._step_index = None
|
|
@@ -15,6 +16,7 @@ class BaseJob(JobInterface):
|
|
|
15
16
|
self._next_step_file_path = None
|
|
16
17
|
self._content = None
|
|
17
18
|
|
|
19
|
+
|
|
18
20
|
@property
|
|
19
21
|
def current_step(self):
|
|
20
22
|
return self._current_step
|
|
@@ -325,4 +327,20 @@ class BaseJob(JobInterface):
|
|
|
325
327
|
open(end_file, 'w', encoding='utf-8').close()
|
|
326
328
|
return end_file
|
|
327
329
|
|
|
328
|
-
return None
|
|
330
|
+
return None
|
|
331
|
+
|
|
332
|
+
def pre_run(self):
|
|
333
|
+
"""
|
|
334
|
+
ジョブ実行前の前処理を行うメソッド。
|
|
335
|
+
必要に応じてサブクラスでオーバーライドして使用する。
|
|
336
|
+
"""
|
|
337
|
+
pass
|
|
338
|
+
|
|
339
|
+
def post_run(self):
|
|
340
|
+
"""
|
|
341
|
+
ジョブ実行後の後処理を行うメソッド。
|
|
342
|
+
必要に応じてサブクラスでオーバーライドして使用する。
|
|
343
|
+
"""
|
|
344
|
+
pass
|
|
345
|
+
|
|
346
|
+
|
pilot/job/job_interface.py
CHANGED
|
File without changes
|
pilot/logging/logger.py
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import logging
|
|
2
|
+
import sys
|
|
3
|
+
import threading
|
|
4
|
+
|
|
5
|
+
# コンソールカラーのコード定義
|
|
6
|
+
RESET = "\x1b[0m"
|
|
7
|
+
COLOR_MAP = {
|
|
8
|
+
logging.DEBUG: "\x1b[37m", # 白色
|
|
9
|
+
logging.INFO: "\x1b[32m", # 緑色
|
|
10
|
+
logging.WARNING: "\x1b[33m", # 黄色
|
|
11
|
+
logging.ERROR: "\x1b[31m", # 赤色
|
|
12
|
+
logging.CRITICAL: "\x1b[41m", # 赤背景白文字
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class ColoredFormatter(logging.Formatter):
|
|
17
|
+
def format(self, record):
|
|
18
|
+
color = COLOR_MAP.get(record.levelno, RESET)
|
|
19
|
+
# スレッド名を取得
|
|
20
|
+
thread_name = threading.current_thread().name
|
|
21
|
+
thread_name = thread_name.split('_', 1)[1] if '_' in thread_name else thread_name
|
|
22
|
+
# クラス名、メソッド名、行番号
|
|
23
|
+
prefix = f"{self.formatTime(record, '%Y-%m-%d %H:%M:%S')} " \
|
|
24
|
+
f"[{record.levelname}] " \
|
|
25
|
+
f"[{thread_name}] " \
|
|
26
|
+
f"[{record.module}.{record.funcName}:{record.lineno}]"
|
|
27
|
+
message = super().format(record)
|
|
28
|
+
return f"{color}{prefix} {message}{RESET}"
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
_global_logger_configured = False
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
def setup_global_logger(log_level: int = logging.INFO):
|
|
35
|
+
global _global_logger_configured
|
|
36
|
+
|
|
37
|
+
if not _global_logger_configured:
|
|
38
|
+
logging.basicConfig(
|
|
39
|
+
level=log_level,
|
|
40
|
+
format='%(message)s'
|
|
41
|
+
)
|
|
42
|
+
|
|
43
|
+
root_logger = logging.getLogger()
|
|
44
|
+
if root_logger.handlers:
|
|
45
|
+
root_logger.handlers.clear()
|
|
46
|
+
|
|
47
|
+
handler = logging.StreamHandler(sys.stdout)
|
|
48
|
+
formatter = ColoredFormatter('%(message)s')
|
|
49
|
+
handler.setFormatter(formatter)
|
|
50
|
+
root_logger.addHandler(handler)
|
|
51
|
+
root_logger.setLevel(log_level)
|
|
52
|
+
|
|
53
|
+
_global_logger_configured = True
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
def get_logger(name: str) -> logging.Logger:
|
|
57
|
+
return logging.getLogger(name)
|
|
File without changes
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
from typing import List
|
|
2
|
+
|
|
3
|
+
from pilot.processor.code_processor import CodeProcessor
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class CodeProcessorPipeline:
|
|
7
|
+
def __init__(self, processors: List[CodeProcessor]):
|
|
8
|
+
self.processors = processors
|
|
9
|
+
|
|
10
|
+
def run(self, lines: List[str]) -> List[str]:
|
|
11
|
+
result = lines
|
|
12
|
+
for processor in self.processors:
|
|
13
|
+
result = processor.process(result)
|
|
14
|
+
return result
|
pilot/unit/impl/base_unit.py
CHANGED
|
@@ -2,28 +2,25 @@ import os
|
|
|
2
2
|
|
|
3
3
|
from pilot.unit.unit_interface import UnitInterface
|
|
4
4
|
from pilot.job.impl.base_job import BaseJob
|
|
5
|
-
from pilot.config.config_reader import ConfigReader
|
|
5
|
+
from pilot.config.config_reader import ConfigReader, ConfigDTO # 追加
|
|
6
6
|
|
|
7
7
|
class BaseUnit(UnitInterface):
|
|
8
|
-
config_dto = None
|
|
8
|
+
config_dto: ConfigDTO = None # 型アノテーションを追加
|
|
9
9
|
joblist = []
|
|
10
10
|
|
|
11
11
|
def __init__(self):
|
|
12
12
|
pass
|
|
13
13
|
|
|
14
|
-
|
|
15
14
|
def _init_job(self,step):
|
|
16
15
|
return BaseJob()
|
|
17
16
|
|
|
18
|
-
def run(self):
|
|
17
|
+
def run(self, index=0):
|
|
19
18
|
steps = self.config_dto.steps
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
continue
|
|
24
|
-
self._run_jobs_in_step_dir(self.config_dto.work_space+ "/" +step,step,index)
|
|
19
|
+
step = steps[index]
|
|
20
|
+
current_step_dir = self.config_dto.work_space + "/" + step
|
|
21
|
+
self._run_jobs_in_step_dir(current_step_dir, step, index)
|
|
25
22
|
|
|
26
|
-
def _run_jobs_in_step_dir(self, current_step_dir, step,index):
|
|
23
|
+
def _run_jobs_in_step_dir(self, current_step_dir, step, index):
|
|
27
24
|
for dirpath, _, filenames in os.walk(current_step_dir):
|
|
28
25
|
for filename in filenames:
|
|
29
26
|
file_path = os.path.join(dirpath, filename)
|
|
@@ -32,9 +29,8 @@ class BaseUnit(UnitInterface):
|
|
|
32
29
|
job.current_step = step
|
|
33
30
|
job.step_index = index
|
|
34
31
|
job.file_path = file_path
|
|
35
|
-
if self.job_need_run(job,filename,index):
|
|
32
|
+
if self.job_need_run(job, filename, index):
|
|
36
33
|
job.run()
|
|
37
34
|
|
|
38
|
-
|
|
39
35
|
def job_need_run(self, job:BaseJob,filename: str,index):
|
|
40
36
|
return True
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
pilot/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
pilot/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
+
pilot/config/config_reader.py,sha256=MchG-9j-Xfy8AquL_6tlvqQR65MFJ3c3hwWBl6IF2jw,3750
|
|
4
|
+
pilot/control/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
pilot/control/control_interface.py,sha256=zGv380oQgAKPAIHDHeFdPYzhj2Ngo2T66NWlNloA7vY,124
|
|
6
|
+
pilot/control/impl/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
|
+
pilot/control/impl/base_controller.py,sha256=h-A2X4BD_4GGQ0BjCXv_tcO8XdM8_YjXHDIZzvdzyjQ,1634
|
|
8
|
+
pilot/conver/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
|
+
pilot/conver/commentRemover.py,sha256=S8uwp9Glp0bdv4EFqf62WIcOTLiJZdracG2FAMKY1EY,3777
|
|
10
|
+
pilot/conver/converfileEncodding.py,sha256=EK2zrVbRjSPEljR3myq_ZEDJkM7i79ol9lbVM_Khbok,1596
|
|
11
|
+
pilot/conver/nkf_converter.py,sha256=JqgThmXcdnTGMsLIHUEwe8sc0VGMqDaKCIQTg-UE3WE,1148
|
|
12
|
+
pilot/generater/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
13
|
+
pilot/generater/vertexai.py,sha256=SOFfl0qCuLhfjeIoSU7Tk-I7ZB6ZrOyGme2rXDYCGzk,2599
|
|
14
|
+
pilot/job/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
15
|
+
pilot/job/job_interface.py,sha256=EKtuj0IcdolP494aAgTtctgamyQIoFXVwRORwOQck7A,124
|
|
16
|
+
pilot/job/impl/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
17
|
+
pilot/job/impl/base_job.py,sha256=iojwBJApivsCmHG9HRCJrWUwtbBc_GrCI31xac0JYtE,14053
|
|
18
|
+
pilot/logging/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
19
|
+
pilot/logging/logger.py,sha256=TF7eGr3w8GK5v4sf71lDt97uVoBtCgqrZuCdbMmeQBU,1815
|
|
20
|
+
pilot/processor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
21
|
+
pilot/processor/code_processor.py,sha256=aIjRZ3eoiuLL7_g1LyEF0yhC3puVBZou3JJdKF1sQ2E,183
|
|
22
|
+
pilot/processor/code_processor_pipeline.py,sha256=ZW2JQeAUbH_sYmgh3oI2O10FhbRS9ZNNBnNjjImH9GM,406
|
|
23
|
+
pilot/splitters/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
24
|
+
pilot/splitters/cobolsplitter.py,sha256=oPwxKRjA7TyXWaWV3jdy59lJZy1mRn6yxD9ivqFYCuY,5461
|
|
25
|
+
pilot/unit/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
26
|
+
pilot/unit/unit_interface.py,sha256=fE8N4h_rZU-dWLHy9o0EE3yyErGmRyIuGUDb-zqe7qo,167
|
|
27
|
+
pilot/unit/impl/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
28
|
+
pilot/unit/impl/base_unit.py,sha256=LsFPpL28aSNv5rsZhfKv6CWhAw1XR4n-A6FOn2RBrZo,1272
|
|
29
|
+
pilot/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
30
|
+
pilot/util/files.py,sha256=v9uzfzo3Aq4xgnUIASEZeBJoA2nD9Qz_EA3P-FwzGFQ,1896
|
|
31
|
+
pilot_linkstec-0.0.26.dist-info/licenses/LICENSE,sha256=6kbiFSfobTZ7beWiKnHpN902HgBx-Jzgcme0SvKqhKY,1091
|
|
32
|
+
pilot_linkstec-0.0.26.dist-info/METADATA,sha256=VFQ5kT7gvl2A7WrXJaw5iiBoQLrCohvC5Klq6mmcis4,679
|
|
33
|
+
pilot_linkstec-0.0.26.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
34
|
+
pilot_linkstec-0.0.26.dist-info/top_level.txt,sha256=BijnVJdXnIPxxx3s60M848seL4Z12gNUPod6KPJxK9c,6
|
|
35
|
+
pilot_linkstec-0.0.26.dist-info/RECORD,,
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
pilot/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
pilot/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
-
pilot/config/config_reader.py,sha256=RL9925CIjKyimvcspzmZkPzJUJe6z28cfz5nGhZ3g3k,3308
|
|
4
|
-
pilot/control/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
-
pilot/control/control_interface.py,sha256=zGv380oQgAKPAIHDHeFdPYzhj2Ngo2T66NWlNloA7vY,124
|
|
6
|
-
pilot/control/impl/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
|
-
pilot/control/impl/base_controller.py,sha256=XdqpoyO6mw7sNp14hZo5BP1Eel39W8Q_VWmTMFYy4Wo,924
|
|
8
|
-
pilot/conver/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
|
-
pilot/conver/converfileEncodding.py,sha256=UqjcWO0bzkuTRHLEWrWJkeo3p-P7WuYE7jFKveyPekA,2781
|
|
10
|
-
pilot/conver/nkf_converter.py,sha256=JqgThmXcdnTGMsLIHUEwe8sc0VGMqDaKCIQTg-UE3WE,1148
|
|
11
|
-
pilot/generater/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
12
|
-
pilot/generater/vertexai.py,sha256=ZUyrPGHuuUlycMW0efzSCRYvESCfmZb1E-JjUwl8wTM,2279
|
|
13
|
-
pilot/job/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
14
|
-
pilot/job/job_interface.py,sha256=LL0hfuFfnKnkpQD99jv1hkaAIAFM-JJPrX3PFxN6O_A,120
|
|
15
|
-
pilot/job/impl/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
16
|
-
pilot/job/impl/base_job.py,sha256=SoBn6XcThAozAGqEMrDReQ4dPlRhFsS3vw3EOQSFH18,13592
|
|
17
|
-
pilot/splitters/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
18
|
-
pilot/splitters/cobolsplitter.py,sha256=oPwxKRjA7TyXWaWV3jdy59lJZy1mRn6yxD9ivqFYCuY,5461
|
|
19
|
-
pilot/unit/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
20
|
-
pilot/unit/unit_interface.py,sha256=fE8N4h_rZU-dWLHy9o0EE3yyErGmRyIuGUDb-zqe7qo,167
|
|
21
|
-
pilot/unit/impl/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
22
|
-
pilot/unit/impl/base_unit.py,sha256=fD9WI5L80m9d1qqr5-I7Bw0jtzK66Ql5Rj2rrQjjZ-Q,1275
|
|
23
|
-
pilot/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
24
|
-
pilot/util/files.py,sha256=v9uzfzo3Aq4xgnUIASEZeBJoA2nD9Qz_EA3P-FwzGFQ,1896
|
|
25
|
-
pilot_linkstec-0.0.5.dist-info/licenses/LICENSE,sha256=6kbiFSfobTZ7beWiKnHpN902HgBx-Jzgcme0SvKqhKY,1091
|
|
26
|
-
pilot_linkstec-0.0.5.dist-info/METADATA,sha256=uClQOqV2cHnnpDQeaYJYhU7vvbRNI8PVNS0-uh4fIvY,678
|
|
27
|
-
pilot_linkstec-0.0.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
28
|
-
pilot_linkstec-0.0.5.dist-info/top_level.txt,sha256=BijnVJdXnIPxxx3s60M848seL4Z12gNUPod6KPJxK9c,6
|
|
29
|
-
pilot_linkstec-0.0.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|