Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,552,979
Community Members
 
Community Events
184
Community Groups

Where do Sourcetree repo avatars come from?

There is a "Refresh Avatars" option in the bookmarks window. I assume that would pull avatars from somewhere, like perhaps GitLab (which has project avatars). How exactly does Sourcetree determine those avatars, and can I customize them?

1 answer

3 votes
bgannin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Dec 19, 2018

Hi Garrett,

They are pulled from a remote service if it supports them. In the case of GitLab, we are looking for the "avatar_url" that's returned. If an icon isn't found in the cache, and doesn't return from the server, Sourcetree then looks for an in-repo icon that matches the following:

  • name is "icon" or "logo"
  • filetype is tiff, png, jpg, gif, or icns

Hope that helps.

Brian Ganninger
Senior Mac Developer, Sourcetree

Has this feature been abandoned or does it work only in mac os?  I'm placing a logo.png icon in the root folder of a repo (haven't committed it though) and sourcetree doesn't employ it as an avatar. What gives?

bgannin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Apr 17, 2019

It's not currently supported by Windows but we do have it on the list.

Hi @bgannin

My profile image from GitLab shows up correctly in the Preferences | Accounts list, but anywhere else in Sourcetree a generic geometric shape is displayed – see screenshot below. 

Any idea why? 

macOS 10.14.5
Sourcetree 3.1.2 (216)

image.png

Like Bo Roth likes this
bgannin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 31, 2019

Hi @Bahman Engheta,

Commit icons are driven by Gravatar, not hosting service account avatars. Having this as a fallback when that's unavailable for any reason is a great request to file in our public trackers (Mac, Windows) for us to get it on the roadmap. Thanks for the feedback.

Brian Ganninger
Principal Developer, Sourcetree

Like Steffen Opel _Utoolity_ likes this

Hello, @bgannin !

What size of this logo image should be?

What size of this logo image should be?

The two repositories I happened to see this feature on had a 128 × 128 PNG in their root folder. One was `Icon.png`; the other `icon.png`.

Like RunesReader likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events