Layout of OpenHatch's source code¶
This section should help developers get a better understanding of OpenHatch's
This section is a basic overview. Additional details can be found in the
LAYOUT file in the root directory of
- This directory contains documentation files for OpenHatch and is rendered at RTD ReadtheDocs <http://openhatch.readthedocs.org>.
This directory may be used by deployment for temporary storage.
[FUTURE: It may be possible to remove this directory in a later release.]
- This directory stores reports created by the coverage testing tool.
This directory contains the OpenHatch website and all the "Django apps" that are part of it. Each subdirectory is an app.
Each of the apps has some tests, views, and frequently models and forms. Their file paths are:
You can read more about tests, views, forms, and models in the official Django tutorial:
- This directory contains "import/export" code like the support for loading and saving snapshots of the OpenHatch database, downloading data from bug trackers, and scanning other websites for information about OpenHatch members.
- This app contains code on information about OpenHatch users.
- This app (mostly) contains code to let a user edit their information.
- This is the Django app where the training missions live.
- This Django app contains the views and models necessary to display the volunteer opportunity finder, also known as bug search.
The apps also use other Django features, or Django add-ons. Here is a list by filename and a URL reference to further info:
- This directory contains helper tools that make things easier for a contributor (for example, a script for rendering docs).
- This directory contains code from other projects that we rely on. (For more information, look at http://kitsune.readthedocs.org/en/latest/vendor.html .)
These informational files are found in the root directory of
Read the README! Read it first.
It points to our main documentation; this LAYOUT file is just a quick thumbnail view of what different files in here are.
(Aside: The ".rst" extension indicates reStructuredText format is used.)
- This file explains what permissions you have, if you want to re-use source code you find in this repository.
- This file gives credit for files used by OpenHatch.
- This file (the one that you are viewing now) gives an overview of the project high-level directory and file structure.
In general, dotfiles provide configuration details.
- coverage testing configuration
- Files ignored by git
- Travis continuous integration configuration
Other files and executable files¶
- This is the well-known and widely-loved Django management script.
- A file used when deploying the site.
- This file indicates packages (i.e. ones that are not pure Python code and contain compiled code) that are installed in a different manner than packages found in the vendor directory.
- This shell script is used for deployment and running of scraping of projects for suitable bugs for contributors. [FUTURE: This file may be relocated to a different place.]
- This file lists the dependencies of the OpenHatch codebase.