Comments (12)
Doesn't it need to be on gh-pages in order to show up at http://swcarpentry.github.io/r-novice-gapminder/? If so, maybe delete master to reduce confusion, making gh-pages the main branch.
from r-novice-gapminder.
+1 @karawoo
from r-novice-gapminder.
I don't have permissions to delete master or to switch gh-pages to default; we might have to ask @gvwilson to do it. I am +1 for this as well. Is there any reason to keep master around for anything else? What is standard SWC practice these days?
from r-novice-gapminder.
Looks like r-novice-inflammation just has gh-pages, no master. I don't see any reason to keep it around.
from r-novice-gapminder.
I'm not supportive of this. Using gh-pages as the 'main' development branch means that all the generated *.html pages need to be included. As all these pages are often touched by make preview
this leads to cluttered logfiles.
As I understand it the current process for r-novice-inflammation is for PR's to only include .Rmd files, the maintainer is then responsible for merging the PR's and generating the *.md and *.html files. Perhaps @jdblischak could comment how this workflow is working out, with particular reference to how many contributors manage to follow the instructions correctly (I know I didn't).
I would prefer that a master branch is used for development, only *.md pages need be included in this. The package maintainers task would then be to merge PR's with master, create and checkout a new gh-pages branch, make preview
, push the new gh-pages branch. This has the advantage of keeping source files and auto-generated files separate.
from r-novice-gapminder.
You can see the previous discussion on committing html files here. It comes down to a tradeoff between keeping the source code clean and making it easy for people to contribute.
Currently for r-novice-inflammation, contributors are instructed to send PRs to the gh-pages branch with only the Rmd file edited (though they are encouraged to build the html locally to view their changes). Then after a substantial number of changes have been made, I build the html pages. Thus all development happens on the gh-pages branch.
The alternative is to have all PRs sent to the master branch and only include generated files in the gh-pages branch. This works well when all contributors are comfortable with Git. r-novice-inflammation receives many PRs that are created by direct editing in GitHub, and having a more complicated development workflow is going to discourage these instructors from contributing.
from r-novice-gapminder.
+1 for having a single gh-pages branch. It's important that all repositories in SWC follow the same organization to facilitate their management (e.g., CSS styling)
from r-novice-gapminder.
In our workshops, the only html page that we've ever actually needed was index.html. All others were rendered directly from markdown by GitHub. So committing html at all was actually unnecessary in many cases. We only committed html because they were already present in the repo.
from r-novice-gapminder.
Seems like gh-pages is the way to go.
I created a PR #6 to add this information.
I agree with @naupaka we need someone with admin rights to change the default branch and delete the master branch.
from r-novice-gapminder.
Paging @gvwilson - when you get a chance can you remove the master branch from this repo? I believe we have come to a consensus on that decision.
from r-novice-gapminder.
from r-novice-gapminder.
Thanks!
from r-novice-gapminder.
Related Issues (20)
- Update instructions on creating a self contained project
- Clarify instructions on how to navigate to RStudio project
- Update pre-requisites for R lessons
- Reference instructions on why to create a git repo for a RStudio project
- Identify what "CSV" means earlier
- other values when checking data for factors
- Need instructions on how to create new script HOT 1
- Note intended for instructor view?
- Include note about built-in datasets in R HOT 2
- Include info on why the error in example might occur
- "Rinse and repeat" is an idiom that may not be understood by a global audience
- Is "pdf device" a commonly understood term? HOT 1
- Update "other great resources" HOT 2
- What is the intended purpose of the glossary?
- subscripts are actually strikethroughs HOT 2
- Smoother introduction to functions? HOT 1
- Add an instructor note about RStudio previewing colors HOT 1
- Remove code that is not needed HOT 2
- Address check annotations from GitHub Actions
- Add an episode on `purrr`? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from r-novice-gapminder.