Commit Graph

11 Commits

Author SHA1 Message Date
Dan McGee
3e094a548f Add a new FlagRequest model
This will be used to store all of the submitted data we get via flag out
of date forms on the website.

Signed-off-by: Dan McGee <dan@archlinux.org>
2011-12-08 15:02:11 -06:00
Dan McGee
12408702ea Allow population of signoff specs with SVN commit messages
This pulls them from the latest SVN commit on trunk. We don't have a
failproof method of getting the exact right commit, but this should be
close if it is run on a regular basis via cron (aka hourly).

Note that running locally, I needed the development version of South to
get the migration included here to apply because of information_schema
changes in the current version of MySQL.

Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-14 12:27:38 -06:00
Dan McGee
ac2278423a Many signoff page improvements
Add a new 'SignoffSpecification' model which will capture metadata
regarding a specific package if it differs from the norm- e.g. more or
less than 2 required signoffs, is known to be bad, a comment from the
maintainer, etc. The groundwork is laid here; much of this will still
need to be wired up in the future.

Enhance the view with a lot more JS prettiness and add revoking of
signoffs. The signoff page can be filtered and the links and all the fun
stuff are totally dynamic now.

Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-03 17:19:26 -05:00
Dan McGee
82cb7c3586 Add index to package groups name field
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-07-29 12:26:27 -05:00
Dan McGee
ba975112cb Add new packages signoff model
This one is centered around pkgbase, much as our PackageRelation object
is. However, it also tracks all of the versioning fields we have in
order to making joining against the current package testing list
possible. Finally, additional metadata including a created date, an
(optional) revoke date, and a comments field are added.

Signed-off-by: Dan McGee <dan@archlinux.org>
2011-07-06 11:27:33 -05:00
Dan McGee
ef9faf4414 Add a created date to package relations
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-05-03 14:41:00 -05:00
Dan McGee
97437d27b7 Add new package parts models
This allows us to store conflicts, provisions (provides), and replacements
in the database, things we weren't capturing before. All can be multivalued,
just like License and PackageGroup.

Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-23 15:44:41 -05:00
Dan McGee
4444f25d5c Move license to a related model
This allows us to store multiple licenses per package in a more elegant
fashion, and will later allow us to search and filter on this information.

Signed-off-by: Dan McGee <dan@archlinux.org>
2011-02-15 13:51:11 -06:00
Dan McGee
63696563a3 Add package groups model and display to packages
They show up but aren't hotlinked to anything...just yet.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-25 15:49:06 -05:00
Dan McGee
e361a1e873 Get unit tests up and running again
We had some dependency issues between migrations that needed to be
explicitly defined in order to get things fully moving, and do to some
braindeadness in Django tests not including the project url config, we need
to do some clever business when using the url tag in the base template so
tests don't doe with a NoReverseMatch exception.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-24 17:08:00 -05:00
Dan McGee
fe832ea845 Move package maintainer off of package model
This is an attempt to fix our long-standing problems dealing with maintainer
information. Move the actual maintainer information off of the package model
into a PackageRelation object, which has some flexibility to later represent
more than just maintainership.

This solves multiple problems:
* If a package gets accidentally deleted, so did the maintainer info
* Testing packages have always shown up as orphans
* With split packages, it was easy to miss some of the sub-packages

This commit does not include the deletion of the original maintainer column;
that will come at a later time when I feel more confident that the data was
migrated correctly.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-27 16:15:20 -05:00