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
Change
A change is a difference of one release over another. A change is something that is
Added,
Removed,
Fixed, or
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
File details
Details for the file django-project-goblin-1.3.tar.gz
.
File metadata
- Download URL: django-project-goblin-1.3.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e5d4612c6eca0b9a4bc76658bf68a4b67491a9dc91a85c848f394a8b938348c |
|
MD5 | 1a9075f62bdb341dbb62c2dbcc9a275e |
|
BLAKE2b-256 | ec8e3fa7023e2df045d005f44588d8e9fc4c7e826dcbbc7318ccf2291f568e39 |
File details
Details for the file django-project-goblin-1.3.tar.bz2
.
File metadata
- Download URL: django-project-goblin-1.3.tar.bz2
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72af949cafafc35146b5694088306f88457b89c95551a57ea94d6b26102ff817 |
|
MD5 | c7394bcd9fe8b99d7f1b021c79cd2c99 |
|
BLAKE2b-256 | f40d2b595cdb3534a7ee289e39d95fa1358096821377479cf97de2442fc80e1c |