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

Define "standard" downloads and provide a script to update #280

Closed
wants to merge 6 commits into from

Conversation

wking
Copy link
Contributor

@wking wking commented Jan 11, 2016

Details in the commit message. The from the last commit is based on
the changes in wking/swc-setup-installation-test#9, and the lesson
JSON files in both PRs are compatible.

If/when lesson maintainers start providing the download-declaring JSON
files, we can provide an example lessons.json file in this repository.

Fixes #276.
Previous discussion in

index.html Outdated
-->
<!-- for swcarpentry/sql-novice-survey -->
<li><a href="http://files.software-carpentry.org/survey.db"><code>survey.db</code></a></li>
<li><a href="http://files.software-carpentry.org/survey.sql"><code>survey.sql</code></a></li>
Copy link

Choose a reason for hiding this comment

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

These can (and should) use https: links.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

On Wed, Mar 23, 2016 at 08:37:54PM -0700, Elliott Sales de Andrade wrote:

This can (and should) use https: links.

That didn't work when I wrote the commit (see the commit message for
6b9f36c and swcarpentry/DEPRECATED-site#509), but it was fixed in on 2016-01-11
1. I've updated this PR (and rebased to resolve trivial conflicts
with #303) in 4fb0eb1→7f67d1e.

@wking wking force-pushed the list-downloads branch 2 times, most recently from d9528df to 7f67d1e Compare March 24, 2016 04:32
wking added 6 commits March 23, 2016 21:34
So we can collect a list of everything learners will need for the
workshop [1].

[1]: carpentries#276
These are HTTPS versions of the URLs suggested in the lesson docs
since swcarpentry/sql-novice-survey@ff0f411f (Making lesson conform to
template, 2015-02-12).  I prefer HTTPS links for security, and while
files.software-carpentry.org has had an invalid certificate in the
past [1], it works now (2016-03-23).  As a fallback, you could use
[2,3], but they seem too different from the lesson docs for me to
prefer them here.

[1]: swcarpentry/DEPRECATED-site#509
[2]: https://github.com/swcarpentry/files/raw/master/survey.db
[3]: https://github.com/swcarpentry/files/raw/master/survey.sql
Which landed in swcarpentry/r-novice-inflammation#144.

I'm keeping the download order in line with the syllabus order.
It's easier if lessons declare these themselves, and we just list the
lessons we're using.  This script fetches lesson-defined download
lists and updates the Downloads section appropriately.

I'd rather have used an HTML parser to make the substitution, because
line.startswith(...) is brittle.  Unfortunately, index.html is part
YAML, part HTML, and part Jekyll, so there's no out-of-the-box parser.

The lessons.json config format is compatible with my recommended
dependency format [1].

[1]: wking/swc-setup-installation-test#9
@rgaiacs
Copy link
Contributor

rgaiacs commented Feb 4, 2017

@wking Sorry for the delay to look on it. The pull request has some conflicts now. Do you want to resolve or should I do it?

@wking
Copy link
Contributor Author

wking commented Feb 6, 2017 via email

fmichonneau pushed a commit that referenced this pull request Jun 20, 2018
Rename CoC file to align with GitHub's Community Profile expectation
@fmichonneau fmichonneau added type:enhancement Propose enhancement to the lesson and removed enhancement labels Jun 21, 2018
@fmichonneau
Copy link
Contributor

This was probably a good idea but too much has changed since this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:enhancement Propose enhancement to the lesson
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add links to the "setup" section
5 participants