volpino
b838f3cb59
Merge branch 'master' of https://github.com/iksaif/euscan
...
Signed-off-by: volpino <fox91@anche.no>
2012-11-04 18:04:22 +01:00
Corentin Chary
5c460e895a
djeuscan/tasks: fix update_portage() and layman --sync
2012-11-04 12:30:22 +01:00
volpino
c31076ddb4
euscanwww: Moving all account related stuff to a separate app
...
Note: This commit could break things, the userprofile model has been
moved so the db layout must change (some alter table commands are
needed to don't lose data)
Signed-off-by: volpino <fox91@anche.no>
2012-11-02 20:15:51 +01:00
volpino
48c1eadab4
Merge branch 'master' of https://github.com/iksaif/euscan
...
Conflicts:
TODO
euscanwww/djeuscan/processing/scan/scan_portage.py
euscanwww/djeuscan/tasks.py
euscanwww/djeuscan/templates/euscan/_package_details.html
Signed-off-by: volpino <fox91@anche.no>
2012-10-30 20:27:37 +01:00
Corentin Chary
90c7f27b95
djeuscan/processing: fix scan_upstream after scan_portage
...
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-10-29 13:06:06 +01:00
volpino
75b5bcc32f
euscanwww: Adding an option to run upstream scanning after an update in portage
...
Signed-off-by: volpino <fox91@anche.no>
2012-10-29 13:06:03 +01:00
Corentin Chary
2bd6c03b3b
djeuscan: really fix scan on demand
...
don't use stupid locks, only rate limit.
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-10-10 09:36:25 +02:00
volpino
57c80cf954
euscanwww: Adding an option to run upstream scanning after an update in portage
...
Signed-off-by: volpino <fox91@anche.no>
2012-09-14 17:22:18 +02:00
Corentin Chary
1fc42e083d
Merge remote-tracking branch 'origin/master'
...
Conflicts:
euscanwww/djeuscan/templates/euscan/accounts/euscan_email.txt
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-09-14 10:31:19 +02:00
Corentin Chary
32506e252a
euscanwww: small scan related fixes
...
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-09-14 10:29:06 +02:00
volpino
80ca711565
euscanwww: Improved email template
...
Now the code is quite cryptic but it's to remove useless blank lines
in the final output.
Signed-off-by: volpino <fox91@anche.no>
2012-09-03 15:09:12 +02:00
volpino
2557b74beb
Merge branch 'master' of https://github.com/iksaif/euscan
2012-08-15 15:34:15 +02:00
Corentin Chary
bbfcc3d6d5
euscan: misc fixes
...
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-08-15 11:04:29 +02:00
volpino
ec2e132583
euscanwww: Minor cleanings
...
Signed-off-by: volpino <fox91@anche.no>
2012-08-14 13:51:07 +02:00
Corentin Chary
88b15c18d2
djeuscan: enhance email template
...
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-08-14 11:45:52 +02:00
Corentin Chary
97830775c8
djeuscan: fix some small bugs
...
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-08-14 09:11:23 +02:00
volpino
d1058aed8b
euscanwww: initial implementation of euscan updates email
...
Signed-off-by: volpino <fox91@anche.no>
2012-08-11 15:09:42 +02:00
volpino
952d9505b2
euscan/euscawww: Removing unused imports, fixed some typos and PEP8 cleaning
...
Signed-off-by: volpino <fox91@anche.no>
2012-08-07 09:39:49 +02:00
Corentin Chary
b03541c97d
euscanwww/tasks: ungroup tasks for now, use immutables tasks
...
There is a bug in celery preventing (group | group | task)() chains
to work. Was reported but not yet fixed.
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-08-07 08:46:05 +02:00
Corentin Chary
62b1fbba4e
euscanwww: fix tasks
...
- group_one was broken
- new way of calling consume refresh queries
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-08-03 21:55:59 +02:00
volpino
6178d66f0d
euscanwww: removing unused import and PEP8 cleaning
...
Signed-off-by: volpino <fox91@anche.no>
2012-07-29 10:13:17 +02:00
Corentin Chary
6ce658fa0d
euscan: stuff
...
(yeah, sorry ..)
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-28 11:39:38 +02:00
volpino
31e3dd66d8
euscanwww: Prevent not deterministic QuerySet order when slicing
...
Signed-off-by: volpino <fox91@anche.no>
2012-07-27 11:37:58 +02:00
Corentin Chary
3d6126cf81
djeuscan: run scan_metadata(packages=None, populate=True)
...
Scan only additional stuff, not packages.
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-24 08:05:12 +02:00
volpino
609eff60ab
euscanwww: Launch scan_portage per category like scan_metadata
...
Signed-off-by: volpino <fox91@anche.no>
2012-07-20 14:11:09 +02:00
volpino
7dc322348d
euscanwww: PEP8, Cleaning unused imports and removing useless stuff
...
* Removed useless use of chords
* populate in scan_metadata is off by default
* fixed group_one and scan_metadata launch
* removed useless utils.py
Signed-off-by: volpino <fox91@anche.no>
2012-07-20 14:07:16 +02:00
Corentin Chary
2544af2e32
euscanwww/tasks: simplify tasks
...
- strip '_task' end
- remove "launcher" functions, if we want complicated starter
functions we will put them somewhere else later.
- now, everything is asynchroneous, maybe we could switch from
group_one()/group_chunks() to .chunks() someday...
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-20 08:42:38 +02:00
volpino
03cf3b90a4
euscanwww: Upgraded to Celery 3.0 and fixed scan_portage
...
Fixed TaskSet calls and synchronous stuff. Everything should be
deadlock safe
Signed-off-by: volpino <fox91@anche.no>
2012-07-07 18:09:14 +02:00
volpino
3be52a710c
euscanwww: Changing RefreshPackageQuery.query to ForeignKey
...
Signed-off-by: volpino <fox91@anche.no>
2012-07-07 15:46:35 +02:00
volpino
a6b215cec9
euscanwww: Fixed tasks to work with processing.scan and processing.misc
...
Fixed tasks to work with processing.* changes.
Moved periodic tasks config to settings.py using CELERYBEAT_SCHEDULE
Signed-off-by: volpino <fox91@anche.no>
2012-07-07 15:13:59 +02:00
volpino
145388a5e5
euscanwww: scan_upstream_all_task scans in randomized order
...
Signed-off-by: volpino <fox91@anche.no>
2012-06-30 10:50:17 +02:00
volpino
c6f5fb0b7c
euscanwww: reverting removed purge_packages in scan_package_task
...
Signed-off-by: volpino <fox91@anche.no>
2012-06-30 10:42:26 +02:00
volpino
a83e4de59d
euscanwww: user refresh package should not purge packages
...
Signed-off-by: volpino <fox91@anche.no>
2012-06-30 09:35:31 +02:00
volpino
fc7f929038
euscanwww: Fixed broken tasks
...
Signed-off-by: volpino <fox91@anche.no>
2012-06-29 17:25:45 +02:00
volpino
951624759a
euscanwww: Fixing tasks
...
Fixing minor bugs in tasks.py and little related stuff
Signed-off-by: volpino <fox91@anche.no>
2012-06-27 10:15:30 +02:00
volpino
1ae2dcba50
euscanwww: settable options for _run_in_chunks()
...
Signed-off-by: volpino <fox91@anche.no>
2012-06-26 18:31:35 +02:00
volpino
f9c9a4bfd8
euscanwww: added scan_package task
...
Signed-off-by: volpino <fox91@anche.no>
2012-06-22 11:40:40 +02:00
volpino
9bfd728d4f
euscanwww: Moved business logic to djeuscan.processing
...
Moved stuff from management commands to djeuscan.processing
Signed-off-by: volpino <fox91@anche.no>
2012-06-22 09:32:39 +02:00
volpino
34d3bd714d
euscanwww: Watched herds/maintainers/categories panel
...
* Refactored templates and templatetags
* Added unfavourite views
* Added button to favourite/unfavourite package
* Panel for showing favourited objects
Signed-off-by: volpino <fox91@anche.no>
2012-06-14 10:03:49 +02:00
volpino
bd971a7da0
euscanwww: When scanning upstream output object was never cleaned
...
Signed-off-by: volpino <fox91@anche.no>
2012-06-12 14:55:58 +02:00
volpino
bd9af90ff6
euscanwww: Removed useless purge tasks, some error handling
...
Signed-off-by: volpino <fox91@anche.no>
2012-06-12 13:05:58 +02:00
volpino
4246c544ad
euscanwww: bug found, celery timeouts on join. Commented out
...
Signed-off-by: volpino <fox91@anche.no>
2012-06-09 16:12:17 +02:00
volpino
a94a24eeac
euscanwww: Refresh query logic and task queue split in chunks
...
Added the needed logic for running refresh queries from the web
interface.
Added a simple function to tasks.py that takes an iterable of arguments
and a task and launches many subtasks formed by 32 tasks each (for not
having a huge amount of tasks launched at the same time)
Signed-off-by: volpino <fox91@anche.no>
2012-06-08 14:21:11 +02:00
volpino
33555a9fbe
euscanwww: Fixed Layman sync task
...
Signed-off-by: volpino <fox91@anche.no>
2012-06-05 16:44:08 +02:00
volpino
8501805f8e
euscanwww: Scan tasks recieve a list of packages
...
Signed-off-by: volpino <fox91@anche.no>
2012-06-05 13:30:31 +02:00
volpino
8ed74a74df
euscanwww: Changed Layman sync task to use Python API
...
Signed-off-by: volpino <fox91@anche.no>
2012-06-05 12:46:22 +02:00
volpino
60e2019cc3
euscanwww: Added tasks for syncing and updating portage tree
...
Added these tasks:
* emerge_sync
* layman_sync
* emerge_regen
* eix_update
Signed-off-by: volpino <fox91@anche.no>
2012-06-04 11:06:47 +02:00
volpino
5970b4df37
euscanwww: Admin improved and simple task launcher added
...
Signed-off-by: volpino <fox91@anche.no>
2012-06-03 09:43:49 +02:00
volpino
e8718748b4
euscanwww: Celery fixes and little logging
...
Signed-off-by: volpino <fox91@anche.no>
2012-05-31 09:11:40 +02:00
volpino
56c4d79fb2
euscanwww: starting implementing Celery tasks
...
Basic tasks.py module, some fixes in the management commands
Signed-off-by: volpino <fox91@anche.no>
2012-05-30 22:54:55 +02:00