Skip to content

Conversation

@ErikSchierboom
Copy link
Member

The authors and contributors of exercises are stored in an array of objects in the exercises' .meta/config.json files.
Each author/contributor used to have two properties: their GitHub username and their Exercism username.
As we're only using the GitHub username, we're flattening the authors and contributors array to an array of strings representing the GitHub usernames.

We will update configlet to validate the new structure, so you might be seeing build failures once we've implemented this change.

See https://github.com/exercism/docs/pull/90/files

Automatic Merging

We will automatically merge this PR immediately to be able to submit a different PR in which we'll add the authors/contributors for practice exercises.

Tracking

exercism/v3-launch#26

The authors and contributors of exercises are stored in an array in the exercises' `.meta/config.json` files.
We used to have separate fields for the GitHub- and Exercism username of the user.
As we're only using the GitHub username, we've flatten the `authors` and `contributors` array to an array of strings representing the GitHub usernames.

See https://github.com/exercism/docs/pull/90/files
@ErikSchierboom ErikSchierboom added the v3-migration 🤖 Preparing for Exercism v3 label Mar 23, 2021
Copy link
Member

@coriolinus coriolinus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Simplifying to github username was a good idea.

[edit]: This is going to break our CI until such time as configlet is updated with the new lint rules, so please refrain from merging until the new configlet is about ready to release.

@ErikSchierboom ErikSchierboom marked this pull request as draft March 23, 2021 15:15
Copy link
Member

@iHiD iHiD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are now merging this PR automatically to help prepare your track for Exercism v3.

@ErikSchierboom
Copy link
Member Author

@coriolinus We're building a new release of configlet right now. Should be there in 15-30 minutes.

@iHiD
Copy link
Member

iHiD commented Mar 23, 2021

(for clarity - my comment was automated 🙂)

@ErikSchierboom ErikSchierboom marked this pull request as ready for review March 23, 2021 15:48
@ErikSchierboom
Copy link
Member Author

@coriolinus configlet has been updated and I restarted the job. It is green now :) Feel free to merge this once the other checks are green.

@ghost ghost self-requested a review March 23, 2021 17:45
@ghost
Copy link

ghost commented Mar 23, 2021

Given this is approved I will merge since I merged two other PRs that are failing on main.

@ghost ghost merged commit 7536676 into exercism:main Mar 23, 2021
@ghost
Copy link

ghost commented Mar 23, 2021

In general, I believe Rust maintainers defer to the contributor or initiating maintainer to self-merge.

@ErikSchierboom ErikSchierboom deleted the flatten-exercise-authors-and-contributors branch March 23, 2021 20:02
@ErikSchierboom ErikSchierboom added the x:size/tiny Tiny amount of work label Oct 27, 2021
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v3-migration 🤖 Preparing for Exercism v3 x:size/tiny Tiny amount of work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants