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
967b2929
Commit
967b2929
authored
Jul 17, 2014
by
Leo Iannacone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
still more style code
parent
c31155ff
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
9 deletions
+4
-9
debomatic-webui/debomatic-webui.coffee
debomatic-webui/debomatic-webui.coffee
+2
-4
debomatic-webui/lib/client.coffee
debomatic-webui/lib/client.coffee
+2
-5
No files found.
debomatic-webui/debomatic-webui.coffee
View file @
967b2929
...
...
@@ -61,10 +61,8 @@ if config.routes.debomatic
return
app
.
use
config
.
routes
.
debomatic
,
serve_static
(
config
.
debomatic
.
path
)
app
.
use
config
.
routes
.
debomatic
,
serve_index
(
config
.
debomatic
.
path
,
view
:
"details"
icons
:
true
)
app
.
use
(
config
.
routes
.
debomatic
,
serve_index
(
config
.
debomatic
.
path
,
{
view
:
"details"
,
icons
:
true
}))
# serve stylesheet-javascript
app
.
use
serve_static
(
__dirname
+
"/public"
)
...
...
debomatic-webui/lib/client.coffee
View file @
967b2929
...
...
@@ -15,8 +15,7 @@ __get_files_list_from_package = (data, callback) ->
file
.
name
=
f
.
split
(
"_"
)[
0
]
if
file
.
extension
in
[
"deb"
,
"ddeb"
,
"udeb"
]
data
.
package
.
debs
.
push
(
file
)
else
if
file
.
extension
in
[
"changes"
,
"dsc"
]
or
f
.
indexOf
(
'.tar'
)
>
0
else
if
file
.
extension
in
[
"changes"
,
"dsc"
]
or
f
.
indexOf
(
'.tar'
)
>
0
file
.
name
=
f
.
replace
(
data
.
package
.
orig_name
+
"."
,
""
)
if
file
.
extension
is
"changes"
file
.
name
=
file
.
extension
...
...
@@ -38,9 +37,7 @@ __send_package_files_list = (event_name, socket, data) ->
__read_package_status
=
(
data
,
cb
)
->
package_path
=
utils
.
get_package_path
(
data
)
package_json
=
path
.
join
(
package_path
,
data
.
package
.
orig_name
+
".json"
)
fs
.
readFile
package_json
,
encoding
:
"utf8"
,
(
err
,
content
)
->
fs
.
readFile
package_json
,
{
encoding
:
"utf8"
},
(
err
,
content
)
->
if
err
utils
.
errors_handler
"Client:__read_package_status:"
,
err
return
...
...
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