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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
HongzheWang
slapos
Commits
6b5dfde2
Commit
6b5dfde2
authored
Jun 10, 2022
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup! software/theia: fix instance error when instance is not ASCII
parent
5a076557
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
software/theia/buildout.hash.cfg
software/theia/buildout.hash.cfg
+1
-1
software/theia/instance-theia.cfg.jinja.in
software/theia/instance-theia.cfg.jinja.in
+2
-2
No files found.
software/theia/buildout.hash.cfg
View file @
6b5dfde2
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
[instance-theia]
[instance-theia]
_update_hash_filename_ = instance-theia.cfg.jinja.in
_update_hash_filename_ = instance-theia.cfg.jinja.in
md5sum =
5a0caaa7004c0af8d2e8fdc7bc96a18f
md5sum =
f1b06742154b97d4173dd11e0949569d
[instance]
[instance]
_update_hash_filename_ = instance.cfg.in
_update_hash_filename_ = instance.cfg.in
...
...
software/theia/instance-theia.cfg.jinja.in
View file @
6b5dfde2
...
@@ -338,12 +338,12 @@ install =
...
@@ -338,12 +338,12 @@ install =
gravatar_url = "https://www.gravatar.com/avatar/" + hashlib.md5(
gravatar_url = "https://www.gravatar.com/avatar/" + hashlib.md5(
options['seed'].encode()
options['seed'].encode()
).hexdigest() + "?s=256&d=retro"
).hexdigest() + "?s=256&d=retro"
shutil.copy(self.download(gravatar_url),
options['location']
)
shutil.copy(self.download(gravatar_url),
location
)
except Exception:
except Exception:
# Because installation should work offline, if we can't download a favicon,
# Because installation should work offline, if we can't download a favicon,
# just ignore this step.
# just ignore this step.
self.logger.exception("Error while downloading favicon, using empty one")
self.logger.exception("Error while downloading favicon, using empty one")
open(
options['location']
, 'w').close()
open(
location
, 'w').close()
finally:
finally:
self.buildout['buildout']['offline'] = buildout_offline
self.buildout['buildout']['offline'] = buildout_offline
...
...
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