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

Link to new contributing documentation #578

Merged
merged 3 commits into from
Jul 17, 2017
Merged

Conversation

kytrinyx
Copy link
Member

We moved the contributing documentation out of the problem specifications repository.

@petertseng petertseng force-pushed the contributing-guide branch from 7ec17c1 to 6c64703 Compare July 16, 2017 07:27
@petertseng
Copy link
Member

petertseng commented Jul 16, 2017

Excuse me for pushing onto this branch, it's because I merged the #577 first and now Branch protection "Require branches to be up to date before merging" requires a rebase on master (or a merge commit on this branch which I would then squash). #445 (comment) indicates that you could possibly disable that. I guess our desired settings would be:

Possibly desired branch protection settings

But it's not urgent since in the case of many PRs I just octomerge.

It can be checked that I changed nothing about the commit except to rebase it on master.

$ diff -u <(git diff -u 7ec17c1~ 7ec17c1) <(git diff -u 6c64703~ 6c64703)
--- /proc/self/fd/11	2017-07-16 07:41:47.391717114 +0000
+++ /proc/self/fd/12	2017-07-16 07:41:47.395050420 +0000
@@ -1,5 +1,5 @@
 diff --git a/README.md b/README.md
-index 5e1b949..da2f53c 100644
+index ea42568..ab76a35 100644
 --- a/README.md
 +++ b/README.md
 @@ -54,11 +54,11 @@ Of course you can also add a totally new exercise, but it might be a good idea t

README.md Outdated
@@ -54,11 +54,11 @@ Of course you can also add a totally new exercise, but it might be a good idea t

#### Updating an exercise test suite
Updating a test suite of an existing exercise is special because it usually affects all languages.
You can refer to the [documentation on updating a test suite](https://github.com/exercism/x-common/blob/master/CONTRIBUTING.md#updating-an-exercise-test-suite).
You can refer to the [documentation on updating a test suite](https://github.com/exercism/docs/blob/master/contributing-to-language-tracks/README.md#updating-an-exercise-test-suite).
Copy link
Member

Choose a reason for hiding this comment

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

this anchor doesn't exist in this file. Any other file it should be instead?

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

I would suggest that https://github.com/exercism/docs/blob/master/contributing-to-language-tracks/README.md#changing-exercise-test-suites is a closer analogue to the previous link. It is possible that we could use both links though?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, their intentions are different. The anatomy one is a high-level overview of the tests, and the contributing link is more action-oriented.

README.md Outdated
Note that the whole test suite must run with the sample solution within a couple of seconds.

### Repository structure and conventions
The [track anatomy documentation](https://github.com/exercism/x-common/blob/master/CONTRIBUTING.md#track-anatomy) is a general description of all the files and directories that are not explicitly described below.
The [track anatomy documentation](https://github.com/exercism/docs/blob/master/contributing-to-language-tracks/README.md#track-anatomy) is a general description of all the files and directories that are not explicitly described below.
Copy link
Member

Choose a reason for hiding this comment

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

Same, anchor is not in the file. Any other file it can be?

Copy link
Member Author

Choose a reason for hiding this comment

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

@kytrinyx kytrinyx force-pushed the contributing-guide branch from 6c64703 to c54faf2 Compare July 16, 2017 15:42
@kytrinyx
Copy link
Member Author

There's a "rebase and merge" option. If you use "update branch" first, then "rebase and merge", the merge commit should go away. I think. Maybe.

We moved the contributing documentation out of the problem specifications repository.
@kytrinyx kytrinyx force-pushed the contributing-guide branch from c54faf2 to 0e6317d Compare July 16, 2017 15:44
@petertseng
Copy link
Member

petertseng commented Jul 16, 2017

With rebase and merge it seemed as if I had to use the web UI to see what PR the commit came from, whereas with squash and merge it went in the commit message, so I preferred the latter. Only applicable if it is OK to have just one commit in the end result, of course. If more than one commit is needed, it had to be rebase and merge.

@petertseng
Copy link
Member

OK, so something like that, then?

@kytrinyx
Copy link
Member Author

I like it.

@petertseng petertseng merged commit c0fca1a into master Jul 17, 2017
@petertseng petertseng deleted the contributing-guide branch July 17, 2017 04:21
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

Successfully merging this pull request may close these issues.

2 participants