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
1fc7b0c1
Commit
1fc7b0c1
authored
Sep 10, 2014
by
Leo Iannacone
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'github/master' into portable
parents
d46a89fc
f8f4fd69
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
6 deletions
+8
-6
History.md
History.md
+2
-0
README.md
README.md
+2
-2
debomatic-modules/JSONLogger.py
debomatic-modules/JSONLogger.py
+4
-4
No files found.
History.md
View file @
1fc7b0c1
# unreleased
*
[new] [module] change names to Start and Stop
*
[new] [module] add parser for blhc log file
*
[new] history page
*
[new] show file size for package files
*
[new] disable autoscroll pressing on "back on top" panel
*
[new] log files can be now showed directly in the browsers
...
...
README.md
View file @
1fc7b0c1
...
...
@@ -17,8 +17,8 @@ Some **debomatic-webui** instances are already running over:
You need
**JSONLogger**
debomatic module (provided along with this interface) to get installed in debomatic, type this in a command line:
```
sudo ln -s `pwd`/debomatic-modules/JSONLogger.py /usr/share/debomatic/modules/
00_JSONLogger
.py
sudo ln -s `pwd`/debomatic-modules/JSONLogger.py /usr/share/debomatic/modules/
ZZ_JSONLogger
.py
sudo ln -s `pwd`/debomatic-modules/JSONLogger.py /usr/share/debomatic/modules/
JSONLoggerStart
.py
sudo ln -s `pwd`/debomatic-modules/JSONLogger.py /usr/share/debomatic/modules/
JSONLoggerStop
.py
```
Restart debomatic service.
...
...
debomatic-modules/JSONLogger.py
View file @
1fc7b0c1
...
...
@@ -31,11 +31,10 @@ from json import load as fileToJSON
from
collections
import
defaultdict
# ZZ and 00 are wrappers for JSONLogger to get module run
# as first and as last one for pre_* and post_* hooks
class
DebomaticModule_00_JSONLogger
:
class
DebomaticModule_JSONLoggerStart
:
def
__init__
(
self
):
self
.
logger
=
DebomaticModule_JSONLogger
()
self
.
first
=
True
def
pre_chroot
(
self
,
args
):
self
.
logger
.
pre_chroot
(
args
)
...
...
@@ -44,9 +43,10 @@ class DebomaticModule_00_JSONLogger:
self
.
logger
.
pre_build
(
args
)
class
DebomaticModule_
ZZ_JSONLogger
:
class
DebomaticModule_
JSONLoggerStop
:
def
__init__
(
self
):
self
.
logger
=
DebomaticModule_JSONLogger
()
self
.
last
=
True
def
post_chroot
(
self
,
args
):
self
.
logger
.
post_chroot
(
args
)
...
...
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