Skip to content

Commit

Permalink
update config
Browse files Browse the repository at this point in the history
  • Loading branch information
Romain-Thomas-Shef committed May 16, 2024
1 parent 8c43808 commit 48de6e8
Show file tree
Hide file tree
Showing 8 changed files with 78 additions and 180 deletions.
35 changes: 19 additions & 16 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -1,22 +1,25 @@
# This template CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to replace its contents
# with information about your lesson.
# Remember to update this file periodically,
# ensuring that the author list and other fields remain accurate.
# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!

cff-version: 1.2.0
title: FIXME
title: Publish your software!
message: >-
Please cite this lesson using the information in this file
when you refer to it in publications, and/or if you
re-use, adapt, or expand on the content in your own
training material.
type: dataset
If you use this software, please cite it using the
metadata from this file.
type: software
authors:
- given-names: FIXME
family-names: FIXME
- given-names: 'Romain, Arfon, Tamora D.'
family-names: 'Thomas, Smith, James'
email: '[email protected]'
affiliation: University of Sheffield, Github
orcid: 'https://orcid.org/0000-0001-8385-3276'
repository-code: 'https://github.com/Romain-Thomas-Shef/Publish_software_training'
url: 'https://github.com/Romain-Thomas-Shef/Publish_software_training'
abstract: >-
FIXME Replace this with a short abstract describing the
lesson, e.g. its target audience and main intended
learning objectives.
# FIXME
keywords:
- carpentries
- fair4rs
- Publication
- university of sheffield
license: CC-BY-4.0
6 changes: 3 additions & 3 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ title: "Contributor Code of Conduct"
---

As contributors and maintainers of this project,
we pledge to follow the [The Carpentries Code of Conduct][coc].
we pledge to follow the [University of Sheffield Research Software Engineering Code of Conduct][coc].

Instances of abusive, harassing, or otherwise unacceptable behavior
may be reported by following our [reporting guidelines][coc-reporting].


[coc-reporting]: https://docs.carpentries.org/topic_folders/policies/incident-reporting.html
[coc]: https://docs.carpentries.org/topic_folders/policies/code-of-conduct.html
[coc-reporting]: https://rse.shef.ac.uk/community/code_of_conduct#enforcement-guidelines
[coc]: https://rse.shef.ac.uk/community/code_of_conduct
67 changes: 6 additions & 61 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
## Contributing

[The Carpentries][cp-site] ([Software Carpentry][swc-site], [Data
Carpentry][dc-site], and [Library Carpentry][lc-site]) are open source
projects, and we welcome contributions of all kinds: new lessons, fixes to
We welcome contributions to this open educational resource: fixes to
existing material, bug reports, and reviews of proposed changes are all
welcome.

Expand All @@ -11,15 +9,11 @@ welcome.
By contributing, you agree that we may redistribute your work under [our
license](LICENSE.md). In exchange, we will address your issues and/or assess
your change proposal as promptly as we can, and help you become a member of our
community. Everyone involved in [The Carpentries][cp-site] agrees to abide by
community. All contributors agree to abide by
our [code of conduct](CODE_OF_CONDUCT.md).

### How to Contribute

The easiest way to get started is to file an issue to tell us about a spelling
mistake, some awkward wording, or a factual error. This is a good way to
introduce yourself and to meet some of our community members.

1. If you do not have a [GitHub][github] account, you can [send us comments by
email][contact]. However, we will be able to respond more quickly if you use
one of the other methods described below.
Expand All @@ -31,48 +25,11 @@ introduce yourself and to meet some of our community members.

3. If you are comfortable with Git, and would like to add or change material,
you can submit a pull request (PR). Instructions for doing this are
[included below](#using-github). For inspiration about changes that need to
be made, check out the [list of open issues][issues] across the Carpentries.
[included below](#using-github).

Note: if you want to build the website locally, please refer to [The Workbench
documentation][template-doc].

### Where to Contribute

1. If you wish to change this lesson, add issues and pull requests here.
2. If you wish to change the template used for workshop websites, please refer
to [The Workbench documentation][template-doc].


### What to Contribute

There are many ways to contribute, from writing new exercises and improving
existing ones to updating or filling in the documentation and submitting [bug
reports][issues] about things that do not work, are not clear, or are missing.
If you are looking for ideas, please see [the list of issues for this
repository][repo-issues], or the issues for [Data Carpentry][dc-issues],
[Library Carpentry][lc-issues], and [Software Carpentry][swc-issues] projects.

Comments on issues and reviews of pull requests are just as welcome: we are
smarter together than we are on our own. **Reviews from novices and newcomers
are particularly valuable**: it's easy for people who have been using these
lessons for a while to forget how impenetrable some of this material can be, so
fresh eyes are always welcome.

### What *Not* to Contribute

Our lessons already contain more material than we can cover in a typical
workshop, so we are usually *not* looking for more concepts or tools to add to
them. As a rule, if you want to introduce a new idea, you must (a) estimate how
long it will take to teach and (b) explain what you would take out to make room
for it. The first encourages contributors to be honest about requirements; the
second, to think hard about priorities.

We are also not looking for exercises or other material that only run on one
platform. Our workshops typically contain a mixture of Windows, macOS, and
Linux users; in order to be usable, our lessons must run equally well on all
three.

### Using GitHub

If you choose to contribute via GitHub, you may want to look at [How to
Expand All @@ -89,22 +46,10 @@ use [GitHub flow][github-flow] to manage changes:

NB: The published copy of the lesson is usually in the `main` branch.

Each lesson has a team of maintainers who review issues and pull requests or
encourage others to do so. The maintainers are community volunteers, and have
final say over what gets merged into the lesson.

### Other Resources

The Carpentries is a global organisation with volunteers and learners all over
the world. We share values of inclusivity and a passion for sharing knowledge,
teaching and learning. There are several ways to connect with The Carpentries
community listed at <https://carpentries.org/connect/> including via social
media, slack, newsletters, and email lists. You can also [reach us by
email][contact].

[repo]: https://example.com/FIXME
[repo-issues]: https://example.com/FIXME/issues
[contact]: mailto:[email protected]
[repo]: https://github.com/<account>/<repo>#FIXME
[repo-issues]: https://github.com/<account>/<repo>/issues#FIXME
[contact]: mailto:[email protected]
[cp-site]: https://carpentries.org/
[dc-issues]: https://github.com/issues?q=user%3Adatacarpentry
[dc-lessons]: https://datacarpentry.org/lessons/
Expand Down
40 changes: 28 additions & 12 deletions LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,23 @@ title: "Licenses"

## Instructional Material

All Carpentries (Software Carpentry, Data Carpentry, and Library Carpentry)
instructional material is made available under the [Creative Commons
Attribution license][cc-by-human]. The following is a human-readable summary of
This lesson is based on a
[template](https://github.com/carpentries/workbench-template-md)
created by [The Carpentries](https://carpentries.org/) which is
Copyright (c) The Carpentries and is made available under the
[Creative Commons
Attribution](https://creativecommons.org/licenses/by/4.0/) licence.
[Changes have been
made](https://github.com/RSE-Sheffield/fair4rs-lesson-setup) to adapt the
template to the specific context of the University of Sheffield's FAIR
for Research Software training programme.

<!-- #FIXME include reference/attribution for any materials derived
from other sources -->

Unless otherwise noted, the instructional material in this lesson is
made available under the [Creative Commons Attribution
license][cc-by-human]. The following is a human-readable summary of
(and not a substitute for) the [full legal text of the CC BY 4.0
license][cc-by-legal].

Expand All @@ -22,12 +36,12 @@ terms.

Under the following terms:

- **Attribution**---You must give appropriate credit (mentioning that your work
is derived from work that is Copyright (c) The Carpentries and, where
practical, linking to <https://carpentries.org/>), provide a [link to the
license][cc-by-human], and indicate if changes were made. You may do so in
any reasonable manner, but not in any way that suggests the licensor endorses
you or your use.
- **Attribution**---You must give appropriate credit (mentioning that
your work is derived from work that is Copyright (c) The University
of Sheffield and, where practical, provide a [link to the
license][cc-by-human], and indicate if changes were made. You may do
so in any reasonable manner, but not in any way that suggests the
licensor endorses you or your use.

- **No additional restrictions**---You may not apply legal terms or
technological measures that legally restrict others from doing anything the
Expand All @@ -44,9 +58,11 @@ Notices:

## Software

Except where otherwise noted, the example programs and other software provided
by The Carpentries are made available under the [OSI][osi]-approved [MIT
license][mit-license].
Except where otherwise noted, the example programs and other software
provided in this work are made available under the [OSI][osi]-approved
[MIT license][mit-license].

Copyright (c) The University of Sheffield

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
Expand Down
File renamed without changes.
82 changes: 2 additions & 80 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,83 +1,5 @@
# The Carpentries Workbench Template Markdown Lesson
# Publish your software

This lesson is a template lesson that uses [The Carpentries Workbench][workbench].

## Note about lesson life cycle stage
Although the `config.yaml` states the life cycle stage as pre-alpha, **the template is stable and ready to use**. The life cycle stage is preset to `"pre-alpha"` as this setting is appropriate for new lessons initialised using the template.
In construction....

## Create a new repository from this template

To use this template to start a new lesson repository,
make sure you're logged into Github.
Visit https://github.com/carpentries/workbench-template-md/generate
and follow the instructions.
Checking the 'Include all branches' option will save some time waiting for the first website build
when your new repository is initialised.

If you have any questions, contact [@tobyhodges](https://github.com/tobyhodges)

## Configure a new lesson

Follow the steps below to
complete the initial configuration of a new lesson repository built from this template:

1. **Make sure GitHub Pages is activated:**
navigate to _Settings_,
select _Pages_ from the left sidebar,
and make sure that `gh-pages` is selected as the branch to build from.
If no `gh-pages` branch is available, check _Actions_ to see if the first
website build workflows are still running.
The branch should become available when those have completed.
1. **Adjust the `config.yaml` file:**
this file contains global parameters for your lesson site.
Individual fields within the file are documented with comments (beginning with `#`)
At minimum, you should adjust all the fields marked 'FIXME':
- `title`
- `created`
- `keywords`
- `life_cycle` (the default, _pre-alpha_, is the appropriate for brand new lessons)
- `contact`
1. **Annotate the repository** with site URL and topic tags:
navigate back to the repository landing page and
click on the gear wheel/cog icon (similar to ⚙️)
at the top-right of the _About_ box.
Check the "Use your GitHub Pages website" option,
and [add some keywords and other annotations to describe your lesson](https://cdh.carpentries.org/the-carpentries-incubator.html#topic-tags)
in the _Topics_ field.
At minimum, these should include:
- `lesson`
- the life cycle of the lesson (e.g. `pre-alpha`)
- the human language the lesson is written in (e.g. `deutsch`)
1. **Adjust the
`CITATION.cff`, `CODE_OF_CONDUCT.md`, `CONTRIBUTING.md`, and `LICENSE.md` files**
as appropriate for your project.
- `CITATION.cff`:
this file contains information that people can use to cite your lesson,
for example if they publish their own work based on it.
You should [update the CFF][cff-sandpaper-docs] now to include information about your lesson,
and remember to return to it periodicallt, keeping it updated as your
author list grows and other details become available or need to change.
The [Citation File Format home page][cff-home] gives more information about the format,
and the [`cffinit` webtool][cffinit] can be used to create new and update existing CFF files.
- `CODE_OF_CONDUCT.md`:
if you are using this template for a project outside The Carpentries,
you should adjust this file to describe
who should be contacted with Code of Conduct reports,
and how those reports will be handled.
- `CONTRIBUTING.md`:
depending on the current state and maturity of your project,
the contents of the template Contributing Guide may not be appropriate.
You should adjust the file to help guide contributors on how best
to get involved and make an impact on your lesson.
- `LICENSE.md`:
in line with the terms of the CC-BY license,
you should ensure that the copyright information
provided in the license file is accurate for your project.
1. **Update this README with
[relevant information about your lesson](https://carpentries.github.io/lesson-development-training/collaborating-newcomers.html#readme)**
and delete this section.

[cff-home]: https://citation-file-format.github.io/
[cff-sandpaper-docs]: https://carpentries.github.io/sandpaper-docs/editing.html#making-your-lesson-citable
[cffinit]: https://citation-file-format.github.io/cff-initializer-javascript/
[workbench]: https://carpentries.github.io/sandpaper-docs/
20 changes: 12 additions & 8 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,29 +11,34 @@
carpentry: 'incubator'

# Overall title for pages.
title: 'Lesson Title' # FIXME
title: 'Publish your Software!'

# Date the lesson was created (YYYY-MM-DD, this is empty by default)
created: ~ # FIXME
created: '2024-05-16'

# Comma-separated list of keywords for the lesson
keywords: 'software, data, lesson, The Carpentries' # FIXME
keywords: 'software, lesson, The Carpentries, FAIR4RS, publication'

# Life cycle stage of the lesson
# possible values: pre-alpha, alpha, beta, stable
life_cycle: 'pre-alpha' # FIXME
# (the default, pre-alpha, is the appropriate for brand new lessons)
life_cycle: 'pre-alpha'

# License of the lesson
license: 'CC-BY 4.0'

# Link to the source repository for this lesson
source: 'https://github.com/carpentries/workbench-template-md' # FIXME
source: 'https://github.com/Romain-Thomas-Shef/Publish_software_training'

# Default branch of your lesson
branch: 'main'

# Who to contact if there are any issues
contact: '[email protected]' # FIXME
contact: '[email protected]'

# Custom URL if you are deploying to a URL that is not the default
# github pages domain
# url:

# Navigation ------------------------------------------------
#
Expand Down Expand Up @@ -74,5 +79,4 @@ profiles:
#
# This space below is where custom yaml items (e.g. pinning
# sandpaper and varnish versions) should live


varnish: RSE-Sheffield/uos-varnish@main
8 changes: 8 additions & 0 deletions learners/acknowledgements.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
title: 'Acknowledgements'
---

This training has been created by the [RSE team](https://rse.shef.ac.uk) at the
[University of Sheffield](https://www.sheffield.ac.uk/), supported by the
[Department of Computer Science](https://www.sheffield.ac.uk/dcs) and [IT
services](https://www.sheffield.ac.uk/it-services/research).

0 comments on commit 48de6e8

Please sign in to comment.