Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
skills
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
allen.wang
skills
Commits
d90a2b4d
Commit
d90a2b4d
authored
Apr 13, 2026
by
allen.wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:init
parent
89ec371c
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
460 additions
and
226 deletions
+460
-226
vip-report-top-products-sync.ps1
vip-report/bin/vip-report-top-products-sync.ps1
+7
-1
sync_inventory_monthly_assets.py
vip-report/scripts/sync_inventory_monthly_assets.py
+219
-45
sync_top_products_assets.py
vip-report/scripts/sync_top_products_assets.py
+234
-180
No files found.
vip-report/bin/vip-report-top-products-sync.ps1
View file @
d90a2b4d
param
(
param
(
[
string
]
$ConfigPath
=
"C:\Users\niuniu\.codex\vip-report\config.yaml"
,
[
string
]
$ConfigPath
=
"C:\Users\niuniu\.codex\vip-report\config.yaml"
,
[
string
]
$Slides
=
"S10"
,
[
string
]
$Slides
=
"S
09,S
10"
,
[
string
]
$ReportMonth
=
""
,
[
string
]
$ReportMonth
=
""
,
[
int
]
$ReportYear
=
0,
[
int
]
$ReportYear
=
0,
[
int
]
$CompareYear
=
0,
[
int
]
$CompareYear
=
0,
...
@@ -40,10 +40,16 @@ if ($CompareYear -gt 0) {
...
@@ -40,10 +40,16 @@ if ($CompareYear -gt 0) {
}
}
python @pythonArgs
python @pythonArgs
if
(
$LASTEXITCODE
-ne 0
)
{
throw
"sync_top_products_assets.py failed with exit code
$LASTEXITCODE
"
}
if
(
$Render
)
{
if
(
$Render
)
{
powershell -ExecutionPolicy Bypass -File
"
$root
\bin\vip-report-render.ps1"
-TemplatePath
"
$TemplatePath
"
-OutputPath
"
$OutputPath
"
-OperationsPath
"
$opsPath
"
| Out-Null
powershell -ExecutionPolicy Bypass -File
"
$root
\bin\vip-report-render.ps1"
-TemplatePath
"
$TemplatePath
"
-OutputPath
"
$OutputPath
"
-OperationsPath
"
$opsPath
"
| Out-Null
python
"
$root
\scripts\compare_pptx.py"
"
$TemplatePath
"
"
$OutputPath
"
--output
"
$CompareOutputPath
"
python
"
$root
\scripts\compare_pptx.py"
"
$TemplatePath
"
"
$OutputPath
"
--output
"
$CompareOutputPath
"
if
(
$LASTEXITCODE
-ne 0
)
{
throw
"compare_pptx.py failed with exit code
$LASTEXITCODE
"
}
Write-Output
$OutputPath
Write-Output
$OutputPath
Write-Output
$CompareOutputPath
Write-Output
$CompareOutputPath
}
else
{
}
else
{
...
...
vip-report/scripts/sync_inventory_monthly_assets.py
View file @
d90a2b4d
This diff is collapsed.
Click to expand it.
vip-report/scripts/sync_top_products_assets.py
View file @
d90a2b4d
This diff is collapsed.
Click to expand it.
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