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
15d6e83a
Commit
15d6e83a
authored
Mar 08, 2014
by
Leo Iannacone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
data already checked in app.js
parent
dcf56327
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
debomatic-webui/send.js
debomatic-webui/send.js
+2
-6
No files found.
debomatic-webui/send.js
View file @
15d6e83a
...
@@ -28,7 +28,7 @@ function __get_files_list(dir, onlyDirectories, callback) {
...
@@ -28,7 +28,7 @@ function __get_files_list(dir, onlyDirectories, callback) {
});
});
}
}
function
__get_files_list_from_pac
ak
ge
(
package_path
,
callback
)
{
function
__get_files_list_from_pac
ka
ge
(
package_path
,
callback
)
{
package_info
=
{}
package_info
=
{}
__get_files_list
(
package_path
,
false
,
function
(
files
)
{
__get_files_list
(
package_path
,
false
,
function
(
files
)
{
package_info
.
files
=
[]
package_info
.
files
=
[]
...
@@ -56,12 +56,10 @@ function __get_files_list_from_pacakge(package_path, callback) {
...
@@ -56,12 +56,10 @@ function __get_files_list_from_pacakge(package_path, callback) {
}
}
function
__send_package_files_list
(
socket
,
data
)
{
function
__send_package_files_list
(
socket
,
data
)
{
if
(
!
data
.
package
||
!
data
.
distribution
)
return
distro_path
=
path
.
join
(
BASE_DIR
,
data
.
distribution
.
name
,
'
pool
'
);
distro_path
=
path
.
join
(
BASE_DIR
,
data
.
distribution
.
name
,
'
pool
'
);
p
=
data
.
package
.
name
+
"
_
"
+
data
.
package
.
version
p
=
data
.
package
.
name
+
"
_
"
+
data
.
package
.
version
package_path
=
path
.
join
(
distro_path
,
p
)
package_path
=
path
.
join
(
distro_path
,
p
)
__get_files_list_from_pac
ak
ge
(
package_path
,
function
(
package_files
){
__get_files_list_from_pac
ka
ge
(
package_path
,
function
(
package_files
){
data
.
package
.
files
=
package_files
.
files
data
.
package
.
files
=
package_files
.
files
data
.
package
.
debs
=
package_files
.
debs
data
.
package
.
debs
=
package_files
.
debs
data
.
package
.
archives
=
package_files
.
archives
data
.
package
.
archives
=
package_files
.
archives
...
@@ -70,8 +68,6 @@ function __send_package_files_list (socket, data) {
...
@@ -70,8 +68,6 @@ function __send_package_files_list (socket, data) {
}
}
function
__send_distribution_packages
(
socket
,
data
)
{
function
__send_distribution_packages
(
socket
,
data
)
{
if
(
!
data
.
distribution
||
!
data
.
distribution
.
name
)
return
;
distro_path
=
path
.
join
(
BASE_DIR
,
data
.
distribution
.
name
,
'
pool
'
);
distro_path
=
path
.
join
(
BASE_DIR
,
data
.
distribution
.
name
,
'
pool
'
);
__get_files_list
(
distro_path
,
true
,
function
(
packages
)
{
__get_files_list
(
distro_path
,
true
,
function
(
packages
)
{
data
.
distribution
.
packages
=
[]
data
.
distribution
.
packages
=
[]
...
...
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