-
-
Notifications
You must be signed in to change notification settings - Fork 381
Missing yml in the gh-pages branch #729
Comments
We've been using And yes, we need to trim this repo significantly - I'm putting together |
Thanks Greg. Two thoughts: |
I'll close this for now since this mostly has to do with my inability to understand the current set up. |
On Mon, Sep 22, 2014 at 02:56:16PM -0700, Karthik Ram wrote:
I think the old approach was just to delete the parts of |
@jduckles, ca you please look at this one - if people find configuring
|
On Mon, Sep 22, 2014 at 04:31:08PM -0700, Greg Wilson wrote:
The gh-pages README does suggest editing _includes/setup.html 1. I |
Not entirely. Until now I was only dealing with
rather than requiring someone to go edit out chunks of html code from |
I edited out the html by hand in But looking at Jonah's recent bootcamp, I see this: with everything mixed correctly in the root index file: (https://github.com/jduckles/2014-02-15-umkc/blob/gh-pages/index.html) Why is one bootcamp's repo more complete than the official |
@karthik Thanks for this feedback.
I'm +1 to do that and use tags for mark releases.
I agree with @karthik but understanding why we didn't do it. We have split the We try make it a little easy with #415 although with it we make hard to people
Maybe we can use Jonah's approach to improve #415. Split the setup in @gvwilson, @wking, @karthik and @jduckles Thoughts about this proposal? |
Wasn't that the system we originally had in the bc repo? I remember I really liked it. There were lots of small files in IIRC this more elegant solution was abandoned because it was too complicated for new instructors to understand. So it was switched to a more work intensive yet easier to grasp system of hand-deleting lots of html from the setup file. |
This has turned into a good discussion thread, so I'd like to keep it open (and discuss possible solutions at the September lab meeting). |
@gvwilson , per @wking, I think this is just a case of the default docs you see when you go to http://github.com/swcarpentry/bc being the |
Any reason not to switch the default branch to |
On Tue, Sep 23, 2014 at 09:24:04AM -0700, Greg Wilson wrote:
Maybe you want to show the untested latest and greatest on a faster |
On Tue, Sep 23, 2014 at 10:24 AM, Greg Wilson [email protected] wrote:
I believe we explicitly chose I think given that things in the core material are relatively stable Ethan |
This is all terribly confusing. Since we ask instructors to clone only from gh-pages and customize material there, then it's likely they will send something back to that branch. I was never ever planning to touch material on master (I thought that was just a legacy branch). Other option is to change the README (shorten it and tighten it with details elsewhere). So people would pull master, merge to their local |
On Tue, Sep 23, 2014 at 11:01:45AM -0700, Karthik Ram wrote:
To avoid confusion, I'd make the release branch (gh-pages) the
I don't think shortening the README has anything to do with this |
Attend to address swcarpentry#729 by splitting the setup instructions to make easy for instructor to find the file that he/she need to edit. Some changes in the README.md to make it smaller and creation of README-LONG.md for the long version of instructions to setup the bootcamp homepage.
This will hopefully be addressed by #759. |
On Tue, Sep 23, 2014 at 11:40:31AM -0700, W. Trevor King wrote:
@r-gaia-cs just did this. |
…tions Ivan brought this idea back up in maintainers@ recently [1]. I think the last time it was raised seriously was [2], which has reasonable links into earlier discussion. The main argument against tags was that it was too hard to find the source for a particular line you wanted to tweak [3]. This commit restores our old liquid templating to show/hide sections *without* splitting the sections out into sub-files (e.g. bc#738 had _includes/setup/linux-editor.html). If we keep everything in the index file, we can have tags and instructors can either adjust the tags or easily find/edit/delete as they see fit. A few notes on the implementation: * I've gone with double quotes in the YAML front matter for consistency with the other entries, but stuck with the original (from swcarpentry/bc) single quotes for the liquid conditionals. * I've kept "check" and "VM" out of the default tools list to match the current display, but we may want to enable everything and write a stronger message about removing stuff you don't need to avoid repeating the problems we had with check being visible by default [4]. Because folks will have to tweak the tools list if they want to enable the "check" or "VM" sections, I've added comments at the beginning of each section pointing instructors back up at the YAML front matter. * I've moved the "check" section out of the Python section, because while the tool doesn't currently test R packages, it does test Git, Bash, text editors, etc., and it could certainly be extended to test R if someone with R knowledge wanted to chip in (although it's harder to *run* the script on Windows without bundling Python) [5]. [1]: http://lists.software-carpentry.org/pipermail/maintainers_lists.software-carpentry.org/2016-March/000179.html Subject: Re: [Maintainers] Vote needed for setup instructions Date: Thu, 10 Mar 2016 12:05:33 -0500 Message-ID: <CAJpTZ0DPYKgu2fbi6dZ3XvZVyed0MwmS-jTR-e-Y3uYoZKoctQ@mail.gmail.com> [2]: swcarpentry/DEPRECATED-bc#738 [3]: swcarpentry/DEPRECATED-bc#729 (comment) [4]: carpentries#278 [5]: carpentries#136 (comment)
…tions Ivan brought this idea back up in maintainers@ recently [1]. I think the last time it was raised seriously was [2], which has reasonable links into earlier discussion. The main argument against tags was that it was too hard to find the source for a particular line you wanted to tweak [3]. This commit restores our old liquid templating to show/hide sections *without* splitting the sections out into sub-files (e.g. bc#738 had _includes/setup/linux-editor.html). If we keep everything in the index file, we can have tags and instructors can either adjust the tags or easily find/edit/delete as they see fit. A few notes on the implementation: * I've gone with double quotes in the YAML front matter for consistency with the other entries, but stuck with the original (from swcarpentry/bc) single quotes for the liquid conditionals. * I've kept "test" and "VM" out of the default tools list to match the current display, but we may want to enable everything and write a stronger message about removing stuff you don't need to avoid repeating the problems we had with the installation-test link being visible by default [4]. Because folks will have to tweak the tools list if they want to enable the "test" or "VM" sections, I've added comments at the beginning of each section pointing instructors back up at the YAML front matter. * I've moved the "test" section out of the Python section, because while the tool doesn't currently test R packages, it does test Git, Bash, text editors, etc., and it could certainly be extended to test R if someone with R knowledge wanted to chip in (although it's harder to *run* the script on Windows without bundling Python) [5]. The new header separates the test section from the previous section. [1]: http://lists.software-carpentry.org/pipermail/maintainers_lists.software-carpentry.org/2016-March/000179.html Subject: Re: [Maintainers] Vote needed for setup instructions Date: Thu, 10 Mar 2016 12:05:33 -0500 Message-ID: <CAJpTZ0DPYKgu2fbi6dZ3XvZVyed0MwmS-jTR-e-Y3uYoZKoctQ@mail.gmail.com> [2]: swcarpentry/DEPRECATED-bc#738 [3]: swcarpentry/DEPRECATED-bc#729 (comment) [4]: carpentries#278 [5]: carpentries#136 (comment)
I spent the last half hour navigating the beast that this repo has become. In the main README, there are instructions asking an instructor to fix the
yml
to include the list of topics that are specific to one's bootcamp.This line:
It's on
index.html
in the master but not ingh-pages
. The instructions also tell people to pull only from gh-pages and not master, so one would never see this. Perhaps merge the two?Also maybe delete master altogether? Because again, you're asking instructors to clone only gh-pages (not master) and use material from there (deleting the irrelevant topics). So if these two branches are out of sync, people will be using outdated material.
The text was updated successfully, but these errors were encountered: