Local list of maintainers in CONTRIBUTING.md? #195
Comments
My main concern about this is merge conflicts. If a lesson maintainer modifies this file such that it points to the issues of their repo and lists them as the maintainer, the next time this file gets edited, there will be a merge conflict when pulling from the |
Forgot to mention. The way we are currently handling this in r-novice-inflammation is to have an additional contributing section in the README. In this section it links to the issues of that repo, links to the generic CONTRIBUTING.md, and gives directions that are specific for that repo (and I should probably list the lesson maintainers, too). |
On 2015-03-10 8:15 PM, John Blischak wrote:
|
On Tue, Mar 10, 2015 at 08:11:55PM -0700, John Blischak wrote:
I don't expect the lesson-template maintainers to have such rapid
Only if the upstream edits and the local edits overlap. If the Tue, Mar 10, 2015 at 08:15:17PM -0700, John Blischak:
That means that folks contributing to your lesson see 2: If you're looking for things to work on, please see the list of linking to lesson-template, which is probably not where you keep While I'm happy to jump through some hoops to avoid merge conflicts, I |
It's not clear to me why there is a link to the Issues in lesson-template in the first place. This CONTRIBUTING.md describes how to contribute to a lesson repo that is a clone of the lesson-template. For example, the following two lines describe downstream lesson repos, and not the lesson-template repo itself:
This isn't true for lesson-template. Changes to the core files should be filed against the
The lesson-template repo isn't based off of itself. Overall this is a strange situation. We have a CONTRIBUTING.md in one repo, that is supposed to describe how to contribute not to itself, but to downstream repos. Currently it is a mix of the two. So I'd be in favor of taking out the hyperlink to Issues. Then the sentence will apply to all downstream repos. |
On Wed, Mar 11, 2015 at 05:24:52AM -0700, John Blischak wrote:
I agree, but I'd rather the fix be making CONTRIBUTING.md actually However, having a localized CONTRIBUTING.md is mostly orthogonal to |
I expected lesson authors to modify CONTRIBUTING.md (e.g., change the |
+1 on locally maintaining contributors - we want to make it easy for
people to build lessons using our templates + tools that aren't part of
SWC core, and a centralized contributor list directly contradicts that.
|
On Wed, Mar 11, 2015 at 10:21:59AM -0700, Greg Wilson wrote:
I'm happy to work up or review a PR for this (whichever is more |
@wking can you please add a script to the 'tools' directory that'll list
names of contributors via `git log` and other magic? That'll give
people a starting point...
|
On Wed, Mar 11, 2015 at 10:35:35AM -0700, Greg Wilson wrote:
For listing the maintainers? Looking at just folks merging into the $ git shortlog -s --first-parent origin/core Expanding to include gh-pages gives us: $ git shortlog -s --first-parent origin/core If you don't like calling Git directly, and really want a middleman |
I think for most lessons we'll want gh-pages - core is just for the
template (and we can handle that specially). A script that gives what
you believe to be the most useful answer would be very welcome.
|
On Wed, Mar 11, 2015 at 10:53:15AM -0700, Greg Wilson wrote:
Most useful for guessing maintainers? |
Most useful for giving people who've contributed the credit they deserve.
|
On Wed, Mar 11, 2015 at 10:58:54AM -0700, Greg Wilson wrote:
Done in #197. After re-reading your earlier comment 1, I see you were +1ing |
If CONTRIBUTING.md is meant to be edited for each of the lessons, shouldn't it only be present in the gh-pages branch? It was my understanding that the core branch was only supposed to contain files that are shared across lesson repos. |
On Wed, Mar 11, 2015 at 08:27:29PM -0700, John Blischak wrote:
I think we want a CONTRIBUTING.md in the core branch because:
|
Downstream lesson maintainers are supposed to adapt this to point at their repository's issues [1], so use a reference name that works for both the lesson-template and downstream repositories. That way they only have to update the referenced URL and can leave the reference name alone. [1]: swcarpentry#195 (comment)
So the only argument I've seen against having a localized
|
On Sat, Mar 28, 2015 at 12:14:20PM -0700, W. Trevor King wrote:
I usually wait at least a week between bumps, but it's been five quiet |
Apologies, but fundraising is ahead of this in queue right now.
|
On Thu, Apr 02, 2015 at 11:44:12AM -0700, Greg Wilson wrote:
Is there any way to move the orphaned repositories forward while |
Now that lesson-template and lesson-example are separate, we can require a level-2 section in README.md called "Maintainers" with a bullet list of the lesson's maintainers:
The validator can check for it (cc @abought and @r-gaia-cs for confirmation), and there won't be merge conflicts when updating from lesson-template (because lesson-template doesn't have a README). Workable? |
On Sat, Apr 04, 2015 at 12:17:11PM -0700, Greg Wilson wrote:
This works for me.
I'd consider adding a README.md that just says something like: A shared template for Software Carpentry lessons. See [docs][] for [docs]: path-to-docs, e.g. doc/template/README.md Because it's good to have something up as a landing page. Ideally $ git checkout HEAD -- README.md See #124 (and it's post core→gh-pages #215) for details on the doc idea. |
The validator can check for it (cc @abought and @r-gaia-cs for confirmation)
+1
|
Because we're going to be storing maintainer information locally in the README.md [1]. [1]: swcarpentry#195 (comment)
This is the new plan [1], instead of referring to a central listing from CONTRIBUTING.md. [1]: swcarpentry/DEPRECATED-lesson-template#195 (comment)
This is the new plan [1], instead of referring to a central listing from CONTRIBUTING.md. [1]: swcarpentry/DEPRECATED-lesson-template#195 (comment)
On Sat, Apr 04, 2015 at 12:17:11PM -0700, Greg Wilson wrote:
As a trial implementation of this approach, I've just submitted #223 |
@wking Can we close this? |
On Sun, Apr 19, 2015 at 06:53:57AM -0700, Raniere Silva wrote:
The trial-run PRs both landed, so I'm fine closing this. Future action after we close this issue:
|
In #170 we landed the following text:
The shell PR that inspired #70 was swcarpentry/shell-novice#68, which had:
and the shell lesson still lists the maintainers locally. Can we switch this repository to list it's maintainers, and then have downstream maintainers update that line to list temselves? We're already doing something like this for list of issues link target.
Personally, I find the local listing better because:
a. Maintainers have push access to their local CONTRIBUTING.md, so they can update that listing without needing to bother a swcarpentry/site maintainer.
b. It's one less bit of information to list on http://software-carpentry.org/lessons.html, which already has enough going on. I'm all for raising awareness of the contribution maintainers are making, but I think a listing in the lesson's CONTRIBUTING.md is sufficiently high-profile.
c. It avoids ambiguity about things like our turtles lesson. Is that maintained by Trevor Bekolay and Azalee Bostroem (the “Python” maintainers)? Similarly, it's unclear who's maintaining this repository. Does it fall under “tools”? Does swcarpentry/amy fall under “tools”? It's easier to handle the mapping between repositories and maintainers if the maintainers are listed in the repositories themselves.
Finally, there's a lot going on right now in SWC-land, so feel free to just let this issue sit until we have the time and energy to address it. I'm just filing it now because we bumped into the turtles case for swcarpentry/DEPRECATED-site#870, but I don't think it's particularly critical.
The text was updated successfully, but these errors were encountered: