ichec-template

Template repository

https://github.com/cilwerner/ichec-template

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.2%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

Template repository

Basic Info
Statistics
  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created almost 5 years ago · Last pushed almost 5 years ago
Metadata Files
Readme Contributing License Code of conduct Citation Authors

README.md

Instructions for creating new repositories

This repository should intentionally remain as a private repo, so therefore is not published on an external github.io page. Upon following the instructions below, the repo will automatically run integration tests, spelling checks and page building tests.

The only folders and files therein which need to be edited for lesson use are as follows;

  • _episodes/ or episodes_rmd/: Episodes either in regular Markdown or RMarkdown
  • _includes/snippets_library/: Including code snippets (text files, outputs etc.) This is for convenience, as it can be easily written in markdown
  • _config.yml: As above, specific commands/abstractions which can be used
  • fig/: Insert figures
  • data/: Any data needed for the duration of the lesson
  • slides/: Any powerpoint/pdf slides being used for the lesson
  • files, code: Can be utilised as above subject to content

Any files which are not included in the above should be tested in the ichec-template repository before continuing.

To create a new repository from this template and to ensure you have your own copy, follow the instructions outlined below:

  1. Select Use this template
  2. Select ICHEC-learn as the owner then call the repo something memorable (e.g. intro-to-linux), and give a description (can be edited later)
  3. Set to Public and make sure the final Include all branches is NOT unticked.
  4. The new repo will be created and the tests will run automatically.
  5. Enable github.io page building through Settings -> Pages. You may need to set the theme first time. The theme choice will not matter as it will be forced into the Carpentries style.
  6. Copy the link and paste into About, on the right hand side of the main page.
  7. Next head up to Fork, which allows you to freely experiment with the repo in your own account without affecting the original project.
  8. From here you can now work on Github online or locally (via cloning). Repeat steps 5 & 6 from the previous to have your own publishable github.io page.

Working Online/Locally

  1. Online: Upon editing the file it needs to be committed, similar to saving. Ensure you commit to the gh-pages branch. NB: If there are other contributors, ensure that on your forked repo, you click Fetch upstream regularly.
  2. If you are creating a local copy on your machine; a) Head to the Code button and copy the link, then clone locally by typing git clone mylink.git b) Edit as normal, to commit changes; - git add myfile - git commit -m "my changes" c) To push your local changes to git, simply type git push d) NB: If changes have been made by others and you have fetched on your forked repo in github (step 1 above), ensure you type git fetch to merge your local laptop changes with your forked online repo (which has been synced with the ICHEC-learn main repo)

```


| | | Remote ICHEC-learn/lesson-repo | | | ^ | | | | | |---------------------------------------v----------------|--------------| | Fetch upstream Merge Requests | |---------------------------------------|----------------|--------------| | | v | | | Local (fork) | Online username/lesson-repo | | | | ^ | | |---------------v----------------|--------------| | | git fetch git push | | |---------------|-------------------------------| | | Laptop | git commit | | | | ^ | | | v | | | | /path/to/lesson-repo | |____________________|____________________________________________| ```

To merge your changes with the main ICHEC-learn;

  1. On your forked repo, {yourusername}/{repo-name} head to the top bar and select Pull requests
  2. Head to the right and select New pull request
  3. On the next screen, check it is able to merge and Create pull request
  4. Fill in the Title of your pull request (Comments below are optional but recommended for reviewers) and then Create pull request
  5. Wait for the tests to finish (~5 mins) at which point, the All checks have passed message will appear and;
    • contact a fellow colleague working on the repo and ask them to review.
    • or if you are the sole contributor
  6. Press the Merge pull request, then Confirm merge

IMPORTANT

If you are working off a repo with multiple contributions, ensure you commit and push daily

If a change has been merged to the main-repo in a file which you are working on, pull requests cannot automatically be merged, but you can still create the pull request.

You then need to head to Resolve conflicts. At this point you will need to resolve the areas where >>>>>>>>>>gh-pages and ======== is displayed, otherwise it won't be resolved. This work will not save automatically, so has to be solved in one sitting.

Owner

  • Name: Chris Werner
  • Login: cilwerner
  • Kind: user
  • Location: Dublin, IRE
  • Company: @Microsoft

Contributing to @MicrosoftDocs

Citation (CITATION)

This lesson has been derived and modified from the following sources:

Greg Wilson (ed.): "Software Carpentry: Lesson Example."  Version
2016.06, June 2016, https://github.com/carpentries/lesson-example,
10.5281/zenodo.58153.

GitHub Events

Total
Last Year

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 52
  • Total Committers: 2
  • Avg Commits per committer: 26.0
  • Development Distribution Score (DDS): 0.038
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Christopher Werner c****r@i****e 50
cilwerner 5****r 2
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 9 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels