Fix handling of "default" project
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | toaster: Make 0021 migration compatible with MySQLlib/ | +3 | 0 replies | |
| 2/6 | toaster: Improve how default project is identified and fetchedlib/ lib/ lib/ +1 more | +735 | 0 replies | |
| 3/6 | toaster: Only redirect to projects page if user has added projectslib/ | +5 | 0 replies | |
| 4/6 | toaster: Exclude default project unless it has buildslib/ | +8 | 0 replies | |
| 5/6 | toaster: Fix test for projects page JSONlib/ | +5 | 0 replies | |
| 6/6 | toaster: Add tests for pages which show the default projectlib/ | +114 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/6] Fix handling of "default" project
This fixes how we handle the default project used to house command line builds. It originally started from a bug encountered when using MySQL for the db back-end, but fixing that revealed some other issues which needed to be resolved on top.
[YOCTO#7932]
The following changes since commit 71b0568fa43285f0946fae93fb43cea5f3bbecec:
rt-tests: drop unnecessary added-missing-dependencies.patch (2015-09-01 11:44:04 +0100)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib bavery/submit/elliot/20150830_default_project_flag_v2
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=bavery/submit/elliot/20150830_default_project_flag_v2
Elliot Smith (6):
toaster: Make 0021 migration compatible with MySQL
toaster: Improve how default project is identified and fetched
toaster: Only redirect to projects page if user has added projects
toaster: Exclude default project unless it has builds
toaster: Fix test for projects page JSON
toaster: Add tests for pages which show the default project
lib/bb/ui/buildinfohelper.py | 3 +- ...ect__chg_field_project_bitbake_version__chg_.py | 4 +- .../0025_auto__add_field_project_is_default.py | 346 +++++++++++++++++++ .../orm/migrations/0026_set_default_project.py | 374 +++++++++++++++++++++ lib/toaster/orm/models.py | 18 +- lib/toaster/toastergui/tests.py | 124 ++++++- lib/toaster/toastergui/views.py | 14 +- 7 files changed, 870 insertions(+), 13 deletions(-) create mode 100644 bitbake/lib/toaster/orm/migrations/0025_auto__add_field_project_is_default.py create mode 100644 bitbake/lib/toaster/orm/migrations/0026_set_default_project.py
Signature · 1 line
1.9.1