mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 12:49:01 +02:00

This patch adds asynchronous task execution using a Celery backend and RabbitMQ task queue, so that the layer submission process to proceed even in the event that sending the notification email fails, and establishing an asynchronous execution mechanism that we can use in the future e.g. for triggering parse operations from the web UI. This pertains to bug 11197: https://bugzilla.yoctoproject.org/show_bug.cgi?id=11197 It updates the README to reflect the installation and configuration of a basic RabbitMQ setup, adds a 'tasks.py' file to contain task definitions, updates the 'edit_layer_view' function to send emails to administrators about new and updated layers asynchronously, modifies the 'settings.py' to include a default configuration for a RabbitMQ connection, and updates the Dockerfile to start a Celery worker alongside the Gunicorn daemon. Fixes [YOCTO #11197]. Signed-off-by: Diana Thayer <garbados@gmail.com> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
1.9 KiB
1.9 KiB
TODO:
- Auto-detect dead layers and visually mark
- Formal deprecation process?
- Email people when status will change?
- Show other branches when looking at layer - maybe change the focus to show all layers rather than layers at a selected branch?
- Allow users to make a comment sent to admins/maintainers?
- Marking for recipes with ptest enabled
- Make it easy to update people's email addresses
Bugs
- Duplication of first maintainer when editing to add a second?
Other
- Full-text search on layer contents
- Handle layers that have branch (e.g. master) that is empty
- Add log in again link to logout page.
- Collect interesting news (layer add/delete, recipe add/delete/upgrade) and provide RSS feed
- "Split layer" tool for when a layer is split out of another? (Saves time adding records everywhere)
- Search for bbclasses?
- All-branch search/results so you can see version availability of recipes in all branches at once?
- Show OE-Classic search results in OE-Core search? (with appropriate disclaimers)
- Display no-results found message when search does not return any results in layer search
- Way to notify in search results when user searches for something that has been renamed / replaced / deprecated?
- Show an alert on recipe page when recipe is outside of layer's BBFILES
- Document macros for URL fields
- Show layer type in layer detail?
- Usage links in list page?
- Subdirs in list page?
- Query backend service i.e. special URL to query information for external apps/scripts
- Add comparison to duplicates page
- Create simple script to check for unlisted layer subdirectories in all repos
- Auto-detect more values from github pages?
- Ability for submitters to get email notification about publication?
- Update script could send warnings when parsing layers to maintainers? (optional)
- Click on OE-Classic graph element to go to query?
- Use bar instead of pie graphs for OE-Classic statistics
- Ability for reviewers to comment before publishing a layer?