Skip to main content

Django Project Goblin

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.

Metadata

Release files for django-project-goblin 1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distributions (sdists)

Source distribution for django-project-goblin 1.3
File Size Uploaded
django-project-goblin-1.3.tar.gz 6.2 kB Details
django-project-goblin-1.3.tar.bz2 6.5 kB Details

Release files / django-project-goblin-1.3.tar.gz

Download URL django-project-goblin-1.3.tar.gz
Size 6.2 kB
Tags Source
SHA-256 checksum
How to use checksums
5e5d4612c6eca0b9a4bc76658bf68a4b67491a9dc91a85c848f394a8b938348c
BLAKE2b-256 checksum
How to use checksums
ec8e3fa7023e2df045d005f44588d8e9fc4c7e826dcbbc7318ccf2291f568e39
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / django-project-goblin-1.3.tar.bz2

Download URL django-project-goblin-1.3.tar.bz2
Size 6.5 kB
Tags Source
SHA-256 checksum
How to use checksums
72af949cafafc35146b5694088306f88457b89c95551a57ea94d6b26102ff817
BLAKE2b-256 checksum
How to use checksums
f40d2b595cdb3534a7ee289e39d95fa1358096821377479cf97de2442fc80e1c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.3 This release

2 release files

1.2

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page