# Forks of official repos still marked as official

**URL:** https://meta.discourse.org/t/forks-of-official-repos-still-marked-as-official/155621
**Category:** Bug
**Tags:** pr-welcome
**Created:** [June 22, 2020, 9:13pm UTC](https://meta.discourse.org/t/forks-of-official-repos-still-marked-as-official/155621 "2020-06-22T21:13:27Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [June 22, 2020, 9:13pm UTC](https://meta.discourse.org/t/forks-of-official-repos-still-marked-as-official/155621/1 "2020-06-22T21:13:27Z")

</div>

A client forked `discourse-rss-polling` and I installed that. 🎉

But it looks like I still have the official version installed:

![image](https://global.discourse-cdn.com/meta/original/3X/9/b/9bda8ccbf8d8e6527442d2191fbe8a1ee75de162.png)

I’ll leave as an exercise seeing that the commit listed isn’t one in the repo. When I mouse-over the plugin, I can see that it links to the forked repo.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [June 22, 2020, 9:14pm UTC](https://meta.discourse.org/t/forks-of-official-repos-still-marked-as-official/155621/2 "2020-06-22T21:14:10Z")

</div>

Hmm what do we make of this one @sam?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [June 22, 2020, 9:53pm UTC](https://meta.discourse.org/t/forks-of-official-repos-still-marked-as-official/155621/3 "2020-06-22T21:53:48Z")

</div>

It is certainly a bug I guess a simple fix is to ensure the plugin always comes from discourse org in github to be marked official

Technically though you could still cheat quite easily

Searching that a specific sha is our sha would be the only 100% accurate way, but that would require we stand up another service

Imo I would put this in the, something to fix over the next 2-3 years bucket

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [June 22, 2020, 9:57pm UTC](https://meta.discourse.org/t/forks-of-official-repos-still-marked-as-official/155621/4 "2020-06-22T21:57:42Z")

</div>

This caught me out recently too. The checkmark definitely misled me for a while and I did all kinds of unnecessary testing before I spotted the repo in the app.yml.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [June 22, 2020, 10:13pm UTC](https://meta.discourse.org/t/forks-of-official-repos-still-marked-as-official/155621/5 "2020-06-22T22:13:36Z")

</div>

A simple fix seems quite sufficient.

Like too-short posts, the point isn’t to make it impossible to cheat the test, but just to not cheat the test by mistake. 🙂

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [June 22, 2020, 10:19pm UTC](https://meta.discourse.org/t/forks-of-official-repos-still-marked-as-official/155621/6 "2020-06-22T22:19:52Z")

</div>

Simplest fix here is specific to the docker manager plugin. I am not sure how I feel about running an extra git command or to go hunting for git remotes on every plugin, every time we boot.

But docker manager plugin could do that extra work and put a big red icon on official plugins that appear to be forked.

I will slot ⏫ for the next release, so it will happen over the next 6 months or so.

#pr-welcome as well if anyone wants to fiddle with docker manager.

---

<div class="post-metadata">

### Author: ![nbianca](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nbianca/32/157984_2.png) [@nbianca](https://meta.discourse.org/u/nbianca)
#### Post date: [March 22, 2021, 4:18pm UTC](https://meta.discourse.org/t/forks-of-official-repos-still-marked-as-official/155621/7 "2021-03-22T16:18:25Z")

</div>

I implemented the fork indicator in this pull request:

[https://github.com/discourse/docker\_manager/pull/96](https://github.com/discourse/docker_manager/pull/96)

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [March 27, 2021, 8:00am UTC](https://meta.discourse.org/t/forks-of-official-repos-still-marked-as-official/155621/8 "2021-03-27T08:00:48Z")

</div>

This topic was automatically closed after 4 days. New replies are no longer allowed.
