New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update of the nine UI #1094
update of the nine UI #1094
Conversation
tardyp
commented
Mar 14, 2014
- Refactor a lot, by creating services
- use angular-recursion instead of the recursive directive
- lots of unit tests added
- include underscore-string utils for string manipulations
- jasmine version bump
- fix console.log issue in karma
- automatic upgrade of the db is its on sqlite (it simplifies the heroku deployment a lot, as the db is squashed everytime you restart the app)
Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
- Refactor a lot, by creating services - use angular-recursion instead of the recursive directive - lots of unit tests added - include underscore-string utils for string manipulations - jasmine version bump - fix console.log issue in karma Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
@@ -112,6 +112,8 @@ def setup(self, check_version=True, verbose=True): | |||
|
|||
def check_current(res): | |||
if not res: | |||
if db_url.startswith("sqlite"): | |||
return self.model.upgrade() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this is a good idea in production code. Could we add an option to 'buildbot start' to automatically upgrade the DB?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
well, for buildbot nine, we are going to rethink the db uprade completly. Can we report writting this option for this BZ? or I can just remove the commit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
err.. this breaks the unit tests anyway. I reverted it.
This reverts commit 2e6c234.
The previous url was incorrectly using buildername http://trac.buildbot.net/ticket/2618 we hide this URL in the UI, this is only here in data api. Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>