Skip to content
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

Merged
merged 7 commits into from Mar 17, 2014
Merged

update of the nine UI #1094

merged 7 commits into from Mar 17, 2014

Conversation

tardyp
Copy link
Member

@tardyp 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)

Pierre Tardy added 2 commits March 11, 2014 17:44
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()
Copy link
Member

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?

Copy link
Member Author

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

Copy link
Member Author

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.

Pierre Tardy added 5 commits March 14, 2014 18:34
Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
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>
tardyp added a commit that referenced this pull request Mar 17, 2014
@tardyp tardyp merged commit 284503d into buildbot:nine Mar 17, 2014
@tardyp tardyp deleted the nine_demo branch March 17, 2014 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants