Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-custom-free
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alstroemeria-silentlove
ygopro-custom-free
Commits
f91d0e65
Commit
f91d0e65
authored
Mar 16, 2025
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add more error texts
parent
792ce187
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
run.sh
run.sh
+7
-7
No files found.
run.sh
View file @
f91d0e65
...
...
@@ -53,7 +53,7 @@ process_repo() {
if
[
!
-d
"workspace/
$repo_identifer
"
]
;
then
echo
"Failed to clone
$repo_url
"
echo
"[ERROR]
$repo_url
Failed to clone"
>>
dist/warnings.txt
echo
"[ERROR]
$repo_url
Failed to clone"
|
tee
dist/warnings.txt
return
fi
...
...
@@ -62,7 +62,7 @@ process_repo() {
echo
"Checking size of
$repo_identifer
:
$size
MB"
if
[[
$size
>
$SIZE_LIMIT_MB
]]
;
then
echo
"Skipping
$repo_identifer
due to oversize:
$size
MB >
$SIZE_LIMIT_MB
MB"
echo
"[ERROR]
$repo_url
Oversize:
$size
MB >
$SIZE_LIMIT_MB
MB"
>>
dist/warnings.txt
echo
"[ERROR]
$repo_url
Oversize:
$size
MB >
$SIZE_LIMIT_MB
MB"
|
tee
dist/warnings.txt
return
fi
...
...
@@ -79,7 +79,7 @@ process_repo() {
if
[
$((
CURRENT_TIME
-
last_commit_timestamp
))
-gt
$((
KEEP_PERIOD_DAYS
*
24
*
60
*
60
))
]
;
then
echo
"Skipping
$repo_identifer
due to outdated:
$((
CURRENT_TIME
-
last_commit_timestamp
))
>
$((
KEEP_PERIOD_DAYS
*
24
*
60
*
60
))
"
cd
"
$current_path
"
echo
"[ERROR]
$repo_url
Outdated:
$((
CURRENT_TIME
-
last_commit_timestamp
))
>
$((
KEEP_PERIOD_DAYS
*
24
*
60
*
60
))
"
>>
dist/warnings.txt
echo
"[ERROR]
$repo_url
Outdated:
$((
CURRENT_TIME
-
last_commit_timestamp
))
>
$((
KEEP_PERIOD_DAYS
*
24
*
60
*
60
))
"
|
tee
dist/warnings.txt
return
fi
...
...
@@ -92,7 +92,7 @@ process_repo() {
if
[
-n
"
${
blacklist_files
[
$file
]
}
"
]
;
then
echo
"Skipping
$repo_identifer
due to blacklist file
$file
"
cd
"
$current_path
"
echo
"[ERROR]
$repo_url
Blacklist file:
$file
"
>>
dist/warnings.txt
echo
"[ERROR]
$repo_url
Blacklist file:
$file
"
|
tee
dist/warnings.txt
return
fi
done
< <
(
find .
)
...
...
@@ -107,7 +107,7 @@ process_repo() {
fi
if
[
-n
"
${
ocg_codes
[
$code
]
}
"
]
;
then
echo
"Skipping
$repo_identifer
due to using OCG code
$code
"
echo
"[ERROR]
$repo_url
Using OCG code:
$code
"
>>
dist/warnings.txt
echo
"[ERROR]
$repo_url
Using OCG code:
$code
"
|
tee
dist/warnings.txt
return
fi
done
< <
(
ls
-1
workspace/
$repo_identifer
/
*
.cdb | xargs
-I
'{}'
sqlite3
'{}'
'select id from datas;'
)
...
...
@@ -139,7 +139,7 @@ process_repo() {
if
[
$redtext_line_count
-gt
0
]
;
then
echo
"Skipping
$repo_identifer
due to redtexts"
echo
"[ERROR]
$repo_url
$redtext_line_count
Redtexts found"
>>
dist/warnings.txt
echo
"[ERROR]
$repo_url
$redtext_line_count
Redtexts found"
|
tee
dist/warnings.txt
return
fi
rm
dist/redtexts/
$repo_identifer
.txt
...
...
@@ -153,7 +153,7 @@ process_repo() {
fi
if
[
-n
"
${
used_codes
[
$code
]
}
"
]
;
then
echo
"Code
$code
in
$repo_url
is already used in
${
used_codes
[
$code
]
}
"
echo
"[WARNING] CODE CONFLICT: [
$code
] in
${
used_codes
[
$code
]
}
vs
$repo_url
"
>>
dist/warnings.txt
echo
"[WARNING] CODE CONFLICT: [
$code
] in
${
used_codes
[
$code
]
}
vs
$repo_url
"
|
tee
dist/warnings.txt
else
used_codes[
$code
]=
"
$repo_url
"
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment