summaryrefslogtreecommitdiff
path: root/devel
AgeCommit message (Collapse)Author
2010-02-27Make reporead.py not executableDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-27reporead: add --filesonly optionDan McGee
This will allow files to be imported for all existing packages in the database while not worrying about the files database being a touch out of date. It utilizes the new files_last_update column to perform the insertion and updating of file lists intelligently. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-27reporead: support reading files entries againDan McGee
This depends on some changes I made to our script that generates the file list databases, but it allows us to treat the files databases in an almost identical manner to a regular database. The only difference is the fact that it contains 'files' entries. One catch that will be addressed in a separate patch: if the files DB lags behind the regular DB, running an update from it could cause packages in the web interface to be downgraded. A 'no-add/remove' option could be helpful for this case. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-27reporead: whitespace cleanupsDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-27reporead: only reset needsupdate when setting last_updateDan McGee
Otherwise a --force will clear out all our flagged packages. :/ Whoops. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-26reporead: build date data is crazyrelease_2010-02-26Dan McGee
Just ignore it if it is completely screwed up. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-26reporead: accommodate old-school build dateDan McGee
I can't believe we still have some of these around, but they are relatively straightforward to handle. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-26reporead: allow a force updateDan McGee
This allows re-running repoadd on all packages in case of adding data or fixing a bug without rendering the last_update values in the database useless. For packages that aren't geting their version bumped, don't touch last_update on a force import but do touch the rest of the fields. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-26Add some additional fields to package importDan McGee
We can capture the build date, compressed size, and installed size when reporead runs. Even if we don't show all of it, we should pull it in. FS#14270 is requesting that the package size be shown on the website. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-16reporead: use different timestamp for each packagerelease_2010-02-17Dan McGee
Since these timestamps will differ across repos and arches anyway (for a total of 10 distinct timestamps currently per hour), it isn't really necessary to only use one timestamp. Allow each package to get a unique creation time. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-10reporead: small touchups, mostly in argument validationDan McGee
Check the arch, check the filename for existence, etc. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-10reporead: turn into a django-admin commandDan McGee
Rather than struggle with getting the environment set up, let's make this a custom Django admin command and use the flexibility that gives us. This is the initial rough cut of making it happen; further commits should clean up some of the rough edges. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-10Remove archweb prefix from all importsDan McGee
Unnecessary, and lets us standardize on not using it everywhere. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-01-31Make marking out of date actually workDan McGee
And honor the packager's notify flag, as Pierre pointed out. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-01-31Adjust models and views for nullable maintainerEvangelos Foutras
Signed-off-by: Evangelos Foutras <foutrelis@gmail.com> [Dan: made a few other small touchups] Signed-off-by: Dan McGee <dan@archlinux.org>
2010-01-30Use select_related() for some mirror pagesDan McGee
We also traverse relationships here, so select the associated items. Signed-off-by: Dan McGee <dan@archlinux.org>
2009-12-01Add credential requirements tests to devel appIsmael Carnales
* Add models.py required file to app * Use user_passes_test instead of custom superuser checking in new_user_form as it implements the same "next" redirection as login_required Signed-off-by: Ismael Carnales <icarnales@gmail.com>
2009-11-09added login_required to devel viewsIsmael Carnales
2009-11-09changed landing viewIsmael Carnales
- moved devel.views.siteindex to public.views.index - using template from public view with added devel menu - added extra styles and images
2009-11-09modified import paths from archweb_dev to archwebIsmael Carnales
2009-09-15Add a basic mirror view for the dev siteDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2009-08-12merge fixDusty Phillips
2009-08-11So now the created user passwords should work and Aaron will be less pissed ↵Dusty Phillips
off at me.
2009-08-10Sometimes its better if you test your code before deploying. Other times, ↵Dusty Phillips
you just fix the missing imports in a second commit.
2009-08-10Add a page to aid Aaron in user creation.Dusty Phillips
2009-01-30Put maintainer list by last name.Dusty Phillips
2008-11-15alphabetical order on maintainers and packagesDusty Phillips
2008-11-09don't show inactive users in dev listDusty Phillips
2008-10-11simplify both look and code for dashboardDusty Phillips
2008-10-10use RequestContext because its standardDusty Phillips
2008-10-10drop useless viewDusty Phillips
2008-10-10fix broken maintainer packages linksDusty Phillips
2008-10-07make form submit some but not all valuesDusty Phillips
2008-10-07move validation template tage temporarily; it will be removed eventuallyDusty Phillips
2008-10-07fairly invasive refactor to developer dashboard to be more django friendlyDusty Phillips
2008-10-07indicate that index is the dev dashboardDusty Phillips
2008-10-07fix bug introduced by previous code removalDusty Phillips
2008-10-07Dusty's 80 char issueDusty Phillips
2008-10-07remove senseless codeDusty Phillips
2008-10-07drop a bunch of static stuff necessary only in archweb_pubDusty Phillips
2008-10-07remove reference to old cvs entryDusty Phillips
2008-10-05drop a bunch of unusued importsDusty Phillips
2008-09-16port profile_form to newformsDusty Phillips
2008-06-21Remove guide from dashboard and link to wikiFix for FS#10647Dusty Phillips
2008-06-04Added an ex-developer 'fellows' page.eliott
2008-04-09Removed login_required from the individual views.eliott
Not entire dev site requires login.
2008-04-09Changed to arches and repos in the db.eliott
Added them to the django admin interface as well.
2008-04-05Fix for FS#9554eliott
Backported and modified from 'master'
2008-03-22Added the ability to see flagged packages only, per use or repoeliott
2008-03-22Refactored the model to remove arch and repo tables.eliott
Refactored the model to remove the arch and repo tables. Those data points are now encapsulated in the package table as an ENUM field. Changes to models and templates as needed.