Skip to content

Commit

Permalink
Improve git info + examples of good msc repositories
Browse files Browse the repository at this point in the history
  • Loading branch information
hugoledoux committed Oct 6, 2023
1 parent 87faf78 commit 2a31e8a
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 7 deletions.
33 changes: 26 additions & 7 deletions docs/git/goodgit.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,43 @@ They are for the final code that will come with your MSc thesis.

- [ ] there should be a README file that indicates

- [ ] the purpose of the project, what the code is for,
- [ ] installation instructions
- [ ] example usage
- [ ] aPI documentation (if this applies)
- the purpose of the project, what the code is for,
- installation instructions
- example usage
- API documentation (if this applies)

- [ ] the README should be a text file (and not a binary file like Word)
- [ ] there should be a [LICENSE file](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/licensing-a-repository). [Help with choosing a license](https://choosealicense.com).
- [ ] the README should be a text file (`readme.md` or `readme.txt`), and not a binary file like Word
- [ ] there should be a [LICENSE file](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/licensing-a-repository). ([Help with choosing a license](https://choosealicense.com))
- [ ] there should be a [CITATION file](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-citation-files) that tells users how to site the project, data, and code
- [ ] a `changelog.md` detailing the changes between the releases should be available ([help with changelog](https://keepachangelog.com/en/1.0.0/))
- [ ] a `changelog.md` detailing the changes between the releases should be available ([help with changelog](https://keepachangelog.com/en/))
- [ ] there should be clear guidelines for third-parties wishing to: (1) contribute to the software; (2) report issues or problems with the software; (3) seek support


## Organization

- [ ] folders should be used to separate data, code, documentation, and results

- it is the custom to put all source code in `/src`
- and `/test` for unit tests
- but each language will have different setups and habits
- [ ] the files should use a consistent naming scheme that indicates what they contain


## Files that should **not** be added to the repository

All files that are created by compiling/running code should **not** be added to the Git repository.

You can [configure you repository to ignore files](https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files) (so that you don't see them as modified and not committed to the repository).

Examples of files to ignore:

- `*.pyc` for Python
- `*.aux` for LaTeX
- `*.pdf` for LaTeX
- `/build` the whole build folder for C++



## Software

- [ ] there should be releases to package the software ([how to create a release](https://docs.github.com/en/repositories/releasing-projects-on-github/about-releases))
Expand Down
Binary file added docs/git/img/ellie.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/git/img/fabian.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/git/img/noortje.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/git/img/zhaiyu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions docs/git/msccode.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

# MSc thesis code in Git

Following the [open science requirements](https://3d.bk.tudelft.nl/courses/geo2020/openscience/), it is now mandatory to release your code as open-source and to document it.

You should first make sure that you have [all the ingredients of a good Git repository](/git/goodgit/), and then you can have a look at 4 good examples of repositories from MSc students:


[![](./img/fabian.png){:width="300px"}](https://github.com/fabisser/stylesdf)
[![](./img/noortje.png){:width="300px"}](https://github.com/NoortjevanderHorst/treegrowthmodelling)
[![](./img/ellie.png){:width="300px"}](https://github.com/ellieroy/no-floors-inference-NL)
[![](./img/zhaiyu.png){:width="300px"}](https://github.com/chenzhaiyu/points2poly)



0 comments on commit 2a31e8a

Please sign in to comment.