Giter Site home page Giter Site logo

shepherd's Introduction

Shepherd

The next generation course building CI tool for A+

Architecture

Keep updating...

architecture

Project Formation

Auth

  • Get access to Shepherd from A+ using Oauth. ( Get signal from flask-lti-login and authenticate user).
  • model: User

Groups

  • Group users, grant user different privileges and permissions according to the group.
  • Tree-like structure. Example: Aalto → CSI → CS → Programming_1.
  • model:
    • Group: many-to-many relationship with User.
    • GroupPermission: the permission types of Group. Currently two types: (create) subgroups, (create) courses.
    • CreateGroupPerm: the permission of groups for creating (sub)groups. field group is the group with the (create) subgroups permission; field target_group is the group which group can create subgroups under.
    • CreateCoursePerm: the permission of groups for creating courses. the field pattern defines the prefix that the course key should follow.
    • ManageCoursePerm: the permission for managing courses. The owner roles of a course include admin and assistant.

Courses

  • Course management interface
  • To create new courses, the user needs to be in a group with the (create) courses permission.
  • model: CourseInstance

Build

  • Record the build processes of courses
  • model: Build, BuildLog

Repos

  • SSH key management
  • model: GitRepository

Webhooks

Handle push webhook in GitHub or Gitlab.

Celery Tasks

  • build

    Define Build tasks, define automated pipeline (pull/clone->build->deploy->clean).

  • repos - deploy key

    • Define background task for deploy key pair generation.
    • Define the scheduled task for key validation.

Message Broker

Message broker for updating frontend statues display in realtime, and also routing realtime log output to frontend.

shepherd's People

Contributors

dependabot[bot] avatar johnding1995 avatar qianqianq avatar raphendyr avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

shepherd's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.