javascript-exercises icon indicating copy to clipboard operation
javascript-exercises copied to clipboard

Add disclaimer about not submitting personal solutions to PULL_REQUEST_TEMPLATE.md for all exercise repos

Open Asartea opened this issue 3 years ago • 18 comments

Complete the following REQUIRED checkboxes:

  • [x] I have thoroughly read and understand The Odin Project Contributing Guide
  • [x] The title of this issue follows the location for request: brief description of request format, e.g. Exercises: Add exercise on XYZ

The following checkbox is OPTIONAL:

  • [x] I would like to be assigned this issue to work on it

1. Description of the Feature Request: There are still regularly people who submit personal solutions to all of the various exercise repos. We do mention that those repos don't accept solutions in the README.md, but that line is unhighlighted, at the bottom, and easily missable. Furthermore due to the fork > clone > solve > upload to personal repo workflow that a learner is likely to use when solving the exercises, they will get a big yellow/orangeish banner above both their own repo and the forked repo with a call out to Contribute now. Adding an additional line somewhere in the PR template (<!-- WARNING: Do not submit personal solutions to this repo. Pull Requests containing personal solutions will be summarily closed and will not be merged --> ?) would provide another layer of catching a learners eyes before they submit a superflous PR

2. Acceptance Criteria:

  • [ ] Some form of warning is added to all PR templates in the various exercise repos

Asartea avatar Jul 21 '23 16:07 Asartea

Yeah I agree with this. We definitely need to make it more visible.

CouchofTomato avatar Jul 24 '23 15:07 CouchofTomato

What do you think about adding the line and also adding a bit of bolding in the bullet point?

Do not submit your solutions to this repo, as any PRs that do so will be closed without merging.

Asartea avatar Jul 24 '23 17:07 Asartea

Honestly we could probably move that verbiage to the opening paragraph:

These JavaScript exercises are intended to complement the JavaScript content on The Odin Project (TOP). They should only be done when instructed during the course of the curriculum. Please DO NOT submit your solutions to this repo, as any PRs that do so will be closed without merging.

Also wouldn't be opposed to adding a comment in the PR template. @Asartea did you still want to be assigned?

thatblindgeye avatar Feb 04 '24 18:02 thatblindgeye

@Asartea did you still want to be assigned?

yes

Asartea avatar Feb 05 '24 19:02 Asartea

@Asartea you got it. There is a similar issue linked above from our css exercise repo which should be taken into account. If you have any questions feel free to ping!

thatblindgeye avatar Feb 05 '24 19:02 thatblindgeye

@Asartea If you want to update the CSS one as well that is fine, or I will do it. Either way we should coordinate our language I think.

UniquePixels avatar Feb 05 '24 19:02 UniquePixels

I have gone ahead with the css repo: https://github.com/TheOdinProject/css-exercises/pull/493

UniquePixels avatar Feb 18 '24 22:02 UniquePixels

Sorry, I have been really busy and then really sick. Will give this a look now

Asartea avatar Feb 28 '24 15:02 Asartea

No worries! Hopefully you're feeling better, but take your time!

thatblindgeye avatar Feb 29 '24 13:02 thatblindgeye

@Asartea just an FYI I merged the PR in the css exercise repo. If we'd want to tweak any verbiage further in this js exercise readme we can do a followup for CSS.

thatblindgeye avatar Apr 20 '24 12:04 thatblindgeye

@Asartea Anything needs doing further with this?

mao-sz avatar Sep 01 '24 16:09 mao-sz

I have no memory of this place

In all seriousness, I can't recall even opening this issue, so I'll need to read myself in to see what the state of it is; will see when I have time

Asartea avatar Sep 01 '24 17:09 Asartea

If @Asartea is not available, I can help with closing this issue.

The following disclaimer should be appended to the first section of the README.md file of this repo, same place as in the README.md for css-exercises repo.

[!IMPORTANT] We encourage you to practice your Git skills by committing your changes and pushing them to your own fork. However, please DO NOT open a Pull Request to have your solutions merged into this repo or to show your solution. If we were to merge your changes, the exercises would no longer be available as intended for new learners, and opening a PR only causes additional work for us, as we have to close it without merging.

Should we also use the same verbiage in the ruby-exercises repo?

eyad-alkhalidy avatar Jun 01 '25 06:06 eyad-alkhalidy

And what about adding a warning to the PR template file, as suggested, that says <!-- WARNING: Do not submit personal exercise solutions to this repo. Pull Requests containing exercise solutions will be closed without merging. --> just below the first comment (the "Thank you" comment) in the template?

eyad-alkhalidy avatar Jun 01 '25 06:06 eyad-alkhalidy

Please unassign me for this; I am clearly not getting around to it

Asartea avatar Jun 01 '25 12:06 Asartea

If this issue is still open and accecepting changes, I would love to work on this. Thanks.

sajwan05 avatar Sep 07 '25 10:09 sajwan05

Sorry this slipped through the cracks.

I actually don't think adding such a comment to the PR template would do much. The comments in the PR template aren't uniquely rendered, so it'll very likely be missed. People who try to open a PR with their submissions are not likely to read every comment in the template carefully to catch that, and many that do actually end up realising and self-closing their PRs.

I wouldn't mind having the Important note box doubled up on at the top like in the css-exercises repo as suggested in https://github.com/TheOdinProject/javascript-exercises/issues/380#issuecomment-2926659432.

Since doing this, the number of submission PRs in the css-exercises repo has significantly dropped and there's a knock-on effect to this one (which never received as many but is still early enough in TOP to catch a few). The ruby-exercises repo shouldn't need any additions because looking at the closed PR history, submission PRs almost never get opened there, probably because by that point in the curriculum, learners are a little more clued up on Git.

@eyad-alkhalidy are you still interested in doing the extra note box thing?

mao-sz avatar Dec 11 '25 01:12 mao-sz

@mao-sz, yes I can do it.

eyad-alkhalidy avatar Dec 11 '25 09:12 eyad-alkhalidy