Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Master => main change broke all clients #386

Open
kevinburke opened this issue Jun 24, 2022 · 1 comment
Open

Master => main change broke all clients #386

kevinburke opened this issue Jun 24, 2022 · 1 comment

Comments

@kevinburke
Copy link

kevinburke commented Jun 24, 2022

The clients work by retrieving emojis on demand from Github and storing them in a local cache. Clients are (still, today) hard coded to retrieve emojis from the "master" branch, which was moved to the "main" branch. As a result Github is serving 404's for all emoji URL's. This probably explains #385.

See e.g. https://github.com/buildkite/cli/blob/main/local/emoji.go#L22-L26.

@yob
Copy link
Contributor

yob commented Jun 26, 2022

@kevinburke thanks for the report.

Buildkite has been growing quite quickly and I don't think anyone on the team responsible for emojis (my team!) realised that the bk cli was using this repo in such a way.

As a really quick and dirty "fix" I've pushed a master branch to GitHub, based on the current main branch. Obviously that won't update though, so we'll have a chat internally about a long term fix.

yob added a commit to buildkite/cli that referenced this issue Jun 26, 2022
In August 2021 we renamed the development branch in the emojis repo from
master to main.

That was relatively smooth from an emojis development perspective, but
we didn't realise the cli had master hard coded.

As a quick 'fix' I've re-pushed a master branch to the emojis repo,
based on current main. It won't stay up to date though, so this changes
the cli to check the main branch instead.

See also: buildkite/emojis#386
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants