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
29b6eddd
Commit
29b6eddd
authored
Mar 10, 2014
by
Leo Iannacone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
renamed data.package.archives in sources
parent
795ca2d4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
11 deletions
+11
-11
debomatic-webui/lib/client.js
debomatic-webui/lib/client.js
+2
-2
debomatic-webui/public/javascripts/page_distribution.js
debomatic-webui/public/javascripts/page_distribution.js
+7
-7
debomatic-webui/views/distribution.ejs
debomatic-webui/views/distribution.ejs
+2
-2
No files found.
debomatic-webui/lib/client.js
View file @
29b6eddd
...
...
@@ -8,7 +8,7 @@ function __get_files_list_from_package(data, callback) {
utils
.
get_files_list
(
package_path
,
false
,
function
(
files
)
{
data
.
package
.
files
=
[]
data
.
package
.
debs
=
[]
data
.
package
.
archiv
es
=
[]
data
.
package
.
sourc
es
=
[]
files
.
forEach
(
function
(
f
)
{
file
=
{}
file
.
path
=
path
.
join
(
package_path
,
f
).
replace
(
config
.
debomatic
.
path
,
config
.
routes
.
debomatic
)
...
...
@@ -26,7 +26,7 @@ function __get_files_list_from_package(data, callback) {
file
.
name
=
file
.
extension
else
if
(
f
.
indexOf
(
'
.tar
'
)
>=
0
&&
f
.
indexOf
(
'
.orig.
'
)
>
0
)
file
.
name
=
'
orig.
'
+
f
.
split
(
'
.orig.
'
).
pop
()
data
.
package
.
archiv
es
.
push
(
file
)
data
.
package
.
sourc
es
.
push
(
file
)
}
else
{
file
.
name
=
file
.
extension
...
...
debomatic-webui/public/javascripts/page_distribution.js
View file @
29b6eddd
...
...
@@ -34,7 +34,7 @@ var Page_Distrubion = {
tmp
.
package
=
p
$
(
'
#packages ul
'
).
append
(
'
<li id="package-
'
+
p
.
orig_name
+
'
"><a href="
'
+
Utils
.
from_data_to_hash
(
tmp
)
+
'
">
'
+
p
.
name
+
'
<span>
'
+
p
.
version
+
'
</span></a></li>
'
)
})
Page_Distrubion
.
select
()
Page_Distrubion
.
select
(
data
)
},
clean
:
function
()
{
...
...
@@ -87,11 +87,11 @@ var Page_Distrubion = {
$
(
'
#debs
'
).
show
()
}
if
(
data
.
package
.
archives
&&
data
.
package
.
archiv
es
.
length
>
0
)
{
data
.
package
.
archiv
es
.
forEach
(
function
(
f
){
$
(
'
#
archiv
es ul
'
).
append
(
'
<li><a title="
'
+
f
.
orig_name
+
'
" href="
'
+
f
.
path
+
'
">
'
+
f
.
name
+
'
</a></li>
'
)
if
(
data
.
package
.
sources
&&
data
.
package
.
sourc
es
.
length
>
0
)
{
data
.
package
.
sourc
es
.
forEach
(
function
(
f
){
$
(
'
#
sourc
es ul
'
).
append
(
'
<li><a title="
'
+
f
.
orig_name
+
'
" href="
'
+
f
.
path
+
'
">
'
+
f
.
name
+
'
</a></li>
'
)
})
$
(
'
#
archiv
es
'
).
show
()
$
(
'
#
sourc
es
'
).
show
()
}
$
(
'
#files
'
).
show
()
},
...
...
@@ -100,8 +100,8 @@ var Page_Distrubion = {
$
(
'
#logs
'
).
hide
()
$
(
'
#debs ul
'
).
html
(
''
);
$
(
'
#debs
'
).
hide
();
$
(
'
#
archiv
es ul
'
).
html
(
''
)
$
(
'
#
archiv
es
'
).
hide
()
$
(
'
#
sourc
es ul
'
).
html
(
''
)
$
(
'
#
sourc
es
'
).
hide
()
$
(
'
#files
'
).
hide
()
},
get
:
function
(
data
)
{
...
...
debomatic-webui/views/distribution.ejs
View file @
29b6eddd
...
...
@@ -16,8 +16,8 @@
<nav id="logs">
<ul class="nav nav-pills nav-stacked"></ul>
</nav>
<nav id="
archiv
es">
<h4>
Archiv
es</h4>
<nav id="
sourc
es">
<h4>
Sourc
es</h4>
<ul></ul>
</nav>
<nav id="debs">
...
...
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