Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
app_zip
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tarun.madamanchi
app_zip
Commits
e76ae6a4
Commit
e76ae6a4
authored
Jan 12, 2024
by
tarun2512
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
third commit
parent
0b1ec1b2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
app_publish_script.py
app_publish_script.py
+5
-5
No files found.
app_publish_script.py
View file @
e76ae6a4
...
@@ -167,7 +167,7 @@ def tag_category(tag_category_ids, folder_path, project_id, prefix=None):
...
@@ -167,7 +167,7 @@ def tag_category(tag_category_ids, folder_path, project_id, prefix=None):
database
=
Database
(
prefix
=
prefix
)
database
=
Database
(
prefix
=
prefix
)
tag_category_details
=
list
(
tag_category_details
=
list
(
connection
.
tag_category
.
find
(
connection
.
tag_category
.
find
(
{
"tag_category_id"
:
{
"$in"
:
tag_category_ids
}
,
"project_id"
:
project_id
},
{
"_id"
:
0
}
{
"tag_category_id"
:
{
"$in"
:
tag_category_ids
}},
{
"_id"
:
0
}
)
)
)
)
tag_category_folder
=
f
"{database.configuration.name}.tag_category"
tag_category_folder
=
f
"{database.configuration.name}.tag_category"
...
@@ -179,12 +179,12 @@ def tag_category(tag_category_ids, folder_path, project_id, prefix=None):
...
@@ -179,12 +179,12 @@ def tag_category(tag_category_ids, folder_path, project_id, prefix=None):
file
.
close
()
file
.
close
()
def
tag_group
(
tag_group_ids
,
folder_path
,
pr
oject_id
,
pr
efix
=
None
):
def
tag_group
(
tag_group_ids
,
folder_path
,
prefix
=
None
):
connection
=
Connection
(
prefix
=
prefix
)
connection
=
Connection
(
prefix
=
prefix
)
database
=
Database
(
prefix
=
prefix
)
database
=
Database
(
prefix
=
prefix
)
tag_group_details
=
list
(
tag_group_details
=
list
(
connection
.
tag_groups
.
find
(
connection
.
tag_groups
.
find
(
{
"id"
:
{
"$in"
:
tag_group_ids
}
,
"project_id"
:
project_id
},
{
"_id"
:
0
}
{
"id"
:
{
"$in"
:
tag_group_ids
}},
{
"_id"
:
0
}
)
)
)
)
tag_group_folder
=
f
"{database.configuration.name}.tag_groups"
tag_group_folder
=
f
"{database.configuration.name}.tag_groups"
...
@@ -208,8 +208,8 @@ def tag_zip(parameter_ids, folder_path, project_id, prefix=None):
...
@@ -208,8 +208,8 @@ def tag_zip(parameter_ids, folder_path, project_id, prefix=None):
for
tag
in
parameter_details
:
for
tag
in
parameter_details
:
tag_group_ids
.
append
(
tag
.
get
(
"tag_group_id"
))
tag_group_ids
.
append
(
tag
.
get
(
"tag_group_id"
))
tag_category_ids
.
append
(
tag
.
get
(
"tag_category_id"
))
tag_category_ids
.
append
(
tag
.
get
(
"tag_category_id"
))
tag_group
(
tag_group_ids
,
folder_path
,
pr
oject_id
,
pr
efix
)
tag_group
(
tag_group_ids
,
folder_path
,
prefix
)
tag_category
(
tag_category_ids
,
folder_path
,
pr
oject_id
,
pr
efix
)
tag_category
(
tag_category_ids
,
folder_path
,
prefix
)
tags_folder
=
f
"{database.configuration.name}.tags"
tags_folder
=
f
"{database.configuration.name}.tags"
tags_data_folder_path
=
os
.
path
.
join
(
folder_path
,
tags_folder
)
tags_data_folder_path
=
os
.
path
.
join
(
folder_path
,
tags_folder
)
os
.
makedirs
(
tags_data_folder_path
)
os
.
makedirs
(
tags_data_folder_path
)
...
...
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