Commit Graph

2061 Commits

Author SHA1 Message Date
Moises Lopez
be765dd6ef [REF][runbot] Add validation of module duplicate 2014-07-24 20:21:42 -04:00
Moises Lopez
071720433c [REF][runbot] Fix find modules to test and add support to use one previously configured in the repository 2014-07-24 20:13:53 -04:00
Sandy Carter
5e25a8aeb2 Use git API to find base branch name for PRs when looking for common branch names in extra deps 2014-07-24 20:13:53 -04:00
Sandy Carter
91beb61727 Add function to better find proper fallback branch 2014-07-24 20:13:46 -04:00
Sandy Carter
9dbc76d9ab Change fallback_id to many2many
A Community addon can depend on more than just an odoo server, but other
addon repos

Bump version
Add migration script

Signed-off-by: Sandy Carter <sandy.carter@savoirfairelinux.com>
2014-07-24 18:10:15 -04:00
Sandy Carter
0fb5ef92c4 Allow some builds to determine which modules to test
OCA addon repos will only want to test modules at root

Glob before retrieving dependencies and store in build object

Signed-off-by: Sandy Carter <sandy.carter@savoirfairelinux.com>
2014-07-24 18:09:07 -04:00
Sandy Carter
83029e48f5 Add runbot work files to gitignore 2014-07-24 18:07:05 -04:00
odony
09a6e90cbe Merge pull request #26 from odoo/master-two-quick-fixes-ged
[IMP] runbot: save committer date at creation
2014-07-24 10:23:37 +02:00
Gery Debongnie
41796383c7 [IMP] save committer date at creation
also, add a create_date filter in the build search view.  It allows
interesting statistics to be displayed in the graph view.
2014-07-24 10:17:17 +02:00
Olivier Dony
9300bd8cd8 [FIX] runbot: compatibility with 7.0 API 2014-07-23 13:09:08 +02:00
odony
f39ced30d3 Merge pull request #25 from odoo/master-fixes-and-optimizations-ged
[FIX] runbot: fix build search, optimize query for main repo view, update github status for duplicate builds
2014-07-23 13:07:15 +02:00
Gery Debongnie
dfa6fbad61 [FIX] notifies github when duplicate isn't pending
when a duplicate build is created, it now check if it isn't pending.
If not, it properly notifies github.
2014-07-23 12:26:41 +02:00
Gery Debongnie
aa0c64c2b1 [IMP] optimize the number of queries in controller
now, it only does one query to get the ids of each builds,
instead of a query for each branch
2014-07-23 12:26:40 +02:00
Gery Debongnie
6d7077ba12 [FIX] improves the search in runbot repo
now, it searches by fields 'dest' and 'subject'.  Also, slightly
improves the logic behind the controller.  Oh, and also prevent a
crash when searching
2014-07-23 12:26:40 +02:00
odony
6128ed42ea Merge pull request #23 from bwrsandman/patch-3
[FIX] runbot: nginx field name conflict fixed by renaming `nginx()` to `reload_nginx()`
2014-07-22 23:19:13 +02:00
Sandy
793ba31eca Fix nginx field-function ambiguity 2014-07-22 11:50:52 -04:00
Sandy Carter
73cebcf696 [FIX] runbot: use runbot.repo.domain() instead of hardcoded URL
(the whole thing could possibly be replaced by web.base.url)
2014-07-22 17:37:32 +02:00
Olivier Dony
cc1fbaf9cc [IMP] runbot: add a few missing indexes 2014-07-22 16:52:11 +02:00
odony
5509e7963b Merge pull request #22 from bwrsandman/patch-2
[IMP] runbot: support repo names with `.git` suffix when performing github API calls
2014-07-22 16:41:28 +02:00
odony
ea0e1406a6 Merge pull request #24 from odoo/master-linked-builds-ged
This branch introduce the notion of 'duplicate' builds and use it to reduce the load. Each repository can have a duplicate repository (needs to be explicitely set up) where it will look for possible duplicate builds. If duplicate builds are found, they are linked together and the result of the real one will be used to display data for the duplicate build.

Also, the branch improve somewhat the style of the code, completely refactors the runbot.repo controller (it reduces by about half the number of sql requests done to display the repo page), add options to the runbot settings page (domain key), add a graph view for runbot builds, fixes a few bugs, and probably introduces some new bugs as well.
2014-07-22 12:02:18 +02:00
Gery Debongnie
40f68b81be [ADD] add a graph view for runbot builds 2014-07-22 11:01:34 +02:00
Gery Debongnie
019cee7f54 [IMP] various improvements 2014-07-22 10:26:34 +02:00
Gery Debongnie
12bb6d05a1 [IMP] add domain key to the runbot settings screen 2014-07-18 16:43:31 +02:00
Gery Debongnie
a63fa03dd2 [FIX] notifies github for duplicate builds 2014-07-18 16:01:44 +02:00
Gery Debongnie
7c5e2c8c68 [IMP] improve behavior of skipped/forced builds 2014-07-18 13:33:56 +02:00
Gery Debongnie
0c8ddf2a0d [IMP] display duplicate builds 2014-07-18 13:19:33 +02:00
Gery Debongnie
40a1d8010b [IMP] optimizations to runbot controller 2014-07-18 11:01:56 +02:00
Gery Debongnie
06fe91b443 [IMP] code refactoring 2014-07-17 13:07:48 +02:00
Gery Debongnie
242e28abf9 [IMP] rename 'v' in 'context' 2014-07-17 10:00:39 +02:00
Gery Debongnie
b28a710234 [IMP] ignore skipped when detecting duplicate 2014-07-17 09:56:48 +02:00
Gery Debongnie
0ffbc9c30d [IMP] allow detection of duplicate builds 2014-07-16 16:50:03 +02:00
Gery Debongnie
5579fae1c8 [IMP] add starting port as configuration option 2014-07-16 10:11:29 +02:00
Sandy
673c979930 Support repo names with .git suffix
Fixes #17
2014-07-15 11:11:59 -04:00
odony
b4e680f095 [FIX] runbot: compatibility with v7 2014-07-15 16:52:27 +02:00
odony
305c9ba1fc Merge pull request #21 from odoo/master-other-improvements-ged
[MERGE] runbot: share workers between repos + lint/improve docstrings and variable names
2014-07-15 16:37:13 +02:00
Gery Debongnie
2a48508bdf [IMP] better code for list_jobs
inspired by https://github.com/odoo/odoo-extra/pull/19
2014-07-15 16:31:15 +02:00
Gery Debongnie
8e01b6b2c6 [IMP] put the default timeout in runbot options
instead of hardcoding it
2014-07-15 16:28:20 +02:00
Gery Debongnie
7261f5f479 [IMP] throw exception when no toke is available 2014-07-15 14:38:36 +02:00
Gery Debongnie
433d8bc67c [IMP] improvements to runbot repo page 2014-07-15 13:33:25 +02:00
Gery Debongnie
1762df1747 [IMP] share the workers between repos 2014-07-15 11:33:38 +02:00
Gery Debongnie
2089b04c1f [IMP] display the nmbr of pending/running/testing
display the total number (for the runbot) and the numbers by repo
2014-07-15 10:55:35 +02:00
Gery Debongnie
46ce71ee4a [IMP] xml improvement 2014-07-15 10:19:04 +02:00
Gery Debongnie
48bd01e6f2 [IMP] add a res_config to the runbot
it can save/get two keys: default_workers and default_running_max
2014-07-15 10:13:32 +02:00
Sandy
c0eadd5dac Be more forgiving in detecting Modules Loaded
There is no problem yet, but this line is prone to future errors.

This line catches all cases without having to pool the filesystem.
2014-07-14 18:01:12 -04:00
Gery Debongnie
a823519cdf [FIX] preparation for v8 (fix various issues) 2014-07-14 14:22:23 +02:00
Gery Debongnie
6aa2e146e6 [MERGE] merge from origin/master 2014-07-14 10:10:43 +02:00
Christophe Simonis
a1e4a428f1 Merge pull request #15 from xmo-odoo/master
Actual support for openerp -> odoo
2014-07-08 13:55:28 +02:00
xmo-odoo
4cbd527565 [FIX] non-renamed branches path handling
Is there *really* a need for them to keep working?
2014-07-08 13:48:40 +02:00
Xavier Morel
9110f3875a [FIX] actual support for openerp -> odoo 2014-07-08 13:41:08 +02:00
xmo-odoo
6f5489cc93 Compatibility with openerp -> odoo rename 2014-07-08 12:18:45 +02:00