Repository navigation
Conversation
For each Practice Exercise, we've looked at the commit history of its files to see which commits touched that Practice Exercise. Each commit that we could associate with a Practice Exercise was used to determine authorship/contributorship. ### Authors 1. Find the Git commit author of the oldest commit linked to that Practice Exercise 2. Find the GitHub username for the Git commit author of that commit 3. Add the GitHub username of the Git commit author to the `authors` key in the `.meta/config.json` file ### Contributors 1. Find the Git commit authors and any co-authors of all but the oldest commit linked to that Practice Exercise. If there is only one commit, there won't be any contributors. 1. Exclude the Git commit author and any co-authors of the oldest commit from the list of Git commit authors (an author is _not_ also a contributor) 2. Find the GitHub usernames for the Git commit authors and any co-authors of those commits 3. Add the GitHub usernames of the Git commit authors and any co-authors to the `contributor` key in the `.meta/config.json` file We used the GitHub GraphQL API to find the username of a commit author or any co-authors. In some cases though, a username cannot be found for a commit (e.g. due to the user account no longer existing), in which case the commit was skipped. ## Renames There are a small number of Practice Exercises that might have been renamed at some point. You can ask Git to "follow" a file over its renames using `git log --follow <file>`, which will also return commits made before renames. Unfortunately, Git does not store renames, it just stores the contents of the renamed files and tries to guess if a file was renamed by looking at its contents. This _can_ (and will) lead to false positives, where Git will think a file has been renamed whereas it hasn't. As we don't want to have incorrect authors/contributors for exercises, we're ignoring renames. The only exception to this are known exercise renames: - `bracket-push` was renamed to `matching-brackets` - `retree` was renamed to `satellite` - `resistor-colors` was renamed to `resistor-color-duo` - `kindergarden-garden` was renamed to `kindergarten-garden` ## Exclusions There are some commits that we skipped over, and which thus didn't influence the authors/contributors list: - Commits authored by `dependabot[bot]`, `dependabot-preview[bot]` or `github-actions[bot]` - Bulk update PRs made by `ErikSchierboom` or `kytrinx` to update the track
Member
Author
|
This PR has been open for about 3 months. As having this PR merged is important to prepare this track for Exercism v3, we'll automatically merge this PR at the end of this week. If you need a little more time, convert this PR to a draft. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
If you got tagged in this PR, it is because you are being credited for work you've done in the past on Exercism here, and we want to ensure you don't miss out on the recognition you deserve 🙂
With v3, we've introduced the idea of exercise authors and contributors. This information is stored in the exercises'
.meta/config.jsonfiles (see the docs).Concept Exercises, which are all new, already contain authors and contributors. Practice Exercises though are missing this information. In this PR, we attempt to populate the authors and contributors of Practice Exercises based on their commit history.
Maintainer TODO list
These are the things you, the maintainers, should do:
For clarity, authors should be the people who originally created the exercise on this track. Contributors should be people who have substantially contributed to that exercise. PRs for typos or multiple-exercise PRs do not automatically mean someone should be considered a contributor to that exercise. Those non-exercise-specific contributions will get recognition through Exercism's reputation system in v3.
If you find something needs updating, just push a new commit to this PR.
Automatic Merging
We will automatically merge this PR before we launch v3, but will give the maximum time we can to maintainers to review it first.
The rest of this issue explains how this PR has been generated. You do not need to read it.
Algorithm
We start out by looking at the current Practice Exercises. For each Practice Exercise, we'll look at the commit history of its files to see which commits touched that Practice Exercise. How renames are handled is discussed in the "Renames" section later in this document.
Any commit that we can associate with a Practice Exercise is used to determine authorship/contributorship. Here is how we assign authorship/contributorship:
Authors
authorskey in the.meta/config.jsonfileContributors
contributorkey in the.meta/config.jsonfileWe're using the GitHub GraphQL API to find the username of a commit author and any co-authors. In some cases though, a username cannot be found for a commit (e.g. due to the user account no longer existing), in which case we'll skip the commit.
Renames
There are a small number of Practice Exercises that might have been renamed at some point. You can ask Git to "follow" a file over its renames using
git log --follow <file>, which will also return commits made before renames. Unfortunately, Git does not store renames, it just stores the contents of the renamed files and tries to guess if a file was renamed by looking at its contents. This can (and will) lead to false positives, where Git will think a file has been renamed whereas it hasn't. As we don't want to have incorrect authors/contributors for exercises, we're ignoring renames. The only exception to this are known exercise renames:bracket-pushwas renamed tomatching-bracketsretreewas renamed tosatelliteresistor-colorswas renamed toresistor-color-duokindergarden-gardenwas renamed tokindergarten-gardenIf you know of a rename of a Practice Exercise, please check to see if its authors and contributors are correctly set.
Exclusions
There are some commits that we skip over, which thus don't influence the authors/contributors list:
dependabot[bot],dependabot-preview[bot]orgithub-actions[bot]ErikSchierboomorkytrinxto update the trackTracking
exercism/v3-launch#24
cc @aadityakulkarni, @abo64, @ajayboseac, @alebaffa, @alis0nc, @AndresAcuna, @antonmry, @anurag-rai, @artamonovkirill, @aryasaatvik, @austinlyons, @balachandarsv, @barisozcanli, @bmkiefer, @c-thornton, @ccouzens, @ChristianWilkie, @cmccandless, @colin-mullikin, @counterleft, @crivasgomez, @davethomas11, @delbertlegg, @di72nn, @elrolfe, @ericbalawejder, @ErikSchierboom, @FridaTveit, @Haozhe321, @hgvanpariya, @hugueschabot, @HuskyNator, @i-vikash, @ikhadykin, @imwithsam, @IpshitaC, @jackattack24, @javaeeeee, @jeseekia, @jmluy, @jmrunkle, @jonnynabors, @jsertel, @jssander, @jtigger, @JTMaher2, @junming403, @Kai-Shiro, @katmpatz, @katrinleinweber, @Kineolyan, @Kyle-Pu, @kytrinyx, @lemoncurry, @LeonDsouza, @LukBukkit, @LuLechuan, @made-by-traxam, @markhobson, @matthewmorgan, @matthewstyler, @mau0727, @McEileen, @michael-berger-FR, @michaelspets, @miranikaran01, @mirkoperillo, @moaxcp, @mohamedFalah, @monil, @morrme, @mortenaa, @mraediaz, @msomji, @muzimuzhi, @NewtonCesarRoncari, @odzeno, @otraczyk, @PatrickMcSweeny, @PatrM, @PaulNoth, @Ppapierski, @ppiliar, @pratikpalashikar, @princerachit, @PritamSangani, @ProgrammingFuad, @PTrottier, @rcraggs, @rdavid1099, @redshirt4, @robkeim, @rohit1104, @RonakLakhotia, @rootulp, @sagarsane, @sit, @sjakobi, @sjwarner, @sjwarner-bp, @SleeplessByte, @Smarticles101, @sonapraneeth-a, @sshine, @stkent, @superklamer, @szielinski, @t0dd, @t0tec, @tendaitt, @ThiagoSousaSantana, @ThomasVitale, @TimoleonLatinopoulos, @tshradheya, @Twisti, @uzilan, @Valkryst, @vasouv, @vdemeester, @victorvess, @ViralTaco, @vivshaw, @vpondala, @wdjunaidi, @weibeld, @wolf99, @ymoskovits, @yoseftanaka, @Zaldrick, @Zhiyuan-Amos, @zwaltman as you are referenced in this PR