-
-
Notifications
You must be signed in to change notification settings - Fork 381
A guide for instructors on how to use the material #285
Comments
@karthik Thanks for raise this. For Python's lessons we should close #282 first. I believe that $ git clone https://github.com/swcarpentry/bc.git XXXX-YY-ZZ
$ cd XXXX-YY-ZZ
$ git remote add bootcamp https://github.com/your-username/XXXX-YY-ZZ.git
$ git push bootcamp master:gh-pages is OK to include the new lessons. |
On Tue, Feb 04, 2014 at 02:48:29PM -0800, Karthik Ram wrote:
This sort of mix-and-match approach was the goal behind my $ git clone git://github.com/workshop-base.git 2014-02-04-my-house I think this makes a lot more sense than going in retroactively and |
@r-gaia-cs What you propose is what we have now and that's exactly the problem I am trying to raise. This will result in everything (including all the levels + languages) being pulled and pushed into a specific bootcamp's repo. |
My understanding is that, at present, the workflow is simply to make a copy of the entire repo and then link (on the auto-generated Github Pages site) to the appropriate lessons from the index page. All of the other unused lessons are thus "there" but not easily accessible, and thus should not have to be deleted. As discussed in #115 and #180 (and I think elsewhere), we had decided not to have the students clone the I guess I'm asking what problem we're trying to solve by adding this additional layer of complexity for the instructors. What's wrong with pushing and pulling everything? |
@karthik I tried to reply the "Right now there is no well-defined way of doing this." "delete everything they don't need" Drawbacks
"Bootstrap" Drawbacks
|
On 2014-02-04 8:03 PM, Justin Kitzes wrote:
|
On Tue, Feb 04, 2014 at 05:11:37PM -0800, r-gaia-cs wrote:
I don't understand these, or maybe I just don't understand the Maybe you're just emphasizing that it would be difficult to push |
|
On Tue, Feb 04, 2014 at 05:25:33PM -0800, Greg Wilson wrote:
Are we agreed? @jkitzes' argument (students will never download this)
I think #102 requires maintainers to be able to manage multiple
On the forum or in an issue? If we don't have one of those already, I |
On Tue, Feb 04, 2014 at 05:30:36PM -0800, Greg Wilson wrote:
That's right, but you could still rebase or cherry pick the changes |
On Tue, Feb 04, 2014 at 05:30:22PM -0800, W. Trevor King wrote:
In case we ship the end-user format (e.g. html) instead of the raw one (e.g. On Tue, Feb 04, 2014 at 05:41:30PM -0800, W. Trevor King wrote:
+1 for assemble-master approach. |
On Tue, Feb 04, 2014 at 06:12:29PM -0800, r-gaia-cs wrote:
Ah, I see. For distributing to instructors, I think we definitely |
I've pull material from a variety of places when I assemble the GeoCarpentry materials. I'm going to try maintaining my Git Intermediate lessons as an orphan branch on my personal GitHub page (with some help from @wking) and report back in a few months with some thoughts on my experiences with it. |
Sorry, I didn't mean to take the Bootstrap comparison too far. I wasn't thinking of compiling html etc. Just as a way to grab all the relevant sections from a larger set of material. I think @wking covered the different possibilities here:
a) Not sure how many instructors will actually send back pull requests or how much the material will change with each bootcamp. If pull requests are expected infrequently, this approach could work. b) Not sure I entirely agree with @jkitzes |
Because I don't teach them Git until day 2 and there's a handy Download button for the repository that gives them all the latest material on the very first morning. Do you tell people to download the R code repository every time they install RStudio? |
Why do they need all the material the very first morning? You're right there to walk them through everything for the next two days. I was talking at some point before they leave the bootcamp.
huh? ok. Forget "cloning" and Git altogether. Even if they click a download button, it still doesn't make sense to me to push all the lessons. |
I'll close this up since a majority of the participants in this thread don't see this as a problem. If anyone feels strongly about continuing the discussion, feel free to open it up again. Cheers. |
Although this isn't necessarily how I would have designed the process, our last bootcamp at Berkeley follows what I understand to be the preferred protocol for getting students the materials - http://swcarpentry.github.io/2014-01-18-ucb/ We actually never give students the link to the repo, nor do we show it. Rather we direct them to the index of the Github Pages branch where they view all of the lesson materials as rendered webpages - in this case, I've linked each lesson directly from the schedule. When they need to download files such as notebooks, we provide the links there (see the Scientific Programming lessons). As far as giving them a repo with history to view for the git lesson, I have them create a repo involving multiple branches, merges and conflicts, etc. - see my git lesson linked there (I have now taught this twice in under 3 hours, so not a time issue). Advantage to this is that it allows us to leave all of the lessons in the repo (and even point students to other lessons on the Github Pages site if they ask questions) while not cluttering the lessons for the majority of students, which perhaps was one of @karthik main concerns. [Edit: Sorry for post on closed issue, comments passed each other in the ether.] |
@karthik - It's a problem, but I don't think it's our biggest problem. If you'd like me to write a script for you that slices up the repository based on what topics you want to include, I'm happy to do it, but it is really not much more complicated than deleting the directories you don't like. I don't see what's wrong with putting this burden on the instructors for now, and I haven't heard a compelling reason for why you can't or shouldn't do this. |
@ahmadia Makes sense. I'm fine with this. |
Now that the SWC/bc repo has vetted material for basic and intermediate R/Python bootcamps, it might be worthwhile to include instructions or a workflow on how a potential instructor might include such material into their bootcamp repo. Right now there is no well-defined way of doing this.
swcarpentry/bc
, delete everything they don't need (and delete from history to keep the repo lean?), or just pulldepth 1
and delete whatever content they are not using. Is that the preferred approach?The text was updated successfully, but these errors were encountered: