Dan McGee
51e642f7dc
Make reporead.py not executable
...
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-27 19:16:10 -06:00
Dan McGee
a70a3a04c7
reporead: whitespace cleanups
...
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-27 13:32:09 -06:00
Dan McGee
7801704a78
reporead: only reset needsupdate when setting last_update
...
Otherwise a --force will clear out all our flagged packages. :/ Whoops.
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-27 13:30:58 -06:00
Dan McGee
0fffd3ad6e
reporead: build date data is crazy
...
Just ignore it if it is completely screwed up.
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-26 22:30:54 -06:00
Dan McGee
e95c4563e3
reporead: accommodate old-school build date
...
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-26 22:26:05 -06:00
Dan McGee
655b3db1b7
reporead: allow a force update
...
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-26 21:52:16 -06:00
Dan McGee
31522fad89
Add some additional fields to package import
...
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-26 20:42:13 -06:00
Dan McGee
6d28f81801
reporead: use different timestamp for each package
...
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-16 21:08:29 -06:00
Dan McGee
20767c7bab
reporead: small touchups, mostly in argument validation
...
Check the arch, check the filename for existence, etc.
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-10 22:07:21 -06:00
Dan McGee
c1697ab694
reporead: turn into a django-admin command
...
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-10 21:30:35 -06:00
Dan McGee
d709604102
Remove archweb prefix from all imports
...
Unnecessary, and lets us standardize on not using it everywhere.
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-10 00:29:27 -06:00
Dan McGee
a16b4d9ecd
Make marking out of date actually work
...
And honor the packager's notify flag, as Pierre pointed out.
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-01-31 17:52:08 -06:00
Evangelos Foutras
09a3a08144
Adjust models and views for nullable maintainer
...
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-31 13:44:03 -06:00
Dan McGee
85ff158e2d
Use select_related() for some mirror pages
...
We also traverse relationships here, so select the associated items.
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-01-30 13:53:11 -06:00
Ismael Carnales
3f8fe75d36
Add credential requirements tests to devel app
...
* 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-12-01 23:26:14 -02:00
Ismael Carnales
129255e79c
added login_required to devel views
2009-11-09 22:24:49 -02:00
Ismael Carnales
b4999b495e
changed landing view
...
- moved devel.views.siteindex to public.views.index
- using template from public view with added devel menu
- added extra styles and images
2009-11-09 22:24:41 -02:00
Ismael Carnales
48904e4857
modified import paths from archweb_dev to archweb
2009-11-09 22:24:34 -02:00
Dan McGee
9dc89e8287
Add a basic mirror view for the dev site
...
Signed-off-by: Dan McGee <dan@archlinux.org>
2009-09-15 20:14:06 -05:00
Dusty Phillips
6bcf9709f2
merge fix
2009-08-12 17:33:23 -04:00
Dusty Phillips
a085da1c22
So now the created user passwords should work and Aaron will be less pissed off at me.
2009-08-11 13:55:33 -06:00
Dusty Phillips
9cc1ac8e46
Sometimes its better if you test your code before deploying. Other times, you just fix the missing imports in a second commit.
2009-08-10 16:02:41 -04:00
Dusty Phillips
0d2560fa55
Add a page to aid Aaron in user creation.
2009-08-10 15:47:02 -04:00
Dusty Phillips
1ad008f335
Put maintainer list by last name.
2009-01-30 18:50:13 -05:00
Dusty Phillips
0dbde37b20
alphabetical order on maintainers and packages
2008-11-15 15:42:33 -05:00
Dusty Phillips
c49adbc65c
don't show inactive users in dev list
2008-11-09 11:13:59 -05:00
Dusty Phillips
7dedeeafd5
simplify both look and code for dashboard
2008-10-11 19:50:08 -04:00
Dusty Phillips
f260843deb
use RequestContext because its standard
2008-10-10 18:51:21 -04:00
Dusty Phillips
0e0265a624
drop useless view
2008-10-10 18:51:06 -04:00
Dusty Phillips
13d730ab2b
fix broken maintainer packages links
2008-10-10 18:32:25 -04:00
Dusty Phillips
fcc2a8a480
make form submit some but not all values
2008-10-07 15:59:40 -04:00
Dusty Phillips
22f22ef669
move validation template tage temporarily; it will be removed eventually
2008-10-07 11:59:31 -04:00
Dusty Phillips
fb9158dec8
fairly invasive refactor to developer dashboard to be more django friendly
2008-10-07 11:48:58 -04:00
Dusty Phillips
fd26d34abf
indicate that index is the dev dashboard
2008-10-07 11:13:34 -04:00
Dusty Phillips
627f685b0d
fix bug introduced by previous code removal
2008-10-07 11:11:51 -04:00
Dusty Phillips
c320458af6
Dusty's 80 char issue
2008-10-07 11:10:21 -04:00
Dusty Phillips
631417bc28
remove senseless code
2008-10-07 11:03:52 -04:00
Dusty Phillips
a2c25fa12a
drop a bunch of static stuff necessary only in archweb_pub
2008-10-07 11:02:58 -04:00
Dusty Phillips
6d632344f1
remove reference to old cvs entry
2008-10-07 10:57:27 -04:00
Dusty Phillips
103d1a347a
drop a bunch of unusued imports
2008-10-05 21:46:28 -04:00
Dusty Phillips
851e6d55be
port profile_form to newforms
2008-09-16 21:12:26 -04:00
Dusty Phillips
7e0f1c0dae
Remove guide from dashboard and link to wikiFix for FS#10647
2008-06-21 19:38:18 -04:00
eliott
b6d6cc6062
Added an ex-developer 'fellows' page.
2008-06-04 18:28:27 -07:00
eliott
751ac09698
Removed login_required from the individual views.
...
Not entire dev site requires login.
2008-04-09 22:43:07 -07:00
eliott
3eea31d8f2
Changed to arches and repos in the db.
...
Added them to the django admin interface as well.
2008-04-09 19:28:24 -07:00
eliott
5f48dda94b
Fix for FS#9554
...
Backported and modified from 'master'
2008-04-05 13:27:10 -07:00
eliott
ce564d73a6
Added the ability to see flagged packages only, per use or repo
2008-03-22 21:01:16 -07:00
eliott
7640082d14
Refactored the model to remove arch and repo tables.
...
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.
2008-03-22 19:51:01 -07:00
eliott
3e31808521
More changes to the multiarch model.
2008-03-08 12:11:02 -08:00
eliott
8019319a4f
renamed donator model to donor.
...
remove category model
2008-03-08 00:19:58 -08:00