Closed Bug 553549 (tbpl-server) Opened 14 years ago Closed 12 years ago

Integrate tbpl with a data-server

Categories

(Tree Management Graveyard :: TBPL, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: Swatinem, Assigned: Swatinem)

References

()

Details

See URL for discussion.
Blocks: 557556
Blocks: 566870
My repo is at http://hg.swatinem.de/tbpl-server/
It has been bitrotting for 2 month now so there is a lot of catching up to do.
The php code is quite ugly as well :D

As per mail, trying a nosql solution would be interesting. Doing a query like "give me at least X pushes older than Y on each branch with the associated jobs" for multi-branch trees is very ugly with SQL.

I would propose the following incremental plan to get this stuff integrated:

(0. I've already separated the UI changes I did)
1. Abstract the Datasource into 2 parts: history and updates (with tree status) (or 3 parts, where the tree status is just loaded once and then updated via "update")
  - The update datasource is polled every minute or so, the history datasource on scrolling.
2. Move the comments off of Tinderbox
  - One thing about parsing only the recent tinderbox on the server is that comments to older jobs won't be recognized. Having the comments on tbpl-server would be better and would also allow distributing them on "update"
3. Actually implement a more cleaner server solution than the hacky one I did :D
  - Getting better in-progress build details would be cool, I currently don't support this because of missing scrapes for in-progress builds.
4. Sheriff and Tree description on the server.
Depends on: 576489
No longer blocks: 526159
No longer blocks: 529614
No longer blocks: 557556
No longer blocks: 551073
We've since done this.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Product: Webtools → Tree Management
Product: Tree Management → Tree Management Graveyard
You need to log in before you can comment on or make changes to this bug.