Skip to main content

Manage list of projects

Project description

Overview

Project Goblin was created to list and manage projects. Note that the projects are not stored, but only listed. This is useful if you want to showcase projects on your blog, come out with new announcements, etc.

Installation

The easiest way is to use PIP:

pip install django-project-goblin

Add 'goblin' to the list of installed apps.

INSTALLED_APPS = (
    # ...
    'goblin',
    #...
)

Models

Once installed, you’ll have access to Project Goblin’s models:

Project

A project is a software project and can contain many releases. The main attributes for a software project are (self-explainator):

  • name

  • description

  • README (a longer description)

  • homepage (URL link to a project).

Release

The release has a foreign key relation to Project and to Change. This is used to make readers aware of the release that has taken place for the project.

The attributes for a release are

  • project (FK to Project)

  • version (The Version number)

  • download (URL to download the release)

Change

A change is a difference of one release over another. A change is something that is

  1. Added,

  2. Removed,

  3. Fixed, or

  4. something else (Other).

In addition, a change is given a description (the what field) where the developer can write a description of the change that occurred.

Fields & Input

Version

A version is–essentially–a list with an added attribute “stage” that can be one of the following values:

  • DEV

  • ALPHA

  • BETA

  • TEST

  • RELEASE

When comparing versions, the stage is always incorporated in the comparison. For example, the versions 0.1 and 0.1 are equal, but the versions 0.1-test and 0.1-dev are not.

VersionField

Model field for a version. For now, this is a CharField. However, a restriction does exist for the version format. It must pass the following regexp test::

(\d+\.)+\d+((\-(dev|test|release))|[ab])

Here are examples of acceptable input:

0.1a
1.5.8
13.4-dev

Here are examples of not-so-acceptable (e.g. invalid!) input:

0-alpha14
0.1.-34.0

You get the idea.

Errors Thrown

NotLatestVersionException

This is thrown when a release is being added to a project and the release’s version is not greater than the last added version. For example, if a project’s latest version is 1.0 and you’re trying to add a version 0.8, the exception will be thrown.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

django-project-goblin-1.3.tar.gz (6.2 kB view hashes)

Uploaded Source

django-project-goblin-1.3.tar.bz2 (6.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page