Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Roque
slapos
Commits
8e3dab0d
Commit
8e3dab0d
authored
Nov 23, 2017
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[backupserver] RSS Item guid is not a permalink
parent
3974f7e6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
software/backupserver/software.cfg
software/backupserver/software.cfg
+1
-1
software/backupserver/status2rss.py
software/backupserver/status2rss.py
+1
-1
No files found.
software/backupserver/software.cfg
View file @
8e3dab0d
...
@@ -88,7 +88,7 @@ mode = 0644
...
@@ -88,7 +88,7 @@ mode = 0644
[status2rss]
[status2rss]
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/status2rss.py
url = ${:_profile_base_location_}/status2rss.py
md5sum = 0
cd1cf97b199dd18fc0168c7281890ea
md5sum = 0
6a19dadad168124aeb00702dd8c4c3e
output = ${buildout:directory}/status2rss.py
output = ${buildout:directory}/status2rss.py
mode = 0644
mode = 0644
...
...
software/backupserver/status2rss.py
View file @
8e3dab0d
...
@@ -31,7 +31,7 @@ while 1:
...
@@ -31,7 +31,7 @@ while 1:
open
(
statistic
).
read
())).
split
(
"
\
n
"
)),
open
(
statistic
).
read
())).
split
(
"
\
n
"
)),
link
=
LINK
,
link
=
LINK
,
pubDate
=
datetime
.
datetime
.
fromtimestamp
(
mktime_tz
(
parsedate_tz
(
time
))),
pubDate
=
datetime
.
datetime
.
fromtimestamp
(
mktime_tz
(
parsedate_tz
(
time
))),
guid
=
PyRSS2Gen
.
Guid
(
base64
.
b64encode
(
"%s, %s"
%
(
time
,
desc
)))
guid
=
PyRSS2Gen
.
Guid
(
base64
.
b64encode
(
"%s, %s"
%
(
time
,
desc
))
,
isPermaLink
=
0
)
)
)
items
.
append
(
rss_item
)
items
.
append
(
rss_item
)
...
...
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