After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 613737 - png/svg image previews in cgit
png/svg image previews in cgit
Status: RESOLVED FIXED
Product: sysadmin
Classification: Infrastructure
Component: Git
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GNOME Sysadmins
GNOME Sysadmins
Depends on:
Blocks:
 
 
Reported: 2010-03-23 19:36 UTC by Hylke Bons
Modified: 2010-03-25 15:05 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Hylke Bons 2010-03-23 19:36:45 UTC
can we please have image previews in the cgit web interface?
when i click an image file now it will either show me a hex dump of the file or he svg markup. I wish I could parse that in my mind as fast as my computer but I can't. :)

As an art contributer to GNOME this is really slowing me down. I don't want to do a git checkout a repo just to take a look at the image. It's also not helpful when I want reference an icon to someone else.

Thanks!
Comment 1 Andreas Nilsson 2010-03-23 21:48:46 UTC
I've ran into this on several occasions as well.
Comment 2 Olav Vitters 2010-03-23 21:55:42 UTC
If cgit is able to do so, give me a guide and I'll look into it.

Nothing has been disabled in the config related to this, so if it supports this, then it should be working. AFAIK we use the latest version.
Comment 3 Hylke Bons 2010-03-23 22:08:51 UTC
(In reply to comment #2)
> If cgit is able to do so, give me a guide and I'll look into it.
> 
> Nothing has been disabled in the config related to this, so if it supports
> this, then it should be working. AFAIK we use the latest version.

I don't know if it can. The only thing I see when I search cgit it is a git repo...

But if it can display a dump of the file it should be to just view the file right?
Comment 4 Olav Vitters 2010-03-24 09:32:27 UTC
Changed cgitrc in puppet
Comment 5 Andreas Nilsson 2010-03-25 14:45:46 UTC
Woohoo!
Works great, hitting the "Plain" link works for both svg's and png's now!
Comment 6 Hylke Bons 2010-03-25 14:47:44 UTC
awesome. thanks Olav!
Comment 7 Jakub Steiner 2010-03-25 15:05:31 UTC
Joining in on the praise. Thanks a lot!