Skip to content

learn-co-students/dsc-postgrad-repo-org-problems-london-ds-010620

Repository files navigation

Repository Organization Problems

Introduction

During the program, you'll have noticed that the structure of a repository evolves over the course of a project. By the end of the project, you need to pause and review your repository to align it with employer expectations. In this lesson, we'll outline some typical issues that can be easily fixed in order to make your repository exemplary.

Objectives

You will be able to:

  • Identify key issues within an example data science project repository
  • Review industry standards and employer expectations for project organization

Reviewing a Typical Repo and Identifying issues

Typical Repo

Here is a picture of a typical data science project repository. Take a moment to review it and see if you can identify five aspects that could be improved:

messy repo example

Issues Identified

The issues are identified in the picture below.

messy repo example with numbers for problems list

Issues List:

  1. No project description
  2. No .gitignore file , so unwanted files such as .DS_Store and .ipynb_checkpoints are included
  3. Non-descriptive names for the presentation, notebook and data file
  4. Images are at the same level as the rest of the repository, instead of inside an image folder
  5. Data is included in repo instead of in a data folder (or not provided in repo at all)

Cookie Cutter Data Science is a great resource to guide how you structure a repository. At the end of the reorganization, the cleaner project repository will look like this:

polished repo example

A combination of Git & bash commands, along with some thoughtful renaming through GitHub's platform, will fix a messy repository. Please fork and clone the messy repository example if you want to follow along with the steps detailed on your own machine.

Summary

Great! Next up, we'll be guiding you through a list of steps you can use to clean up a repository.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published