question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Make the names of r2d generated images more readable

See original GitHub issue

Proposed change

Hi! 👋

I’ve always found the naming convention of images generated by repo2docker a little jarring, particularly the rogue 2d that seems to crop up after hyphens (-) and slashes (/).

I propose to change this:

<some-prefix>-binder-2dexamples-2drequirements-55ab5c

to this:

<some-prefix>-binder-examples-requirements-55ab5c

Alternative options

There isn’t one really, I can just continue to cope 🙂

Who would use this feature?

I’m unsure how repo2docker is utilised as a single resource. I think in terms of managing a BinderHub/JupyterHub, this would make the image registries and the user pod names more readable, therefore making tracing of repos easier.

How much effort will adding it take?

I hope only a small amount but I’m unfamiliar with r2d’s architecture!

Who can do this work?

Need to know how these names are constructed in r2d and understand what unicode/something conversion is happening to cause the 2ds.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:1
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
manicscommented, Jun 5, 2019

It looks like this is the line that escapes the name: https://github.com/jupyter/repo2docker/blob/f19e159dfe1006dbd82c7728e15cdd19751e8aec/repo2docker/app.py#L393-L395

And there’s a configuration property: https://github.com/jupyter/repo2docker/blob/f19e159dfe1006dbd82c7728e15cdd19751e8aec/repo2docker/app.py#L273-L281

This is just from looking through the code, I haven’t checked whether it works.

0reactions
sgibson91commented, May 18, 2021

I don’t think this is a mission critical issue. I think if there’s a sensible, low-friction path to addressing this while mitigating the problem you raised, then it’s worth pursuing. Otherwise, I’m happy to not die on this hill 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

Image-generating AI can copy and paste from training data ...
A new study offers some evidence that art-generating AI systems like Stable Diffusion copy from the data on which they were trained.
Read more >
How to use DALL·E 2 to create jaw-dropping AI art
The web-based tool generates images based on text prompts, ... read on to learn more about how to access DALL·E 2 and how...
Read more >
How I built an AI Text-to-Art Generator - Towards Data Science
Then, the generator uses the feedback from the CLIP model to generate more “accurate” images. This iteration will be done many times until ......
Read more >
5 Best Free AI Text to Art Generators to Create an Image From ...
These free AI apps can take a sentence you type and turn it into a realistic painting or an image. Is there anything...
Read more >
roblox coloring pages royale high
Get breaking news, photos, and video of your favorite WWE … ... [Lаtеѕt] Roblox Robux HÐ°Ñ k 2020 leah ashe royal high roblox...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found