Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
debomatic-webui
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
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
debomatic-webui-admins
debomatic-webui
Commits
5682fd79
Commit
5682fd79
authored
Mar 08, 2014
by
Leo Iannacone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
set correctly files information
parent
61f1cb28
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
12 deletions
+11
-12
debomatic-webui/send.js
debomatic-webui/send.js
+11
-12
No files found.
debomatic-webui/send.js
View file @
5682fd79
...
...
@@ -35,20 +35,19 @@ function get_files_list_from_pacakge(package_path, callback) {
package_info
.
debs
=
[]
package_info
.
archives
=
[]
files
.
forEach
(
function
(
f
)
{
extension
=
f
.
split
(
'
.
'
).
pop
();
if
(
extension
==
"
deb
"
||
extension
==
"
ddeb
"
)
package_info
.
debs
.
push
(
f
);
else
if
(
f
.
indexOf
(
'
.tar
'
)
>=
0
)
{
archive
=
{}
archive
.
name
=
f
archive
.
path
=
path
.
join
(
package_path
,
f
)
package_info
.
archives
.
push
(
archive
)
file
=
{}
file
.
path
=
path
.
join
(
pack_path
,
f
).
replace
(
config
.
debomatic_path
,
config
.
debomatic_webpath
)
file
.
orig_name
=
f
file
.
name
=
f
.
split
(
'
_
'
)[
0
]
file
.
label
=
f
.
replace
(
file
.
name
+
'
_
'
,
''
)
file
.
extension
=
f
.
split
(
'
.
'
).
pop
();
if
(
file
.
extension
==
"
deb
"
||
file
.
extension
==
"
ddeb
"
)
package_info
.
debs
.
push
(
file
);
else
if
(
f
.
indexOf
(
'
.tar
'
)
>=
0
||
file
.
extension
==
"
changes
"
||
file
.
extension
==
"
dsc
"
)
{
package_info
.
archives
.
push
(
file
)
}
else
{
file
=
{}
file
.
name
=
f
file
.
path
=
path
.
join
(
package_path
,
f
)
file
.
label
=
extension
file
.
label
=
file
.
extension
package_info
.
files
.
push
(
file
)
}
});
...
...
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